Skip to main content
POST
/
v1
/
wa
/
message
Send WhatsApp Message
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"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Enter your API key provided by the Connexease Dashboard.

Query Parameters

mmlite
boolean
default:false

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.

Body

application/json

The payload containing the message details. The required fields vary depending on the type of message you choose to send.

messaging_product
string
default:whatsapp
required

The messaging service used for the request. Must always be exactly "whatsapp".

to
string
required

The recipient's phone number, strictly including the country code without any spaces, plus signs, or symbols (e.g., 905xxxxxxxxx).

Example:

"905321234567"

type
enum<string>
required

The specific type of message you want to send. Your choice here determines which of the objects below (text, image, or template) becomes mandatory.

Available options:
text,
image,
audio,
template
recipient_type
string
default:individual

The type of recipient you are sending the message to. Standard value is "individual".

text
object

The text message object. Required if type is set to "text".

image
object

The media object for sending images. Required if type is set to "image".

template
object

The template object for initiating conversations. Required if type is set to "template".

Response

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.

isSuccess
boolean

Gateway-level boolean flag indicating the payload was accepted and forwarded to Meta.

Example:

true

data
object

The standard Meta WhatsApp Cloud API response object.