---
title: "Answer a pending question"
method: POST
path: "/api/projects/{projectId}/sessions/{sessionId}/threads/{threadId}/answer/{questionId}"
tags: ["Chat"]
---

# Answer a pending question

`POST /api/projects/{projectId}/sessions/{sessionId}/threads/{threadId}/answer/{questionId}`

Answer a pending question. Accepts a JSON request body when defined and returns the resulting resource or action status.

## Path parameters

- `projectId` string, required
- `sessionId` string, required
- `threadId` string, required
- `questionId` string, required

## Request body

- AnswerQuestionRequest — answer Question Request payload accepted by the API.
  - `answers` object — Collection of answer values.

## Response `200`

Answer accepted

- MessageResponse — Generic action result message used by endpoints that do not return a dedicated resource.
  - `message` string — Human-readable status or error message.
  - `status` string — Current status value.
  - `success` boolean — Whether the requested action succeeded.

---

[API](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api.md) · [All operations](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ibuildthecloud/discobot-server-api/revisions/4de3fcd6be56/schema)
