Get call history
This API is used to get call history on tenant.
Request:
Response:
Request body structure:
extension_ids
string[]
List of extensions
extension_ids
string
Calling number
hotline_ids
string[]
Hotline list
call_state
enum
Call status ( unknown answered not_answered)
date_from
string
Start date (eg: "2021-03-10T17:07:19+07:00")
date_to
string
End date (eg: "2021-03-10T17:07:19+07:00")
external_id
string
Get it when making a call on web/mobile
external_session_id
string
Get it when making a call on web/mobile
Return data attribute structure:
extension_id
string
Extension Id
silence
string
Recipient phone number
caller
string
Caller phone number
direction
enum
Call direction ( unknown in out ext ext_in ext_out)
call_targets
array
List of related extensions
recording_urls
array
Recording file
Note :
Response is returned in paginated fashion. Typically:
100elements (call logs) / pages sorted by newest, passlimitif changes are desired.The response returned will be accompanied by
pagingPassing
nextthe query stringafterin the above request will get the next page, conversely passingprevthe query stringafterin the above request will get the previous page (if any).
Last updated