# Form Submission API

import openapi from "@recit/form/form-submission.openapi.json";
import openapiUrl from "@recit/form/form-submission.openapi.json?url";

What an endpoint must do to receive a `:::form`. The document below is the OpenAPI 3.1 file that
`@recit/form` publishes (`@recit/form/form-submission.openapi.json`), generated from the same zod
schemas as the client and the reference server, and its examples are checked by the tests.

The prose version, with the TODO API checklist and the recipes, is in the docs:
[Form submission API](https://docs.recit.dev/documentation/reference/form-submission-api). Check your own
endpoint with `recit form check-endpoint <url> --form <id>`.

<OpenApiReference document={openapi} href={openapiUrl} />
