Please note that this API relates to LivePersons legacy chat product which receives limited support and will be deprecated in the future.
It is recommended to build future integrations on top of LivePersons Messaging Platform SDK instead.
This method sets the agent's typing status.
Request
Method | URL |
---|---|
POST | https://{domain}/api/account/{accountId}/agentSession/{agentSessionId}/chat/{chatId}/info/agentTyping?v=1&NC=true |
Request Headers
Header | Description |
---|---|
Authorization | Bearer {bearer-from-login} |
X-HTTP-Method-Override | PUT |
Content-Type | application/json |
Accept | application/json |
Formats
The body media type must have one of the following formats:
- XML
- JSON
Body Parameters | Name | Description | Type/Value | Required | Notes | | :— | :— | :— | :— | :— | | agentTyping | Indicates if the agent is currently typing or not. | string | Required | Valid values: "typing", "not-typing" |
Response
Response Codes
Code | Response |
---|---|
200 | Ok |
400 | Bad Request |
Request body example:
{
"agentTyping" : "typing"
}