List a Project's Teams
GET /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/teams/
Return a list of teams that have access to this project.
Path Parameters
organization_id_or_slug
(string)REQUIREDThe ID or slug of the organization the resource belongs to.
project_id_or_slug
(string)REQUIREDThe ID or slug of the project the resource belongs to.
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires one of the following scopes:project:admin
project:read
project:write
curl https://sentry.io/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/teams/ \ -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
[
{
"id": "4502349234123",
"slug": "ancient-gabelers",
"name": "Ancient Gabelers",
"dateCreated": "2023-05-31T19:47:53.621181Z",
"isMember": true,
"teamRole": "contributor",
"flags": {
"idp:provisioned": false
},
"access": [
"alerts:read",
"event:write",
"project:read",
"team:read",
"member:read",
"project:releases",
"event:read",
"org:read"
],
"hasAccess": true,
"isPending": false,
"memberCount": 3,
"avatar": {
"avatarType": "letter_avatar",
"avatarUuid": null
}
},
{
"id": "4502349234125",
"slug": "squeaky-minnows",
"name": "Squeaky Minnows",
"dateCreated": "2023-07-27T11:23:34.621181Z",
"isMember": true,
"teamRole": "contributor",
"flags": {
"idp:provisioned": false
},
"access": [
"alerts:read",
"event:write",
"project:read",
"team:read",
"member:read",
"project:releases",
"event:read",
"org:read"
],
"hasAccess": true,
"isPending": false,
"memberCount": 5,
"avatar": {
"avatarType": "letter_avatar",
"avatarUuid": null
}
}
]