Pular para o conteúdo

Lifecycle

Este conteúdo ainda não está disponível no seu idioma.

The lifecycle endpoints move a journey between states. Pass the journey’s Journey ID as uuid in the request body. The call returns the updated journey object.

A journey is always in one of these states:

StatusMeaning
STATUS_DRAFTBeing edited. Does not process users.
STATUS_RUNNINGActive, processing users.
STATUS_PAUSEDTemporarily halted, can be resumed.
STATUS_FINISHEDCompleted, no longer processing users.
STATUS_ARCHIVEDArchived for storage.

All lifecycle calls use the same request body: Journey ID passed as uuid. They differ only in the path:

ActionMethod & pathResulting state
StartPOST /api/v3/journeygateway/startSTATUS_RUNNING
PausePOST /api/v3/journeygateway/pauseSTATUS_PAUSED
FinishPOST /api/v3/journeygateway/finishSTATUS_FINISHED
DraftPOST /api/v3/journeygateway/draftSTATUS_DRAFT
ArchivePOST /api/v3/journeygateway/archiveSTATUS_ARCHIVED
FieldRequiredTypeDescription
uuidYesstringJourney ID of the journey to transition.
Body
{ "uuid": "11111111-2222-3333-4444-555555555555" }

The API validates the current state before transitioning. For example, starting a journey that is already finished, or pausing one that is not running, returns an error.

Request examples

Anchor link to

Start a journey

Anchor link to
Terminal window
curl -X POST https://journey.pushwoosh.com/api/v3/journeygateway/start \
-H "Authorization: Api YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "uuid": "11111111-2222-3333-4444-555555555555" }'

Pause a journey

Anchor link to
Terminal window
curl -X POST https://journey.pushwoosh.com/api/v3/journeygateway/pause \
-H "Authorization: Api YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "uuid": "11111111-2222-3333-4444-555555555555" }'

Returns the updated journey object: info, points, and comments. The info.status field reflects the new state.

Response example

Anchor link to
{
"info": {
"uuid": "11111111-2222-3333-4444-555555555555",
"title": "Welcome series",
"status": "STATUS_RUNNING",
"created_at": "2026-05-01T09:00:00Z",
"updated_at": "2026-06-17T12:00:00Z",
"params": { "application_code": "XXXXX-XXXXX" },
"campaign_type": "TriggerBased"
},
"points": [],
"comments": []
}

See the journey object reference for the full field list.