Retrieve a list of recordings belonging to the call used to make the request

GET /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings.json

A Recording resource represents the recording associated with a voice call, conference, or SIP Trunk.

Retrieve a list of recordings belonging to the call used to make the request

Path parameters

  • AccountSid string Required

    The SID of the Account that created the Recording resources to read.

  • CallSid string Required

    The Call SID of the resources to read.

Query parameters

  • DateCreated string(date)

    The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date.

  • DateCreated< string(date)

    The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date.

  • DateCreated> string(date)

    The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date.

  • PageSize integer

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

Responses

  • OK

    Hide response attributes Show response attributes object
    • end integer
    • first_page_uri string(uri)
    • next_page_uri string(uri)
    • page integer
    • page_size integer
    • recordings array[object]
      Hide recordings attributes Show recordings attributes array[object]
      • account_sid string | null

        The SID of the Account that created the resource

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

      • api_version string | null

        The API version used to make the recording

      • call_sid string | null

        The SID of the Call the resource is associated with

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^CA[0-9a-fA-F]{32}$.

      • channels integer | null

        The number of channels in the final recording file

      • conference_sid string | null

        The Conference SID that identifies the conference associated with the recording

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^CF[0-9a-fA-F]{32}$.

      • date_created string(date-time-rfc-2822) | null

        The RFC 2822 date and time in GMT that the resource was created

      • date_updated string(date-time-rfc-2822) | null

        The RFC 2822 date and time in GMT that the resource was last updated

      • duration string | null

        The length of the recording in seconds

      • How to decrypt the recording.

      • error_code integer | null

        More information about why the recording is missing, if status is absent.

      • price number | null

        The one-time cost of creating the recording.

      • price_unit string(currency) | null

        The currency used in the price property.

      • sid string | null

        The unique string that identifies the resource

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^RE[0-9a-fA-F]{32}$.

      • source string | null

        How the recording was created

        Values are DialVerb, Conference, OutboundAPI, Trunking, RecordVerb, StartCallRecordingAPI, or StartConferenceRecordingAPI.

      • start_time string(date-time-rfc-2822) | null

        The start time of the recording, given in RFC 2822 format

      • status string | null

        The status of the recording

        Values are in-progress, paused, stopped, processing, completed, or absent.

      • track string | null

        The recorded track. Can be: inbound, outbound, or both.

      • uri string(uri) | null

        The URI of the resource, relative to https://api.twilio.com

    • start integer
    • uri string(uri)
GET /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings.json
curl \
 -X GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings.json \
 --user "username:password"
Response examples (200)
{
  "end": 42,
  "first_page_uri": "https://example.com",
  "next_page_uri": "https://example.com",
  "page": 42,
  "page_size": 42,
  "previous_page_uri": "https://example.com",
  "recordings": [
    {
      "account_sid": "string",
      "api_version": "string",
      "call_sid": "string",
      "channels": 42,
      "conference_sid": "string",
      "date_created": "string",
      "date_updated": "string",
      "duration": "string",
      "error_code": 42,
      "price": 42.0,
      "price_unit": "string",
      "sid": "string",
      "source": "DialVerb",
      "start_time": "string",
      "status": "in-progress",
      "track": "string",
      "uri": "https://example.com"
    }
  ],
  "start": 42,
  "uri": "https://example.com"
}
Response examples (200)
{
  "end": 42,
  "first_page_uri": "https://example.com",
  "next_page_uri": "https://example.com",
  "page": 42,
  "page_size": 42,
  "previous_page_uri": "https://example.com",
  "recordings": [
    {
      "account_sid": "string",
      "api_version": "string",
      "call_sid": "string",
      "channels": 42,
      "conference_sid": "string",
      "date_created": "string",
      "date_updated": "string",
      "duration": "string",
      "error_code": 42,
      "price": 42.0,
      "price_unit": "string",
      "sid": "string",
      "source": "DialVerb",
      "start_time": "string",
      "status": "in-progress",
      "track": "string",
      "uri": "https://example.com"
    }
  ],
  "start": 42,
  "uri": "https://example.com"
}