Retrieve a list of recordings belonging to the call used to make the request
A Recording resource represents the recording associated with a voice call, conference, or SIP Trunk.
Retrieve a list of recordings belonging to the call used to make the request
Query parameters
-
DateCreated string(date)
The
date_created
value, specified asYYYY-MM-DD
, of the resources to read. You can also specify inequality:DateCreated<=YYYY-MM-DD
will return recordings generated at or before midnight on a given date, andDateCreated>=YYYY-MM-DD
returns recordings generated at or after midnight on a date. -
DateCreated< string(date)
The
date_created
value, specified asYYYY-MM-DD
, of the resources to read. You can also specify inequality:DateCreated<=YYYY-MM-DD
will return recordings generated at or before midnight on a given date, andDateCreated>=YYYY-MM-DD
returns recordings generated at or after midnight on a date. -
DateCreated> string(date)
The
date_created
value, specified asYYYY-MM-DD
, of the resources to read. You can also specify inequality:DateCreated<=YYYY-MM-DD
will return recordings generated at or before midnight on a given date, andDateCreated>=YYYY-MM-DD
returns recordings generated at or after midnight on a date. -
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
.
curl \
-X GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings.json \
--user "username:password"
{
"end": 42,
"first_page_uri": "https://example.com",
"next_page_uri": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_uri": "https://example.com",
"recordings": [
{
"account_sid": "string",
"api_version": "string",
"call_sid": "string",
"channels": 42,
"conference_sid": "string",
"date_created": "string",
"date_updated": "string",
"duration": "string",
"error_code": 42,
"price": 42.0,
"price_unit": "string",
"sid": "string",
"source": "DialVerb",
"start_time": "string",
"status": "in-progress",
"track": "string",
"uri": "https://example.com"
}
],
"start": 42,
"uri": "https://example.com"
}
{
"end": 42,
"first_page_uri": "https://example.com",
"next_page_uri": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_uri": "https://example.com",
"recordings": [
{
"account_sid": "string",
"api_version": "string",
"call_sid": "string",
"channels": 42,
"conference_sid": "string",
"date_created": "string",
"date_updated": "string",
"duration": "string",
"error_code": 42,
"price": 42.0,
"price_unit": "string",
"sid": "string",
"source": "DialVerb",
"start_time": "string",
"status": "in-progress",
"track": "string",
"uri": "https://example.com"
}
],
"start": 42,
"uri": "https://example.com"
}