{
  "opencollection": "1.0.0",
  "info": {
    "name": "Иерархия Аккаунтов Access Call API",
    "version": "1"
  },
  "items": [
    {
      "info": {
        "name": "Call",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Запись звонка (deprecated)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.avito.ru/cpa/v1/call/:call_id",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Source",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "call_id",
                "value": "",
                "type": "path",
                "description": "Идентификатор звонка"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.avito.ru/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "__DEPRECATED__\n__Используйте endpoint [get_record_by_call_id](https://developers.avito.ru/api-catalog/calltracking/documentation#operation/get_record_by_call_id)__\nПолучение записи звонка по идентификатору\n"
        },
        {
          "info": {
            "name": "Создание жалобы для звонков",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.avito.ru/cpa/v1/createComplaint",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Source",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.avito.ru/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Создание жалобы на звонок по идентификатору. Максимальное количество запросов в минуту - 1."
        },
        {
          "info": {
            "name": "Звонок",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.avito.ru/cpa/v2/callById",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Source",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.avito.ru/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Получение модели звонка по идентификатору"
        },
        {
          "info": {
            "name": "Звонки по времени",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.avito.ru/cpa/v2/callsByTime",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Source",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.avito.ru/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Получение списка звонков по времени создания. Максимальное количество запросов в минуту - 1."
        }
      ]
    }
  ],
  "bundled": true
}