Revision as of 19:22, April 14, 2014 by Clondon (talk | contribs)
Jump to: navigation, search

SendMessage

This operation is performed when an agent sends a message to other chat participants.

Overview

Request URL /api/v2/me/chats/{id}
HTTP Method POST
Required Features api-multimedia

Parameters

Parameter Value
operationName SendMessage
text text to send to customer

Sample

HTTP Request

POST on /me/chats/{id}

{
  "operationName":"SendMessage",
  "text":string-representation-of-text
}

HTTP Response

Success

{
  "statusCode": 0
}

Failure

{
  "statusCode": an integer value above 0,
  "statusMessage":details
}

For details on the statusCode value, please refer to the All Methods sub-section of the Return Values page.

Comments or questions about this documentation? Contact us for support!