View as Markdown →

API reference

Everything waba.cloud does is a tool. Your AI agent calls tools over MCP at https://mcp.waba.cloud/mcp; your code calls the same tools over HTTP at https://mcp.waba.cloud/v1/<tool>. Both take the same arguments, check the same permissions and limits, and return the same JSON.

Authentication

Create an API key in the console, or with apikey_create, and send it on every request:

Authorization: Bearer wk_live_...

A key carries scopes: whatsapp.read, whatsapp.manage, messages.send, templates.manage, webhooks.manage. A tool that needs a scope the key doesn't have returns 403. MCP clients sign in with OAuth instead and never see a key.

Requests and responses

  • Every tool is POST /v1/<tool> with a JSON body of its parameters. Unknown parameters are rejected.
  • A success is 200 with the tool's result as JSON.
  • An error has a status code and a body like {"error": {"code": "outside_service_window", "message": "…", "hint": "…"}}. The hint says what to do next.
  • Status codes: 400 invalid request, 401 missing or bad key, 403 missing scope or a restriction on the workspace, 404 not found, 409 conflict, 429 over a limit (the hint says when to retry), 5xx our side or Meta's.
  • Pass idempotency_key to message_send so a retry never sends twice.
  • GET https://mcp.waba.cloud/v1/tools returns every tool with its JSON Schema, for code generation.

Receiving events

Receive messages and status updates by polling events_poll with its cursor, or by registering an HTTPS endpoint with webhook_create. Webhooks follow Standard Webhooks: each request carries webhook-id, webhook-timestamp and webhook-signature headers, signed with the endpoint's whsec_ secret. Failed deliveries are retried with backoff and can be replayed.

EventWhen
message.receivedA customer sent a message to one of your numbers.
message.sentMeta accepted an outbound message for delivery.
message.deliveredAn outbound message reached the customer's device.
message.readThe customer read an outbound message.
message.failedAn outbound message could not be delivered (see data.errors).
message.echoCoexistence: the business sent a message from the WhatsApp Business app.
template.status_updatedA template was approved, rejected, paused, disabled, …
template.category_updatedMeta changed (or will change) a template's category.
template.quality_updatedA template's quality score changed.
phone_number.quality_updatedA number's quality rating or messaging limit changed.
phone_number.name_updatedA display name review finished.
whatsapp_account.updatedAccount-level update from Meta (review, restrictions, offboarding, …).
whatsapp_account.disconnectedThe customer removed our access, or the coexistence link broke.
whatsapp_account.alertMeta sent an account alert (e.g. messaging limit request denied).
workspace.restrictedThis service restricted part of the account (sending, marketing or templates), automatically or by an operator. data.until says when it lifts.
contact.opted_outA customer asked to stop (replied STOP or turned off marketing in WhatsApp). They're on the do-not-contact list for marketing.
contact.opted_inA customer who had replied STOP replied START; they're off the do-not-contact list.
whatsapp_account.marketing_messages_onboardedThe business accepted the Marketing Messages API terms for this WABA; marketing templates now go through it.
message.link_clickedA customer tapped a link or button in a marketing message sent through the Marketing Messages API. data.click has Meta's click details (component, click_id, tracking_token).
contact.identity_changedWhatsApp gave a customer a new business-scoped user id (they changed number, or their id was regenerated). data.previous_user_id and data.user_id; history and the do-not-contact list follow the new id.
contact.phone_sharedA customer who uses a username shared their phone number (tapped a request-contact-info button). data.wa_id and data.user_id are now linked.
broadcast.startedA broadcast started sending (test batch first when it has one).
broadcast.test_completedA broadcast's test batch finished; data.outcome is continuing, awaiting_approval or paused, with the test results.
broadcast.pausedA broadcast paused, by request or automatically (data.by = system) because failures or opt-outs spiked or the number was flagged. data.reason says why.
broadcast.completedA broadcast finished; data has the final counts.
broadcast.cancelledA broadcast was cancelled; unsent recipients were skipped.
quality.warningAn early sign that a number or template's quality is slipping (opt-outs, undeliverable numbers, Meta holding back marketing, medium/low rating). data has what to do. At most once per signal per day.
onboarding.completedA number finished onboarding and is ready to use.
onboarding.failedOnboarding failed (see data.error).
coexistence.contacts_syncedCoexistence: contacts from the WhatsApp Business app were synced.
coexistence.history_syncedCoexistence: a chunk of chat history was imported.
webhook.testTest event sent by webhook_test.
meta.unhandledA Meta webhook field we do not normalise yet; raw value in data.

Tools

Workspace, console and API keys

workspace_get

Get workspace overview. Who you are signed in as, what is connected (WABAs, numbers, webhooks), your sending limits and today's usage, any restriction on the workspace, and the recommended next step. Call this first.

POST /v1/workspace_get · Read-only · Safe to retry

No parameters.

curl https://mcp.waba.cloud/v1/workspace_get \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Get a console sign-in link. A one-time link that opens the waba.cloud console (numbers, logs, webhooks, API keys, team) already signed in. Use it whenever the person wants to see or check something in the console. Connected through OAuth: returns the link for the person who connected; give it to them. Connected with an API key: pass email of a workspace member and we email them the link. Links work once and expire in 10 minutes.

