List Filter
HTTP GET. The GET query string parameters allow you to limit the list returned. Note: parameters are case-sensitive:

Request Parameters

Parameter
Description
StartTime
Only show recordings that were made on this date/time or later, given as an ISO-8601 date/time string, like YYYY-MM-DDTHH:MM:SS (for example 2018-10-05T22:45:32) or, if you want to omit the time, YYYY-MM-DD (for example 2018-10-05). When only a date is provided, the time is assumed to be midnight of the given date. Note that the given date/time is inclusive and is assumed to be in UTC time zone..
EndTime
Only show recordings that were made on this date/time or earlier, given as an ISO-8601 date/time string, like YYYY-MM-DDTHH:MM:SS (for example 2018-10-06T02:10:03) or, if you want to omit the time, YYYY-MM-DD (for example 2018-10-06). When only a date is provided the time is assumed to be midnight of the given date. Note that the given date/time is inclusive and is assumed to be in UTC time zone.
CallSid
Only show recordings that have been started from this CallSid

Filter using the CallSid parameter.

The following example will only return Recordings that have been started from the given CallSid
CURL
1
curl -X GET https://api.teleapi.net/call/2012-04-24/Accounts/Call_API_Token/Recordings.json?CallSid=CAfe9ce46f104f5beeb10c83a5dad2be66 \
2
-u 'API_Token'
Copied!
The result will be similar to the one below
1
{"page":0,"num_pages":0,"page_size":50,"total":17,"start":"0","end":"17","uri":"/call/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Recordings.json","first_page_uri":"/call/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Recordings.json?Page=0&PageSize=50","previous_page_uri":"null","next_page_uri":"null","last_page_uri":"/call/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Recordings.json?Page=0&PageSize=50","recordings":
2
[
3
{
4
"sid":"RFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
5
"date_created":"Mon, 6 Jan 2014 08:51:07 +0900",
6
"date_updated":"Mon, 6 Jan 2014 08:51:07 +0900",
7
"account_sid":"ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
8
"call_sid":"CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
9
"duration":"14.70275",
10
"api_version":"2012-04-24",
11
"uri":"/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Recordings/RE50675909d9c94acda36f0e119b6cb431.json",
12
"file_uri":"https://calls.teleapi.net/call/recordings/RE50675909d9c94acda36f0e119b6cb431.wav"
13
},
14
...
15
]
16
}
Copied!