SendMessage
This operation is part of the Customer Chat API portion of the Web Services API.
Overview
Sends a new text message to the chat.
As with all customer chat API requests, no Authorization header should be included. Instead, the ContactCenterId custom HTTP header should be included.
| Request URL | /api/v2/chats/{id} |
|---|---|
| HTTP Method | POST |
| Required Features | - |
| Required HTTP Headers | ContactCenterId |
Parameter
| Parameter | Value |
|---|---|
| operationName | SendMessage |
| text | The text to be sent. |
Example
Request
POST .../api/v2/chats/652492d9-c2d9-44c9-b9ad-0ab7984114bb
ContactCenterId: cfe5ad67-ba6d-4340-81f9-bb680ef5d498
{
"operationName": "SendMessage",
"text": "Hello?"
}
Response
{
"statusCode": 0
}
This page was last edited on February 15, 2024, at 19:11.
Comments or questions about this documentation? Contact us for support!
