retrieve recent calls for an account

This endpoint is only availble with an Admin level API key

Path parameters

ServiceProviderSidstringRequired

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

pageintegerRequired
countintegerRequired
daysintegerOptional
startdatetimeOptional
enddatetimeOptional
answeredenumOptional

retrieve only answered calls

Allowed values:
directionenumOptional
Allowed values:
fromstringOptional

calling number to retrieve

tostringOptional

called number to retrieve

Response

retrieve recent call records for a specified account

totalintegerOptional

total number of records in that database that match the filter criteria

batchintegerOptional

total number of records returned in this page set

pageintegerOptional

page number that was requested, and is being returned

datalist of objectsOptional

Errors