Skip to main content
POST
Send a direct message to a contact

Body

application/json
contact
string
required

Contact ID, phone, or WhatsApp identity

message
string
required

Message text

account
string

WhatsApp account ID

execute
boolean

Actually send the message; default is a dry-run that only shows the plan (exit 3)

Response

Success — body conforms to the @Returns schema.

{key}
any