WhatsApp Flows API

API for creating structured, interactive forms and multi-step flows within WhatsApp conversations, enabling appointment booking, surveys, lead capture, and other guided experiences using a JSON-based screen definition format.

GitHub OpenAPI

Operations 17

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /{Version}/{Phone-Number-ID}/whatsapp_business_encryption Get the business WhatsApp encryption public key · Get Business Encryption Public Key #
Ask an LLM
“What public key is currently set up to encrypt message payloads for my business?”
“Is the signature on my current business public key valid?”
Tell an agent
Get the business encryption public key for phone number {phone_number_id} using API version {version}.
Check the signature validation status of the public key on {phone_number_id}.
GET /{Version}/{WABA-ID}/flows List flows in a WhatsApp Business Account · List Flows #
Ask an LLM
“Which flows exist in my WhatsApp Business Account?”
“Can I get the IDs of all my flows?”
Tell an agent
List the flows in WhatsApp Business Account {waba_id} on API version {version}.
Show every flow and its status in {waba_id}.
POST /{Version}/{WABA-ID}/flows Create a flow · Create Flow #
Ask an LLM
“How do I create a new WhatsApp flow?”
“Can I clone an existing flow when creating a new one?”
Tell an agent
Create a flow named {name} in WhatsApp Business Account {waba_id} on API version {version}.
Create a flow from the source flow {clone_flow_id} in {waba_id}.
POST /{Version}/{WABA-ID}/migrate_flows Copy flows from one WhatsApp Business Account to another · Migrate Flows #
Ask an LLM
“How do I copy my flows to a different WhatsApp Business Account?”
“Can I migrate only specific flow names to another WABA?”
Tell an agent
Copy flows named {source_flow_names} from WABA {source_waba_id} to {waba_id}.
Migrate all flows from {source_waba_id} into WhatsApp Business Account {waba_id} on API version {version}.
GET /{Version}/{Flow-ID} Get a flow's details · Get Flow #
Ask an LLM
“What are the details of a specific flow?”
“Can I fetch one flow by its ID?”
Tell an agent
Get flow {flow_id}.
Show the details of flow {flow_id} in {version}.
POST /{Version}/{Flow-ID} Update a flow's name and categories · Update Flow Metadata #
Ask an LLM
“Can I rename a flow or change its categories?”
“How do I attach a webhook endpoint to an existing flow?”
Tell an agent
Rename flow {flow_id} to {name} in {version}.
Set the endpoint URI of flow {flow_id} to {endpoint_uri}.
DELETE /{Version}/{Flow-ID} Delete a draft flow · Delete Flow #
Ask an LLM
“Can I delete a flow I no longer need?”
“What status must a flow have before it can be deleted?”
Tell an agent destructive · confirm first
Delete flow {flow_id} on API version {version}.
Remove the unused draft flow {flow_id} entirely.
GET /{Version}/{Flow-ID}/assets Get the JSON asset URL for a flow · List Assets (Get Flow JSON URL) #
Ask an LLM
“Where can I find the flow JSON file attached to my flow?”
“Which assets are attached to a flow?”
Tell an agent
Get the JSON asset URL for flow {flow_id} using API version {version}.
List all assets attached to flow {flow_id}.
POST /{Version}/{Flow-ID}/assets Upload a flow JSON file · Update Flow JSON #
Ask an LLM
“How do I upload the JSON definition for my flow?”
“Does uploading flow JSON return validation errors?”
Tell an agent
Upload the flow JSON file {file} to flow {flow_id} using API version {version}.
Attach flow JSON {file} to flow {flow_id} as asset type {asset_type}.
POST /{Version}/{Flow-ID}/publish Publish a flow · Publish Flow #
Ask an LLM
“Can I publish a flow so it can be sent to customers?”
“Are a flow's assets still editable once it's published?”
Tell an agent
Publish flow {flow_id} using API version {version}.
Set the status of flow {flow_id} to PUBLISHED.
POST /{Version}/{Flow-ID}/deprecate Deprecate a published flow · Deprecate Flow #
Ask an LLM
“Can I deprecate a flow so it can no longer be sent or opened?”
“Can a flow that is still a draft be deprecated?”
Tell an agent destructive · confirm first
Deprecate flow {flow_id} using API version {version}.
Set the status of flow {flow_id} to DEPRECATED.
POST /{Version}/{WABA-ID}/message_templates Create an authentication template with an OTP copy button · Create authentication template w/ OTP copy code button #
Ask an LLM
“How do I create a message template that includes a button to copy an OTP?”
“Can I set a template's components when I create an authentication template?”
Tell an agent
Create an authentication template named {name} in {waba_id} on API version {version}.
Create a {category} template with components {components} in {waba_id}.
GET /{waba-id}/flows List flows in a WhatsApp Business account (legacy) · WhatsApp List Flows #
Ask an LLM
“Which flows are in my WhatsApp Business account using the legacy path?”
“Can I list flows by WABA ID with the older endpoint?”
Tell an agent
List flows in WhatsApp Business account {waba_id} using the legacy endpoint.
Show all flows for {waba_id} via the legacy path.
POST /{waba-id}/flows Create a flow in a WhatsApp Business account (legacy) · WhatsApp Create Flow #
Ask an LLM
“How do I create a flow in my WhatsApp Business account with the legacy endpoint?”
“Can I clone an existing flow when creating a new one with the older path?”
Tell an agent
Create a flow named {name} in {waba_id} using the legacy endpoint.
Clone flow {clone_flow_id} into {waba_id} via the legacy path.
GET /{flow-id} Get a flow's details (legacy) · WhatsApp Get Flow #
Ask an LLM
“What are the details of a flow using the legacy endpoint?”
“Can I fetch one flow by ID with the older path?”
Tell an agent
Get flow {flow_id} using the legacy endpoint.
Show flow {flow_id} details via the legacy path.
POST /{flow-id} Update a flow's name and categories · WhatsApp Update Flow #
Ask an LLM
“Can I change the name of a flow after it has been created?”
“How do I add a webhook to an existing flow?”
Tell an agent
Rename flow {flow_id} to {name}.
Set the categories of flow {flow_id} to {categories}.
DELETE /{flow-id} Delete a flow (legacy) · WhatsApp Delete Flow #
Ask an LLM
“How do I delete a flow with the legacy endpoint?”
“Can I remove a draft flow through the older path?”
Tell an agent destructive · confirm first
Delete flow {flow_id} using the legacy endpoint.
Remove draft flow {flow_id} via the legacy path.

