Send a text or image message to a WhatsApp user within the 24-hour customer service window.
API key for authentication. Create one in Settings > Developer.
Destination phone number in WhatsApp format (e.g., 628xxxxxxxxxx)
"6281234567890"
Message content to be sent
"Hello! This is a sample message from WhatsApp API."
Messaging channel to use
whatsapp cloud api, whatsapp coex Image URL — if provided, sends an image message instead of text
"https://example.com/image.jpg"
If true, skip sending when the chat is actively handled by an agent
Country code for number formatting (e.g., ID, EN, IN)
"ID"
Message sent successfully