Calls

List outbound (termination) call records, paginated

Returns the customer's outbound call detail records (CDRs) — calls sent from the customer's SIP accounts to CommPeak for termination — newest first, with caller ID, destination, duration, cost and hangup cause. Without time_range the last 24 hours are returned. Results can be narrowed by tech prefix, caller ID, destination prefix and SIP account. Pagination is by page and per_page (default 100, max 1000); keep requesting the next page until an empty call_records array is returned, which signals end-of-data.

get/call_records/termination

Request

  • Base URL
    https://api.commpeak.com/portal
  • URL
    https://api.commpeak.com/portal/call_records/termination
  • Auth
    API key in header Authorization

Query parameters

time_rangestring nullable

Time range "YYYY-MM-DD - YYYY-MM-DD".

tech_prefixstring nullable

Filter by tech prefix.

clistring nullable

Filter by caller ID.

destinationstring nullable

Filter by called destination (prefix match).

sip_account_idstring nullable

Filter by SIP account display_token.

pageinteger nullable

Page number (default 1).

per_pageinteger nullable

Items per page (default 100, max 1000).

Response

Successful Response

Example response

{
  "call_records": [
    {
      "cli": "12125551234",
      "cost": 0.01716,
      "destination": "12125559999",
      "destination_name": "United States - Fixed/Mobile",
      "duration": 8,
      "started_at": "2026-05-26T12:16:50.000+00:00",
      "status": "ANSWER",
      "tech_prefix": "021001"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.