Retrieve a Team

GET /api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/

Return details on an individual team.

Path Parameters

organization_id_or_slug (string)
REQUIRED

The ID or slug of the organization the resource belongs to.

team_id_or_slug (string)
REQUIRED

The ID or slug of the team the resource belongs to.

Query Parameters:

expand (string)

List of strings to opt in to additional data. Supports projects, externalTeams.

collapse (string)

List of strings to opt out of certain pieces of data. Supports organization.

Scopes

<auth_token> requires one of the following scopes:
  • team:admin
  • team:read
  • team:write
curl https://sentry.io/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
{
  "avatar": {
    "avatarType": "letter_avatar",
    "avatarUuid": null
  },
  "dateCreated": "2018-11-06T21:19:55.114Z",
  "hasAccess": true,
  "id": "2",
  "isMember": true,
  "isPending": false,
  "memberCount": 1,
  "name": "Powerful Abolitionist",
  "organization": {
    "avatar": {
      "avatarType": "letter_avatar",
      "avatarUuid": null
    },
    "dateCreated": "2018-11-06T21:19:55.101Z",
    "id": "2",
    "isEarlyAdopter": false,
    "name": "The Interstellar Jurisdiction",
    "require2FA": false,
    "slug": "the-interstellar-jurisdiction",
    "status": {
      "id": "active",
      "name": "active"
    },
    "features": [
      "session-replay-videos"
    ],
    "hasAuthProvider": true,
    "links": {
      "organizationUrl": "https://philosophers.sentry.io",
      "regionUrl": "https://us.sentry.io"
    }
  },
  "slug": "powerful-abolitionist",
  "access": [
    "event:read",
    "event:write",
    "team:read",
    "org:read",
    "project:read",
    "member:read",
    "project:releases",
    "alerts:read"
  ],
  "flags": {
    "idp:provisioned": false
  },
  "teamRole": "contributor"
}