Skip to main content
POST
Send a Whatsapp message

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Whatsapp message body

from
string
required

Phone number in +E.164 format associated with Whatsapp account

Example:

"+13125551234"

to
string
required

Phone number in +E.164 format

Example:

"+13125551234"

whatsapp_message
object
required
type
enum<string>

Message type - must be set to "WHATSAPP"

Available options:
WHATSAPP
Example:

"WHATSAPP"

webhook_url
string<url>

The URL where webhooks related to this message will be sent.

messaging_profile_id
string<uuid>

Messaging profile ID - required if the 'from' number is not SMS-enabled

Response

Successful operation

data
object