Skip to main content
POST
Mint a presigned upload URL

Authorizations

Authorization
string
header
required

API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.

Body

application/json
slug
string
required

Stable identifier; unique across all assets.

Pattern: ^[a-z0-9][a-z0-9_-]{1,63}$
label
string
required

Display name for the asset.

Required string length: 1 - 80
mime_type
enum<string>
required

Must be audio/wav — only WAV is accepted in v1.

Available options:
audio/wav
size_bytes
integer
required

Size in bytes. Max 5 MB.

Required range: 1 <= x <= 5242880

Response

Upload URL minted.

success
boolean
data
object