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

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

`POST /invitations/{invitationId}/accept`

## Request

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

Adds the signed-in user to the organization or app with the
invitation's role. Accepting an invitation to something the user
already belongs to also succeeds.

## Response `204`

The invitation was accepted.

## Other responses

- `403`: The invitation was sent to a different email address.
- `404`: No such invitation.
- `410`: The invitation was already accepted, declined, revoked, or has expired.
- `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/accept/post.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)
