Welcome to the Connexease Gateway API Documentation!
Send text, media, or pre-approved template messages to your users via WhatsApp.
curl --request POST \
--url https://proxy.gateway.connexease.com/v1/wa/message \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "+905xxxxxxxxx",
"type": "text",
"text": {
"preview_url": true,
"body": "Hello! This is a test message."
}
}'
{
"isSuccess": true,
"data": {
"messaging_product": "whatsapp",
"contacts": [
{
"input": "12345678900",
"wa_id": "12345678900"
}
],
"messages": [
{
"id": "wamid.HBgMOTA1Mzk4ODM2MTgwFQIAEhgUM0E4OTNENzMzOTJBMzc1N0QyNDcA"
}
]
}
}
Bearer <YOUR_API_KEY>.true, the message will be routed through the Meta Marketing Messages Lite (MMLite) endpoint instead of the standard messages endpoint."whatsapp"."individual".+905xxxxxxxxx)."text", "image", "audio", or "template".type you selected above, you must include one of the following objects in your request body:
type is "image".Show properties
curl --request POST \
--url https://proxy.gateway.connexease.com/v1/wa/message \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "+905xxxxxxxxx",
"type": "text",
"text": {
"preview_url": true,
"body": "Hello! This is a test message."
}
}'
200 OK status. Note that the Connexease Gateway wraps the official Meta response inside a unified data object and sets the isSuccess flag to true.
{
"isSuccess": true,
"data": {
"messaging_product": "whatsapp",
"contacts": [
{
"input": "12345678900",
"wa_id": "12345678900"
}
],
"messages": [
{
"id": "wamid.HBgMOTA1Mzk4ODM2MTgwFQIAEhgUM0E4OTNENzMzOTJBMzc1N0QyNDcA"
}
]
}
}
Was this page helpful?
curl --request POST \
--url https://proxy.gateway.connexease.com/v1/wa/message \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "+905xxxxxxxxx",
"type": "text",
"text": {
"preview_url": true,
"body": "Hello! This is a test message."
}
}'
{
"isSuccess": true,
"data": {
"messaging_product": "whatsapp",
"contacts": [
{
"input": "12345678900",
"wa_id": "12345678900"
}
],
"messages": [
{
"id": "wamid.HBgMOTA1Mzk4ODM2MTgwFQIAEhgUM0E4OTNENzMzOTJBMzc1N0QyNDcA"
}
]
}
}