---
title: "Validate"
method: POST
path: "/clinician-share/validate"
tags: ["clinician-share"]
---

# Validate

`POST /clinician-share/validate`

## 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/clinician-share/validate`
- Auth: none declared

Validate a share code without exposing child PII.

Public endpoint - does not require authentication.
Returns only valid/invalid status. Child details are shown
after clinic login via the claim flow.

## Request body

- ValidateRequest
  - `code` string, required

## Response `200`

Successful Response

- SrcApiClinicianShareRoutesValidateResponse
  - `valid` boolean, required
  - `child_name` string, nullable
  - `child_age` string, nullable
  - `parent_name` string, nullable
  - `family_name` 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)
