WhatsApp Cloud API - Message API | Developer Documentation
WhatsApp Cloud API - Message API
Copy for LLM
Version
Send and receive WhatsApp messages including text, media, templates,
interactive messages, reactions, and more. Supports message status
tracking, delivery receipts, and read confirmations.
Base URL
https://graph.facebook.com |
Endpoints
POST /{Version}/{Phone-Number-ID}/messages
Send Message.
Request Syntax
POST /{Version}/{Phone-Number-ID}/messages
Try it
Select language
curl --request POST \
--url 'https://graph.facebook.com/{Version}/{Phone-Number-ID}/messages' \
--header 'Authorization: Bearer <Token>' \
--header 'Content-Type: application/json' \
--data '{
"audio": {
"id": "<AUDIO_OBJECT_ID>"
},
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "{{Recipient-Phone-Number}}",
"type": "audio"
}'Select status code
{
"Example response": {
"value": {
"contacts": [
{
"input": "+16505551234",
"wa_id": "16505551234"
}
],
"messages": [
{
"id": "wamid.HBgLMTY1MDM4Nzk0MzkVAgARGBJCOTY3NDc0NDFDRUI3NTA0Q0UA"
}
],
"messaging_product": "whatsapp"
}
},
"Send Audio Message By URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Audio Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Contact Message": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Document Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Document Message by URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Draft Flow by ID": {
"value": {
"contacts": [
{
"input": "18055555555",
"wa_id": "18055555555"
}
],
"messages": [
{
"id": "wamid.HBgL..."
}
],
"messaging_product": "whatsapp"
}
},
"Send Draft Flow by Name": {
"value": {
"contacts": [
{
"input": "18055555555",
"wa_id": "18055555555"
}
],
"messages": [
{
"id": "wamid.HBgL..."
}
],
"messaging_product": "whatsapp"
}
},
"Send Flow Template Message": {
"value": {
"contacts": [
{
"input": "18055555555",
"wa_id": "18055555555"
}
],
"messages": [
{
"id": "wamid.HBgL..."
}
],
"messaging_product": "whatsapp"
}
},
"Send Image Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Image Message by URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Interactive Message Template": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send List Message": {
"value": {
"contacts": [
{
"input": "15555551234",
"wa_id": "<WHATSAPP_ID>"
}
],
"messages": [
{
"id": "wamid.ID"
}
],
"messaging_product": "whatsapp"
}
},
"Send Location Messages": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Message Template Media": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Message Template Text": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Published Flow by ID": {
"value": {
"contacts": [
{
"input": "18055555555",
"wa_id": "18055555555"
}
],
"messages": [
{
"id": "wamid.HBgL..."
}
],
"messaging_product": "whatsapp"
}
},
"Send Published Flow by Name": {
"value": {
"contacts": [
{
"input": "18055555555",
"wa_id": "18055555555"
}
],
"messages": [
{
"id": "wamid.HBgL..."
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply Button": {
"value": {
"contacts": [
{
"input": "PHONE_NUMBER",
"wa_id": "WHATSAPP_ID"
}
],
"messages": [
{
"id": "wamid.ID"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Audio Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Audio Message by URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Contact Message": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Document Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Document Message by URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Image Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Image Message by URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to List Message": {
"value": {
"contacts": [
{
"input": "15555551234",
"wa_id": "<WHATSAPP_ID>"
}
],
"messages": [
{
"id": "wamid.ID"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Location Message": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Sticker Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Sticker Message by URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Text Message": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Video Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Video Message by URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply with Reaction Message": {
"value": {
"contacts": [
{
"input": "<PHONE_NUMBER>",
"wa_id": "<WHATSAPP_ID>"
}
],
"messages": [
{
"id": "wamid.HBgLM..."
}
],
"messaging_product": "whatsapp"
}
},
"Send Sample Shipping Confirmation Template": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Sample Text message": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Single Product Message": {
"value": {
"contacts": [
{
"input": "+1-631-555-5555",
"wa_id": "16315555555"
}
],
"messages": [
{
"id": "wamid.gBGGFlaCGg0xcvAdgmZ9plHrf2Mh-o"
}
],
"messaging_product": "whatsapp"
}
},
"Send Sticker Message By ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Sticker Message By URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Test Message": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Text Message": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Video Message By ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Video Message By URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send typing indicator and read receipt": {
"value": {
"success": true
}
}
}Header Parameters
User-Agentstring
The user agent string identifying the client software making the request.
Authorizationstring·required
Bearer token for API authentication. This should be a valid access token obtained through the appropriate OAuth flow or system user token.
Content-TypeOne of "application/json", "application/x-www-form-urlencoded", "multipart/form-data"·required
Media type of the request body
Path Parameters
Versionstring·required
Phone-Number-IDstring·required
Request BodyOptional
Content Type: application/json
Schema: Message
Show child attributes
Message
TextMessage
Show child attributes
messaging_productstring·required
recipient_typeOne of "individual", "group"·required
The type of recipient.
tostring·required
The recipient's phone number for individual messages, and group-id for group message.
type"text"
contextobject
Context information for replying to a message
Show child attributes
message_idstring
The ID of the message to which this message is a reply.
textobject·required
Show child attributes
bodystring
The text of the message.
preview_urlboolean
AudioMessage
Show child attributes
messaging_productstring·required
recipient_typeOne of "individual", "group"·required
The type of recipient.
tostring·required
The recipient's phone number for individual messages, and group-id for group message.
type"audio"
contextobject
Context information for replying to a message
Show child attributes
message_idstring
The ID of the message to which this message is a reply.
audioMust be one of: unknown, unknown
A media object. Either
id or link is required.Show child attributes
unknown
Show child attributes
idstring·required
The media object ID. Required when
link is not used.captionstring
Optional caption for the media
unknown
Show child attributes
linkstring (url)·required
The protocol and URL of the media to be sent (HTTP/HTTPS only).
captionstring
Optional caption for the media
DocumentMessage
Show child attributes
messaging_productstring·required
recipient_typeOne of "individual", "group"·required
The type of recipient.
tostring·required
The recipient's phone number for individual messages, and group-id for group message.
type"document"
contextobject
Context information for replying to a message
Show child attributes
message_idstring
The ID of the message to which this message is a reply.
documentMust be one of: unknown, unknown
A media object. Either
id or link is required.Show child attributes
unknown
Show child attributes
idstring·required
The media object ID. Required when
link is not used.captionstring
Optional caption for the media
unknown
Show child attributes
linkstring (url)·required
The protocol and URL of the media to be sent (HTTP/HTTPS only).
captionstring
Optional caption for the media
ImageMessage
Show child attributes
messaging_productstring·required
recipient_typeOne of "individual", "group"·required
The type of recipient.
tostring·required
The recipient's phone number for individual messages, and group-id for group message.
type"image"
contextobject
Context information for replying to a message
Show child attributes
message_idstring
The ID of the message to which this message is a reply.
imageMust be one of: unknown, unknown
A media object. Either
id or link is required.Show child attributes
unknown
Show child attributes
idstring·required
The media object ID. Required when
link is not used.captionstring
Optional caption for the media
unknown
Show child attributes
linkstring (url)·required
The protocol and URL of the media to be sent (HTTP/HTTPS only).
captionstring
Optional caption for the media
LocationMessage
Show child attributes
messaging_productstring·required
recipient_typeOne of "individual", "group"·required
The type of recipient.
tostring·required
The recipient's phone number for individual messages, and group-id for group message.
type"location"
contextobject
Context information for replying to a message
Show child attributes
message_idstring
The ID of the message to which this message is a reply.
locationobject·required
Show child attributes
addressstring
The address of the location.
latitudestring
The latitude of the location.
longitudestring
The longitude of the location.
namestring
The name of the location.
VideoMessage
Show child attributes
messaging_productstring·required
recipient_typeOne of "individual", "group"·required
The type of recipient.
tostring·required
The recipient's phone number for individual messages, and group-id for group message.
type"video"
contextobject
Context information for replying to a message
Show child attributes
message_idstring
The ID of the message to which this message is a reply.
videoMust be one of: unknown, unknown
A media object. Either
id or link is required.Show child attributes
unknown
Show child attributes
idstring·required
The media object ID. Required when
link is not used.captionstring
Optional caption for the media
unknown
Show child attributes
linkstring (url)·required
The protocol and URL of the media to be sent (HTTP/HTTPS only).
captionstring
Optional caption for the media
StickerMessage
Show child attributes
messaging_productstring·required
recipient_typeOne of "individual", "group"·required
The type of recipient.
tostring·required
The recipient's phone number for individual messages, and group-id for group message.
type"sticker"
contextobject
Context information for replying to a message
Show child attributes
message_idstring
The ID of the message to which this message is a reply.
stickerMust be one of: object, object·required
Show child attributes
object
Show child attributes
idstring·required
The ID of the sticker.
object
Show child attributes
linkstring·required
The URL of the sticker.
ReactionMessage
Show child attributes
messaging_productstring·required
recipient_typeOne of "individual", "group"·required
The type of recipient.
tostring·required
The recipient's phone number for individual messages, and group-id for group message.
type"reaction"
contextobject
Context information for replying to a message
Show child attributes
message_idstring
The ID of the message to which this message is a reply.
reactionobject·required
Show child attributes
emojistring
emoji
message_idstring
reacted message-id
InteractiveMessage
Show child attributes
messaging_productstring·required
recipient_typeOne of "individual", "group"·required
The type of recipient.
tostring·required
The recipient's phone number for individual messages, and group-id for group message.
type"interactive"
contextobject
Context information for replying to a message
Show child attributes
message_idstring
The ID of the message to which this message is a reply.
interactiveobject
An object containing the content for an interactive message.
Show child attributes
TemplateMessage
Show child attributes
messaging_productstring·required
recipient_typeOne of "individual", "group"·required
The type of recipient.
tostring·required
The recipient's phone number for individual messages, and group-id for group message.
type"template"
contextobject
Context information for replying to a message
Show child attributes
message_idstring
The ID of the message to which this message is a reply.
templateobject·required
Show child attributes
namestring·required
Name of the template.
languageLanguageObject·required
Contains a
language object. Specifies the language the template may be rendered incomponentsarray of TemplateComponent
Array of
components objects containing the parameters of the message.Show child attributes
components[]TemplateComponent
ContactsMessage
Show child attributes
messaging_productstring·required
recipient_typeOne of "individual", "group"·required
The type of recipient.
tostring·required
The recipient's phone number for individual messages, and group-id for group message.
type"contacts"
contextobject
Context information for replying to a message
Show child attributes
message_idstring
The ID of the message to which this message is a reply.
contactsarray of ContactObject·required
Show child attributes
contacts[]object
Show child attributes
addressesarray of AddressObject
Full contact address(es)
Show child attributes
addresses[]object
Show child attributes
citystring
City name
countrystring
Full country name
Show child attributes
country_codestring
Two-letter ISO country code
statestring
State abbreviation
streetstring
Street address
typeOne of "HOME", "WORK"
Address type
zipstring
ZIP code
birthdaystring (date)
Date of birth (YYYY-MM-DD format)
emailsarray of EmailObject
Contact email address(es)
Show child attributes
emails[]object
Show child attributes
emailstring (email)·required
Email address
typeOne of "HOME", "WORK"
Email type
nameobject
Show child attributes
first_namestring
First name
formatted_namestring
Formatted full name
last_namestring
Last name
middle_namestring
Middle name
prefixstring
Name prefix
suffixstring
Name suffix
orgobject
Show child attributes
companystring
Company name
departmentstring
Department name
titlestring
Job title
phonesarray of PhoneObject
Contact phone number(s)
Show child attributes
phones[]object
Show child attributes
phonestring·required
Phone number
typeOne of "HOME", "WORK"
Phone type
wa_idstring
WhatsApp ID
urlsarray of UrlObject
Contact URL(s)
Show child attributes
urls[]object
Show child attributes
typeOne of "HOME", "WORK"
URL type
urlstring (uri)·required
URL
Responses
Send Message.
200
Send Test Message / Send Text Message / Send Reply to Text Message / Send Reply with Reaction Message / Send Image Message by ID / Send Reply to Image Message by ID / Send Image Message by URL / Send Reply to Image Message by URL / Send Audio Message by ID / Send Reply to Audio Message by ID / Send Audio Message By URL / Send Reply to Audio Message by URL / Send Document Message by ID / Send Reply to Document Message by ID / Send Document Message by URL / Send Reply to Document Message by URL / Send Sticker Message By ID / Send Reply to Sticker Message by ID / Send Sticker Message By URL / Send Reply to Sticker Message by URL / Send Video Message By ID / Send Reply to Video Message by ID / Send Video Message By URL / Send Reply to Video Message by URL / Send Contact Message / Send Reply to Contact Message / Send Location Messages / Send Reply to Location Message / Send Message Template Text / Send Message Template Media / Send Interactive Message Template / Send List Message / Send Reply to List Message / Send Reply Button / Send Single Product Message / Example response / Example response / Send Draft Flow by Name / Send Draft Flow by ID / Send Published Flow by Name / Send Published Flow by ID / Send Flow Template Message / Send typing indicator and read receipt / Send Sample Text message / Send Sample Shipping Confirmation Template / Send Sample Issue Resolution Template
Content Type: application/json
Schema: MessageResponsePayload
Show child attributes
MessageResponsePayload
contactsarray of object
Show child attributes
contacts[]object
Show child attributes
inputstring
wa_idstring
messagesarray of object
Show child attributes
messages[]object
Show child attributes
idstring
message_statusOne of "accepted", "held_for_quality_assessment", "paused"
The status of a WhatsApp message:
accepted: The message has been accepted by WhatsApp and is being processedheld_for_quality_assessment: The message is being held for quality assessment before deliverypaused: The message delivery has been pausedmessaging_productstring
Select language
curl --request POST \
--url 'https://graph.facebook.com/{Version}/{Phone-Number-ID}/messages' \
--header 'Authorization: Bearer <Token>' \
--header 'Content-Type: application/json' \
--data '{
"audio": {
"id": "<AUDIO_OBJECT_ID>"
},
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "{{Recipient-Phone-Number}}",
"type": "audio"
}'Select status code
{
"Example response": {
"value": {
"contacts": [
{
"input": "+16505551234",
"wa_id": "16505551234"
}
],
"messages": [
{
"id": "wamid.HBgLMTY1MDM4Nzk0MzkVAgARGBJCOTY3NDc0NDFDRUI3NTA0Q0UA"
}
],
"messaging_product": "whatsapp"
}
},
"Send Audio Message By URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Audio Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Contact Message": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Document Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Document Message by URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Draft Flow by ID": {
"value": {
"contacts": [
{
"input": "18055555555",
"wa_id": "18055555555"
}
],
"messages": [
{
"id": "wamid.HBgL..."
}
],
"messaging_product": "whatsapp"
}
},
"Send Draft Flow by Name": {
"value": {
"contacts": [
{
"input": "18055555555",
"wa_id": "18055555555"
}
],
"messages": [
{
"id": "wamid.HBgL..."
}
],
"messaging_product": "whatsapp"
}
},
"Send Flow Template Message": {
"value": {
"contacts": [
{
"input": "18055555555",
"wa_id": "18055555555"
}
],
"messages": [
{
"id": "wamid.HBgL..."
}
],
"messaging_product": "whatsapp"
}
},
"Send Image Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Image Message by URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Interactive Message Template": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send List Message": {
"value": {
"contacts": [
{
"input": "15555551234",
"wa_id": "<WHATSAPP_ID>"
}
],
"messages": [
{
"id": "wamid.ID"
}
],
"messaging_product": "whatsapp"
}
},
"Send Location Messages": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Message Template Media": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Message Template Text": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Published Flow by ID": {
"value": {
"contacts": [
{
"input": "18055555555",
"wa_id": "18055555555"
}
],
"messages": [
{
"id": "wamid.HBgL..."
}
],
"messaging_product": "whatsapp"
}
},
"Send Published Flow by Name": {
"value": {
"contacts": [
{
"input": "18055555555",
"wa_id": "18055555555"
}
],
"messages": [
{
"id": "wamid.HBgL..."
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply Button": {
"value": {
"contacts": [
{
"input": "PHONE_NUMBER",
"wa_id": "WHATSAPP_ID"
}
],
"messages": [
{
"id": "wamid.ID"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Audio Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Audio Message by URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Contact Message": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Document Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Document Message by URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Image Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Image Message by URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to List Message": {
"value": {
"contacts": [
{
"input": "15555551234",
"wa_id": "<WHATSAPP_ID>"
}
],
"messages": [
{
"id": "wamid.ID"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Location Message": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Sticker Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Sticker Message by URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Text Message": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Video Message by ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply to Video Message by URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Reply with Reaction Message": {
"value": {
"contacts": [
{
"input": "<PHONE_NUMBER>",
"wa_id": "<WHATSAPP_ID>"
}
],
"messages": [
{
"id": "wamid.HBgLM..."
}
],
"messaging_product": "whatsapp"
}
},
"Send Sample Shipping Confirmation Template": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Sample Text message": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Single Product Message": {
"value": {
"contacts": [
{
"input": "+1-631-555-5555",
"wa_id": "16315555555"
}
],
"messages": [
{
"id": "wamid.gBGGFlaCGg0xcvAdgmZ9plHrf2Mh-o"
}
],
"messaging_product": "whatsapp"
}
},
"Send Sticker Message By ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Sticker Message By URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Test Message": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Text Message": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Video Message By ID": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send Video Message By URL": {
"value": {
"contacts": [
{
"input": "48XXXXXXXXX",
"wa_id": "48XXXXXXXXX "
}
],
"messages": [
{
"id": "wamid.gBGGSFcCNEOPAgkO_KJ55r4w_ww"
}
],
"messaging_product": "whatsapp"
}
},
"Send typing indicator and read receipt": {
"value": {
"success": true
}
}
}Authentication
Scheme | Type | Location |
bearerAuth | HTTP Bearer | Header: Authorization |
Usage Examples
bearerAuth:
Include
Authorization: Bearer your-token-here in request headersGlobal Authentication Requirements
All endpoints require:
bearerAuth
No comments to display
No comments to display