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
Path parameters
-
The SID of the Account that created the Recording resources to read.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^AC[0-9a-fA-F]{32}$
. -
The Call SID of the resources to read.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^CA[0-9a-fA-F]{32}$
.
Query parameters
-
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. -
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. -
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. -
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
. -
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://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings.json' \
--user "username:password"
{
"end": 0,
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json?PageSize=50&Page=0",
"page": 0,
"start": 0,
"page_size": 50,
"recordings": [
{
"sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
"price": "-0.0025",
"track": "both",
"source": "StartCallRecordingAPI",
"status": "completed",
"call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"channels": 2,
"duration": "4",
"error_code": null,
"price_unit": "USD",
"start_time": "Fri, 14 Oct 2016 21:56:34 +0000",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"api_version": "2010-04-01",
"date_created": "Fri, 14 Oct 2016 21:56:34 +0000",
"date_updated": "Fri, 14 Oct 2016 21:56:38 +0000",
"conference_sid": null,
"encryption_details": {
"encryption_iv": "8I2hhNIYNTrwxfHk",
"encryption_cek": "OV4h6zrsxMIW7h0Zfqwfn6TI2GCNl54KALlg8wn8YB8KYZhXt6HlgvBWAmQTlfYVeLWydMiCewY0YkDDT1xmNe5huEo9vjuKBS5OmYK4CZkSx1NVv3XOGrZHpd2Pl/5WJHVhUK//AUO87uh5qnUP2E0KoLh1nyCLeGcEkXU0RfpPn/6nxjof/n6m6OzZOyeIRK4Oed5+rEtjqFDfqT0EVKjs6JAxv+f0DCc1xYRHl2yV8bahUPVKs+bHYdy4PVszFKa76M/Uae4jFA9Lv233JqWcxj+K2UoghuGhAFbV/JQIIswY2CBYI8JlVSifSqNEl9vvsTJ8bkVMm3MKbG2P7Q==",
"encryption_public_key_sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
}
],
"next_page_uri": null,
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json?PageSize=50&Page=0",
"previous_page_uri": null
}
{
"end": 0,
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json?PageSize=50&Page=0",
"page": 0,
"start": 0,
"page_size": 50,
"recordings": [],
"next_page_uri": null,
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json?PageSize=50&Page=0",
"previous_page_uri": null
}