---
title: "Get a team"
method: GET
path: "/teams/{team_id}"
tags: ["Teams"]
---

# Get a team

`GET /teams/{team_id}`

## Request

- Base URL: `https://app.honeybadger.io/v3`
- URL: `https://app.honeybadger.io/v3/teams/{team_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/honeybadger/apis/honeybadger-api/docs/teams/:team_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a single team.

## Path parameters

- `team_id` string, required

## Response `200`

Success

- object
  - `data` Team, required: A group of account members. Members of a team can access the team's projects.
    - `id` string, required
    - `account_id` string, required: ID of the account this team belongs to
    - `name` string, required: Team name
    - `created_at` string, date-time, required: When the team was created
    - `member_count` integer, required: Number of members in the team
    - `project_ids` string[], required: IDs of projects assigned to this team
    - `links` WebLinks, required: Links into the Honeybadger web UI
      - `web` string, uri, required: The resource's page in the Honeybadger web UI, as an absolute URL. Resources without a page, such as outages and deploys, don't have `links`. For a project provisioned through Heroku, error, notice and comment links go through Heroku's single sign-on.
  - `meta` ResponseMeta
    - `request_id` string: Unique identifier for the request, for correlating with support

## Other responses

- `401`: The credential is missing, invalid, expired or revoked (`unauthorized`), or was sent in a way v3 doesn't accept (see the examples).
- `403`: The credential isn't allowed to do this. `error.code` says why. An account or project the credential doesn't cover is 404 `not_found`, not 403.
- `404`: Resource not found
- `422`: No path names the account, so the API token has to. This is returned when the token covers more than one account and the account a request applies to cannot be determined. Use a token bound to a single account.

---

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