List calls (legacy path)
const 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';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Your account Auth ID, or the Auth ID of a sub-account you own
Example
AC000000000000000000Query Parameters
Section titled “ Query Parameters ”First day to include, YYYY-MM-DD (UTC); default yesterday
Example
2026-11-25Last day to include, YYYY-MM-DD (UTC); default today
Example
2026-11-26Records per page; default 10
Example
10Page number, passed on as page; default 0
Example
1List the legs of this parent call instead
Example
0c9b8a7d-6e5f-4a3b-9c1d-2e3f4a5b6c7dResponses
Section titled “ Responses ”The call records service’s list of CDRs, as returned by listCalls
object
Example generated
{}Authentication failed: missing or invalid credentials (JSON string from the API gateway)
Example generated
exampleNothing matched, or the call records service could not be reached; body as returned by that service
object
Example generated
{}