Documentation

Specifications

SDKs

Schemas & Data

Other Resources

🔗
Reference
https://developers.facebook.com/documentation/business-messaging/whatsapp/flows/guides/components
🔗
ChangeLog
https://developers.facebook.com/documentation/business-messaging/whatsapp/flows/changelogs
🔗
ErrorCodes
https://developers.facebook.com/documentation/business-messaging/whatsapp/flows/reference/error-codes
🔗
PostmanCollection
https://www.postman.com/meta/whatsapp-business-platform/collection/y5swede/whatsapp-flows-api
🔗
APIsJSON
https://artifacts.apis.io/whatsapp/apis.yml
🔗
Arazzo
https://artifacts.apis.io/whatsapp/arazzo/whatsapp-create-qr-code-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/whatsapp/arazzo/whatsapp-create-template-then-send-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/whatsapp/arazzo/whatsapp-publish-flow-and-send-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/whatsapp/arazzo/whatsapp-register-phone-number-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/whatsapp/arazzo/whatsapp-send-and-react-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/whatsapp/arazzo/whatsapp-send-interactive-buttons-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/whatsapp/arazzo/whatsapp-send-location-message-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/whatsapp/arazzo/whatsapp-send-template-message-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/whatsapp/arazzo/whatsapp-send-text-and-mark-read-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/whatsapp/arazzo/whatsapp-subscribe-webhooks-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/whatsapp/arazzo/whatsapp-update-business-profile-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/whatsapp/arazzo/whatsapp-update-template-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/whatsapp/arazzo/whatsapp-upload-media-send-document-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/whatsapp/arazzo/whatsapp-upload-media-send-image-workflow.yml

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/whatsapp:flows-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

whatsapp-flows-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Whatsapp Flows API
  version: '1.0'
  description: 'Operations tagged Flows across 2 of this provider''s published API definitions: whatsapp-business-messaging-api-v23.0-openapi.yaml, whatsapp-flows-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://graph.facebook.com
  description: Production Graph API server
- url: https://graph.facebook.com/v21.0
  description: Meta Graph API Production Server
tags:


# --- truncated at 32 KB (73 KB total) ---
# Full source: https://artifacts.apis.io/whatsapp/openapi/whatsapp-flows-api-openapi.yml