Publish a WhatsApp Flow
WhatsApp Flows
POST /v1/flows/{id}/publish
Publish a WhatsApp Flow. Meta validates the Flow JSON here, and a published Flow can no longer be edited.
POST
Publish a WhatsApp Flow
Publishes the Flow at Meta. Until a Flow is published, sending it only reaches phone numbers registered as testers on the WhatsApp Business Account — and only with
mode: "draft" on the send.
Endpoint
Required scope
flows:write
Example request
curl
Response
200 OK
The Flow withstatus now published, same shape as GET /v1/flows/{id}.
400 Bad Request
Meta rejected the Flow JSON. The validation errors are passed through inmessage.
404 Not Found
FLOW_NOT_FOUND.Authorizations
Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.
Path Parameters
Response
200 - application/json
Keebai flow id.
Keebai channel this Flow belongs to.
Available options:
OTHER, SIGN_UP, SIGN_IN, APPOINTMENT_BOOKING, LEAD_GENERATION, CONTACT_US, CUSTOMER_SUPPORT, SURVEY Available options:
draft, published, archived Meta Flow id. Use it as flow_id when sending a message of type flow. Null until Meta accepts the Flow.
Flow JSON currently stored in Keebai.