---
title: "Upload Audio"
method: POST
path: "/topics/audio"
tags: ["Topics"]
---

# Upload Audio

`POST /topics/audio`

Uses Whisper to transcribe audio from the user, removes punctuation,
and returns the cleaned transcript.
Uses base64 encoded content for compatibility with both web and mobile.

## Request body

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

## Response `200`

Successful Response

- RoutersTopicRoutesBasicResponse
  - `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/c407f3b5a05b/schema)
