Skip to main content

List chats

Returns summaries of the chats an agent has access to. Specifics Request
There’s only one value allowed for a single property.
Response
Request
Response

List threads

Returns threads the current agent has access to in a given chat. Specifics Request Response
Request
Response

Get chat

Returns a thread the current agent has access to in a given chat. Specifics Request Response
Request
Response

List archives

Returns a list of the chats an agent has access to. Together with a chat, the events of one thread from this chat are returned. The list classification is based on threads — one chat per thread. The same chat may appear on the list several times, each time with a different thread. The returned chat is a complete object, not only a chat summary. Specifics Request
There’s only one value allowed for a single property.
| Value | Type | Notes | | --- | --- | --- | | exists | bool | | | values | type[] | | | exclude_values | type[] | | | require_every_value | bool | If true, returns only chats that have all elements passed in values or exclude_values. |
| Field | Type | Notes | | --- | --- | --- | | type | string | pre_chat or post_chat. | | answer_id | string | |
| Value | Type | Notes | | --- | --- | --- | | values | string[] | An array of Event types. | | exclude_values | string[] | An array of Event types. | | require_every_value | bool | |
| Value | Type | Notes | | --- | --- | --- | | from | string | Date & time in RFC 3339 format with microsecond precision. | | to | string | Date & time in RFC 3339 format with microsecond precision. | | exists | bool | | | values | int[] | An array of greeting IDs. | | exclude_values | int[] | An array of greeting IDs. | | groups.values | int[] | An array of group IDs. | | groups.exclude_values | int[] | An array of group IDs. |
| Value | Type | Notes | | --- | --- | --- | | exists | bool | | | first | bool | Modifier that makes other agent_response filters apply only to agents’ first response. | | agents.values | string[] | An array of agent IDs. | | agents.exclude_values | string[] | An array of agent IDs. | | groups.values | int[] | An array of group IDs. | | groups.exclude_values | int[] | An array of group IDs. |
Response
Request
Response

Start chat

Starts a chat. Authors (except the requester) of all initial events must be listed in the users field. The default visibility of both events and users is all and cannot be changed. The method updates the requester’s events_seen_up_to as if they’ve seen all chat events. Specifics Request Response
Request
Response

Resume chat

Restarts an archived chat. Authors (except the requester) of all initial events must be listed in the users field. The default visibility of both events and users is all and cannot be changed. The method updates the requester’s events_seen_up_to as if they’ve seen all chat events. Specifics Request Response
Request
Response

Deactivate chat

Deactivates a chat by closing the currently open thread. Sending messages to this thread will no longer be possible. The requester must be present on the list of chat users. Override this by setting ignore_requester_presence. Specifics Request No response payload.
Request
Response

Follow chat

Marks a chat as followed. All changes to the chat will be sent to the requester until the chat is reactivated or unfollowed. Chat members don’t need to follow their chats — they receive all chat pushes regardless of their follower status. Specifics * Not sent when the requester already follows the chat or is a chat member. Request No response payload.
Request
Response

Unfollow chat

Removes the requester from the chat followers. After that, only key changes to the chat (like transfer_chat or close_active_thread) will be sent to the requester. Chat members cannot unfollow the chat. Specifics Request Response
Request
Response