---
title: "Fetch all teams"
method: GET
path: "/teams/get-all-teams"
tags: ["Teams"]
---

# Fetch all teams

`GET /teams/get-all-teams`

## Request

- Base URL: `https://api.spike.sh`
- URL: `https://api.spike.sh/teams/get-all-teams`
- Auth: none declared. Required headers: `x-api-key`
- TypeScript: <https://skmtc.dev/spike/apis/spike-sh-api/docs/teams/get-all-teams/get.ts> (a function with typed inputs; its response is checked against the schema)

Get details of all teams in your organization

## Headers

- `x-api-key` string, required

## Response `200`

List of all teams

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/spike/apis/spike-sh-api.md) - [All operations](https://skmtc.dev/spike/apis/spike-sh-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spike/apis/spike-sh-api/revisions/6854629119aa?raw)
