/restapi/v1.0/account/:accountId/call-log

GET {{baseUrl}}/restapi/v1.0/account/:accountId/call-log?extensionNumber=<string>&phoneNumber=<string>&direction=<string>&type=<string>&view=<string>&withRecording=<boolean>&dateFrom=<dateTime>&dateTo=<dateTime>&page=<integer>&perPage=<integer>

Get Account Call Log

Request Params

KeyDatatypeRequiredDescription
extensionNumberstringExtension number of a user. If specified, returns call log for a particular extension only. Cannot be specified together with the phoneNumber filter
phoneNumberstringPhone number of a caller/call recipient. If specified, returns all calls (both incoming and outcoming) with the mentioned phone number. Cannot be specified together with the extensionNumber filter
directionstringThe direction for the result records. It is allowed to specify more than one direction. If not specified, both inbound and outbound records are returned. Multiple values are accepted
typestringCall type of a record. It is allowed to specify more than one type. If not specified, all call types are returned. Multiple values are accepted
viewstringThe default value is 'Simple' for both account and extension call log
withRecordingstring'True' if only recorded calls have to be returned
dateFromstringThe start datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours
dateTostringThe end datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time
pagestringIndicates the page number to retrieve. Only positive number values are allowed. The default value is '1'
perPagestringIndicates the page size (number of items). If not specified, the value is '100' by default.