---
title: "GET /v2/teams/{teamId}"
method: GET
path: "/v2/teams/{teamId}"
tags: ["teams"]
---

# GET /v2/teams/{teamId}

`GET /v2/teams/{teamId}`

## Request

- Base URL: `https://api.thecompaniesapi.com`
- URL: `https://api.thecompaniesapi.com/v2/teams/{teamId}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/thecompaniesapi/apis/the-companies-api/docs/v2/teams/:teamId/get.ts> (a function with typed inputs; its response is checked against the schema)

Get team information.

## Path parameters

- `teamId` number, required

## Response `200`

Get team information.

- Team: A collection of users that can access the same resources.
  - `admin` boolean, nullable, required
  - `country` string, nullable, required
  - `createdAt` string, nullable, required
  - `credits` number, required
  - `creditsPack` number, required
  - `id` number, required
  - `name` string, nullable, required
  - `role` string, nullable
  - `stripeCustomerId` string, nullable, required
  - `stripeProductId` string, nullable, required
  - `stripeSubscribed` boolean, required
  - `stripeSubscriptionId` string, nullable, required
  - `stripeSubscriptionStatus` string, nullable, required
  - `websiteUrl` string, nullable, required

## Other responses

- `401`: The error message
- `403`: The error message
- `404`: The error message

---

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