The Connexease Gateway exposes a single endpoint for all outbound WhatsApp messages. You send one HTTP request — the Gateway authenticates you, checks your rate limits and balance, and forwards the payload to Meta on your behalf. The response contains aDocumentation Index
Fetch the complete documentation index at: https://docs.gateway.connexease.com/llms.txt
Use this file to discover all available pages before exploring further.
wamid that you can use to track delivery status via webhooks. This page covers every supported message type with full parameter references and runnable examples.
Endpoint
API key in
Bearer pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx format.Always
application/json.Query Parameters
When
true, routes the request through the Meta Marketing Messages Lite endpoint. Use for high-volume broadcast campaigns.Sandbox mode. When
true, auth, rate limiting, and billing checks run normally; the Meta API call is skipped and a fake wamid is returned. Ideal for development and load testing.Request Body
Always
"whatsapp".Recipient phone number including country code, without
+, spaces, or dashes. E.g. 905321234567, 14155552671.Message type. Values:
text, image, audio, document, template, interactive.Message Types
Text Message
Text Message
Image Message
Image Message
Audio Message
Audio Message
Publicly accessible audio file URL. Maximum 16 MB. Supported formats: MP3, AAC, AMR, OGG (Opus codec).
Document Message
Document Message
Template Message (Marketing / Utility / Authentication)
Template Message (Marketing / Utility / Authentication)
Templates must be pre-approved in Meta Business Manager. They are required for initiating new conversations or contacting users outside the 24-hour service window.Each component:
Each parameter:
Simple template (no variables):Template with body variables:Template with header image + body variables + CTA button:OTP / Authentication template:
The approved template name in Meta Business Manager.
The language code the template was approved for. E.g.
en_US, tr, de. Must exactly match the value in Meta.Array of components that fill in template variables. Not required if the template has no variables (
{{1}}, {{2}}).| Field | Type | Required | Values | Description |
|---|---|---|---|---|
type | string | Yes | header, body, button | Component type |
sub_type | string | Conditional | url, quick_reply | Only for type: "button" |
index | string | Conditional | "0", "1", "2" | Only for type: "button", button order |
parameters | array | Yes | Variable values |
| Field | Type | Required | Values | Description |
|---|---|---|---|---|
type | string | Yes | text, image, document, video, currency, date_time | Variable type |
text | string | Conditional | Value for type: "text" | |
image.link | string | Conditional | URL for type: "image" |
Interactive Button — Quick Reply Buttons
Interactive Button — Quick Reply Buttons
Interactive List — Selection List
Interactive List — Selection List
Displays a scrollable, sectioned list of options. When a user selects an option, an
interactive.list_reply webhook event is sent.For lists:
"list"Description text shown above the list.
Label for the button that opens the list. Maximum 20 characters.
Array of sections. Each section has a
title and rows (options). Row id max 200 chars, title max 24 chars.Marketing Messages Lite (mmlite=true)
Marketing Messages Lite (mmlite=true)
For high-volume promotional campaigns, add
?mmlite=true. The request body structure is identical to regular template messages.Response
Success (HTTP 200)
true = message accepted. Does not mean the message was delivered.Always
"whatsapp".The phone number you sent in the request.
The WhatsApp-normalized phone number. Usually the same as
input.The unique
wamid for this message. Store this to correlate with incoming delivery status webhooks.Error Response
Key Notes
24-hour window: Non-template messages (text, image, etc.) can only be sent within 24 hours of the last message from the user. Outside this window, you must use
type: "template".Template variables: The number and type of items in
components[].parameters must exactly match the approved template in Meta Business Manager. Extra or missing parameters will result in a GW_001 error.