Create a journey
Creates a draft journey with a name, an event trigger and, optionally, a full graph of
nodes and edges. Omit both nodes and edges to start from a graph of one enter
node connected to one exit node. When submitting nodes, each node carries a temporary_id
that edges refer to. The response returns each temporary_id beside the node’s new id.
Use the id when using the node deletion endpoint. Messaging nodes (email, sms or push)
need a provider for that channel in your project. Once created you can add content to a message node
using the “Journey Message Contents” endpoints. Nothing is created if the request is rejected. Returns
the journey in the same shape as GET /journeys/{id}.
Authorizations
Accepts either a raw API key or Bearer <key>.
Headers
Optional dated API revision for the request. Must use YYYY-MM-DD format.
^\d{4}-\d{2}-\d{2}$"2026-03-01"
Body
Create a draft journey. Send nodes and edges together to build the graph, or omit both
to start from a graph of one enter node connected to one exit node.
Journey name. Trimmed before validation; must be non-blank.
1 - 255The event that enters people into the journey.
The journey's nodes. A graph needs exactly one enter node, which has no incoming
edges, and at least one exit node. Every node must be reachable from the enter
node, and the graph must not contain cycles. Each branch and random_split arm
must end in an exit or rejoin the other arm at the first node both arms reach.
A random_split arm cannot contain a branch, an exit, or another random_split.
1000The journey's edges. A branch or random_split node has exactly two outgoing edges,
with branch_index 0 and 1. An exit node has none, and every other node has
exactly one.
2000Response
Journey created.
A journey with its full graph — its trigger, nodes and edges. Messaging nodes expose message and content metadata but not content bodies or audience details.
Journey name.
Optional journey description. May be null.
Journey lifecycle status.
draft, active, paused, archived, cancelled The event that enters people into the journey. null when none is set.

