---
title: "List pending invites with pagination"
method: GET
path: "/api/v1/pending-invites"
tags: ["crm"]
---

# List pending invites with pagination

`GET /api/v1/pending-invites`

## Query parameters

- `page` number
- `limit` number
- `order` object
  - `createdAt` 'ASC' | 'DESC'
  - `email` 'ASC' | 'DESC'
  - `roles` 'ASC' | 'DESC'
- `searchString` string
- `search` string
- `teamId` string, uuid
- `manageable` 'true'
- `createdAfter` string, date-time
- `createdBefore` string, date-time

## Response `201`

- PendingInvitesLoadResponseDTO
  - `data` object[], required
    - `createdAt` string, date-time, required — Date when the invite was created
    - `email` string, required — Email address of the invited user
    - `id` string, required — Unique identifier of the invite
    - `roles` string[], nullable — Roles assigned to the invited user
    - `status` 'pending' | 'expired', required — Current status of the invite
    - `teams` object[] — List of teams associated with the invite
      - `createdAt` string, date-time, required
      - `id` string, required
      - `name` string, required
  - `meta` object, required
    - `hasNext` boolean, required
    - `limit` number, required
    - `page` number, required
    - `total` number, required

---

[API](https://skmtc.net/wejam/apis/jam.md) · [All operations](https://skmtc.net/wejam/apis/jam/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wejam/jam/revisions/bd5a5f406bca/schema)
