v1

latestOpenAPI 3.0.02026-07-26592893.0 KB
Send Session Message

Send Session Message

Sends a session message within 24 hours of the user's reply. Note: Select the specific message type from the dropdown list in the request body.

post/{version}/{phone_number_id}/messages

Path parameters

versionstring required
Example:v24.0

API Version (e.g., v24.0)

phone_number_idstring required
Example:100594425479261

Phone Number ID

Headers

Authorizationstring required

Provide your Access Token. Format: YOUR_API_KEY

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example request

{
  "messaging_product": "whatsapp",
  "to": "919876543210",
  "text": {
    "body": "Hello World"
  }
}

Response

Successful Response

messaging_productstring
contactsobject[]