---
title: "Validate Form"
method: POST
path: "/forms/validate"
tags: ["forms"]
---

# Validate Form

`POST /forms/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/forms/validate`
- Auth: none declared

Validate a form share code and return the form schema.

Public endpoint - does not require authentication.
Returns the form schema for rendering, plus the child's first name only.

## Request body

- ValidateRequest
  - `code` string, required

## Response `200`

Successful Response

- SrcApiFormsRoutesValidateResponse
  - `valid` boolean, required
  - `title` string, nullable
  - `description` string, nullable
  - `child_first_name` string, nullable
  - `schema` object, 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)
