WhatsApp Messages API

Send messages of all types to WhatsApp users

GitHub OpenAPI
Business capability
SMS & Messaging Apps AE-150.20

Operations 2

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

POST /{Version}/{Phone-Number-ID}/messages Send a WhatsApp message to a customer · Send Message #
Ask an LLM
“How do I send a WhatsApp message to a customer from my business number?”
“Which API version and phone number ID do I need to send a WhatsApp message?”
Tell an agent
Send a WhatsApp message from phone number ID {phone_number_id} using API version {version}.
Message a customer on WhatsApp through {phone_number_id} on version {version}, authorized with {token}.
POST /{phone-number-id}/messages Send a WhatsApp message to a user · WhatsApp Send a Message #
Ask an LLM
“How do I send a WhatsApp text message to a user?”
“Can I send a WhatsApp template message or interactive message?”
Tell an agent
Send a {type} message to {to} on phone number {phone_number_id}.
Send a WhatsApp template message {template} to {to} on {phone_number_id}.

Documentation

Specifications

Schemas & Data

Other Resources

🔗
Reference
https://developers.facebook.com/documentation/business-messaging/whatsapp/reference/whatsapp-business-phone-number/message-api
🔗
Pricing
https://developers.facebook.com/documentation/business-messaging/whatsapp/pricing
🔗
StatusPage
https://metastatus.com/
🔗
ChangeLog
https://developers.facebook.com/documentation/business-messaging/whatsapp/changelog
🔗
ErrorCodes
https://developers.facebook.com/documentation/business-messaging/whatsapp/support/error-codes
🔗
PostmanCollection
https://www.postman.com/meta/whatsapp-business-platform/collection/wlk6lh4/whatsapp-cloud-api
🔗
Node.js SDK
https://github.com/WhatsApp/WhatsApp-Nodejs-SDK
🔗
Sandbox
https://whatsappbusiness.com/developers/developer-hub/
🔗
Media Reference
https://developers.facebook.com/documentation/business-messaging/whatsapp/business-phone-numbers/media
🔗
Phone Numbers Reference
https://developers.facebook.com/documentation/business-messaging/whatsapp/business-phone-numbers/phone-numbers
🔗
Business Profiles Reference
https://developers.facebook.com/documentation/business-messaging/whatsapp/business-phone-numbers/business-profiles
🔗
Two-Step Verification
https://developers.facebook.com/documentation/business-messaging/whatsapp/business-phone-numbers/two-step-verification
🔗
Versioning
https://developers.facebook.com/docs/graph-api/guides/versioning
🔗
PostmanCollection
https://www.postman.com/meta/whatsapp-business-platform/collection/3kru5r6/whatsapp-business-management-api
🔗
Reference
https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/overview

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:whatsapp-messages-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-messages-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Whatsapp Messages API
  version: '1.0'
  description: 'Operations tagged Messages across 2 of this provider''s published API definitions: whatsapp-business-messaging-api-v23.0-openapi.yaml, whatsapp-cloud-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 (101 KB total) ---
# Full source: https://artifacts.apis.io/whatsapp/openapi/whatsapp-messages-api-openapi.yml