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}.
Headers
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.
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.
1000Response
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.

