Перейти к основному содержанию
GET
curl
Didit’s List Conversations API возвращает беседы вашего приложения: для каждой указан участник, которому она принадлежит, и количество непрочитанных ответов. Беседа объединяет все сообщения, которыми вы обменялись с одним человеком, из всех каналов. Фильтруйте по status (open, needs_reply или closed) и assignee, а разбивайте на страницы с помощью limit и offset. assignee принимает идентификатор участника в том виде, в котором он указан в поле assignee беседы, и выводит только беседы, назначенные этому участнику. unread_count считает ответы, которые поступили после того, как беседа в последний раз была отмечена как прочитанная с помощью read_up_to. Это значение относится к беседе, а не к участнику. API-ключу с ограниченными правами нужен доступ на чтение сообщений и сессий. На него также распространяются ограничения, заданные его сценарием, и ограничение доступа только к одобренным сессиям: беседа, которая не попадает под эти ограничения, не включается в список.
Связанные материалы: назначение беседы или отметка её как прочитанной и подписка URL на события одной беседы.

Авторизации

x-api-key
string
header
обязательно

Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is wrong, revoked or expired; 403 means no key was sent, the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.

Параметры запроса

status
enum<string>

needs_reply: the person wrote last and nobody answered yet. closed: a team member closed the thread.

Доступные опции:
open,
needs_reply,
closed
assignee
string

A member's id, exactly as assignee shows it on a conversation: only the conversations assigned to that member are listed. The value is compared as it is; this operation takes your application's credential, which has no member behind it.

Maximum string length: 64
limit
integer
по умолчанию:20
Требуемый диапазон: 1 <= x <= 100
offset
integer
по умолчанию:0
Требуемый диапазон: x >= 0

Ответ

A page of conversations.

count
integer
обязательно
next
string<uri> | null
обязательно
previous
string<uri> | null
обязательно
results
object[]
обязательно
Последнее изменение 24 ноября 2026 г.