POST /v1/console_login_link · Writes

ParameterTypeDescription
emailstringOnly for API-key connections: the member to email a sign-in link to.
curl https://mcp.waba.cloud/v1/console_login_link \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

apikey_create

Create API key. Create an API key for headless use (servers, CI, other agents). The key is shown once; store it securely.

POST /v1/apikey_create · Writes

ParameterTypeDescription
name requiredstringLabel so the human can tell keys apart, e.g. 'support-bot prod'. Up to 80 characters.
curl https://mcp.waba.cloud/v1/apikey_create \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "order_shipped"
}'

apikey_list

List API keys. List active API keys (prefix only).

POST /v1/apikey_list · Read-only · Safe to retry

No parameters.

curl https://mcp.waba.cloud/v1/apikey_list \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

apikey_revoke

Revoke API key. Permanently revoke an API key. Anything using it stops working immediately.

POST /v1/apikey_revoke · Changes things outside waba.cloud; can't be undone

ParameterTypeDescription
key_id requiredstring
confirm requiredtrueMust be true. Confirms you understand this cannot be undone.
curl https://mcp.waba.cloud/v1/apikey_revoke \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "key_id": "key_…",
  "confirm": true
}'

Setup and onboarding

setup_status

Setup checklist. The setup checklist for this workspace, worked out from live data: each step, who does it (agent, human or Meta), whether it's done, and exactly what to do next. Call it at the start of every setup conversation and after each step; follow next. Human steps include the words to tell them.

POST /v1/setup_status · Read-only · Safe to retry

No parameters.

curl https://mcp.waba.cloud/v1/setup_status \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

setup_profile_set

Save setup answers. Save what you learned from the human during setup: use cases, which number and its situation, country, business name, website, where contacts and consent come from, and their personal WhatsApp number for the test. Merges with earlier answers. Returns the updated checklist.

POST /v1/setup_profile_set · Writes · Safe to retry

ParameterTypeDescription
use_cases"support" \| "notifications" \| "marketing" \| "sales" \| "other"[]What WhatsApp is for. notifications = order/appointment/account updates.
number_situation"new_number" \| "on_business_app" \| "on_personal_app" \| "on_other_provider"new_number: not on WhatsApp. on_business_app: on the WhatsApp Business app (→ coexistence). on_personal_app: on personal WhatsApp. on_other_provider: on another API provider.
countrystringMain country of their customers, e.g. 'IN', 'BR', 'US'. Up to 60 characters.
business_namestringUp to 120 characters.
websitestringUp to 200 characters.
industrystringUp to 80 characters.
contacts_sourcestringWhere their customer list and marketing consent live, e.g. 'Shopify customers with accepts_marketing'. Up to 300 characters.
test_wa_idstringThe human's own WhatsApp number, for the test message. Up to 20 characters.
curl https://mcp.waba.cloud/v1/setup_profile_set \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

setup_step_confirm

Confirm or skip a setup step. Mark a setup step we can't see through the API as done or skipped, after the human confirms it (e.g. they added a payment method). 'reset' undoes it. Only these steps: business_profile, payment_method, business_verification, contacts, receive_events, test_message. Don't mark a step done the human hasn't confirmed.

POST /v1/setup_step_confirm · Writes · Safe to retry

ParameterTypeDescription
step required"business_profile" \| "payment_method" \| "business_verification" \| "contacts" \| "receive_events" \| "test_message"
status required"done" \| "skipped" \| "reset"
notestringWhat the human said, e.g. 'added Visa in WhatsApp Manager'. Up to 300 characters.
curl https://mcp.waba.cloud/v1/setup_step_confirm \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "step": "business_profile",
  "status": "done"
}'

onboarding_start

Start WhatsApp onboarding. Create a secure signup link for connecting a WhatsApp number. The HUMAN must open it and log into Facebook (Meta requires this). mode=cloud_api: a number not currently on WhatsApp (or one they will move off the app). mode=coexistence: keep using the WhatsApp Business app on the phone AND use the API on the same number (syncs contacts and up to 6 months of chats).

POST /v1/onboarding_start · scope whatsapp.manage · Writes

ParameterTypeDescription
mode required"cloud_api" \| "coexistence"
curl https://mcp.waba.cloud/v1/onboarding_start \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "mode": "cloud_api"
}'

onboarding_status

Check onboarding status. Status of an onboarding link: pending → in_progress → completed (or failed/cancelled/expired), with each step taken.

POST /v1/onboarding_status · Read-only · Safe to retry

ParameterTypeDescription
onboarding_id requiredstring
curl https://mcp.waba.cloud/v1/onboarding_status \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "onboarding_id": "onboarding_…"
}'

WhatsApp accounts and numbers

whatsapp_account_list

List WhatsApp Business Accounts. Connected WABAs and their numbers.

POST /v1/whatsapp_account_list · scope whatsapp.read · Read-only · Safe to retry

No parameters.

curl https://mcp.waba.cloud/v1/whatsapp_account_list \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

whatsapp_account_get

Get WABA details. Live details from Meta: review status, business verification, currency, timezone.

