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

# Accept Student Invitation

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

## Path parameters

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

## Request body

- StudentInvitationAcceptRequest
  - `password` string, nullable

## Response `200`

Successful Response

- StudentInvitationAcceptResponse
  - `success` boolean
  - `account_created` boolean, required
  - `access_token` string, required
  - `refresh_token` string, required
  - `user` object, required

## Other responses

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

## Changes

- **2026-09-05** `6608cf59dfaf` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/student-invitations/:token/accept/post.md)

---

[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.dev/excellence-ai/apis/excellence-learning/revisions/2a0c1636fd3b?raw)
