---
title: "Claim Invite"
method: POST
path: "/parent-invite/claim"
tags: ["parent-invite"]
---

# Claim Invite

`POST /parent-invite/claim`

## Request

- Base URL: `https://api.projectindi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.projectindi.com/parent-invite/claim`
- Auth: none declared

Claim an invite code after authentication.

Called AFTER auth - links child to parent's user_id.
Atomically claims the invite and updates child profile.

## Request body

- ClaimInviteRequest
  - `code` string, required

## Response `200`

Successful Response

- ClaimInviteResponse
  - `child_id` string, required
  - `child_name` string, required
  - `clinician_user_id` string, nullable
  - `organisation_id` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles.md) - [All operations](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/llms.txt) - [OpenAPI document](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/revisions/25a7813e21fd?raw)
