---
title: "Accept an invitation"
method: POST
path: "/invitations/{id}/accept"
tags: ["Invitations"]
---

# Accept an invitation

`POST /invitations/{id}/accept`

## Request

- Base URL: `https://api.cavuno.com/v1`
- URL: `https://api.cavuno.com/v1/invitations/{id}/accept`
- Auth: HTTP bearer

Accepts an invitation by its token (passed as the path segment). Session-authenticated only. The accepting user joins the invitation’s account. The caller’s email must match the invitation.

## Path parameters

- `id` string, required: The invitation ID.

## Response `200`

The invitation was accepted.

## Other responses

- `403`: The email does not match the invitation.
- `404`: Invitation not found.
- `409`: The invitation is no longer pending.
- `410`: The invitation has expired.

## Changes

- **2026-10-19** `c34152c38176`: 4 info
  - added the optional property `error/upgrade` to the response with the `403` status
  - added the optional property `error/upgrade` to the response with the `404` status
  - added the optional property `error/upgrade` to the response with the `409` status
  - added the optional property `error/upgrade` to the response with the `410` status

[Operation history](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/changes/invitations/:id/accept/post.md)

---

[API](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api.md) · [All operations](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/revisions/d5974dabff14?raw)
