retrieve recent calls for an account

<Error>This endpoint is only availble with an Admin or Service Provider API key</Error>

Authentication

AuthorizationBearer

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

Path parameters

ServiceProviderSidstringRequiredformat: "uuid"

Query parameters

pageintegerRequired
countintegerRequired
daysintegerOptional
startstringOptionalformat: "date-time"
endstringOptionalformat: "date-time"
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

404
Not Found Error