POST /v1/whatsapp_account_get · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
waba_id requiredstringWhatsApp Business Account id (from whatsapp_account_list).
curl https://mcp.waba.cloud/v1/whatsapp_account_get \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "waba_id": "102290129340398"
}'

marketing_messages_status

Marketing Messages API status. Whether this WABA sends marketing templates through Meta's Marketing Messages API (better delivery, click reporting) or Cloud API, with the next step. Meta is retiring marketing on Cloud API (new WABAs from 2027-04-13, all WABAs from 2027-10-13), so every business that sends marketing should onboard.

POST /v1/marketing_messages_status · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
waba_id requiredstringWhatsApp Business Account id (from whatsapp_account_list).
curl https://mcp.waba.cloud/v1/marketing_messages_status \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "waba_id": "102290129340398"
}'

marketing_messages_onboard

Start Marketing Messages API onboarding. Asks Meta to email the business's full-control admins the Marketing Messages API terms. The human must accept them in WhatsApp Manager; whatsapp_account.marketing_messages_onboarded fires when they do. After that, marketing templates are routed through the Marketing Messages API automatically. Tell the human an email from Meta is coming before you call this.

POST /v1/marketing_messages_onboard · scope whatsapp.manage · Writes · Safe to retry

ParameterTypeDescription
waba_id requiredstringWhatsApp Business Account id (from whatsapp_account_list).
curl https://mcp.waba.cloud/v1/marketing_messages_onboard \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "waba_id": "102290129340398"
}'

whatsapp_account_disconnect

Disconnect WABA. Stop managing this WABA: unsubscribes our app and stops webhooks. Numbers stop working through this service. The customer can reconnect via onboarding_start.

POST /v1/whatsapp_account_disconnect · scope whatsapp.manage · Changes things outside waba.cloud; can't be undone

ParameterTypeDescription
waba_id requiredstringWhatsApp Business Account id (from whatsapp_account_list).
confirm requiredtrueMust be true. Confirms you understand this cannot be undone.
curl https://mcp.waba.cloud/v1/whatsapp_account_disconnect \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "waba_id": "102290129340398",
  "confirm": true
}'

phone_list

List phone numbers. All numbers in the workspace with mode (cloud_api/coexistence), status, quality rating and messaging limit. refresh=true pulls fresh data from Meta.

POST /v1/phone_list · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
refreshboolean
curl https://mcp.waba.cloud/v1/phone_list \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

phone_get

Get phone number health. Live status of one number from Meta: quality rating, messaging limit, throughput, display name review, verification.

POST /v1/phone_get · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
phone_number_id requiredstring
curl https://mcp.waba.cloud/v1/phone_get \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone_number_id": "106540352242922"
}'

phone_request_code

Request verification code. Send an SMS or voice verification code to the number. Only needed if onboarding reported the number is unverified.

POST /v1/phone_request_code · scope whatsapp.manage · Writes

ParameterTypeDescription
phone_number_id requiredstring
method"SMS" \| "VOICE"Default "SMS".
languagestringDefault "en_US".
curl https://mcp.waba.cloud/v1/phone_request_code \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone_number_id": "106540352242922"
}'

phone_verify_code

Verify phone code. Submit the code the human received.

POST /v1/phone_verify_code · scope whatsapp.manage · Writes

ParameterTypeDescription
phone_number_id requiredstring
code requiredstringUp to 10 characters.
curl https://mcp.waba.cloud/v1/phone_verify_code \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone_number_id": "106540352242922",
  "code": "123456"
}'

phone_register

Register number on Cloud API. Activate a verified Cloud API number and set its two-step verification PIN (generated and stored encrypted unless you pass one). Not for coexistence numbers.

POST /v1/phone_register · scope whatsapp.manage · Writes · Safe to retry

ParameterTypeDescription
phone_number_id requiredstring
pinstring
curl https://mcp.waba.cloud/v1/phone_register \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone_number_id": "106540352242922"
}'

phone_get_pin

Reveal two-step PIN. Return the stored two-step verification PIN, e.g. when the human needs to re-register the number elsewhere. Audited.

POST /v1/phone_get_pin · scope whatsapp.manage · Read-only · Safe to retry

ParameterTypeDescription
phone_number_id requiredstring
curl https://mcp.waba.cloud/v1/phone_get_pin \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone_number_id": "106540352242922"
}'

phone_deregister

Deregister number. Take the number off Cloud API. It stops sending and receiving through this service until registered again.

POST /v1/phone_deregister · scope whatsapp.manage · Changes things outside waba.cloud; can't be undone

ParameterTypeDescription
phone_number_id requiredstring
confirm requiredtrueMust be true. Confirms you understand this cannot be undone.
curl https://mcp.waba.cloud/v1/phone_deregister \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone_number_id": "106540352242922",
  "confirm": true
}'

profile_get

Get business profile. The WhatsApp business profile customers see (about, description, address, email, websites, vertical, photo).

POST /v1/profile_get · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
phone_number_id requiredstring
curl https://mcp.waba.cloud/v1/profile_get \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone_number_id": "106540352242922"
}'

profile_update

