/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
Key | Datatype | Required | Description |
---|---|---|---|
extensionNumber | string | Extension number of a user. If specified, returns call log for a particular extension only. Cannot be specified together with the phoneNumber filter | |
phoneNumber | string | Phone 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 | |
direction | string | The 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 | |
type | string | Call 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 | |
view | string | The default value is 'Simple' for both account and extension call log | |
withRecording | string | 'True' if only recorded calls have to be returned | |
dateFrom | string | The 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 | |
dateTo | string | The 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 | |
page | string | Indicates the page number to retrieve. Only positive number values are allowed. The default value is '1' | |
perPage | string | Indicates the page size (number of items). If not specified, the value is '100' by default. |