---
title: "Get an invitation sent to the signed-in user."
method: GET
path: "/invitations/{invitationId}"
tags: ["invitations"]
---

# Get an invitation sent to the signed-in user.

`GET /invitations/{invitationId}`

## Request

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

The full invitation, including the invitee's and inviter's email
addresses and the role it grants. Only the invited recipient (the
signed-in user whose email matches, without regard to case) may
read it. An unknown id, an id that is not a UUID, an invitation
that is no longer pending, and an invitation sent to someone else
are all answered with the same `404`, so this never confirms that
an invitation exists to anyone but its recipient. Service accounts
are refused with a `403` (`service_account_forbidden`).

## Response `200`

The invitation.

- GetInvitationResponse: The response body for GET /invitations/{invitationId}. Exactly one of `organization_id` and `app_id` is non-null.
  - `id` string, uuid, required: The ID of the invitation.
  - `organization_id` integer, nullable, required: The organization the invitation is to, or null for an app invitation.
  - `app_id` string, nullable, required: The app the invitation is to, or null for an organization invitation.
  - `target_name` string, required: The organization's name or the app's display name.
  - `inviter_email` string, required: The email of the user who sent the invitation.
  - `email` string, required: The email address 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.
  - `expires_at` string, date-time, required: When the invitation stops being valid.

## Other responses

- `404`: No pending invitation with this id was sent to the signed-in user (`invitation_not_found`).
- `424`: The invitation could not be looked up (`invitation_lookup_error`).
- `default`: Standard error response. Emitted for any non-2xx status where a body can be decoded into an [ErrorResponse].

## Changes

- **2026-11-05** `941da8871d10`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/shorebird/apis/shorebird-codepush-api/changes/invitations/:invitationId/get.md)

---

[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)
