v1

latestOpenAPI 3.0.32026-07-14490228.1 KB

Get Person Calls

This endpoint retrieves the calls associated with a person.

get/people/{id}/calls

Path parameters

idinteger required

The ID used to identify the person.

Response

200

Example response

{
  "data": [
    {
      "id": 1,
      "call_sid": "CA37d892355f123b0e7dcc106b1d6613c1",
      "sender_number": "+15555555551",
      "recipient_number": "+15555555552",
      "person_id": 1,
      "number_id": 1,
      "direction": "outbound-api",
      "status": "completed",
      "sequence_number": 1,
      "duration": 1,
      "client_id": 1,
      "created_at": "2021-06-23 21:59:04",
      "updated_at": "2021-06-23 21:59:29"
    }
  ],
  "meta": {
    "total": 1,
    "count": 1,
    "page": 1,
    "pages": 1,
    "per_page": 25,
    "order": "id",
    "sort": "DESC"
  }
}