---
title: "List an Organization's Members"
url: https://docs.sentry.io/api/organizations/list-an-organizations-members/
---

# List an Organization's Members | Sentry Docs

GET /api/0/organizations/{organization\_id\_or\_slug}/members/

List all organization members.

Response includes pending invites that are approved by organization owners or managers 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.

### Query Parameters:

* `query` *(string)*

  Limit results to members matching the given query. `id, `user.id`, ... are supported prefixes match on: `id`, `user.id`, `email`, `role`, `scope`, `isInvited`, `ssoLinked`, `has2fa`, `hasExternalUsers`. For example, `query=user.id:1234\`. An unrecognized field returns no results.

* `cursor` *(string)*

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

### Scopes

You need to [authenticate via bearer auth token.](https://docs.sentry.io/api/auth.md)

`<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

```
Copied
[
  {
    "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,
      "isSuspended": false,
      "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"
  },
  {
    "id": "57377908165",
    "email": "rockhopper@antarcticarocks.com",
    "name": "Rockhopper",
    "user": null,
    "orgRole": "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": "approved",
    "inviterName": "maininviter@antarcticarocks.com"
  }
]
```

---

Find other pages: [Sitemap](https://docs.sentry.io/sitemap.md) lists every page with a one-line summary, and [llms.txt](https://docs.sentry.io/llms.txt) gives an overview with guidance for agents.
