Skip to main content
POST
Send a message

Authorizations

x-api-key
string
header
required

API key for authentication. Create one in Settings > Developer.

Body

application/json
to
string
required

Destination phone number in WhatsApp format (e.g., 628xxxxxxxxxx)

Example:

"6281234567890"

message
string
required

Message content to be sent

Example:

"Hello! This is a sample message from WhatsApp API."

sources
enum<string>
required

Messaging channel to use

Available options:
whatsapp cloud api,
whatsapp coex
imageUrl
string

Image URL — if provided, sends an image message instead of text

Example:

"https://example.com/image.jpg"

ignoreActiveTicket
boolean
default:false

If true, skip sending when the chat is actively handled by an agent

countryCode
string | null

Country code for number formatting (e.g., ID, EN, IN)

Example:

"ID"

Response

Message sent successfully

data
object