Call Records

Get call records

Result example:

{
    "call_records": [
        {
            "started_at":"2012-10-19T10:54:25+00:00",
            "status":"ANSWER",
            "destination":"35311111111",
            "duration": 16,
            "rate": 0.00983,
            "cost": 0.002621
        },
        {
            "started_at": "2012-10-18T23:08:49+00:00",
            "status": "ANSWER",
            "destination": "353111111122",
            "duration": 19,
            "rate": 0.00983,
            "cost": 0.003113
        }
    ]
}

Maximum call records in response is 1000. Pagination to next or previous page specified in Link header.

Example:

Link: <https://api.commpeak.com/call_records?request_id=REQUEST_ID&page=3>; rel="next", <https://api.commpeak.com/call_records?request_id=REQUEST_ID&page=1>; rel="prev"

Search call records

Available search fields:

SIP account ID can be retrieved from SIP Accounts resource.

Example:

/call_records?sip_account_id=AAA111222333444&started_at=2000-01-01