Retrieve a list of recordings belonging to the account used to make the request
Recordings of phone calls
Retrieve a list of recordings belonging to the account used to make the request
Path parameters
-
The SID of the Account that created the Recording resources to read.
Query parameters
-
DateCreated string(date-time)
Only include recordings that were created on this date. Specify a date as
YYYY-MM-DD
in GMT, for example:2009-07-06
, to read recordings that were created on this date. You can also specify an inequality, such asDateCreated<=YYYY-MM-DD
, to read recordings that were created on or before midnight of this date, andDateCreated>=YYYY-MM-DD
to read recordings that were created on or after midnight of this date. -
DateCreated< string(date-time)
Only include recordings that were created on this date. Specify a date as
YYYY-MM-DD
in GMT, for example:2009-07-06
, to read recordings that were created on this date. You can also specify an inequality, such asDateCreated<=YYYY-MM-DD
, to read recordings that were created on or before midnight of this date, andDateCreated>=YYYY-MM-DD
to read recordings that were created on or after midnight of this date. -
DateCreated> string(date-time)
Only include recordings that were created on this date. Specify a date as
YYYY-MM-DD
in GMT, for example:2009-07-06
, to read recordings that were created on this date. You can also specify an inequality, such asDateCreated<=YYYY-MM-DD
, to read recordings that were created on or before midnight of this date, andDateCreated>=YYYY-MM-DD
to read recordings that were created on or after midnight of this date. -
CallSid string
The Call SID of the resources to read.
-
ConferenceSid string
The Conference SID that identifies the conference associated with the recording to read.
-
IncludeSoftDeleted boolean
A boolean parameter indicating whether to retrieve soft deleted recordings or not. Recordings metadata are kept after deletion for a retention period of 40 days.
-
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}/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,
"media_url": "https://example.com",
"price": "string",
"price_unit": "string",
"sid": "string",
"source": "DialVerb",
"start_time": "string",
"status": "in-progress",
"subresource_uris": {},
"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,
"media_url": "https://example.com",
"price": "string",
"price_unit": "string",
"sid": "string",
"source": "DialVerb",
"start_time": "string",
"status": "in-progress",
"subresource_uris": {},
"uri": "https://example.com"
}
],
"start": 42,
"uri": "https://example.com"
}