post
https://apis.cequens.com/conversation/messenger/v1/messages/
Use this API to send text messages to your customers through messenger.
External Endpoint PayloadYon 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 LengthA text message can be a max of 2000 characters long.
Sending Message outside 24H customer care windowRegular 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.