---
title: "Get answer to a question"
method: GET
path: "/answers"
tags: ["Answers"]
---

# Get answer to a question

`GET /answers`

## Request

- Base URL: `https://api.carbonvoice.app`
- URL: `https://api.carbonvoice.app/answers`
- Auth: one of:
  - API key in header `pxtoken`
  - OAuth 2 (implicit, authorization URL `https://api.carbonvoice.app/oauth/authorize`)

## Query parameters

- `question` string, required
- `workspace_id` string, required
- `channel_ids` string[]

## Response `200`

- AnswerModel
  - `text` string, required: The answer text
  - `message_ids` string[], required: List of message IDs that were used to generate the answer
  - `channel_ids` string[], required: List of channel IDs that were searched
  - `workspace_id` string, required: The workspace ID that was searched

---

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