РазделСписок контактов (клиентов)
На странице
Версия API v1

Справочник методов

GET /contacts

Список контактов (клиентов)

Scope: references:read

Авторизация — Authorization: Bearer rv_live_…; подробнее в аутентификации.

Запрос

curl "https://api.rentevio.ru/api/public/v1/contacts?search=value" \
  -H "Authorization: Bearer rv_live_…"

Параметры

ПараметрТипОбязательныйОписание
searchstringнет—
statusstringнет—
limitintegerнет—
offsetintegerнет—

Ответ

{
  "success": true,
  "data": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "contact_type": "string",
      "name": "string",
      "phone": "string",
      "email": "string",
      "inn": "string",
      "address": "string",
      "discount": 0,
      "tags": [
        "string"
      ],
      "comment": "string",
      "status": "string",
      "contact_persons": [
        {}
      ]
    }
  ],
  "meta": {
    "total": 128,
    "limit": 50,
    "has_more": false,
    "next_cursor": "",
    "page": 1,
    "offset": 0
  }
}

Ошибки

КодHTTPКогда
UNAUTHORIZED401Невалидный, отсутствующий, отозванный или истёкший API-ключ
FORBIDDEN403У ключа нет нужного scope
ДальшеСписок площадок
Статья помогла?