API Reference
Pagination
How pagination works in the Mailofly REST API.
Endpoints that return lists of resources (emails, contacts, campaigns, logs) use cursor-based or offset pagination.
Related topics
IntroductionDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How pagination works in the Mailofly REST API.
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 20 | Number of results to return (max 100). |
page | integer | 1 | The page number to fetch. |
cursor | string | null | Cursor identifier for sequential streaming. |
{
"data": [ ... ],
"pagination": {
"has_more": true,
"next_cursor": "cur_01J8G52XYZ",
"total_count": 1420
}
}
Related topics
Introduction