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

# Upload Student Image

`POST /demo-custom-course/upload-image`

Upload an image file to S3 and return a fake URL (for demo).
Uses base64 encoded content for compatibility with both web and mobile.

## Query parameters

- `session_id` string, required — Ephemeral session ID

## Request body

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

## Response `200`

Successful Response

- unknown

## 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.dev/excellence-ai/apis/excellence-learning/revisions/2a0c1636fd3b?raw)
