Sends a chat, SMS, or MMS message as the path user in an existing session. In an SMS or MMS session, leave out type and the message goes to the session's number from the number used last. Any scope can use its own user, an Office Manager any user in its domain, a Reseller those in its territory, and a Super User any user.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params
Body Params application/jsonRequired
Examples
Responses
🟢202Accepted
application/json
The message is accepted and delivered shortly after this response. A read made right away can still show the old values.
Bodyapplication/json
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🟠409Conflict
🟠415Unsupported Media Type
🔴500Internal Server Error
🟠420Rate Limit Exceeded
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl--location'https://awqacore01.crexendocloud.com/ns-api/v2/domains//users//messagesessions/b1946ac92492d2347c6235b4d2611184/messages' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data'{
"type": "chat",
"message": "Can you cover the front desk at 3?",
"destination": "1002"
}'