v1

latestOpenAPI 3.0.32026-07-14490228.1 KB

Get Call By ID

This endpoint retrieves a call owned by the client.

get/calls/{id}

Path parameters

idinteger required

The ID used to identify the call.

Response

200

Example response

{
  "data": {
    "id": 1,
    "call_sid": "CA37d892355f32bb0e7dcc106b1d66112",
    "sender_number": "+15555555551",
    "recipient_number": "+15555555555",
    "person_id": 1,
    "number_id": 1,
    "direction": "outbound-api",
    "status": "completed",
    "sequence_number": 3,
    "duration": 1,
    "client_id": 1,
    "created_at": "2021-06-23 21:59:04",
    "updated_at": "2021-06-23 21:59:29",
    "actions": [
      {
        "id": 1,
        "created_at": "2021-06-23T21:59:04.000000Z",
        "request": {
          "status": "api-initiated",
          "to": "+15555555555",
          "from": "+15555555551",
          "direction": "outbound-api",
          "type": "outbound_trigger"
        },
        "response": [
          {
            "verb": "say",
            "text": "Welcome to the Guess a Number demo.",
            "voice": "alice",
            "language": "en-US"
          }
        ]
      }
    ]
  }
}