Skip to content

List calls (legacy path)

Deprecated
GET
/v1/Account/{auth_id}/Call
curl --request GET \
--url 'https://api.siprtc.io/v1/Account/AC000000000000000000/Call?StartTime=2026-11-25&EndTime=2026-11-26&PageSize=10&Page=1&ParentCallSid=0c9b8a7d-6e5f-4a3b-9c1d-2e3f4a5b6c7d' \
--header 'Authorization: Basic <credentials>'

Deprecated: use GET /Accounts/{auth_id}/Calls (listCalls in the call records API). Lists the account’s call detail records by passing the query on to the call records service: StartTime and EndTime become from_date and to_date (YYYY-MM-DD; default yesterday and today), PageSize becomes limit (default 10) and Page becomes page (default 0). With ParentCallSid only the legs of that call are listed and the other parameters are dropped. The body is the call records service’s answer, passed through unchanged, with its status: 200 with the records, or 404 when nothing matched.

auth_id
required
string

Your account Auth ID, or the Auth ID of a sub-account you own

Example

AC000000000000000000
StartTime
string

First day to include, YYYY-MM-DD (UTC); default yesterday

Example

2026-11-25
EndTime
string

Last day to include, YYYY-MM-DD (UTC); default today

Example

2026-11-26
PageSize
integer

Records per page; default 10

Example

10
Page
integer

Page number, passed on as page; default 0

Example

1
ParentCallSid
string

List the legs of this parent call instead

Example

0c9b8a7d-6e5f-4a3b-9c1d-2e3f4a5b6c7d

The call records service’s list of CDRs, as returned by listCalls

Media type application/json
object

Example generated

{}

Authentication failed: missing or invalid credentials (JSON string from the API gateway)

Media type application/json
string

Example generated

example

Nothing matched, or the call records service could not be reached; body as returned by that service

Media type application/json
object

Example generated

{}