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

# API pagination

> Page through the results of Zapnito API list endpoints with the page and per_page query parameters.

List endpoints return results a page at a time. Where an endpoint supports pagination, it accepts these query parameters:

| Parameter | Type | Description |
| - | - | - |
| `page` | integer | The page of results to return. |
| `per_page` | integer | The number of results to return per page. |

For example, to get the second page of 20 users:

```bash title="Get the second page of users" theme={null}
curl "https://your-community.zapnito.com/api/v1/users?page=2&per_page=20" \
  -H "Authorization: Token token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json; charset=utf-8"
```

Each endpoint page lists the parameters it supports. For how to authenticate the request, see [authentication](/api/v1/authentication).


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