Update a WhatsApp Flow
WhatsApp Flows
PUT /v1/flows/{id}
Update a WhatsApp Flow. Sending flow_data re-uploads the Flow JSON at Meta.
PUT
Update a WhatsApp Flow
Updates a Flow’s metadata and, when
flow_data is present, re-uploads its Flow JSON to Meta.
Endpoint
Required scope
flows:write
Body
Example request
curl
Response
200 OK
The updated Flow, same shape asGET /v1/flows/{id}.
400 Bad Request
Invalid id, invalid Flow JSON, or Meta refused the update because the Flow is published.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
Body
application/json
Maximum string length:
100Maximum string length:
500Available options:
OTHER, SIGN_UP, SIGN_IN, APPOINTMENT_BOOKING, LEAD_GENERATION, CONTACT_US, CUSTOMER_SUPPORT, SURVEY Replacement Flow JSON. Re-uploaded as the Flow asset at Meta.
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.