Send a message (SMS or WhatsApp)
Send a message (SMS or WhatsApp)
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
WhatsApp business phone number ID (required for WhatsApp channel)
URL to media file (required for non-text message_type)
Response
Message accepted. status is sent (synchronous) or queued
(accepted onto the paced priority lane — delivery via message.*
webhooks).
Number of SMS segments the message was split into. Populated for SMS channel only; null for WhatsApp.
True when the message was created with a pk_test_ (sandbox) API key. Omitted when false.