---
title: "List users in an organization."
method: GET
path: "/organizations/{organizationId}/users"
tags: ["organizations"]
---

# List users in an organization.

`GET /organizations/{organizationId}/users`

## Request

- Base URL: `https://api.shorebird.dev/api/v1`
- URL: `https://api.shorebird.dev/api/v1/organizations/{organizationId}/users`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Query parameters

- `per_page` integer
- `cursor` string
- `page` integer

## Response `200`

The users belonging to the organization.

- GetOrganizationUsersResponse: The response body for GET /organizations/{organizationId}/users.
  - `users` OrganizationUser[], required: The list of users that belong to the organization, as well as their roles in the organization.
    - `user` PublicUser, required: A Shorebird user with non-sensitive information only.
      - `id` integer, required: The user's unique identifier.
      - `email` string, email, required: The user's email address.
      - `display_name` string: The user's name.
    - `role` 'owner' | 'admin' | 'appManager' | 'developer' | 'viewer' | 'auditor' | 'scim' | 'none', required: A role that a user can have relative to an Organization or App.
  - `next_cursor` string: The opaque cursor of the next page; send it back as `cursor` to get that page. Present only when the request was paginated (sent `per_page`, `cursor` or `page`) and another page follows. Absent on the last page and on unpaginated responses.
  - `total_count` integer: How many items the whole list holds. Present only when the request was paginated.

## Other responses

- `default`: Standard error response. Emitted for any non-2xx status where a body can be decoded into an [ErrorResponse].

---

[API](https://skmtc.dev/shorebird/apis/shorebird-codepush-api.md) - [All operations](https://skmtc.dev/shorebird/apis/shorebird-codepush-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shorebird/apis/shorebird-codepush-api/revisions/941da8871d10?raw)
