Upload Sound
POST/soundboard/sounds/upload
Upload a new sound to the soundboard. Features: - Automatic metadata extraction - Cloud storage with CDN - Waveform thumbnail generation - Auto-tagging (coming soon)
Authentication
Authorization: Bearer vm_sk_… with the media.write permission (or all.write). See Authentication.
Request body
multipart/form-data
| Field | Type | Description |
|---|---|---|
category | SoundCategoryone of reactions, effects, music, voice, ambient, memes, custom | Sound categories. |
color | string | |
description | string | |
favorite | boolean | |
file* | file | |
hotkey | string | |
loop | boolean | |
name* | string | |
tags | string | |
visibility | SoundVisibilityone of private, public, shared | Sound visibility levels. |
volume | integer |
Response
200 application/json
| Field | Type | Description |
|---|---|---|
signed_url | string | Temporary signed URL for audio |
sound* | Sound | Complete sound model. |
{
"signed_url": "string",
"sound": {
"audio_url": "string",
"created_at": "2026-12-05T10:00:00Z",
"id": "string",
"metadata": {
"bitrate": 0,
"channels": 0,
"duration": 0,
"file_size": 0,
"format": "string",
"sample_rate": 0
},
"name": "string",
"updated_at": "2026-12-05T10:00:00Z",
"user_id": "string"
}
}Errors
401 | Missing, wrong, revoked or expired key. |
403 | The key lacks media.write, the route is not available to keys, or the key's IP allow-list refuses this client. |
402 | Not enough credits, or the key reached its spending cap. |
422 | The request failed validation; `detail` lists the fields. |
429 | Over a rate limit; retry after `Retry-After` seconds. |
All statuses: Errors.
Example
curl -X POST "https://api.voicemint.io/api/v1/soundboard/sounds/upload" \
-H "Authorization: Bearer $VOICEMINT_API_KEY" \
-F "category=..." \
-F "color=..." \
-F "description=..." \
-F "favorite=..." \
-F "file=@./file" \
-F "hotkey=..." \
-F "loop=..." \
-F "name=..." \
-F "tags=..." \
-F "visibility=..." \
-F "volume=..."