> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.

***

## Query Parameters

| 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. |

***

## Response Schema

```json theme={null}
{
  "data": [ ... ],
  "pagination": {
    "has_more": true,
    "next_cursor": "cur_01J8G52XYZ",
    "total_count": 1420
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.