Journeys

Create a journey

Create a journey. Defaults to DRAFT state; pass state: "PUBLISHED" to publish on create. Send nodes are not allowed on POST. The standard flow is: create the journey shell here, add notification templates with POST /journeys/{templateId}/templates, then wire them into the journey with PUT /journeys/{templateId}. Call POST /journeys/{templateId}/publish to publish a draft after the fact.

post/journeys

Request body

namestring required
enabledboolean
state'DRAFT' | 'PUBLISHED'

Lifecycle state of a journey.

Response

Journey created

idstring required
namestring required
state'DRAFT' | 'PUBLISHED' required

Lifecycle state of a journey.

enabledboolean required
createdinteger nullable required
creatorstring nullable required
updatedinteger nullable required
updaterstring nullable required
publishedinteger nullable required

Changes