---
title: "Upload Image"
method: POST
path: "/courses/{topic_name}/images"
tags: ["Courses"]
---

# Upload Image

`POST /courses/{topic_name}/images`

Example: store "Image uploaded: <filename>" in conversation_history.
Uses base64 encoded content for compatibility with both web and mobile.

## Path parameters

- `topic_name` string, required

## Request body

- RoutersCoursesRoutesImageUploadRequest
  - `file_content` string, required
  - `file_name` string, required
  - `content_type` string, required

## Response `200`

Successful Response

- RoutersCoursesRoutesBasicResponse
  - `status` string, required
  - `message` string, required
  - `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/c407f3b5a05b/schema)
