Перейти к основному содержанию
GET
/
v1
/
crm
/
integrations
/
ringostat
/
calls
cURL
curl --request GET \
  --url https://api.example.com/v1/crm/integrations/ringostat/calls/
{
  "count": 123,
  "results": [
    {
      "caller": "<string>",
      "dst": "<string>",
      "pool_name": "<string>",
      "disposition": "<string>",
      "calldate": "2023-11-07T05:31:56Z",
      "category_mark": "<string>",
      "duration": 123,
      "call_type": "<string>",
      "waittime": 123,
      "billsec": 123,
      "connected_with": "<string>",
      "call_counter": 123,
      "proper_flag": true,
      "repeated_flag": true,
      "utm_source": "<string>",
      "utm_medium": "<string>",
      "utm_campaign": "<string>",
      "utm_content": "<string>",
      "utm_term": "<string>",
      "uniqueid": "<string>",
      "category_number": "<string>",
      "employee_number": "<string>",
      "employee_mark": "<string>",
      "client_id": "<string>",
      "remote_ip": "<string>",
      "refferrer": "<string>",
      "landing": "<string>",
      "call_card": "<string>",
      "additional_number": "<string>",
      "has_recording": true,
      "scheme_name": "<string>",
      "duration_ms": 123,
      "employee_fio": "<string>",
      "department": "<string>",
      "caller_number": "<string>",
      "recording": "<string>",
      "recording_wav": "<string>",
      "yume_client_name": "<string>",
      "yume_client_id": "<string>"
    }
  ],
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

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

page
integer

A page number within the paginated result set.

pageSize
integer

Number of results to return per page.

phone
string

Phone number to filter calls by

status
string

Status to filter calls by

Ответ

200 - application/json
count
integer
обязательно
Пример:

123

results
object[]
обязательно
next
string<uri> | null
Пример:

"http://api.example.org/accounts/?page=4"

previous
string<uri> | null
Пример:

"http://api.example.org/accounts/?page=2"