---
title: "List teams"
method: GET
path: "/api/teams"
tags: ["Teams"]
---

# List teams

`GET /api/teams`

List teams matching the given parameters, paginated, and ordered.

## Query parameters

- `cursor` string
- `limit` integer
- `order_by` 'created_datetime:asc' | 'created_datetime:desc' | 'name:asc' | 'name:desc'

## Response `200`

List of teams according to the given criteria.

- Team[]
  - `id` integer — ID of the team.
  - `uri` string — URI of the object (auto-generated)
  - `name` string — Name of the team.
  - `description` string, nullable — Longer description of the team.
  - `decoration` object, nullable — Object describing how the team appears on the webpage. Currently only supports `emoji` field that shows before the team's name.
  - `members` object[] — The list of users within the team.
    - `id` integer — ID of the object
    - `name` string, nullable — The full name of the user
    - `email` string, email, nullable — The email address of the user
    - `meta` unknown
  - `created_datetime` string, date-time, nullable — When the team was created.

---

[API](https://skmtc.net/gorgias/apis/gorgias-rest-api.md) · [All operations](https://skmtc.net/gorgias/apis/gorgias-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gorgias/gorgias-rest-api/versions/36f2e31f4e81/schema)
