Skip to content
VoiceMint Developers

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

FieldTypeDescription
categorySoundCategory
one of reactions, effects, music, voice, ambient, memes, custom
Sound categories.
colorstring
descriptionstring
favoriteboolean
file*file
hotkeystring
loopboolean
name*string
tagsstring
visibilitySoundVisibility
one of private, public, shared
Sound visibility levels.
volumeinteger

Response

200 application/json

FieldTypeDescription
signed_urlstringTemporary signed URL for audio
sound*SoundComplete 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

401Missing, wrong, revoked or expired key.
403The key lacks media.write, the route is not available to keys, or the key's IP allow-list refuses this client.
402Not enough credits, or the key reached its spending cap.
422The request failed validation; `detail` lists the fields.
429Over 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=..."