latestOpenAPI 3.0.02026-08-10416661.5 MB

e96b3e58b041

Website Chat

Send a message in a website chat

REQUIRED SCOPES <code>['website-chat:write']</code><br>Add a new message to an existing website chat identified by its token

post/messages/chats/{token}

Path parameters

tokenstring required

The token of the website chat

Request body

numberstring

The phone number of the sender

messagestring

The content of the message

namestring

The name of the sender

optedInboolean

Whether the sender has opted in

emailstring

The email of the sender

Response

Message sent successfully

messagestring

Example response

{
  "message": "Message sent successfully"
}