---
title: "Upload Audio"
method: POST
path: "/custom-course/{course_id}/audio"
tags: ["Custom Course"]
---

# Upload Audio

`POST /custom-course/{course_id}/audio`

Upload and transcribe audio for a custom course.
Uses base64 encoded content for compatibility with both web and mobile.

## Path parameters

- `course_id` string, required

## Request body

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

## Response `200`

Successful Response

- AudioUploadResponse
  - `status` string, required
  - `message` string, required
  - `transcript` 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/8d495ed916c6/schema)
