Skip to main content
POST
Send a WhatsApp message
Send a WhatsApp message through one customer’s connected channel. Use the HookMyApp channel ID (ch_...) when you fetch the channel token. Use the WhatsApp phone number ID in the gateway path.

Authentication

Use the returned hmat_ channel token to send the message. Do not use an hmok_ API key for the send call.

Path parameters

string
required
The WhatsApp phone number ID for the customer channel, from WHATSAPP_PHONE_NUMBER_ID.

Request body

string
required
Always whatsapp.
string
required
Recipient phone number in international format.
string
required
Message type, such as text, image, video, audio, document, sticker, location, contacts, interactive, template, or reaction.

Example

Successful response