---
title: "Accept Invitation By Token"
method: POST
path: "/api/auth/accept-invitation"
tags: ["authentication"]
---

# Accept Invitation By Token

`POST /api/auth/accept-invitation`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/auth/accept-invitation`
- Auth: none declared

Accept invitation by registering a new account

## Request body

- AcceptInvitationRequest
  - `token` string, required
  - `name` string, required
  - `password` string, required

## Response `200`

Successful Response

- TokenResponse
  - `access_token` string, required
  - `token_type` string
  - `user` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
