Calllogs

List call logs

get

Retrieve a collection of call logs.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
chevron-right
200

OK

application/json
countinteger · int64Optional

Total number of resource.

Example: 100
get
/calllogs

Retrieve call log detailed information.

get

Retrieve details of call log.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idall ofRequired

The unique ID of CDR.

stringOptional

The unique ID of the resource.

Example: NzAwNTUxOTA5NzczMTQ4MTYw
Responses
chevron-right
200

OK

application/json
idall ofOptional

The unique ID of CDR.

stringOptional

The unique ID of the resource.

Example: NzAwNTUxOTA5NzczMTQ4MTYw
session_idall ofOptional

The session ID of call log.

stringOptional

The unique ID of the resource.

Example: NzAwNTUxOTA5NzczMTQ4MTYw
callerstring · max: 256Optional

The caller number of the call.

caller_domainstring · max: 1024Optional

The caller domain of the call.

caller_display_namestring · max: 1024Optional

The caller display name of the call.

calleestring · max: 256Optional

The callee number of the call.

callee_domainstring · max: 1024Optional

The callee domain of the call.

callee_display_namestring · max: 1024Optional

The callee display name of the call.

started_atall ofOptional

The start time of the call.

string · date_timeOptional

The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

Example: 2017-07-21T17:32:28Z
rang_atall ofOptional

The ringing time of the call.

string · date_timeOptional

The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

Example: 2017-07-21T17:32:28Z
answered_atall ofOptional

The answer time of the call.

string · date_timeOptional

The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

Example: 2017-07-21T17:32:28Z
ended_atall ofOptional

The end time of the call.

string · date_timeOptional

The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

Example: 2017-07-21T17:32:28Z
call_idstringOptional

The call ID of CDR.

directionstring · enumOptional

The direction of CDR:

  • INBOUND_CALL:
  • OUTBOUND_CALL:
  • EXTENSION_CALL:
  • INBOUND_OUTBOUND_CALL:
Possible values:
end_reasonstring · enumOptional

The ended reason of CDR:
Can be either:

  • CALLER_DISCONNECTED:
  • CALLEE_DISCONNECTED:
  • BLIND_TRANSFER_COMPLETED:
  • CONSULT_TRANSFER_COMPLETED:
  • REPLACED:
  • REFERRED:
  • REDIRECTED:
  • CANCELLED:
Possible values:
reroute_reasonstring · enumOptional

The reroute reason of CDR:
Can be either:

  • TRANSFER:
  • OVERFLOW:
Possible values:
status_codeintegerOptional

The status code of CDR.

destinationstringOptional

The destination number of CDR.

outbound_caller_idstring · min: 1 · max: 64Optional

Outbound caller id.

did_cidstringOptional

The DID CID of CDR.

trunkstringOptional

The trunk name of CDR.

durationinteger · int32Optional

The total talk time for a session (in seconds).

costnumber · doubleOptional

The cost for this call.

billed_accountstringOptional

The account name for billing.

service_numberstringOptional

The service number of the call.

user_datastringOptional

The additional custom user data of CDR.

get
/calllogs/{id}