List of all Recording compositions
Recording compositions
List of all Recording compositions.
Query parameters
-
Status string
Read only Composition resources with this status. Can be:
enqueued
,processing
,completed
,deleted
, orfailed
.Values are
enqueued
,processing
,completed
,deleted
, orfailed
. -
DateCreatedAfter string(date-time)
Read only Composition resources created on or after this ISO 8601 date-time with time zone.
-
DateCreatedBefore string(date-time)
Read only Composition resources created before this ISO 8601 date-time with time zone.
-
RoomSid string
Read only Composition resources with this Room SID.
-
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 is1000
.
GET /v1/Compositions
curl \
-X GET https://video.twilio.com/v1/Compositions \
--user "username:password"
Response examples (200)
{
"compositions": [
{
"account_sid": "string",
"audio_sources": [
"string"
],
"audio_sources_excluded": [
"string"
],
"bitrate": 42,
"date_completed": "2023-05-04T09:42:00+00:00",
"date_created": "2023-05-04T09:42:00+00:00",
"date_deleted": "2023-05-04T09:42:00+00:00",
"duration": 42,
"format": "mp4",
"links": {},
"media_external_location": "https://example.com",
"resolution": "string",
"room_sid": "string",
"sid": "string",
"size": 42,
"status": "enqueued",
"status_callback": "https://example.com",
"status_callback_method": "HEAD",
"trim": true,
"url": "https://example.com"
}
],
"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"
}
}
Response examples (200)
{
"compositions": [
{
"account_sid": "string",
"audio_sources": [
"string"
],
"audio_sources_excluded": [
"string"
],
"bitrate": 42,
"date_completed": "2024-05-04T09:42:00+00:00",
"date_created": "2024-05-04T09:42:00+00:00",
"date_deleted": "2024-05-04T09:42:00+00:00",
"duration": 42,
"format": "mp4",
"links": {},
"media_external_location": "https://example.com",
"resolution": "string",
"room_sid": "string",
"sid": "string",
"size": 42,
"status": "enqueued",
"status_callback": "https://example.com",
"status_callback_method": "HEAD",
"trim": true,
"url": "https://example.com"
}
],
"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"
}
}