Sending Text Message

Use this API to send text messages to your customers through messenger.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

External Endpoint Payload

Yon need to read messaging[0].sender.id property to get the enduser identifier. The following is the payload you expect to receive:

{
  "id": "107740xxxxxxxx",
  "time": 1660662685424,
  "messaging": [
    {
      "sender": {
        "id": "410293xxxxxx"
      },
      "recipient": {
        "id": "107740xxxxxxxx"
      },
      "timestamp": 1660662685059,
      "message": {
        "mid": "m_SLIp8u5SPCwMego_-awq5qKJyfiJz70OtqqYujsSPJcls_TTYnLhVfZO8yXXQUI-zz9STEo6nkLfPm1Q-y_44A",
        "text": "hello"
      }
    }
  ]
}
📘

Text Message Length

A text message can be a max of 2000 characters long.

❗️

Sending Message outside 24H customer care window

Regular text messages can only be delivered in the 24 hours after last time customer sent a message to your business.

If the business send a message outside the 24H, the following error will be received from the API.

Body Params
string
required

The enduser messenger identifier to send message to. You can get this value from payload sent to "External Endpoint" configured on the page.

string
required
Defaults to text

The message type which is "text" in this case

string
required

A string defines the Text message to send

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json