Messenger

Send Messenger message

POST
/conversation/messenger/v1/messages/

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

Authorization

bearerAuth
AuthorizationBearer <token>

JWT access token returned by Signing In (POST /auth/v1/tokens/).

In: header

Request Body

application/json

to*string

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

type*string

The message type which is "text" in this case

Default"text"
text*string

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}"