Fetch room recording

GET /v1/Rooms/{RoomSid}/Recordings/{Sid}

Single-track, single-media room recordings

Path parameters

  • RoomSid string Required

    The SID of the Room resource with the recording to fetch.

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

  • Sid string Required

    The SID of the RoomRecording resource to fetch.

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

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • account_sid string | null

      The SID of the Account that created the RoomRecording resource.

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

    • status string

      The status of the recording. Can be: processing, completed, or deleted. processing indicates the Recording is still being captured. completed indicates the Recording has been captured and is now available for download. deleted means the recording media has been deleted from the system, but its metadata is still available for historical purposes.

      Values are processing, completed, deleted, or failed.

    • date_created string(date-time) | null

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

    • sid string | null

      The unique string that we created to identify the RoomRecording resource.

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

    • source_sid string | null

      The SID of the recording source. For a Room Recording, this value is a track_sid.

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

    • size integer(int64) | null

      The size of the recorded track in bytes.

    • url string(uri) | null

      The absolute URL of the resource.

    • type string

      The recording's media type. Can be: audio or video.

      Values are audio, video, or data.

    • duration integer | null

      The duration of the recording rounded to the nearest second. Sub-second duration tracks have a duration of 1 second

    • container_format string

      Values are mka or mkv.

    • codec string

      The codec used for the recording. Can be: VP8 or H264.

      Values are VP8, H264, OPUS, or PCMU.

    • grouping_sids object | null

      A list of SIDs related to the Recording. Includes the room_sid and participant_sid.

    • track_name string | null

      The name that was given to the source track of the recording. If no name is given, the source_sid is used.

    • offset integer(int64) | null

      The time in milliseconds elapsed between an arbitrary point in time, common to all group rooms, and the moment when the source room of this track started. This information provides a synchronization mechanism for recordings belonging to the same room.

    • media_external_location string(uri) | null

      The URL of the media file associated with the recording when stored externally. See External S3 Recordings for more details.

    • 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}$.

GET /v1/Rooms/{RoomSid}/Recordings/{Sid}
curl \
 --request GET 'https://video.twilio.com/v1/Rooms/{RoomSid}/Recordings/{Sid}' \
 --user "username:password"
Response examples (200)
{
  "sid": "RTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "url": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/RTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "size": 0,
  "type": "audio",
  "codec": "opus",
  "links": {
    "media": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/RTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Media"
  },
  "offset": 10,
  "status": "processing",
  "duration": 0,
  "room_sid": "RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "source_sid": "MTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "track_name": "A name",
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "date_created": "2015-07-30T20:00:00Z",
  "grouping_sids": {
    "room_sid": "RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
  },
  "container_format": "mka",
  "media_external_location": "https://my-super-duper-bucket.s3.amazonaws.com/my/path/"
}