Path parameters
-
The SID of the room with the RoomRecording resources to read.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^RM[0-9a-fA-F]{32}$
.
Query parameters
-
Read only the recordings with this status. Can be:
processing
,completed
, ordeleted
.Values are
processing
,completed
,deleted
, orfailed
. -
Read only the recordings that have this
source_sid
.Minimum length is
34
, maximum length is34
. Format should match the following pattern:^[a-zA-Z]{2}[0-9a-fA-F]{32}$
. -
Read only recordings that started on or after this ISO 8601 datetime with time zone.
-
Read only Recordings that started before this ISO 8601 datetime with time zone.
-
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1
, maximum value is1000
. -
The page index. This value is simply for client state.
Minimum value is
0
. -
The page token. This is provided by the API.
curl \
--request GET 'https://video.twilio.com/v1/Rooms/{RoomSid}/Recordings' \
--user "username:password"
{
"meta": {
"key": "recordings",
"url": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings?PageSize=50&Page=0",
"previous_page_url": null
},
"recordings": []
}
{
"meta": {
"key": "recordings",
"url": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings?Status=completed&DateCreatedBefore=2017-12-31T23%3A59%3A59Z&DateCreatedAfter=2017-01-01T00%3A00%3A01Z&SourceSid=MTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings?Status=completed&DateCreatedBefore=2017-12-31T23%3A59%3A59Z&DateCreatedAfter=2017-01-01T00%3A00%3A01Z&SourceSid=MTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
"previous_page_url": null
},
"recordings": [
{
"sid": "RTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/RTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"size": 23,
"type": "audio",
"codec": "opus",
"links": {
"media": "https://video.twilio.com/v1/Rooms/RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/RTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Media"
},
"offset": 10,
"status": "completed",
"duration": 10,
"room_sid": "RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"source_sid": "MTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"track_name": "A name",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2015-07-30T20:00:00Z",
"date_deleted": "2015-07-30T22:00:00Z",
"date_updated": "2015-07-30T21:00:00Z",
"grouping_sids": {
"room_sid": "RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"participant_sid": "PAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"encryption_key": "public_key",
"container_format": "mka",
"media_external_location": "https://my-super-duper-bucket.s3.amazonaws.com/my/path/"
}
]
}