List of all Track recordings.
Single-track, single-media recordings
List of all Track recordings.
Query parameters
-
Read only the recordings that have 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 with this
grouping_sid
, which may include aparticipant_sid
and/or aroom_sid
.Minimum length of each is
34
, maximum length of each is34
. Format of each 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 date-time with time zone.
-
Read only recordings that started before this ISO 8601 date-time with time zone, given as
YYYY-MM-DDThh:mm:ss+|-hh:mm
orYYYY-MM-DDThh:mm:ssZ
. -
Read only recordings that have this media type. Can be either
audio
orvideo
.Values are
audio
,video
, ordata
. -
How many resources to return in each list page.
Minimum value is
1
, maximum value is100
. Default value is50
. -
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/Recordings' \
--user "username:password"
{
"meta": {
"key": "recordings",
"url": "https://video.twilio.com/v1/Recordings?Status=completed&SourceSid=MTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&MediaType=audio&GroupingSid=RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://video.twilio.com/v1/Recordings?Status=completed&SourceSid=MTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&MediaType=audio&GroupingSid=RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
"previous_page_url": null
},
"recordings": []
}
{
"meta": {
"key": "recordings",
"url": "https://video.twilio.com/v1/Recordings?Status=completed&DateCreatedAfter=2017-01-01T00%3A00%3A01Z&DateCreatedBefore=2017-12-31T23%3A59%3A59Z&SourceSid=MTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&MediaType=audio&GroupingSid=RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://video.twilio.com/v1/Recordings?Status=completed&DateCreatedAfter=2017-01-01T00%3A00%3A01Z&DateCreatedBefore=2017-12-31T23%3A59%3A59Z&SourceSid=MTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&MediaType=audio&GroupingSid=RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
"previous_page_url": null
},
"recordings": [
{
"sid": "RTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://video.twilio.com/v1/Recordings/RTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"size": 23,
"type": "audio",
"codec": "opus",
"links": {
"media": "https://video.twilio.com/v1/Recordings/RTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Media"
},
"offset": 10,
"status": "completed",
"duration": 10,
"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",
"status_callback": "https://mycallbackurl.com",
"container_format": "mka",
"status_callback_method": "POST",
"media_external_location": "https://my-super-duper-bucket.s3.amazonaws.com/my/path/"
}
]
}