/
getActiveContactsID

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

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 }

Related content

getContactByChatID
getContactByChatID
More like this
getContactTranscriptByChatID
getContactTranscriptByChatID
More like this
getChatHistory
getChatHistory
More like this
getChatTranscriptByUserID
getChatTranscriptByUserID
More like this
General Settings Object
General Settings Object
Read with this
endAllContacts
endAllContacts
More like this