Update business profile. Update the business profile. Not available for coexistence numbers (edit in the WhatsApp Business app instead).

POST /v1/profile_update · scope whatsapp.manage · Writes · Safe to retry

ParameterTypeDescription
phone_number_id requiredstring
aboutstringUp to 139 characters.
descriptionstringUp to 512 characters.
addressstringUp to 256 characters.
emailstring
websitesstring[]Up to 2 items.
vertical"UNDEFINED" \| "OTHER" \| "AUTO" \| "BEAUTY" \| "APPAREL" \| "EDU" \| "ENTERTAIN" \| "EVENT_PLAN" \| "FINANCE" \| "GROCERY" \| "GOVT" \| "HOTEL" \| "HEALTH" \| "NONPROFIT" \| "PROF_SERVICES" \| "RETAIL" \| "TRAVEL" \| "RESTAURANT" \| "NOT_A_BIZ"
curl https://mcp.waba.cloud/v1/profile_update \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone_number_id": "106540352242922"
}'

coex_sync

Sync WhatsApp Business app data. Coexistence only: request contact and/or chat-history sync from the WhatsApp Business app. Meta allows each once, within 24h of onboarding (onboarding starts both automatically).

POST /v1/coex_sync · scope whatsapp.manage · Writes · Safe to retry

ParameterTypeDescription
phone_number_id requiredstring
what"contacts" \| "history"[]Default ["contacts","history"].
curl https://mcp.waba.cloud/v1/coex_sync \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone_number_id": "106540352242922"
}'

Templates

template_list

List templates. Templates on a WABA with status (APPROVED, PENDING, REJECTED + reason, PAUSED), category, quality and components.

POST /v1/template_list · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
waba_id requiredstringWhatsApp Business Account id (from whatsapp_account_list).
statusstring
namestring
limitinteger1 to 100.
afterstring
curl https://mcp.waba.cloud/v1/template_list \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "waba_id": "102290129340398"
}'

template_get

Get template. One template's current status, rejection reason and components.

POST /v1/template_get · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
waba_id requiredstringWhatsApp Business Account id (from whatsapp_account_list).
template_id requiredstring
curl https://mcp.waba.cloud/v1/template_get \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "waba_id": "102290129340398",
  "template_id": "1234567890123456"
}'

template_validate

Validate template. Check a template against Meta's common rejection rules and preview the exact payload, without submitting. Use before template_create.

POST /v1/template_validate · Read-only · Safe to retry

ParameterTypeDescription
name requiredstringlowercase_with_underscores
language requiredstringLocale, e.g. en_US
category required"MARKETING" \| "UTILITY" \| "AUTHENTICATION"
parameter_format"named" \| "positional"Auto-detected from the body if omitted.
headerobject
body requiredobject
footerobject
buttonsobject[]QUICK_REPLY {text} | URL {text,url,example?} | PHONE_NUMBER {text,phone_number} | COPY_CODE {example} | OTP {otp_type}
componentsany[]Advanced: raw Meta components (overrides header/body/footer/buttons)
allow_category_changeboolean
curl https://mcp.waba.cloud/v1/template_validate \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "order_shipped",
  "language": "en_US",
  "category": "UTILITY",
  "body": {
    "text": "Hi {{1}}, order {{2}} has shipped.",
    "examples": [
      "Asha",
      "1042"
    ]
  }
}'

template_create

Submit template for review. Submit a new message template to Meta for approval. Validates first and refuses obvious rejections. Approval usually takes minutes (up to 24h); watch template.status_updated.

POST /v1/template_create · scope templates.manage · Writes

ParameterTypeDescription
waba_id requiredstringWhatsApp Business Account id (from whatsapp_account_list).
name requiredstringlowercase_with_underscores
language requiredstringLocale, e.g. en_US
category required"MARKETING" \| "UTILITY" \| "AUTHENTICATION"
parameter_format"named" \| "positional"Auto-detected from the body if omitted.
headerobject
body requiredobject
footerobject
buttonsobject[]QUICK_REPLY {text} | URL {text,url,example?} | PHONE_NUMBER {text,phone_number} | COPY_CODE {example} | OTP {otp_type}
componentsany[]Advanced: raw Meta components (overrides header/body/footer/buttons)
allow_category_changeboolean
curl https://mcp.waba.cloud/v1/template_create \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "waba_id": "102290129340398",
  "name": "order_shipped",
  "language": "en_US",
  "category": "UTILITY",
  "body": {
    "text": "Hi {{1}}, order {{2}} has shipped and arrives {{3}}.",
    "examples": [
      "Asha",
      "1042",
      "Friday"
    ]
  }
}'

template_edit

Edit template. Edit an APPROVED, REJECTED or PAUSED template (components replaced in full). Approved templates: 1 edit/24h, 10/30 days; category is locked.

POST /v1/template_edit · scope templates.manage · Writes

ParameterTypeDescription
waba_id requiredstringWhatsApp Business Account id (from whatsapp_account_list).
template_id requiredstring
category"MARKETING" \| "UTILITY" \| "AUTHENTICATION"
headerobject
bodyobject
footerobject
buttonsobject[]QUICK_REPLY {text} | URL {text,url,example?} | PHONE_NUMBER {text,phone_number} | COPY_CODE {example} | OTP {otp_type}
componentsany[]Advanced: raw Meta components (overrides header/body/footer/buttons)
curl https://mcp.waba.cloud/v1/template_edit \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "waba_id": "102290129340398",
  "template_id": "1234567890123456"
}'

