Skip to main content
POST
Send a WhatsApp message

Authorizations

Authorization
string
header
required

Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.

Body

application/json

Attributes for the message to send.

from
string
required

Sender's phone number, 6-20 digits.

Pattern: ^\d{6,20}$
Example:

"14155550100"

to
string
required

Recipient's phone number, 6-20 digits.

Pattern: ^\d{6,20}$
Example:

"447537151866"

template
object
required

Response

The submitted message, with its uuid and initial status.

message
WhatsAppMessage · object
required