v1

latestOpenAPI 3.0.32026-07-14490228.1 KB

Get Recordings

This endpoint retrieves all recordings available to the client.

get/recordings

Query parameters

pageinteger

The current page of results to retrieve.

per_pageinteger

The number of results to pull back. Allowed values: 25, 50, 100, -1 (for all).

sortstring

The order for record sorting. Allowed values are asc and desc.

orderstring

The field for sorting records. Allowed values: id, name, scope, type, length, status.

searchstring

A value to search the person phone number or associated phone number.

search_number_idsinteger[]

The associated number IDs to filter by that the recording was created with.

search_sequence_idsinteger[]

The associated sequence IDs to filter by that the recording was created with.

Response

200

Example response

{
  "data": [
    {
      "id": 1,
      "person_id": 1,
      "call_sid": "CA2a64d517f5fd4933fd233953345661ff",
      "call_id": 1,
      "number_id": 1,
      "client_id": 1,
      "status": "active",
      "recording_sid": "RE0b1195ab4306ff895b095f6f6ec12123",
      "recording_url": "https://api.twilio.com/2010-04-01/Accounts/AC75e1123473966c71127dc808ee82ff1c/Recordings/RE0b1195ab4306ff895b095f6f6ec12123",
      "recording_status": "completed",
      "recording_channels": 1,
      "recording_start_time": "Wed, 23 Dec 2020 18:59:49 +0000",
      "recording_duration": 1,
      "created_at": "2020-12-23 18:59:49",
      "updated_at": "2020-12-23 18:59:52",
      "number": {
        "id": 1,
        "name": "Test Number",
        "number": "+15555555551",
        "status": "active"
      },
      "sequence": {
        "id": 1,
        "name": "Test Sequence 1",
        "status": "active",
        "number_id": 1
      },
      "person": {
        "id": 1,
        "phone_number": "+15555555551",
        "added_at": "2020-12-23 18:59:30",
        "source": "inbound_call"
      }
    }
  ],
  "meta": {
    "total": 1,
    "count": 1,
    "page": 1,
    "pages": 1,
    "per_page": 25,
    "order": "id",
    "sort": "DESC"
  }
}