---
title: "Bot Answer Route"
method: POST
path: "/api/v1/bot/answer"
tags: ["bot"]
---

# Bot Answer Route

`POST /api/v1/bot/answer`

Channel-only Q&A. The data scope is decided by the CHANNEL the question was asked in
(which client that channel is connected to in Minro) — never by who is asking. No
channel context (a DM), or a channel that isn't connected, returns no data. The asker's
identity is not used for scoping (kept only for rate-limiting / telemetry).

## Query parameters

- `provider` string, required
- `platform_user_id` string, required
- `channel_id` string, nullable

## Request body

- BotAnswerRequest
  - `text` string, required
  - `trigger` string
  - `thread_id` string, nullable
  - `author_name` string, nullable
  - `reply_to` string, nullable
  - `reply_channel_id` string, nullable

## Response `200`

Successful Response

- EnvelopeBotAnswerResult
  - `data` BotAnswerResult, required
    - `answer` string, required
    - `connected` boolean
    - `should_reply` boolean
    - `queued` boolean
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
    - `total` integer, nullable
    - `truncated` boolean, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/minro/apis/minro-cs-platform.md) · [All operations](https://skmtc.dev/minro/apis/minro-cs-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/minro/minro-cs-platform/revisions/eb854265cf29/schema)
