Get call history
This API is used to get call history on tenant.
Note:
For APIs used for Partner, the API key is:
<shop_key>
. The base_url information of the Partner.
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:
100
elements (call logs) / pages sorted by newest, passlimit
if changes are desired.The response returned will be accompanied by
paging
Passing
next
the query stringafter
in the above request will get the next page, conversely passingprev
the query stringafter
in the above request will get the previous page (if any).
Last updated