Welcome to the Connexease Gateway API Documentation!
You can use this endpoint to send text messages, media (images, audio), or pre-approved templates to initiate conversations.
curl --request POST \
--url https://api.gateway.connexease.com/v1/wa/message \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"messaging_product": "whatsapp",
"to": "905321234567",
"type": "text",
"recipient_type": "individual",
"text": {
"body": "Hello! This is a test message from Connexease.",
"preview_url": false
},
"image": {
"link": "https://fastly.picsum.photos/id/667/400/400.jpg",
"caption": "<string>"
},
"template": {
"name": "welcome_message_v2",
"language": {
"code": "en"
},
"components": [
{
"type": "header",
"parameters": [
{}
]
}
]
}
}
'{
"isSuccess": true,
"data": {
"messaging_product": "whatsapp",
"contacts": [
{
"input": "905321234567",
"wa_id": "905321234567"
}
],
"messages": [
{
"id": "wamid.HBgMOTA1Mzk4ODM2MTgwFQIAEhgUM0E4OTNENzMzOTJBMzc1N0QyNDcA"
}
]
}
}Enter your API key provided by the Connexease Dashboard.
When set to true, the message will be routed through the Meta Marketing Messages Lite (MMLite) endpoint instead of the standard messages endpoint. Useful for specific high-volume marketing campaigns.
The payload containing the message details. The required fields vary depending on the type of message you choose to send.
The messaging service used for the request. Must always be exactly "whatsapp".
The recipient's phone number, strictly including the country code without any spaces, plus signs, or symbols (e.g., 905xxxxxxxxx).
"905321234567"
The specific type of message you want to send. Your choice here determines which of the objects below (text, image, or template) becomes mandatory.
text, image, audio, template The type of recipient you are sending the message to. Standard value is "individual".
The text message object. Required if type is set to "text".
Show child attributes
The media object for sending images. Required if type is set to "image".
Show child attributes
The template object for initiating conversations. Required if type is set to "template".
Show child attributes
A successful request returns an HTTP 200 OK status. Note that the Connexease Gateway automatically wraps the official Meta response inside a unified data object and injects an isSuccess flag for easier parsing.
Was this page helpful?
curl --request POST \
--url https://api.gateway.connexease.com/v1/wa/message \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"messaging_product": "whatsapp",
"to": "905321234567",
"type": "text",
"recipient_type": "individual",
"text": {
"body": "Hello! This is a test message from Connexease.",
"preview_url": false
},
"image": {
"link": "https://fastly.picsum.photos/id/667/400/400.jpg",
"caption": "<string>"
},
"template": {
"name": "welcome_message_v2",
"language": {
"code": "en"
},
"components": [
{
"type": "header",
"parameters": [
{}
]
}
]
}
}
'{
"isSuccess": true,
"data": {
"messaging_product": "whatsapp",
"contacts": [
{
"input": "905321234567",
"wa_id": "905321234567"
}
],
"messages": [
{
"id": "wamid.HBgMOTA1Mzk4ODM2MTgwFQIAEhgUM0E4OTNENzMzOTJBMzc1N0QyNDcA"
}
]
}
}