Skip to content

Publish flow

Publish a DRAFT flow. This is irreversible. Once published, the flow and its JSON become immutable and the flow can be sent to users. To update a published flow, create a new flow (optionally cloning this one via cloneFlowId).

POST /v1/whatsapp/flows/{flowId}/publish

Publish a DRAFT flow. This is irreversible. Once published, the flow and its JSON become immutable and the flow can be sent to users. To update a published flow, create a new flow (optionally cloning this one via cloneFlowId).

Parameters

  • flowId (path, string) required — Flow ID

Request body

Content-Type: application/json

  • accountId (string) required — WhatsApp social account ID

Responses

200 — Flow published

  • success (boolean)

400 — Flow is not in DRAFT status or has validation errors

401

404 — WhatsApp account not found