Get a journey (Preview)
Preview · Available to selected organizations. Returns a journey with its draft definition, its current revision, and its newest published version number.
Returns a journey with its draft definition, its current revision, and its newest published version number.
Authorization
apiKey In: header
Path Parameters
^jrny_[0-9a-hjkmnp-tv-z]{16,24}$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/journeys/string"{ "id": "string", "name": "string", "status": "draft", "revision": "string", "draft": { "trigger": { "type": "event", "eventName": "string" }, "rootNodeId": "string", "nodes": { "property1": { "type": "send_email", "config": { "template": "string", "senderId": "string", "templateData": { "property1": "string", "property2": "string" } }, "next": [ { "nodeId": "string" } ] }, "property2": { "type": "send_email", "config": { "template": "string", "senderId": "string", "templateData": { "property1": "string", "property2": "string" } }, "next": [ { "nodeId": "string" } ] } }, "goal": { "eventName": "string" }, "reentry": true }, "publishedVersion": -9007199254740991, "publishedAt": "string", "createdAt": "string", "updatedAt": "string"}Related documentation
Create a journey (Preview)
Preview · Available to selected organizations. Creates a draft journey from a definition: a trigger, a root node, and a graph of at most 200 nodes that is acyclic and fully reachable.
Get a journey run (Preview)
Preview · Available to selected organizations. Returns one run with every node it entered, in order: when it entered and left, how it left, and the message a send node created.