Send a WhatsApp Flow (interactive form)

Send a WhatsApp Flow to a contact as a WhatsApp Official interactive message of type flow, inside the open 24h customer service window. Outside the window it returns 400: Meta then requires an approved template with a Flow button, which this endpoint does not send. flow_message_version is always "3". The message is stored in the chat and returns immediately with QUEUED status.

Receiving the answer. When the contact submits the Flow, Meta delivers an nfm_reply that becomes a received message with content_type: FLOW_RESPONSE. When you sent a flow_token, that message's content_object carries flow_token (your value), flow_message_id (the message_id this endpoint returned) and response_json (the answers as a JSON object, without the token), plus the parsed responses. The answer is matched to the send through the message it quotes, falling back to the newest send of the chat with that token. It reaches you through the received webhook event and through GET /v2/messages/chat/{chatId}. Without a flow_token, Clint generates one internally and the correlation fields are not added. Requires the WhatsApp Flows plan feature (PRO or MAX).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Exactly one of flow_id or flow_name is required.

uuid
required

UUID of the WhatsApp Official channel account

uuid
required

UUID of the contact to send the Flow to

string
^\d+$

Meta id of the Flow (digits only). Cannot be used with flow_name.

string

Name of the Flow on Meta. Cannot be used with flow_id. When the Flow is in the channel's Flow catalog, Clint sends it by its id, so its invite text and CRM field mappings apply.

string
required
length between 1 and 30

Text of the button that opens the Flow (1 to 30 characters; Meta recommends no emoji).

string
length ≤ 512

Optional. Your own identifier, sent to Meta and returned with the contact's answer so you can match it to this send. Use a unique value per send, and never a secret or personal data: it is stored and echoed as is.

string
enum
Defaults to navigate

navigate opens a screen of the Flow; data_exchange asks your Flow endpoint for the first screen.

Allowed:
flow_action_payload
object

Only with flow_action navigate. The screen the Flow opens on and its input data.

string
enum
Defaults to published

draft sends a Flow that is not published yet (for testing).

Allowed:
string
length ≤ 60

Optional text header (max 60 chars).

string
length ≤ 1024

Optional message text (max 1024 chars). When omitted, the invite text saved for the Flow is used, or a default text.

uuid

Optional UUID of the contact's existing chat on this channel. A chat of another contact, channel or account returns 404. If not provided, the system finds or creates the chat.

Headers
string
required

API Token

Responses

details carries error_code, message_id and chat_id of the message, which stays in the chat as an error.

401

Authentication error - invalid or missing api-token

402

Insufficient wallet balance to send messages (error_code WALLET_INSUFFICIENT_BALANCE)

403

The API key lacks the messages:write scope, or the account's plan does not include WhatsApp Flows

404

Channel account, contact or chat not found in this account

POST /v2/messages/template) can be sent until the conversation is idle or owned by Clint again. Do not retry: every retry returns the same answer and adds another refused message to the chat. The refused message stays in the chat with an error status. See thread_ownership on the Chat resource.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json