Skip to content

Get Location's Call List

Request

This endpoint is designed to get a list of calls in a location, taking into account filters and pagination

Security
BearerPartnerUser
Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Bodyapplication/json
salon_idnumberrequired

Location ID.

Example:615243
date_fromstringrequired

Start date.

Example:"2026-01-01"
date_tostringrequired

End date.

Example:"2026-02-01"
phonestring

Phone number.

Example:"+13155550175"
typesArray of strings

Call types list

Items Enum:"incoming""outgoing""internal"
Example:
[ "incoming", "internal" ]
statusesArray of strings

Call statuses list

Items Enum:"success""missed""cancel""busy""notallowed""notavailable""notfound"
Example:
[ "success", "cancel" ]
pagenumber

Page number

Example:1
limitnumber, <= 1000

Amount of elements on page

Example:25
curl -i -X GET \
  https://developer.alteg.io/_mock/en/developers/openapi/voip/integration/calls \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "salon_id": 615243,
    "date_from": "2026-01-01",
    "date_to": "2026-02-01",
    "phone": "+13155550175",
    "types": [
      "incoming",
      "internal"
    ],
    "statuses": [
      "success",
      "cancel"
    ],
    "page": 1,
    "limit": 25
  }'

Responses

Calls list

Bodyapplication/json
successboolean(Successful response status)

Response status.

Example:true
dataArray of objects

Calls list

Example:
[ { "id": 8923525, "client_id": 51342134, "caller_phone": "+13155550175", "record_link": "https://records.example.com/somelink.mp3", "duration": 244, "status": "success", "type": "outgoing", "call_date": "2026-01-17T23:52:21-05:00" }, { "id": 66795308, "client_id": 0, "caller_phone": "+13155550175", "record_link": "", "duration": 0, "status": "missed", "type": "incoming", "call_date": "2026-01-17T12:31:12-05:00" } ]
metaArray of any or object(Empty meta object)

Additional response data (empty object or empty array)

Example:
{}
Response
{ "success": true, "data": [ { … }, { … } ] }