Skip to main content
POST

Authorizations

X-Api-Key
string
header
required

API Key provided by Omniloy. The same key is used for inbound and outbound calls.

Body

application/json

WhatsApp template notification referenced by UUID.

phoneNumber
string
required

Recipient's E.164 number.

templateId
string<uuid>
required

UUID of the template approved by Meta.

params
string[]

Values (in order) for the template variables.

mediaUrl
string<uri>

Optional media URL.

Response

Notification accepted for sending

Response when sending a notification.

messageId
string

Internal ID.

status
enum<string>

Initial status.

Available options:
queued,
sent