template_delete

Delete template. Delete a template by name (all languages) or one language via template_id. Approved names can't be reused for 30 days.

POST /v1/template_delete · scope templates.manage · Changes things outside waba.cloud; can't be undone

ParameterTypeDescription
waba_id requiredstringWhatsApp Business Account id (from whatsapp_account_list).
name requiredstring
template_idstring
confirm requiredtrueMust be true. Confirms you understand this cannot be undone.
curl https://mcp.waba.cloud/v1/template_delete \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "waba_id": "102290129340398",
  "name": "order_shipped",
  "confirm": true
}'

Messages and media

message_send

Send WhatsApp message. Send a message from one of your numbers. Free-form types (text, media, interactive, location) need an open 24h service window (customer messaged in the last 24h); otherwise send an APPROVED template. Marketing templates need a recorded opt-in. Pass idempotency_key so retries never double-send.

POST /v1/message_send · scope messages.send · Changes things outside waba.cloud; can't be undone

ParameterTypeDescription
phone_number_idstringphone_number_id to use. Optional when the workspace has exactly one number.
to requiredstringRecipient: international phone number (e.g. +14155550123), or the WhatsApp user id from their message (user_id, e.g. US.13491208655302741918) for people who only share a username. Use user ids exactly as received.
message requiredobjectOne of: {type:'text', text} | {type:'template', template_name, language, body_params?: string[]|{name:value}, header_param?, button_url_params?} | {type:'image'|'video'|'audio'|'document'|'sticker', media_id|link, caption?, filename?} | {type:'interactive', interactive} | {type:'location', latitude, longitude, name?, address?} | {type:'reaction', message_id, emoji}
reply_tostringwamid of a message to reply to in-thread
idempotency_keystringUp to 200 characters.
override_suppression_reasonstringOnly when the human explicitly insists on messaging someone on the do-not-contact list, after you warned them. Their reason, in their words. Logged. Up to 300 characters.
message_activity_sharingbooleanMarketing templates sent through the Marketing Messages API only: let Meta use read/click activity to optimise delivery. Omit to use the WABA's default.
curl https://mcp.waba.cloud/v1/message_send \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "to": "+14155550123",
  "message": {
    "type": "text",
    "text": "Your order has shipped."
  },
  "idempotency_key": "order-1042-shipped"
}'

message_mark_read

Mark message read. Mark an inbound message as read (blue ticks), optionally showing a typing indicator while you prepare a reply.

POST /v1/message_mark_read · scope messages.send · Writes · Safe to retry

ParameterTypeDescription
phone_number_id requiredstring
wamid requiredstring
show_typingboolean
curl https://mcp.waba.cloud/v1/message_mark_read \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone_number_id": "106540352242922",
  "wamid": "…"
}'

message_list

List messages. Recent messages (inbound, outbound and coexistence echoes), newest first. Filter by number and/or contact.

POST /v1/message_list · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
phone_number_idstring
wa_idstring
beforestringISO timestamp for paging
limitinteger1 to 100.
curl https://mcp.waba.cloud/v1/message_list \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

message_get

Get message. One message by our id or Meta wamid, with delivery status, errors and pricing.

POST /v1/message_get · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
id requiredstring
curl https://mcp.waba.cloud/v1/message_get \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "id": "…"
}'

media_upload

Upload media. Upload an image, video, audio or document from a public URL to WhatsApp, returning a media_id for message_send.

POST /v1/media_upload · scope messages.send · Writes

ParameterTypeDescription
url requiredstring
filenamestring
phone_number_idstringphone_number_id to use. Optional when the workspace has exactly one number.
curl https://mcp.waba.cloud/v1/media_upload \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com/hooks/whatsapp"
}'

media_get

Get media info. Metadata and an authenticated download URL for media received in a message.

POST /v1/media_get · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
media_id requiredstring
phone_number_idstringphone_number_id to use. Optional when the workspace has exactly one number.
curl https://mcp.waba.cloud/v1/media_get \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "media_id": "media_…"
}'

contact_get

Get contact & service window. Whether the 24h service window is open for a contact (what you're allowed to send), opt-in status, and profile name.

POST /v1/contact_get · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
wa_id requiredstring
phone_number_idstringphone_number_id to use. Optional when the workspace has exactly one number.
curl https://mcp.waba.cloud/v1/contact_get \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "wa_id": "14155550123"
}'

contact_record_opt_in

Record marketing opt-in/out. Record that a person agreed (or withdrew agreement) to receive WhatsApp marketing from this business. Only record consent that actually happened; include where it came from.

POST /v1/contact_record_opt_in · scope messages.send · Writes · Safe to retry

