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

# Accept Invitation

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

## Request

- Base URL: `https://api.4chems.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.4chems.com/v1/invitations/{token}/accept`
- Auth: HTTP bearer

Accept a pending invitation and grant the invitee's first role assignment.
Call this when an invitee has a valid invite link and wants to join the
tenant; single-use, consuming the token marks it accepted.

The caller must be authenticated (CUSTOMER role) so their KC subject is
recorded in the new role_assignment.  No scope pre-condition is required.

## Path parameters

- `token` string, required

## Response `200`

Successful Response

- InvitationOut
  - `id` string, uuid, required
  - `tenant_id` string, required
  - `email` string, required
  - `level` string, required
  - `billing_contact` boolean
  - `status` string, required
  - `expires_at` string, date-time, required
  - `invited_by` string, required
  - `created_at` string, date-time, required
  - `accepted_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/4chems/apis/platform-api.md) · [All operations](https://skmtc.dev/4chems/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/4chems/apis/platform-api/revisions/65e4f7b4dba0?raw)
