---
title: "Send Chat Message"
method: POST
path: "/my-courses/chat"
tags: ["My Courses"]
---

# Send Chat Message

`POST /my-courses/chat`

Appends the user's message to the conversation_history
for the given course doc, so we can stream later.

## Request body

- RoutersMyCoursesChatRequest
  - `course_id` string, required
  - `message` string, required
  - `type` 'text' | 'image_url' | 'image_description' | 'graph'

## Response `200`

Successful Response

- RoutersMyCoursesBasicResponse
  - `status` string, required
  - `message` string, required
  - `data` object, nullable
  - `transcript` string, nullable
  - `url` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/8d495ed916c6/schema)
