---
title: "Interact"
method: POST
path: "/api/chats/{chat_id}/interact"
tags: ["chats"]
---

# Interact

`POST /api/chats/{chat_id}/interact`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/chats/{chat_id}/interact`
- Auth: none declared

Respond to an interaction prompt (choice button click) and stream the agent reply.

The ``interaction_id`` must reference a prompt on a message in this chat.
``option_value`` is the value of the chosen option.

Currently this behaves identically to ``stream_message`` using the option
value as the user message content.  When skill execution is added, this
endpoint will check the interaction's ``interaction_source`` and route to
the appropriate skill handler instead of re-entering the AI loop.

## Path parameters

- `chat_id` string, uuid, required

## Headers

- `X-Request-ID` string, nullable
- `x-impersonate-identity-id` string, nullable

## Request body

- InteractRequest
  - `interaction_id` string, nullable
  - `option_value` string, nullable
  - `answers` InteractAnswer[], nullable
    - `interaction_id` string, required
    - `option_value` union, required
      - string
      - string[]
  - `client_capabilities` string[]
  - `attachments` AttachmentInput[]
    - `name` string, required
    - `mime_type` string, required
    - `data` string, required
    - `retention` 'turn' | 'chat' | 'relationship', nullable
    - `capture_source` 'glance_auto' | 'embed_page' | 'app_page' | 'shared_tab' | 'shared_window' | 'shared_screen' | 'camera', nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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