---
title: "Support Chat"
method: POST
path: "/api/support/chat"
---

# Support Chat

`POST /api/support/chat`

## Request

- Base URL: `https://api.mednode.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mednode.in/api/support/chat`
- Auth: HTTP bearer

Agentic customer-support chat.  The AI agent has read-only access to
the authenticated patient's account, appointments, insights, subscription,
and medication reminders via function-calling tools — no clinical records,
no other users' data.  Out-of-scope queries are redirected to human support.

## Request body

- SupportChatRequest
  - `message` string, required
  - `history` object[], nullable

## Response `200`

Successful Response

- SupportChatResponse
  - `reply` string, required
  - `escalate` boolean

## Other responses

- `422`: Validation Error

---

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