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

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

Recordings of phone calls

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

Path parameters

  • AccountSid string Required

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

Query parameters

  • DateCreated string(date-time)

    Only include recordings that were created on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read recordings that were created on this date. You can also specify an inequality, such as DateCreated<=YYYY-MM-DD, to read recordings that were created on or before midnight of this date, and DateCreated>=YYYY-MM-DD to read recordings that were created on or after midnight of this date.

  • DateCreated string(date-time)

    Only include recordings that were created on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read recordings that were created on this date. You can also specify an inequality, such as DateCreated<=YYYY-MM-DD, to read recordings that were created on or before midnight of this date, and DateCreated>=YYYY-MM-DD to read recordings that were created on or after midnight of this date.

  • DateCreated> string(date-time)

    Only include recordings that were created on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read recordings that were created on this date. You can also specify an inequality, such as DateCreated<=YYYY-MM-DD, to read recordings that were created on or before midnight of this date, and DateCreated>=YYYY-MM-DD to read recordings that were created on or after midnight of this date.

  • CallSid string

    The Call SID of the resources to read.

  • The Conference SID that identifies the conference associated with the recording to read.

  • A boolean parameter indicating whether to retrieve soft deleted recordings or not. Recordings metadata are kept after deletion for a retention period of 40 days.

  • 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

  • 200

    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
      • 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 during 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 as an integer.

      • conference_sid string | null

        The unique ID for 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.

      • media_url string(uri) | null

        The URL of the media file.

      • price string | null

        The one-time cost of creating the recording.

      • price_unit string | 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, absent, or deleted.

      • subresource_uris object(uri-map) | null

        A list of related resources identified by their relative URIs

      • 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}/Recordings.json
curl \
 -X GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/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,
      "media_url": "https://example.com",
      "price": "string",
      "price_unit": "string",
      "sid": "string",
      "source": "DialVerb",
      "start_time": "string",
      "status": "in-progress",
      "subresource_uris": {},
      "uri": "https://example.com"
    }
  ],
  "start": 42,
  "uri": "https://example.com"
}