Publish journey
POST
https://api.flownally.com/v1/journeys/{id}:publishValidates the draft and saves it as a new read-only version. When the draft hasn't
changed since the latest version, returns that version instead of creating a copy.Publishing doesn't change what runs: activate the journey to use the new version. An
invalid draft fails with 400, and detail says what to fix.
Authorization
Allowed roles
- owner
- admin
- agent
Publish a journey version. A draft whose HTTP requests send workspace secrets also requires journey:use_secrets.
Parameters
- Name
id- Type
- path · string
- required
Journey ID.
Responses
- 200Version publishedapplication/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- WorkflowDefinition
- WorkflowNode
- StartWorkflowNode
- StartNodeData
- TriggerConfig
- EntryMode
- HTTPRequestWorkflowNode
- HTTPRequestNodeData
- SplitByMessageStatusWorkflowNode
- SplitByMessageStatusNodeData
- JourneyMessageStatus
- WaitForMessageStatusWorkflowNode
- WaitForMessageStatusNodeData
- GenericWorkflowNode
- GenericNodeData
- WorkflowEdge
- WorkflowEdge2
- JourneyVersion
Generated from the API spec.