List a Team's Members

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

List all members on a team.

The response will not include members with pending invites.

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:

cursor (string)

A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.

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}/members/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
[
  {
    "id": "57377908164",
    "email": "sirpenguin@antarcticarocks.com",
    "name": "Sir Penguin",
    "user": {
      "id": "280094367316",
      "name": "Sir Penguin",
      "username": "sirpenguin@antarcticarocks.com",
      "email": "sirpenguin@antarcticarocks.com",
      "avatarUrl": "https://secure.gravatar.com/avatar/16aeb26c5fdba335c7078e9e9ddb5149?s=32&d=mm",
      "isActive": true,
      "hasPasswordAuth": true,
      "isManaged": false,
      "dateJoined": "2021-07-06T21:13:58.375239Z",
      "lastLogin": "2021-08-02T18:25:00.051182Z",
      "has2fa": false,
      "lastActive": "2021-08-02T21:32:18.836829Z",
      "isSuperuser": false,
      "isStaff": false,
      "experiments": {},
      "emails": [
        {
          "id": "2153450836",
          "email": "sirpenguin@antarcticarocks.com",
          "is_verified": true
        }
      ],
      "avatar": {
        "avatarType": "letter_avatar",
        "avatarUuid": null
      },
      "canReset2fa": true
    },
    "orgRole": "member",
    "pending": false,
    "expired": false,
    "flags": {
      "idp:provisioned": false,
      "idp:role-restricted": false,
      "sso:linked": false,
      "sso:invalid": false,
      "member-limit:restricted": false,
      "partnership:restricted": false
    },
    "dateCreated": "2021-07-06T21:13:01.120263Z",
    "inviteStatus": "approved",
    "inviterName": "maininviter@antarcticarocks.com",
    "teamRole": "member",
    "teamSlug": "powerful-abolitionist"
  }
]