Jump to: navigation, search

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
}

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on January 22, 2016, at 11:56.