---
title: "Accept"
method: POST
path: "/api/v1/invitations/{token}/accept"
tags: ["invitations"]
---

# Accept

`POST /api/v1/invitations/{token}/accept`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/api/v1/invitations/{token}/accept`
- Auth: none declared

Accept an invitation as the signed-in user.

The signed-in email must match the invited address (case-insensitive).
Creates the organization (with its trial subscription, if any) for
new-org invitations.

## Path parameters

- `token` string, required

## Response `200`

Successful Response

- InvitationAcceptResponse
  - `organization_id` string, nullable, required
  - `organization_slug` string, nullable, required
  - `created` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
