---
title: "List the app's pending invitations."
method: GET
path: "/apps/{appId}/invitations"
tags: ["collaborators"]
---

# List the app's pending invitations.

`GET /apps/{appId}/invitations`

## Request

- Base URL: `https://api.shorebird.dev/api/v1`
- URL: `https://api.shorebird.dev/api/v1/apps/{appId}/invitations`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Invitations to collaborate on the app that are still pending, most
recently sent first. Accepted, declined, revoked and expired
invitations are left out. Requires the `invitations.view`
permission.

## Query parameters

- `per_page` integer
- `cursor` string

## Response `200`

One page of the app's pending invitations.

- GetInvitationsResponse: The response body for listing the pending invitations to an organization or an app.
  - `invitations` InvitationSummary[], required: The invitations on this page, most recently sent first.
    - `id` string, uuid, required: The ID of the invitation, which revoking it takes.
    - `email` string, required: The email the invitation was sent to.
    - `role` 'owner' | 'admin' | 'appManager' | 'developer' | 'viewer' | 'auditor' | 'scim' | 'none', required: A role that a user can have relative to an Organization or App.
    - `created_at` string, date-time, required: When the invitation was sent.
    - `expires_at` string, date-time, required: When the invitation stops being valid.
  - `next_cursor` string: The opaque cursor of the next page; send it back as `cursor` to get that page. Absent on the last page.

## Other responses

- `400`: The cursor could not be read.
- `403`: The caller lacks the `invitations.view` permission.
- `404`: The app does not exist (`app_not_found`).
- `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)
