---
title: "Email a chat conversation"
method: POST
path: "/chat/export/email"
tags: ["ChatExport"]
---

# Email a chat conversation

`POST /chat/export/email`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/chat/export/email`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/chat/export/email/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- SendChatEmailRequest: Request body for emailing a chat conversation
  - `recipientEmail` string: Email address to send the conversation to
  - `agentName` string: Name of the AI agent (e.g., "TriageAI", "P.A.W.S.")
  - `agentDescription` string: Description of the agent
  - `agentColor` string: Color for the agent's messages (hex code)
  - `messages` ChatExportMessage[]: The conversation messages to include
    - `id` string
    - `content` string
    - `role` string
    - `timestamp` string, date-time

## Response `200`

OK

- ChatExportEmailResult: Result of a chat export email operation
  - `success` boolean
  - `message` string
  - `recipientEmail` string, nullable

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
