List room recording

GET /v1/Rooms/{RoomSid}/Recordings

Single-track, single-media room recordings

Path parameters

  • RoomSid string Required

    The SID of the room with the RoomRecording resources to read.

Query parameters

  • Status string

    Read only the recordings with this status. Can be: processing, completed, or deleted.

    Values are processing, completed, deleted, or failed.

  • Read only the recordings that have this source_sid.

  • DateCreatedAfter string(date-time)

    Read only recordings that started on or after this ISO 8601 datetime with time zone.

  • DateCreatedBefore string(date-time)

    Read only Recordings that started before this ISO 8601 datetime with time zone.

  • 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
    • meta object
      Hide meta attributes Show meta attributes object
    • 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}$.

      • codec string | null

        The codec used for the recording

        Values are VP8, H264, OPUS, or PCMU.

      • container_format string | null

        The file format for the recording

        Values are mka or mkv.

      • date_created string(date-time) | null

        The ISO 8601 date and time in GMT when the resource was created

      • duration integer | null

        The duration of the recording in seconds

      • A list of SIDs related to the Recording

      • media_external_location string(uri) | null

        The URL of the media file associated with the recording when stored externally

      • offset integer | null

        The number of milliseconds between a point in time that is common to all rooms in a group and when the source room of the recording started

      • room_sid string | null

        The SID of the Room resource the recording is associated with

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

      • sid string | null

        The unique string that identifies the resource

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

      • size integer | null

        The size of the recorded track in bytes

      • source_sid string | null

        The SID of the recording source

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

      • status string | null

        The status of the recording

        Values are processing, completed, deleted, or failed.

      • track_name string | null

        The name that was given to the source track of the recording

      • type string | null

        The recording's media type

        Values are audio, video, or data.

      • url string(uri) | null

        The absolute URL of the resource

GET /v1/Rooms/{RoomSid}/Recordings
curl \
 -X GET https://video.twilio.com/v1/Rooms/{RoomSid}/Recordings \
 --user "username:password"
Response examples (200)
{
  "meta": {
    "first_page_url": "https://example.com",
    "key": "string",
    "next_page_url": "https://example.com",
    "page": 42,
    "page_size": 42,
    "previous_page_url": "https://example.com",
    "url": "https://example.com"
  },
  "recordings": [
    {
      "account_sid": "string",
      "codec": "VP8",
      "container_format": "mka",
      "date_created": "2023-05-04T09:42:00+00:00",
      "duration": 42,
      "links": {},
      "media_external_location": "https://example.com",
      "offset": 42,
      "room_sid": "string",
      "sid": "string",
      "size": 42,
      "source_sid": "string",
      "status": "processing",
      "track_name": "string",
      "type": "audio",
      "url": "https://example.com"
    }
  ]
}
Response examples (200)
{
  "meta": {
    "first_page_url": "https://example.com",
    "key": "string",
    "next_page_url": "https://example.com",
    "page": 42,
    "page_size": 42,
    "previous_page_url": "https://example.com",
    "url": "https://example.com"
  },
  "recordings": [
    {
      "account_sid": "string",
      "codec": "VP8",
      "container_format": "mka",
      "date_created": "2024-05-04T09:42:00+00:00",
      "duration": 42,
      "links": {},
      "media_external_location": "https://example.com",
      "offset": 42,
      "room_sid": "string",
      "sid": "string",
      "size": 42,
      "source_sid": "string",
      "status": "processing",
      "track_name": "string",
      "type": "audio",
      "url": "https://example.com"
    }
  ]
}