Skip to main content
POST
Get an upload URL

Authorizations

Authorization
string
header
required

An API key from Settings → API in AMM Distro.

Path Parameters

releaseId
string
required

Your ID for the release.

Pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$
fileId
string
required

file.id from the release's artwork or track audio.

Query Parameters

accountId
string

Required when the key covers more than one account.

Body

application/json
contentType
enum<string>
required
Available options:
image/jpeg,
image/png,
audio/wav,
audio/flac
sizeBytes
integer
required

Exact file size. Up to 50 MB for artwork, 2 GB for audio.

Required range: x >= 1
Example:

52428800

filename
string
Example:

"night-drive.wav"

Response

Signed upload URL.

uploadUrl
string<uri>

PUT the file here within 6 hours.

method
string
Allowed value: "PUT"
headers
object

Send these headers with the PUT.

expiresIn
integer
Example:

21600