---
title: "Get Team by ID"
method: GET
path: "/teams/{team_id}"
tags: ["Teams"]
---

# Get Team by ID

`GET /teams/{team_id}`

## Request

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

Returns a team if a valid ID is provided.

## Path parameters

- `team_id` integer, required

## Response `200`

Success

- Team
  - `id` integer
  - `name` string
  - `description` string
  - `owner` UserSimplified
    - `id` integer
    - `full_name` string
    - `email` string
    - `email_verified_at` string, date-time
  - `org` OrgSimplified
    - `id` integer
    - `name` string
    - `email_domain` string
    - `email` string
    - `client_identifier` string
    - `org_webhook_host` string
  - `member` boolean
  - `members` TeamMemberResponseSchema[]
    - `id` integer: Unique ID of the user.
    - `email` string, email: Email ID of the user.
    - `admin` boolean: Reflects whether the user is an administrator of this team or not.
  - `access_roles` string[]: This property reflects all the permissions the user/team/organization has to this resource. 1. `collaborator`: The user/team/organization can view the resource but not make any modifications to it. 2. `operator`: The user/team/organization can view the resource and can activate/pause it, but not make any other modifications to it. 3. `administrator`: The user/team/organization has complete administrative rights to this resource. 4. `owner`: This user created the resource and so has complete administrative rights to it.
  - `updated_at` string, date-time
  - `created_at` string, date-time
  - `tags` string[]

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

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