---
title: "Submit"
method: POST
path: "/api/c/{code}/submit"
tags: ["classes-public"]
---

# Submit

`POST /api/c/{code}/submit`

## Request

- Base URL: `https://api.scanforai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.scanforai.com/api/c/{code}/submit`
- Auth: none declared

## Path parameters

- `code` string, required

## Query parameters

- `lang` string

## Headers

- `X-UI-Lang` string

## Request body

- SubmitIn
  - `student_name` string, required
  - `result` object, required
  - `text` string, nullable
  - `consent` boolean, required: must be true; the client button states what is sent

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/scanforai/apis/scanforai-api.md) · [All operations](https://skmtc.dev/scanforai/apis/scanforai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scanforai/apis/scanforai-api/revisions/ab5d27f4ae13?raw)
