Перейти к основному содержанию
GET
curl
Didit Messages API возвращает конфигурации обмена сообщениями вашего приложения от новых к старым. Каждая запись содержит настройки доставки по умолчанию для этой рабочей нагрузки и configuration_id, который можно передать при отправке. Переходите по абсолютному URL страницы в next, пока его значение не станет null, чтобы получить все конфигурации. Значение count, равное 100, может означать 100 или больше. Чтобы задать настройки доставки по умолчанию для рабочей нагрузки, создайте конфигурацию или обновите существующую конфигурацию.

Авторизации

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.

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

limit
integer
по умолчанию:20

20 by default, 100 at most. Rows per page.

Требуемый диапазон: 1 <= x <= 100
Пример:

20

offset
integer

Where the page starts. Rows to skip.

Требуемый диапазон: x >= 0

Ответ

A page of configurations.

count
integer

The number of configurations, normally capped at 100. Follow the next page URL until it is null to read every configuration.

Пример:

1

next
string<uri> | null

Absolute URL of the next page, or null on the last page.

Пример:

null

previous
string<uri> | null

Absolute URL of the previous page, or null on the first page.

Пример:

null

results
object[]

The configurations.

Последнее изменение 24 ноября 2026 г.