Journeys

Replace a journey

Replace the journey draft. Updates the working draft only; call POST /journeys/{templateId}/publish to make it live, or pass state: "PUBLISHED" in this request to publish immediately. Send-node template ids must already exist and be scoped to this journey, and node ids must not be claimed by another journey.

put/journeys/{templateId}

Path parameters

templateIdstring required

Journey id

Request body

namestring required
enabledboolean
state'DRAFT' | 'PUBLISHED'

Lifecycle state of a journey.

Response

Updated journey

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