WhatsApp Messages API
Send messages of all types to WhatsApp users
WhatsApp Messages API is one of 17 APIs that WhatsApp publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.
This API exposes 2 JSON Schema definitions.
Tagged areas include Messages. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an AsyncAPI specification, an API reference, a getting-started guide, and 2 JSON Schemas.
This API exposes 1 operation across 1 path, and defines 16 schemas. It is described by OpenAPI 3.1.0, at version 21.0.
Requests are made against a single base URL, https://graph.facebook.com/v21.0.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
WhatsApp Messages API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (bearerAuth).
By default, every request must be authenticated.
bearerAuth— System User Token with whatsappbusinessmanagement permission
Paths & Operations 1
Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.
Send messages of all types to WhatsApp users
Schemas 16
The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are SendMessageRequest (19 properties), TemplateParameter (10 properties), ContactObject (7 properties), InteractiveMessage (5 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from WhatsApp 12
Other APIs WhatsApp publishes across the network.