Pagination
List endpoints return a maximum of 20 records per page by default. Use query parameters to control page size, navigate through results, and sort data.
Size Parameter
Control how many records are returned per request with the size parameter. Supported values: 10, 20, 50, 100, 200.
GET https://a.eztexting.com/v1/conversations?size=50Page Parameter
Navigate through results using the page parameter. Pages are zero-indexed.
GET https://a.eztexting.com/v1/conversations?size=50&page=2This returns 50 records starting from record 101.
Sort Parameter
Order results by a property name. Append ,asc or ,desc to control direction.
GET https://a.eztexting.com/v1/conversations?sort=campaignId,descResponse Structure
Paginated responses include metadata about the result set:
{
"content": [ ... ],
"pageable": {
"pageNumber": 0,
"pageSize": 20,
"offset": 0
},
"totalPages": 5,
"totalElements": 98,
"numberOfElements": 20,
"first": true,
"last": false
}| Field | Description |
|---|---|
content | Array of data records |
totalPages | Total number of pages available |
totalElements | Total record count across all pages |
numberOfElements | Number of records in the current page |
first / last | Boolean flags indicating position |