---
title: "Answer a question"
method: POST
path: "/runs/{id}/questions/{questionId}/answer"
tags: ["Tasks"]
---

# Answer a question

`POST /runs/{id}/questions/{questionId}/answer`

## Request

- Base URL: `https://app.italic.com/api/v2`
- URL: `https://app.italic.com/api/v2/runs/{id}/questions/{questionId}/answer`
- Auth: HTTP bearer

Required permission: agent:chat. Answers a workflow run's question with one of `choice`, `text` or `dismiss`; the rest of its workflow then runs.

## Path parameters

- `id` string, required
- `questionId` string, required

## Request body

- Answer
  - `choice` integer: Index of one of the question's choices.
  - `text` string: A typed answer. A recipient question needs an email address in it.
  - `dismiss` boolean: true skips the question; the workflow ends there.

## Response `200`

Success. Writes without read permission return an ID and revision only.

- RunResult
  - `run` Run, required
    - `id` string, required
    - `source` 'chat' | 'recording', required: `recording`: a workflow run a recording started.
    - `recordingId` string
    - `status` 'running' | 'awaiting_approval' | 'completed' | 'failed' | 'cancelled', required
    - `reply` string: Italic's answer, in Markdown.
    - `error` string
    - `prompt` string: Chat runs: what was asked.
    - `workflows` object[]
      - `id` string, required
      - `name` string, required
    - `actions` RunAction[], required
      - `id` string, required
      - `tool` string, required: What the draft does: send_email, create_event, create_reminder, trash_email, send_webhook, create_notion_page, send_slack_message, save_to_drive, mcp_call and others.
      - `status` 'proposed' | 'approved' | 'executing' | 'succeeded' | 'failed' | 'rejected' | 'uncertain', required: `proposed`: waiting for approval. `approved`: an iPhone adds it (reminders). `uncertain`: it may or may not have happened.
      - `executor` 'cloud' | 'device', required
      - `args` object, required: The draft's fields, as the apps' card shows them.
      - `result` object
      - `link` string: Opens what a finished action made, such as the sent email.
      - `workflowId` string
    - `questions` Question[], required
      - `id` string, required
      - `prompt` string, required
      - `about` string
      - `kind` 'recipient' | 'account' | 'text', required
      - `choices` object[], required
        - `label` string, required
        - `detail` string
    - `createdAt` integer, required
    - `updatedAt` integer, required
  - `replayed` boolean

## Other responses

- `default`: Request failed. Errors include a stable code and a readable message.

---

[API](https://skmtc.dev/italic/apis/italic-api.md) - [All operations](https://skmtc.dev/italic/apis/italic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/italic/apis/italic-api/revisions/2fbe2cf16fe3?raw)
