Send Messenger message
Use this API to send text messages to your customers through messenger.
Authorization
bearerAuth JWT access token returned by Signing In (POST /auth/v1/tokens/).
In: header
Request Body
application/json
The enduser messenger identifier to send message to. You can get this value from payload sent to "External Endpoint" configured on the page.
The message type which is "text" in this case
"text"A string defines the Text message to send
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/conversation/messenger/v1/messages/" \ -H "Content-Type: application/json" \ -d '{ "to": "string", "type": "text", "text": "string" }'"{\n \"recipient_id\": \"60097xxxxxx\",\n \"message_id\": \"m_lqmq1OcWIIJ9jdDc7nnT80_wevBvcO7ab6iFqe-KMK95sq3fJDX2bLPkU2kV4ySUhJSdErLNopqua0EiJQW9pg\"\n}"Sending Template Message POST
Use the /v1/messages endpoint to send templates messages to your customers. What's different about sending template messages is the body content of the message specified with the template parameter. The template parameter contains a namespace and a name pair that identifies the template and the values that apply to variables in that template.
Send RCS message POST
Use this API to send messages containing audio, documents, images or videos to your customers.