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

# Upload Audio

`POST /courses/{topic_name}/audio`

Use shared audio_service to transcribe, then store in conversation_history.
Uses base64 encoded content for compatibility with both web and mobile.

## Path parameters

- `topic_name` string, required

## Request body

- AudioUploadRequest
  - `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)
