# Pagination

All endpoints with pagination enabled implement same pagination scheme.

Paginated response will contain special pagination attributes. Example:

```json
{
    "count": 1023,
    "next": "https://api.example.org/accounts/?page=5",
    "previous": "https://api.example.org/accounts/?page=3",
    "results": [
       ...
    ],
}
```

You can customize pagination settings using query parameters:

`page_size` - set the number of items per page (default is 100)

`page` - set the page number to get in response (default is 1)

Paginated responses are sorted by `id` value.