Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Returns the list of ids of all active contacts for CTLive for the specified domain

Status
colourGreen
titleHTTP GET
/livechat/:domain/getActiveContactsID

Authorization: StatustitleBASIC AUTHsee Authentication mechanisms

Response:

Type:
Status
titleJSON

Name

Type

Description

result

Status
titleBOOLEAN

If true, the service response was performed correctly

contactIDArray

Status
titlearray

An array containing the ids of the active chats in the form of: LiveChat:Contact:<chat_id>

error

Status
titleNULL
/
Status
titleSTRING

Contains the error description if an error has occurred in the request

Example:

Request

http://<hostname>:<port>/livechat/default/getActiveContactsID

...