Returns a single Composition resource identified by a Composition SID
Recording compositions
Returns a single Composition resource identified by a Composition SID.
Path parameters
-
The SID of the Composition resource to fetch.
GET /v1/Compositions/{Sid}
curl \
-X GET https://video.twilio.com/v1/Compositions/{Sid} \
--user "username:password"
Response examples (200)
{
"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"
}
Response examples (200)
{
"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"
}