---
title: "Reply to form"
method: POST
path: "/api/session/{sessionID}/form/{formID}/reply"
tags: ["session"]
---

# Reply to form

`POST /api/session/{sessionID}/form/{formID}/reply`

## Request

- Base URL: `https://opencode.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://opencode.ai/api/session/{sessionID}/form/{formID}/reply`
- Auth: none required

Submit an answer to a pending form.

## Path parameters

- `sessionID` string, required
- `formID` string, required

## Request body

- FormReply
  - `answer` FormAnswer, required

## Response `204`

<No Content>

## Other responses

- `400`: FormInvalidAnswerError | InvalidRequestError
- `401`: UnauthorizedError
- `404`: SessionNotFoundError | FormNotFoundError | LocationNotFoundError
- `409`: FormAlreadySettledError

---

[API](https://skmtc.dev/kaaass/apis/opencode.md) - [All operations](https://skmtc.dev/kaaass/apis/opencode/llms.txt) - [OpenAPI document](https://skmtc.dev/kaaass/apis/opencode/revisions/4e083d954707?raw)
