---
title: "Submit Answer"
method: POST
path: "/forms/{session_id}/answer"
tags: ["Form Widget"]
---

# Submit Answer

`POST /forms/{session_id}/answer`

## Request

- Base URL: `https://api.openintake.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openintake.ai/forms/{session_id}/answer`
- Auth: none declared

Submit an answer and get the next question or completion.

## Path parameters

- `session_id` string, uuid, required

## Request body

- SubmitAnswerRequest
  - `answer_text` string, required

## Response `200`

Successful Response

- SubmitAnswerResponse
  - `answered_response` FormResponseData
    - `id` string, uuid, required
    - `sequence_number` integer, required
    - `question_text` string, required
    - `answer_format` string, required
    - `options` string[], nullable
    - `answer_text` string, nullable
    - `created_at` string, date-time, required
  - `next_question` FormQuestionData
    - `question_text` string, required
    - `answer_format` string, required
    - `options` string[], nullable
  - `form_complete` boolean
  - `completion_message` string, nullable
  - `validation_error` string, nullable
  - `language_code` string

## Other responses

- `422`: Validation Error

---

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