Activate journey
POST
https://api.flownally.com/v1/journeys/{id}:activateMakes the latest published version active, so matching triggers start runs for contacts.
On an active journey, the latest version replaces the active one for new runs; runs
already in progress continue on their version.Fails with 422 and code contacts_journey_no_published_version until the journey is
published.
Authorization
Allowed roles
- owner
- admin
- agent
Activate a journey. A version whose HTTP requests send workspace secrets also requires journey:use_secrets.
Parameters
- Name
id- Type
- path · string
- required
Journey ID.
Responses
- 200Journey activatedapplication/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- Journey
- JourneyStatus
- WorkflowDefinition
- WorkflowNode
- StartWorkflowNode
- StartNodeData
- TriggerConfig
- EntryMode
- HTTPRequestWorkflowNode
- HTTPRequestNodeData
- SplitByMessageStatusWorkflowNode
- SplitByMessageStatusNodeData
- JourneyMessageStatus
- WaitForMessageStatusWorkflowNode
- WaitForMessageStatusNodeData
- GenericWorkflowNode
- GenericNodeData
- WorkflowEdge
- WorkflowEdge2
- JourneyVersion
Generated from the API spec.