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

# List teams with pagination

`GET /api/v1/teams`

## Query parameters

- `ids` string[], nullable
- `page` number
- `limit` number
- `userId` string
- `searchString` string
- `search` string
- `createdAfter` string, date-time
- `createdBefore` string, date-time
- `order` object
  - `createdAt` 'ASC' | 'DESC'
  - `name` 'ASC' | 'DESC'

## Response `201`

- TeamsGetTeamsPaginatedResponseDTO
  - `data` object[], required
    - `createdAt` string, date-time, required — The date and time the team was created
    - `id` string, required — The unique identifier of the team
    - `name` string, required — The name of the team
    - `organizationId` string, required — The unique identifier of the organization this team belongs to
    - `users` object[], nullable — The users that belong to this team
      - `createdAt` string, date-time, required — The date when the user was created
      - `email` string, nullable — The email address of the user
      - `enabled` boolean, required — Whether the user account is enabled
      - `firstName` string, nullable — The first name of the user
      - `id` string, required — The unique identifier of the user
      - `lastLoginDate` string, date-time, nullable — The date when the user last logged in. Omitted from the response when the user has never logged in.
      - `lastName` string, nullable — The last name of the user
      - `pictureUrl` string, nullable — The profile picture URL of the user
      - `roles` string[], nullable — The roles of the user in the organization
      - `teams` object[] — The teams the user belongs to
        - `id` string, required — The unique identifier of the team
        - `name` string, required — The name of the team
  - `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)
