---
title: "POST One-off Question"
method: POST
path: "/v2/single_question"
---

# POST One-off Question

`POST /v2/single_question`

Answer a single question.

## Headers

- `X-API-KEY` string

## Request body

- object
  - `question` string, required — Question text
  - `product_line_ids` string — (Optional) Comma separated Product Line UUIDs. These are the applicable product lines for the question. You can also leave this blank if applicable to all product lines.
  - `question_type` '"free_response"' | '"select_one"' | '"select_multiple"' — (Optional) Can be "free_response", "select_one", "select_multiple"
  - `multiple_choice_options` string[] — (Optional) Multiple choice options for the answer. This must be provided if question_type is "select_one" or "select_multiple".
  - `confidence_threshold` 'high' | 'medium' | 'low' — (Optional) If provided, only return an answer and answer_confidence if its confidence level is equal or higher than threshold. By default always returns the answer and the answer_confidence level. Valid options: high, medium, low.
  - `email` string — (Optional) Email address for analytics. If not provided, we default to the email address associated with the person who first created the Conveyor API Key.

## Response `201`

201

- union
  - object
    - `id` string
    - `question` string
    - `answer` string
    - `structured_answer` string
    - `structured_answers` object[]
    - `answer_confidence` string
  - object
    - `id` string
    - `question` string
    - `answer` string
    - `structured_answer` string
    - `structured_answers` object[]
    - `answer_confidence` string
  - object
    - `id` string
    - `question` string
    - `answer` string
    - `structured_answer` string
    - `structured_answers` string[]
    - `answer_confidence` string

## Other responses

- `400` — 400
- `403` — 403
- `500` — 500

---

[API](https://skmtc.net/conveyor/apis/portal-api.md) · [All operations](https://skmtc.net/conveyor/apis/portal-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conveyor/portal-api/versions/adc0da85b126/schema)
