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

# Pagination and list parameters

> The exact list and time-range parameters used by current Messaging and Platform API operations.

Polymorfa does not impose one cursor contract on every list route. Parameters
are operation-specific and appear in the generated OpenAPI page for that path.

## Messaging API lists

The Messaging API contract returns typed arrays for session, webhook, contact,
group, channel, label, presence, and similar list operations. The current public
OpenAPI document does not declare a global `cursor` query parameter. When a
route exposes `limit` or `offset`, use only the bounds shown on that operation.

The shared `Pagination` type is:

```typescript theme={null}
interface Pagination {
  limit: number
  offset: number
}
```

Do not assume an SDK iterator is lazy or cursor-backed unless that SDK method
documents it.

## Platform API lists

The current Platform API reference declares these query controls:

* `GET /v1/sessions` accepts an optional `projectId`.
* `GET /v1/campaigns` requires `projectId` and `projectSlug`.
* Message-template list, get, and delete operations require `projectId`.

Any additional filtering is part of the operation schema. Reusing a parameter
from a different endpoint is not supported.

## Large exports

For continuous datasets, consume webhooks instead of repeatedly polling a list
route.
