List an Organization's Members

GET /api/0/organizations/{organization_id_or_slug}/members/

List all organization members.

Response includes pending invites that are approved by organization admins but waiting to be accepted by the invitee.

Path Parameters

organization_id_or_slug (string)
REQUIRED

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

Scopes

<auth_token> requires one of the following scopes:
  • member:admin
  • member:read
  • member:write
curl https://sentry.io/api/0/organizations/{organization_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
      },
      "authenticators": [],
      "canReset2fa": true
    },
    "role": "member",
    "orgRole": "member",
    "roleName": "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"
  },
  {
    "id": "57377908165",
    "email": "rockhopper@antarcticarocks.com",
    "name": "Rockhopper",
    "role": "member",
    "orgRole": "member",
    "roleName": "Member",
    "pending": true,
    "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-07T21:13:01.120263Z",
    "inviteStatus": "pending",
    "inviterName": "maininviter@antarcticarocks.com"
  }
]