Skip to main content
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.
Publishing is one-way. Meta does not allow editing a published Flow: iterate while it is still a draft, and create a new Flow for the next version.

Endpoint

Required scope

flows:write

Example request

curl

Response

200 OK

The Flow with status now published, same shape as GET /v1/flows/{id}.

400 Bad Request

Meta rejected the Flow JSON. The validation errors are passed through in message.

404 Not Found

FLOW_NOT_FOUND.

Authorizations

Authorization
string
header
required

Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.

Path Parameters

id
string
required

Response

200 - application/json
id
string
required

Keebai flow id.

channel_id
string
required

Keebai channel this Flow belongs to.

name
string
required
categories
enum<string>[]
required
Available options:
OTHER,
SIGN_UP,
SIGN_IN,
APPOINTMENT_BOOKING,
LEAD_GENERATION,
CONTACT_US,
CUSTOMER_SUPPORT,
SURVEY
status
enum<string>
required
Available options:
draft,
published,
archived
description
string | null
meta_flow_id
string | null

Meta Flow id. Use it as flow_id when sending a message of type flow. Null until Meta accepts the Flow.

flow_data
object

Flow JSON currently stored in Keebai.

metadata
object
created_at
string<date-time> | null
updated_at
string<date-time> | null