---
title: "Get an enterprise team"
method: GET
path: "/enterprises/{enterprise}/teams/{team_slug}"
tags: ["enterprise-teams"]
---

# Get an enterprise team

`GET /enterprises/{enterprise}/teams/{team_slug}`

Gets a team using the team's slug. To create the slug, GitHub replaces special characters in the name string, changes all words to lowercase, and replaces spaces with a `-` separator and adds the "ent:" prefix. For example, "My TEam Näme" would become `ent:my-team-name`.

## Path parameters

- `enterprise` string, required
- `team_slug` string, required

## Response `200`

Response

- EnterpriseTeam — Group of enterprise owners and/or members
  - `id` integer, required
  - `name` string, required
  - `description` string
  - `slug` string, required
  - `url` string, uri, required
  - `sync_to_organizations` string — Retired: this field will not be returned with GHEC enterprise teams.
  - `organization_selection_type` string
  - `group_id` string, nullable, required
  - `group_name` string, nullable — Retired: this field will not be returned with GHEC enterprise teams.
  - `html_url` string, uri, required
  - `members_url` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `notification_setting` 'notifications_enabled' | 'notifications_disabled' — Whether team members will receive notifications when the team is mentioned.

## Other responses

- `403` — Forbidden

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/versions/dc0584ac4e13/schema)