ParameterTypeDescription
wa_id requiredstring
phone_number_idstringphone_number_id to use. Optional when the workspace has exactly one number.
source requiredstringWhere consent was collected, e.g. 'checkout checkbox 2026-11-30', 'replied YES to SMS'
opted_inbooleanDefault true.
curl https://mcp.waba.cloud/v1/contact_record_opt_in \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "wa_id": "14155550123",
  "source": "checkout_checkbox"
}'

contact_import_opt_ins

Import marketing opt-ins. Record marketing consent collected elsewhere (checkout checkbox, signup form, SMS keyword) for up to 1000 people per call. Each needs the source of consent; include opted_in_at when known. People on the do-not-contact list are skipped and listed. Only import people who actually agreed to WhatsApp marketing from this business.

POST /v1/contact_import_opt_ins · scope messages.send · Writes · Safe to retry

ParameterTypeDescription
contacts requiredobject[]Up to 1000 items.
curl https://mcp.waba.cloud/v1/contact_import_opt_ins \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "contacts": [
    {
      "wa_id": "+14155550123",
      "source": "checkout_checkbox"
    }
  ]
}'

suppression_add

Add to do-not-contact list. Add people to the workspace's do-not-contact list (all numbers), up to 1000 per call. scope=marketing blocks marketing templates; scope=all blocks everything the business starts (replies within 24h of their message stay allowed). Use for imported unsubscribe lists, complaints, people who asked in conversation, or the business's own do-not-contact list. STOP replies are added automatically.

POST /v1/suppression_add · scope messages.send · Writes · Safe to retry

ParameterTypeDescription
wa_ids requiredstring[]Up to 1000 items.
scope"marketing" \| "all"Default "all".
reason required"opted_out" \| "blocked" \| "complaint" \| "imported" \| "manual"opted_out: they asked to stop. complaint: they complained. imported: from the business's own list. manual: other.
source requiredstringWhere this came from, e.g. 'Mailchimp unsubscribes 2026-11', 'asked in chat 2026-12-01'. Up to 200 characters.
curl https://mcp.waba.cloud/v1/suppression_add \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "wa_ids": [
    "14155550123"
  ],
  "reason": "opted_out",
  "source": "checkout_checkbox"
}'

suppression_remove

Remove from do-not-contact list. Take someone off the do-not-contact list. Only when they asked to hear from the business again (or were added by mistake); say why. Logged.

POST /v1/suppression_remove · scope messages.send · Writes

ParameterTypeDescription
wa_id requiredstring
reason requiredstringWhy, e.g. 'customer re-subscribed on website 2026-12-02'. Up to 300 characters.
curl https://mcp.waba.cloud/v1/suppression_remove \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "wa_id": "14155550123",
  "reason": "Customer asked by email to stop marketing messages"
}'

suppression_list

List do-not-contact list. The workspace's do-not-contact list, newest first, with why and since when each person is on it. Filter by reason or look up one number. Page with before=next_before.

POST /v1/suppression_list · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
wa_idstring
reason"opted_out" \| "blocked" \| "complaint" \| "imported" \| "erased" \| "manual"
include_removedboolean
beforestring
limitinteger1 to 1000.
curl https://mcp.waba.cloud/v1/suppression_list \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

contact_erase

Erase a contact (forget me). For a person's deletion request: redacts their message content, events and logged request bodies, deletes their contact records, and adds them to the do-not-contact list (all) so they're never messaged again. Cannot be undone. Copies already sent to webhooks are not affected.

POST /v1/contact_erase · scope messages.send · Changes things outside waba.cloud; can't be undone

ParameterTypeDescription
wa_id requiredstring
confirm requiredtrueMust be true. Confirms you understand this cannot be undone.
curl https://mcp.waba.cloud/v1/contact_erase \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "wa_id": "14155550123",
  "confirm": true
}'

Broadcasts

broadcast_create

Create broadcast (draft). Draft a broadcast: one APPROVED template to many people, sent by the server. It sends a test batch first (default 5% of the list, 20-100 people, for lists of 100 or more), waits to see how it lands, then ramps up within the account's limits. It pauses itself if failures or opt-outs spike. The do-not-contact list, opt-in rule and daily limits apply to each person. Returns a preflight (who will be skipped, how many days it takes). Nothing is sent until broadcast_start. You decide who gets it; only include people who expect to hear from this business.

POST /v1/broadcast_create · scope messages.send · Writes

ParameterTypeDescription
name requiredstringLabel for the human, e.g. 'Diwali offer – repeat buyers' Up to 120 characters.
template_name requiredstring
language requiredstringTemplate language code, e.g. en_US
phone_number_idstringphone_number_id to use. Optional when the workspace has exactly one number.
recipientsobject[]Up to 5000 here; add more with broadcast_add_recipients Up to 5000 items.
test_sizeintegerPeople in the test batch; 0 = no test. Default: 5% (20-100) for lists of 100+. 0 to 1000.
test_wait_minutesintegerHow long to watch the test batch before continuing. Default 15. 1 to 1440.
approve_after_testbooleanStop after the test until broadcast_resume (show the human the test results first).
rulesobjectWhen to pause automatically. Defaults: 15% failures, 3% opt-outs, judged after 30 sends.
curl https://mcp.waba.cloud/v1/broadcast_create \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Spring sale, repeat buyers",
  "template_name": "spring_sale",
  "language": "en_US",
  "recipients": [
    {
      "wa_id": "+14155550123",
      "body_params": [
        "Asha"
      ]
    }
  ]
}'

