---
title: "Accept Invite"
method: POST
path: "/v1/auth/accept-invite"
tags: ["auth"]
---

# Accept Invite

`POST /v1/auth/accept-invite`

Server-to-server: consume an invitation for an authenticated user.

Called by /api/invite/consume on the web side after OAuth returns.
Validates the token, the bound email, and not-expired/not-revoked.
Creates the user (or moves an existing pending user into the
inviting org as active).

Internal-secret gated because the web layer is trusted to have just
completed OAuth — token alone wouldn't be enough proof of identity.

## Request body

- AcceptInviteRequest
  - `token` string, required
  - `email` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/roxels/apis/interviewer.md) · [All operations](https://skmtc.dev/roxels/apis/interviewer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/roxels/interviewer/revisions/4ef48ed226e1/schema)
