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

# Paginated list

> The paginated list wrapper returned by all list endpoints.

All list endpoints return a paginated list object. Use the `next` and `previous` cursors to navigate through pages. See [Pagination](/api-reference/pagination) for details on how to use cursor-based pagination.

## Fields

<ParamField path="data" type="object[]" required>
  The array of objects for the current page. The type of objects depends on the
  endpoint (e.g. [Campaign](/api-reference/objects/campaign),
  [Prospect](/api-reference/objects/prospect)).
</ParamField>

<ParamField path="hasMore" type="boolean" required>
  Whether there are more results available beyond this page.
</ParamField>

<ParamField path="next" type="string">
  Cursor to fetch the next page. Pass this as `cursor` in your next request.
</ParamField>

<ParamField path="previous" type="string">
  Cursor to fetch the previous page. Pass this as `cursor` in your next
  request.
</ParamField>

## Example

```json theme={null}
{
  "data": [
    {
      "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "objectType": "campaign",
      "name": "Q1 Outbound",
      "status": "active",
      "isArchived": false,
      "createdAt": "2024-01-10T08:00:00Z",
      "updatedAt": "2024-01-15T10:30:00Z"
    }
  ],
  "hasMore": true,
  "next": "eyJpZCI6ImQyOTBmMWVlLTZjNTQtNGIwMS05MGU2LWQ3MDE3NDhmMDg1MSJ9"
}
```

## Used in

All list endpoints return this wrapper:

* [List campaigns](/api-reference/campaigns/list)
* [List prospects](/api-reference/prospects/list)
* [List companies](/api-reference/companies/list)
* [List persons](/api-reference/persons/list)
* [List email messages](/api-reference/email-messages/list)
* [List LinkedIn messages](/api-reference/linkedin-messages/list)
* [List calls](/api-reference/calls/list)
* [List reps](/api-reference/reps/list)
* [List communication opt-outs](/api-reference/dnc/list)