broadcast_add_recipients

Add broadcast recipients. Add up to 5000 people per call to a draft or scheduled broadcast (100,000 max). Duplicates are ignored. Returns counts of added, duplicate and invalid numbers.

POST /v1/broadcast_add_recipients · scope messages.send · Writes · Safe to retry

ParameterTypeDescription
broadcast_id requiredstring
recipients requiredobject[]Up to 5000 items.
curl https://mcp.waba.cloud/v1/broadcast_add_recipients \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "broadcast_id": "bc_06h3fcz2qk9x",
  "recipients": [
    {
      "wa_id": "+14155550123",
      "body_params": [
        "Asha"
      ]
    },
    {
      "wa_id": "+919876543210",
      "body_params": [
        "Ravi"
      ]
    }
  ]
}'

broadcast_start

Start broadcast. Start a draft broadcast now, or at scheduled_at. Show the human the preflight (who gets it, who's skipped, how long it takes, and that Meta bills them) and get a yes first.

POST /v1/broadcast_start · scope messages.send · Changes things outside waba.cloud; can't be undone

ParameterTypeDescription
broadcast_id requiredstring
scheduled_atstringISO date-time to start later
curl https://mcp.waba.cloud/v1/broadcast_start \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "broadcast_id": "broadcast_…"
}'

broadcast_get

Get broadcast. Status, progress and results of a broadcast: sent, delivered, read, failed, skipped, replied, opted out, the rates, and the test batch results. If it's paused, pause_reason says why.

POST /v1/broadcast_get · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
broadcast_id requiredstring
curl https://mcp.waba.cloud/v1/broadcast_get \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "broadcast_id": "broadcast_…"
}'

broadcast_list

List broadcasts. This workspace's broadcasts, newest first, with progress.

POST /v1/broadcast_list · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
status"draft" \| "scheduled" \| "testing" \| "awaiting_approval" \| "running" \| "paused" \| "completed" \| "cancelled"
limitinteger1 to 100.
curl https://mcp.waba.cloud/v1/broadcast_list \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

broadcast_recipients

List broadcast recipients. Per-person results of a broadcast. Filter status=failed or skipped to see why (reason/detail). Page with after=next_after.

POST /v1/broadcast_recipients · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
broadcast_id requiredstring
status"pending" \| "sending" \| "sent" \| "delivered" \| "read" \| "failed" \| "skipped"
afterinteger-9007199254740991 to 9007199254740991.
limitinteger1 to 1000.
curl https://mcp.waba.cloud/v1/broadcast_recipients \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "broadcast_id": "broadcast_…"
}'

broadcast_pause

Pause broadcast. Pause a running, testing or scheduled broadcast. Nothing more is sent until broadcast_resume.

POST /v1/broadcast_pause · scope messages.send · Writes · Safe to retry

ParameterTypeDescription
broadcast_id requiredstring
reasonstringUp to 300 characters.
curl https://mcp.waba.cloud/v1/broadcast_pause \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "broadcast_id": "broadcast_…"
}'

broadcast_resume

Resume broadcast. Resume a paused broadcast, or continue one awaiting approval after its test batch. If it paused itself, tell the human the reason and get a yes first. Resumes at half the previous rate.

POST /v1/broadcast_resume · scope messages.send · Changes things outside waba.cloud; can't be undone

ParameterTypeDescription
broadcast_id requiredstring
curl https://mcp.waba.cloud/v1/broadcast_resume \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "broadcast_id": "broadcast_…"
}'

broadcast_cancel

Cancel broadcast. Stop a broadcast for good. People not yet messaged are skipped. Cannot be undone.

POST /v1/broadcast_cancel · scope messages.send · Changes things outside waba.cloud; can't be undone

ParameterTypeDescription
broadcast_id requiredstring
confirm requiredtrueMust be true. Confirms you understand this cannot be undone.
curl https://mcp.waba.cloud/v1/broadcast_cancel \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "broadcast_id": "broadcast_…",
  "confirm": true
}'

Quality

quality_report

Quality report. How messages are landing and whether a number is at risk: early warnings (with what to do), each number's rating, limit and daily trend, and per-template sent/delivered/read/replied/opted-out rates. Check it before and after a big send, and whenever a quality.warning event arrives.

POST /v1/quality_report · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
phone_number_idstring
daysintegerWindow, default 7 1 to 30.
curl https://mcp.waba.cloud/v1/quality_report \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Events and webhooks

events_poll

Poll events. Read new events (inbound messages, delivery statuses, template reviews, quality changes, onboarding results) after a cursor. Store next_cursor and pass it as after next time. Omit after to start from the beginning.

POST /v1/events_poll · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
afterstring
typesstring[]Filter, e.g. ['message.received'] or ['message.*']
phone_number_idstring
limitinteger1 to 200.
curl https://mcp.waba.cloud/v1/events_poll \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "types": [
    "message.received"
  ],
  "limit": 50
}'

event_get

Get event. One stored event by id.

POST /v1/event_get · scope whatsapp.read · Read-only · Safe to retry

