---
title: "Get Teams"
method: GET
path: "/api/organizations/{organizationId}/teams"
tags: ["Teams"]
---

# Get Teams

`GET /api/organizations/{organizationId}/teams`

## Request

- Base URL: `https://app.onyxmetric.com`
- URL: `https://app.onyxmetric.com/api/organizations/{organizationId}/teams`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `api_key`
  - API key in cookie `better-auth.session_token`

Returns the teams in an organization, with their members and accessible sites.

## Path parameters

- `organizationId` string, required

## Response `200`

Successful response. Refer to the linked endpoint documentation for the response fields.

- unknown

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: Insufficient permission
- `404`: Resource not found
- `429`: Rate limit exceeded
- `500`: Unexpected server error

---

[API](https://skmtc.dev/onyxmetric/apis/onyxmetric-api.md) · [All operations](https://skmtc.dev/onyxmetric/apis/onyxmetric-api/llms.txt) · [OpenAPI document](https://skmtc.dev/onyxmetric/apis/onyxmetric-api/revisions/c99014014805?raw)
