Paging Information
HTTP GET. The following GET query string parameters allow you to limit the list returned.
Parameters are case-sensitive

Request Parameters

Parameter
Description
Page
The current page number. Zero-indexed, so the first page is 0.
PageSize
How many items are on each page

Example

The command below will return a single item from the list of recordings using the PageSize parameter.
CURL
1
curl -X GET https://api.teleapi.net/call/2012-04-24/Accounts/ACCOUNT_SID/Recordings.json?PageSize=1 \
2
-u 'teleapi-Token'
Copied!
The result of the PageSize parameter
1
{"page":0,"num_pages":34,"page_size":1,"total":34,"start":"0","end":"0","uri":"/call/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Recordings.json","first_page_uri":"/call/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Recordings.json?Page=0&PageSize=1","previous_page_uri":"null","next_page_uri":"/call/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Recordings.json?Page=1&PageSize=1&AfterSid=RF50675909d9c94acda36f0e119b6cb431","last_page_uri":"/call/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Recordings.json?Page=34&PageSize=1","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":"ACae6e420f425248d6a26948c17a9e2acf",
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
}
Copied!

Additional Paging Information.

The API returns URIs to the next, previous, first and last pages of the returned list.

Request Parameters

Parameter
Description
Uri
The URI of the current page.
Firstpageuri
The URI for the first page of the list.
Nextpageuri
The URI for the next page of the list.
Previouspageuri
The URI for the previous page of the list.
Lastpageuri
The URI for the last page of the list.