---
title: "Upload Course Image"
method: POST
path: "/custom-course/image"
tags: ["Custom Course"]
---

# Upload Course Image

`POST /custom-course/image`

Upload an image for a custom course.
Returns a JSON response with the image URL.
Uses base64 encoded content for compatibility with both web and mobile.

## Request body

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

## Response `200`

Successful Response

- ImageUploadResponse
  - `status` string, required
  - `message` string, required
  - `url` string, required

## 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/ef67479ed898/schema)
