Fetch a Journey by id
Fetch a journey by id. Pass ?version=draft (default published) to retrieve the working draft, or ?version=vN to retrieve a historical version.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Journey id
1Query Parameters
Version selector: draft, published (default), or vN.
^(?:v\d+|draft|published)$Response
Journey
A journey, with its current draft or published nodes and metadata.
Lifecycle state of a journey.
DRAFT, PUBLISHED A single node in a journey DAG. Discriminated by type, with a secondary discriminator on some variants (trigger_type for trigger, mode for delay, method for fetch, scope for throttle).
- API Invoke Trigger
- Segment Trigger
- Audience Trigger
- Webhook Trigger
- Send
- Delay for Duration
- Delay Until
- Fetch (GET/DELETE)
- Fetch (POST/PUT)
- AI
- Throttle (Static)
- Throttle (Dynamic)
- Batch
- Send to Digest
- Exit
- JourneyBranchNode
The journey cancelation token, or null when none is set. A token authored in the dashboard is returned in its raw templated form, such as order-{{data.order_id}}, so it can be read back and asserted.
"order-{{data.order_id}}"