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
totalinteger
total number of records in that database that match the filter criteria
batchinteger
total number of records returned in this page set
pageinteger
page number that was requested, and is being returned
datalist of objects

Errors

404
Not Found Error