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

# Accept Invitation

`POST /teacher-invitations/{token}/accept`

## Path parameters

- `token` string, required — The invitation token from the email link

## Request body

- InvitationAcceptRequest
  - `password` string, required
  - `first_name` string, nullable
  - `last_name` string, nullable

## Response `200`

Successful Response

- InvitationAcceptResponse
  - `success` boolean, required
  - `user_id` string, required
  - `email` string, required

## Other responses

- `404` — Resource not found
- `409` — Business rule violated
- `422` — Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/c407f3b5a05b/schema)
