getActiveContactsID
Returns the list of ids of all active contacts for CTLive for the specified domain
HTTP GET /livechat/:domain/getActiveContactsID
Â
Authorization: see Authentication mechanisms
Response:
Type: JSON
Name | Type | Description |
---|---|---|
result | BOOLEAN | If true, the service response was performed correctly |
contactIDArray | array | An array containing the ids of the active chats in the form of: LiveChat:Contact:<chat_id> |
error | NULL / STRING | Contains the error description if an error has occurred in the request |
Example:
Request
http://<hostname>:<port>/livechat/default/getActiveContactsID
Response
{
"result": true,
"contactIDArray": [
"LiveChat:Contact:CHAT_DEFAULT_75e70efd-6e2d-40d7-a86c-79059a413734",
"LiveChat:Contact:CHAT_DEFAULT_aaf83acc-0d92-466c-be77-26ded1d13b3f"
],
"error": null
}