POST
/
messenger
/
v2
/
send-message
curl --request POST \
  --url https://svc.sandbox.anon.com/messenger/v2/send-message \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "senderId": "<string>",
  "conversationId": "<string>",
  "message": "<string>"
}'
"<string>"

Headers

Authorization
string
required

Your Anon API Key

Body

application/json
senderId
string
required

The sender's unique identifier. This senderId needs to match the sub claim in the JWT ID token used when calling /messenger/v2/link

conversationId
string
required

The unique identifier for the conversation.

message
string
required

The message content to be sent.

Response

200 - text/plain

The response is of type string.