---
title: "Get the current team"
method: GET
path: "/teams"
tags: ["Teams"]
---

# Get the current team

`GET /teams`

## Request

- Base URL: `https://api.multi-upload-tool.com/api/v1`
- URL: `https://api.multi-upload-tool.com/api/v1/teams`
- Auth: API key in header `x-api-key`

Returns the team the token is scoped to, or the caller's own team.

## Headers

- `X-Team-ID` integer

## Response `200`

The team and the caller's role in it.

- object
  - `success` unknown
  - `data` Team
    - `id` integer
    - `name` string
    - `role` 'OWNER' | 'ADMIN' | 'MEMBER'

## Other responses

- `401`: The API key is missing, invalid, revoked or expired.
- `429`: Too many requests for this endpoint group.

---

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