ParameterTypeDescription
event_id requiredstring
curl https://mcp.waba.cloud/v1/event_get \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "event_id": "event_…"
}'

webhook_event_types

List webhook event types. The catalog of event types you can subscribe a webhook to (wildcards like message.* work).

POST /v1/webhook_event_types · Read-only · Safe to retry

No parameters.

curl https://mcp.waba.cloud/v1/webhook_event_types \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

webhook_create

Create webhook endpoint. Register an HTTPS URL to receive events. Every event is stored and delivered with retries (≈3 days of backoff) and can be replayed. Payloads are signed per the Standard Webhooks spec (headers webhook-id, webhook-timestamp, webhook-signature). The signing secret is returned once.

POST /v1/webhook_create · scope webhooks.manage · Writes

ParameterTypeDescription
url requiredstring
event_typesstring[]Default: all events
phone_number_idsstring[]Default: all numbers
descriptionstringUp to 200 characters.
curl https://mcp.waba.cloud/v1/webhook_create \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com/hooks/whatsapp",
  "event_types": [
    "message.received",
    "message.failed"
  ]
}'

webhook_list

List webhook endpoints. Endpoints with status and failure counters.

POST /v1/webhook_list · scope webhooks.manage · Read-only · Safe to retry

No parameters.

curl https://mcp.waba.cloud/v1/webhook_list \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

webhook_get

Get webhook endpoint. Endpoint config plus delivery counts for the last 7 days.

POST /v1/webhook_get · scope webhooks.manage · Read-only · Safe to retry

ParameterTypeDescription
endpoint_id requiredstring
curl https://mcp.waba.cloud/v1/webhook_get \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "endpoint_id": "endpoint_…"
}'

webhook_update

Update webhook endpoint. Change URL, event filter or description; pause (events queue up, nothing is lost) or resume (status=active, also re-enables an auto-disabled endpoint).

POST /v1/webhook_update · scope webhooks.manage · Writes · Safe to retry

ParameterTypeDescription
endpoint_id requiredstring
urlstring
event_typesstring[]
phone_number_idsstring[]
descriptionstringUp to 200 characters.
status"active" \| "paused"
curl https://mcp.waba.cloud/v1/webhook_update \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "endpoint_id": "endpoint_…"
}'

webhook_delete

Delete webhook endpoint. Delete the endpoint and cancel its pending deliveries. Stored events remain available via events_poll.

POST /v1/webhook_delete · scope webhooks.manage · Changes things outside waba.cloud; can't be undone

ParameterTypeDescription
endpoint_id requiredstring
confirm requiredtrueMust be true. Confirms you understand this cannot be undone.
curl https://mcp.waba.cloud/v1/webhook_delete \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "endpoint_id": "endpoint_…",
  "confirm": true
}'

webhook_rotate_secret

Rotate webhook secret. Issue a new signing secret. For 24h every delivery carries signatures from both old and new secrets so the receiver can switch without downtime.

POST /v1/webhook_rotate_secret · scope webhooks.manage · Writes

ParameterTypeDescription
endpoint_id requiredstring
curl https://mcp.waba.cloud/v1/webhook_rotate_secret \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "endpoint_id": "endpoint_…"
}'

webhook_test

Send test webhook. Deliver a webhook.test event to the endpoint right now and report the HTTP result.

POST /v1/webhook_test · scope webhooks.manage · Writes

ParameterTypeDescription
endpoint_id requiredstring
curl https://mcp.waba.cloud/v1/webhook_test \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "endpoint_id": "endpoint_…"
}'

webhook_deliveries

List webhook deliveries. Delivery log: which events were delivered, pending retry, or failed, with last HTTP status/error.

POST /v1/webhook_deliveries · scope webhooks.manage · Read-only · Safe to retry

ParameterTypeDescription
endpoint_idstring
status"pending" \| "succeeded" \| "failed" \| "cancelled"
event_idstring
limitinteger1 to 200.
curl https://mcp.waba.cloud/v1/webhook_deliveries \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

webhook_delivery_attempts

Inspect delivery attempts. Every attempt for one delivery: status code, latency, error and the start of the receiver's response.

POST /v1/webhook_delivery_attempts · scope webhooks.manage · Read-only · Safe to retry

ParameterTypeDescription
delivery_id requiredstring
curl https://mcp.waba.cloud/v1/webhook_delivery_attempts \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "delivery_id": "delivery_…"
}'

webhook_replay

Replay webhook events. Re-deliver stored events to an endpoint: specific event_ids, or (default) everything that failed in a time window (default: last 3 days). Set only_failed=false to resend all matching events.

POST /v1/webhook_replay · scope webhooks.manage · Writes

ParameterTypeDescription
endpoint_id requiredstring
event_idsstring[]
sincestringISO timestamp
untilstringISO timestamp
only_failedboolean
curl https://mcp.waba.cloud/v1/webhook_replay \
  -H "Authorization: Bearer $WABA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "endpoint_id": "endpoint_…"
}'

Log in to waba.cloud

Use your work email. New here? This sets up your workspace.

Working with an AI agent? Ask it to open the console for you. It can sign you in with a link.