---
title: "Read Mcp App Resource"
method: POST
path: "/api/chats/{chat_id}/mcp-apps/resource"
tags: ["chats"]
---

# Read Mcp App Resource

`POST /api/chats/{chat_id}/mcp-apps/resource`

## 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}/mcp-apps/resource`
- Auth: none declared

Read a widget's HTML through the same path as calling its tool.

## Path parameters

- `chat_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- McpAppRef
  - `message_id` string, uuid, required
  - `artifact_index` integer, required

## Response `200`

Successful Response

- McpAppWidget
  - `html` string, required
  - `csp` string, required
  - `prefers_border` boolean, required

## 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/5387b4ded614?raw)
