Upload files
Every cover, audio master, booklet and rights document is its own object with its own id. Upload it once, wait until it’s checked, then point a draft at it. The second half of this page is the specification for every file kind.
- An upload takes three calls: start it (you get an id and a signed URL), PUT the bytes to storage, then finish it. After that, wait for the file to reach
SUCCESS. - Signed upload URLs last 60 minutes and need no API key, so a browser can upload directly.
- Multipart upload exists only for Dolby Atmos masters and videos. A stereo master always goes up in a single PUT.
- A file that isn’t
SUCCESSblocks submit. AnINVALIDfile lists every reason infailureReasons. - You can’t edit a file. To change one, upload a new file, swap its id into the draft and delete the old one.
- Every format, size and rejection code is in File specifications further down, so you can check files in your own UI before uploading.
How it works
Files live apart from releases. You upload the bytes, ReleaseAPI inspects them, and the file ends up SUCCESS (usable) or INVALID (with the exact reasons). A draft holds only file ids: files.coverFileId on the release and files.masterFileId on each track.
Keeping files separate means you can upload them in parallel as soon as your user picks them, while the metadata is still being written. You can also reuse a file across drafts (the same cover on a release and its later edit), and replace one by uploading a new file and changing the id.
UPDATED event on the journal, so don’t keep a request waiting for it.Which files you need
A typical audio release needs two kinds of file: one cover and one master per track. Everything else is optional or store-specific.
| Kind and path | Referenced from | When you need it |
|---|---|---|
Covercovers | release.files.coverFileId | Always. One per release. |
Mastermasters | track.files.masterFileId | Always. The stereo WAV or FLAC for each track. |
Apple masterapple-masters | track.files.appleMasterFileId | Optional. A 24-bit “Apple Digital Masters” version for Apple Music. |
Dolby Atmos masterdolby-masters | track.files.dolbyMasterFileId | Optional. Spatial audio. A Dolby ISRC is allocated if you don’t set one. |
Bookletbooklets | booklet.files.bookletFileId | Optional. A PDF digital booklet for albums. |
Motion artworkmotion-artwork | release.files.appleMotionArtworkFile11IdappleMotionArtworkFile34Id | Optional. Animated Apple Music cover art. Send both formats or neither. |
Attachmentattachments | release.files.rightsClearanceFileIds | When review asks for proof of rights, such as a licence or a sample clearance. |
Video, thumbnailvideos · video-thumbnails | A video draft | Music videos only. See Music videos. |
Exact formats, sample rates, dimensions and size limits for each kind are under File specifications below.
Upload a file
Every kind except video uses the same three calls. The examples upload a cover. For another kind, swap covers for its path segment, and the response’s id field changes with it (masterFileId, bookletFileId, attachmentFileId, appleMotionArtworkFileId and so on). cURL examples use $BASE (https://api-sandbox.releaseapi.com/v1) and $RELEASEAPI_KEY from the Quickstart setup.
-
Start the upload
Ask for an upload slot. The response contains the new file id and a signed URL for the bytes. All body fields are optional, except that a client key must send
tenantId.curl -X POST "$BASE/distribution/files/covers/upload/put/start" \ -H "X-API-KEY: $RELEASEAPI_KEY" \ -H "Content-Type: application/json" \ -d '{ "originalFileName": "midnight-static-cover.jpg", "externalId": "asset-88213" }'// api() is the helper from the Quickstart setup (BASE ends in /v1) const { coverFileId, url } = await api("POST", "/distribution/files/covers/upload/put/start", { originalFileName: "midnight-static-cover.jpg", externalId: "asset-88213", });# api() is the helper from the Quickstart setup (BASE ends in /v1) start = api("POST", "/distribution/files/covers/upload/put/start", {"originalFileName": "midnight-static-cover.jpg", "externalId": "asset-88213"}) cover_file_id, upload_url = start["coverFileId"], start["url"]{ "coverFileId": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "url": "https://releaseapi-uploads.s3.amazonaws.com/covers/7c9e6679-…?X-Amz-Signature=…" }The file now exists with status
PENDING. -
PUT the bytes to the signed URL
Send the raw file as the body of a
PUTtourl. The request goes to storage, not to the API, so it needs no API key and no multipart form wrapping.curl -X PUT "$UPLOAD_URL" --upload-file midnight-static-cover.jpgimport { readFile } from "node:fs/promises"; const bytes = await readFile("midnight-static-cover.jpg"); const put = await fetch(url, { method: "PUT", body: bytes }); if (!put.ok) throw new Error(`upload failed: ${put.status}`);import requests # the signed URL carries its own authorisation: no API key, plain requests with open("midnight-static-cover.jpg", "rb") as f: requests.put(upload_url, data=f).raise_for_status()- The URL lasts 60 minutes. If it expires mid-upload, start a new upload. The unfinished file stays
PENDINGand costs nothing. - One PUT per stereo master (up to 2,000 MB). Multipart exists only for Dolby Atmos masters and videos (Large files). A 2,000 MB file needs at least 5 Mbit/s of steady upload bandwidth to finish within the URL’s 60 minutes. On slower connections, upload from your backend or use Upload from a URL.
- No
Content-Typeneeded. The header isn’t part of the signature, so the upload still works when a browser sends the file’s own type (image/jpeg,audio/wav).
Uploading from the browserYour backend calls
…/upload/put/startand passes only theurlto the browser. The browser PUTs the file (anXMLHttpRequestgives you progress), and then your backend calls…/upload/put/finish. Storage allows cross-origin requests from any origin, so no setup is needed. The API key never leaves your backend.Multipart uploads are different: you need each part’s
ETagresponse header, and a browser may not be allowed to read it cross-origin. Upload Dolby masters and videos from your backend. - The URL lasts 60 minutes. If it expires mid-upload, start a new upload. The unfinished file stays
-
Finish the upload
Tell the API the bytes are in place (no body). It checks the object exists, moves the file to
PROCESSINGand queues the inspection.curl -X POST "$BASE/distribution/files/covers/upload/put/finish/$COVER_FILE_ID" \ -H "X-API-KEY: $RELEASEAPI_KEY"// throws if the bytes haven't arrived yet (404) await api("POST", `/distribution/files/covers/upload/put/finish/${coverFileId}`);# raises if the bytes haven't arrived yet (404) api("POST", f"/distribution/files/covers/upload/put/finish/{cover_file_id}"){ "coverFileId": "7c9e6679-7425-40de-944b-e07fc1f90ae7" }If the bytes haven’t arrived, finish answers
404and the file staysPENDING. Upload them, then call finish again. Calling finish on a file that is already processing or processed does no harm. It returns the same id and changes nothing. -
Wait for the result
Processing takes seconds for a cover and up to a few minutes for a long master. While a user watches an upload, poll that one file every few seconds, as below. For background work such as a batch import, follow the journal instead (see Know when a file is ready).
curl "$BASE/distribution/files/covers/$COVER_FILE_ID" \ -H "X-API-KEY: $RELEASEAPI_KEY"// Returns the file once processing ends; throws if it failed (same behaviour as the Quickstart) async function waitForFile(kind, id) { for (;;) { const file = await api("GET", `/distribution/files/${kind}/${id}`); if (file.status === "SUCCESS") return file; if (file.status !== "PENDING" && file.status !== "PROCESSING") { const reasons = JSON.stringify(file.failureReasons); throw new Error(`${kind} ${id} is ${file.status}: ${reasons}`); } await new Promise((r) => setTimeout(r, 3000)); } } const cover = await waitForFile("covers", coverFileId);import time # Returns the file once processing ends; raises if it failed (same behaviour as the Quickstart) def wait_for_file(kind, file_id): while True: f = api("GET", f"/distribution/files/{kind}/{file_id}") if f["status"] == "SUCCESS": return f if f["status"] not in ("PENDING", "PROCESSING"): raise RuntimeError(f"{kind} {file_id} is {f['status']}: {f.get('failureReasons')}") time.sleep(3) cover = wait_for_file("covers", cover_file_id){ "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "clientId": "7c4a91e2-5d3b-4f08-a6e1-93b2c0d4e517", "tenantId": "b55ec853-f63b-4cb3-9c2f-868b4eb42f95", "status": "SUCCESS", "originalFileName": "midnight-static-cover.jpg", "externalId": "asset-88213", "details": { "byteSize": 2841733, "format": "JPEG", "width": 3000, "height": 3000, "hashMD5": "9e107d9d372bb6826bd81d3542a419d6" }, "analysis": { "text": ["MIDNIGHT STATIC", "NOVA REYES"], "label": ["Night", "Neon", "City"], "moderation": [], "palette": ["#1b1530", "#e8467c", "#40c4d8"] }, "processedAt": "2026-10-05T09:12:41.318Z", "createdAt": "2026-10-05T09:12:33.904Z" }
details describes the file as ReleaseAPI stores it after processing, not the bytes you sent. Covers are re-encoded and masters are stored losslessly compressed, so byteSize and hashMD5 differ from your local file. Compare files by their id or your externalId, never by size or hash. A master’s loudness, key and BPM arrive in analysis a few seconds after SUCCESS, with their own UPDATED event.
Upload in parallel. Start all files for a release at once and write the draft while they process, since the draft only needs the ids. Submit once every file is SUCCESS (see File statuses).
Upload from a URL
If the file is on a public URL, such as your own storage or a CDN, let ReleaseAPI fetch it. That takes a single call, with no PUT and no finish. The file starts in PROCESSING right away.
curl -X POST "$BASE/distribution/files/masters/upload/url/start" \
-H "X-API-KEY: $RELEASEAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://assets.lowtide.example/masters/MS-01.wav",
"originalFileName": "MS-01.wav",
"externalId": "master-MS-01"
}'
{
"masterFileId": "c56a4180-65aa-42ec-a945-5fd21dec0538"
}
The URL must be http:// or https://, under 1,000 characters, and on a publicly reachable host. Private and internal addresses are refused. A failed download leaves the file INVALID with FILE_UNREACHABLE. A signed URL from your own storage works if it stays valid for a few minutes. Every kind except video supports URL uploads.
Large files: multipart upload
Videos always upload in parts. Dolby Atmos masters can too, and should once they’re larger than a few gigabytes. Declare the total size, get one signed URL per part, upload the parts (in parallel if you like), then finish with the ETags.
-
Start with the total size
curl -X POST "$BASE/distribution/files/dolby-masters/upload/multipart/start" \ -H "X-API-KEY: $RELEASEAPI_KEY" \ -H "Content-Type: application/json" \ -d '{ "contentLength": 262144000, "originalFileName": "MS-01_atmos.wav" }'{ "dolbyMasterFileId": "e3b0c442-98fc-4c14-9afb-f4c8996fb924", "uploadId": "2~kQ9x7Lq3Vb8...", "multipartPerFileSize": 104857600, "parts": [ { "partNumber": 1, "url": "https://…partNumber=1…", "contentLength": 104857600 }, { "partNumber": 2, "url": "https://…partNumber=2…", "contentLength": 104857600 }, { "partNumber": 3, "url": "https://…partNumber=3…", "contentLength": 52428800 } ] }Parts are 100 MB each, and the last one holds the remainder. The start call refuses anything of 30 GB or more (
MAX_VIDEO_SIZE_30_GB). -
PUT each part and keep its ETag
Send exactly
contentLengthbytes from the matching offset to each part’surl. Storage answers with anETagresponse header. Keep it exactly as returned, quotes included.import { open } from "node:fs/promises"; const fh = await open("MS-01_atmos.wav"); const eTags = []; let offset = 0; for (const part of start.parts) { // already ordered by partNumber const buf = Buffer.alloc(part.contentLength); await fh.read(buf, 0, part.contentLength, offset); offset += part.contentLength; const res = await fetch(part.url, { method: "PUT", body: buf }); if (!res.ok) throw new Error(`part ${part.partNumber} failed: ${res.status}`); eTags[part.partNumber - 1] = res.headers.get("etag"); } await fh.close();e_tags = [] with open("MS-01_atmos.wav", "rb") as f: for part in start["parts"]: # already ordered by partNumber chunk = f.read(part["contentLength"]) r = requests.put(part["url"], data=chunk) r.raise_for_status() e_tags.append(r.headers["ETag"]) -
Finish with the ETags in part order
The ETag at index 0 belongs to part 1, and so on. A Dolby master also needs the
uploadId. A video finish only takeseTags.{ "uploadId": "2~kQ9x7Lq3Vb8...", "eTags": [ "\"a54357aff0632cce46d942af68356b38\"", "\"0c78aef83f66abc1fa1e8477f296d394\"", "\"acbd18db4cc2f85cedef654fccc4a4d8\"" ] }If the parts don’t line up with the ETags, finish fails with
COULD_NOT_FINISH_MULTIPART. Upload the missing parts and try again.
File statuses
A file moves forward through its statuses once and then stays where it ends up. It is either usable, rejected with reasons, or failed on ReleaseAPI’s side.
| Status | Meaning | What to do |
|---|---|---|
PENDING | The upload was started but not finished. | PUT the bytes and call finish. |
PROCESSING | The file is being inspected and converted. | Wait. Poll or follow the journal. |
SUCCESS | The file passed every check. details and analysis are filled in. | Reference it from a draft. |
INVALID | The file breaks a requirement. failureType is FILE_IS_INVALID and failureReasons lists every problem, such as ["NO_SQUARE", "WIDTH_TOO_SMALL"]. | Show the reasons to your user, fix the file and upload it again as a new file. |
ERROR | Processing failed on ReleaseAPI’s side (failureType: PIPELINE_ERROR). The file itself may be fine. | Upload it again. If it keeps failing, contact RecordJet with the file id. |
A draft can reference a file in any status, but validation doesn’t wait for it. Until the file reaches SUCCESS, validation reports RELEASE_COVER_STATUS_NOT_SUCCESS or TRACK_MASTER_STATUS_NOT_SUCCESS. Both are critical, so you can’t submit.
Know when a file is ready
Files publish CREATED and UPDATED events on the journal. Watch for the file kind’s element type and re-read the file when one arrives:
COVER_FILEMASTER_FILEAPPLE_MASTER_FILEDOLBY_MASTER_FILEBOOKLET_FILEAPPLE_MOTION_ARTWORK_FILEATTACHMENTVIDEO_FILEVIDEO_THUMBNAIL_FILE
A file gets several UPDATED events: one for the status change, then more for later analysis steps (a master’s loudness and key analysis, and the checks that run when its release is submitted). When you re-read the file, check its status instead of treating any event as “ready”. Masters also get MASTER_FILE_AI_ANALYSIS_RESULT when the AI analysis (lyrics transcription, language detection, moderation) finishes, which happens when the release is submitted, not after upload.
Reference files from a draft
This is where each file id goes in a draft (the full body is on Build a release):
{
"release": {
"files": {
"coverFileId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"rightsClearanceFileIds": ["0f8fad5b-d9cb-469f-a165-70867728950e"]
}
},
"tracks": [
{
"id": "9b2f4c1e-3a7d-4e8b-b6c5-1d2e3f4a5b6c",
"files": {
"masterFileId": "c56a4180-65aa-42ec-a945-5fd21dec0538",
"dolbyMasterFileId": "e3b0c442-98fc-4c14-9afb-f4c8996fb924"
}
}
]
}
A file must belong to the draft’s tenant. Unknown ids, or ids from another tenant, fail the write (see write errors).
Lyrics
Lyrics aren’t a file. They’re text on the track, in tracks[].details.lyricsPlain, with at most 50,000 characters and a line break after each line. That text is what stores receive.
Separately, ReleaseAPI transcribes each master with AI once, when its release is submitted, for tracks under 10 minutes (skipped with submission.expensiveChecksSuppress). You can read the transcript afterwards, for example to suggest lyrics for a later edit. What goes into lyricsPlain is still your decision.
curl "$BASE/distribution/files/masters/$MASTER_FILE_ID/lyrics" \
-H "X-API-KEY: $RELEASEAPI_KEY"
The call answers 404 until analysis.ai.status on the master is SUCCESS. The body is a word-level transcript: language_code (ISO 639-3), language_probability, and words, each with text, a type (word for words; spacing and sounds have other types), start and end in seconds, and a speaker_id. Concatenate the text values in sequence for the plain transcription.
{
"language_code": "eng",
"language_probability": 0.98,
"words": [
{ "text": "Midnight", "type": "word",
"start": 12.4, "end": 12.9, "speaker_id": "speaker_0" },
{ "text": " ", "type": "spacing",
"start": 12.9, "end": 13.0, "speaker_id": "speaker_0" },
{ "text": "static", "type": "word",
"start": 13.0, "end": 13.6, "speaker_id": "speaker_0" }
]
}
The same analysis fills analysis.ai.audioLanguage and analysis.ai.moderation. When no words are heard, audioLanguage is ZXX, which suggests the track is instrumental. analysis.ai.status is SUCCESS, INVALID, FAILURE or SKIPPED, and empty until the analysis has run. Review uses these results to flag a language mismatch or explicit lyrics on a track not marked explicit.
Working with files
Once a file is uploaded, you can find it again, download it, show its cover thumbnail, replace it, and read why it was rejected.
List and find files
GET /v1/distribution/files/{kind} returns a paginated list, filterable by status, externalId, ids and, with a client key, tenantId. Use externalId for your own asset id. It must be unique per tenant and file kind and under 100 characters (a duplicate fails with EXTERNAL_ID_ALREADY_DEFINED). HEAD /v1/distribution/files/{kind}/{id} answers 200 or 404 with no body, which makes it a cheap existence check.
Download a file
POST /v1/distribution/files/{kind}/{id}/download returns a signed url, valid for 24 hours, or 60 minutes when you pass fileName (the name the browser saves it as). Body and response depend on the kind:
| Kind | Body | Response |
|---|---|---|
masters | fileType (required): flac, aac, mp3 or wav; fileName | { completed, url } |
apple-masters | fileType (required): flac or aac; fileName | { url } |
dolby-masters | fileType (required): wav (the original ADM file) or mp3 (a stereo downmix); fileName | { completed, url } |
videosvideo-thumbnails | fileName | { completed: true, url } |
coversbookletsmotion-artworkattachments | fileName | { url } |
{ "fileType": "mp3", "fileName": "Midnight Static.mp3" }
{ "completed": false }
A master’s FLAC and AAC are ready at once. Its MP3 and WAV, and a Dolby master’s MP3 downmix, are converted on demand: repeat the same call every few seconds until "completed": true comes back with a url. A missing required fileType fails to decode (400), and a value the kind doesn’t offer answers 400 UNSUPPORTED_FILE_TYPE.
Show cover thumbnails
Processed covers get ready-made JPEG thumbnails on a public CDN, for artwork in your UI. No signed URL is needed, so anyone who knows a cover’s file id can load them, before the release date too. Keep cover ids out of public pages until the artwork can be shown.
https://cdn.releaseapi.com/delivery/covers/{coverFileId}/{size}.jpg # production
https://cdn-sandbox.releaseapi.com/delivery/covers/{coverFileId}/{size}.jpg # sandbox
# size: 64, 128, 256, 512 or 1024
Video thumbnails are published the same way, under delivery/video-thumbnails/{videoThumbnailFileId}/{size}.jpg. See Music videos.
Replace or delete a file
Files can’t be edited. Instead, upload a new file, write its id into the draft, and delete the old one with DELETE /v1/distribution/files/{kind}/{id}.
- Delete returns
409(such asCOVER_FILE_STILL_IN_USE) while a draft or catalog release references the file. - Attachments in use can’t be deleted. While a release, draft, video or video draft lists one in
rightsClearanceFileIds(or in the deprecatedlicenseConfirmFileId), deleting it fails with409 ATTACHMENT_STILL_IN_USE. Remove it from the draft first. - Files are never removed automatically, and video files can’t be deleted through the API.
- Storage is billed on every file in
SUCCESS, used or not (see Billing; prices on releaseapi.com).PENDING,INVALIDandERRORuploads don’t count. There’s no filter for unreferenced files, so track which ids your drafts use and delete the rest.
Processing log
GET /v1/distribution/files/{kind}/{id}/log returns a 24-hour signed URL to the inspection log, useful when an INVALID result surprises you. Covers work with any key. For masters, Apple masters, Dolby masters, booklets and motion artwork it needs a client key (a tenant key gets 401). Attachments, videos and thumbnails have no log.
File specifications
This section lists what each file has to be, and the code you get back when it isn’t. If you check files in your own UI before uploading, your users get feedback at once instead of a minute later as an INVALID file.
How to read the specifications
Every upload is inspected after you finish it. A file that breaks a rule ends up INVALID, and its failureReasons array lists every rule it broke, not just the first. The codes in the tables below are the values you’ll find in that array.
{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"status": "INVALID",
"failureType": "FILE_IS_INVALID",
"failureReasons": ["NO_SQUARE", "WIDTH_TOO_SMALL"],
"originalFileName": "cover-draft.png"
}
- on uploadThe file’s own rulesFormat, size, dimensions, channels. Breaking one makes the file
INVALID. Masters are also analysed for loudness, silence, key and BPM. - validate, submitRules in contextChecks whether the file is
SUCCESS, whether audio is duplicated, and whether a track is too short to be paid for. At submit, the audio fingerprint and AI pass run as well. - in reviewA person looksA reviewer checks that the cover matches the title and artist, and that the quality is good enough.
Any file can also fail with FILE_UNREACHABLE when a URL upload couldn’t be downloaded, and with FILE_TOO_BIG when it exceeds the size limit for its kind. Sizes are binary: 1 MB is 1,048,576 bytes.
All file kinds in one table
| Kind | Formats | Key requirements | Max size |
|---|---|---|---|
| Cover | JPEG, PNG | Square, 1,500–8,000 px, RGB | 50 MB |
| Master | WAV, FLAC | Stereo, 16/24/32-bit, 44.1–192 kHz | 2,000 MB |
| Apple master | WAV, FLAC | Stereo, 24-bit, 44.1–96 kHz | 2,000 MB |
| Dolby Atmos master | PCM BWF/ADM | 3–128 channels, 24-bit, 48 kHz, ADM metadata | 30 GB |
| Booklet | — | 100 MB | |
| Motion artwork | ProRes in .mov | 15–35 s, 3840×3840 or 2048×2732 | 5,000 MB |
| Attachment | Any | — | 500 MB |
| Video | H.264, H.265, AV1 | 1080p–2160p, 23.976/24/25/30 fps, stereo, ≥ 30 s | 8 GB |
Cover
The front artwork of a release. Each release has exactly one, referenced from release.files.coverFileId. Path segment: covers.
| Rule | Requirement | Code if broken |
|---|---|---|
| Format | JPEG or PNG | INVALID_FORMAT |
| Shape | Exactly square | NO_SQUARE |
| Width | 1,500–8,000 px | WIDTH_TOO_SMALLWIDTH_TOO_BIG |
| Height | 1,500–8,000 px | HEIGHT_TOO_SMALLHEIGHT_TOO_BIG |
| Colour | RGB (with or without alpha). No CMYK, no greyscale. | CMYK_NOT_ALLOWEDGRAYSCALE_NOT_ALLOWED |
| Size | Up to 50 MB | FILE_TOO_BIG |
Use 3000×3000 px, the size most stores ask for. Accepted covers are stored as JPEG, and thumbnails at 64, 128, 256, 512 and 1024 px are published to the CDN (see Show cover thumbnails).
Processing also fills analysis: text found on the image, detected objects, moderation labels and a colour palette. These don’t make the file invalid. Review uses them for checks such as RELEASE_COVER_TEXT_DOES_NOT_MATCH_TITLE_OR_ARTISTS and RELEASE_COVER_INAPPROPRIATE_OR_OFFENSIVE. Common reasons a person rejects a cover: insufficient image quality, artwork that doesn’t match the metadata, a reference to a physical product (“CD”, “vinyl”), generic or misleading artwork, or a parental advisory logo on a release not marked explicit.
Master
The stereo audio for one track, referenced from tracks[].files.masterFileId. Path segment: masters.
| Rule | Requirement | Code if broken |
|---|---|---|
| Format | WAV or FLAC | INVALID_FORMAT |
| Channels | Exactly 2 (stereo) | NOT_STEREO |
| Bit depth | 16, 24 or 32 bit | INVALID_BIT_DEPTH |
| Sample rate | 44.1, 48, 88.2, 96, 176.4 or 192 kHz | INVALID_SAMPLE_RATE |
| Duration | At least 2 seconds | TOO_SHORT |
| Size | Up to 2,000 MB | FILE_TOO_BIG |
Right after upload, an accepted master is analysed for loudness (integrated LUFS, loudness range, true peak), silence, key and BPM. Tracks of 30 minutes or more are skipped. To store a master without this analysis, for example archive material that isn’t released yet, send "skipAnalysis": true when you start the upload (PUT or URL). The master then shows skipAnalysis: true, its analysis stays empty and the analysis isn’t run later, so review flags the missing analysis if the master is used in a release. Two more checks run when the release is submitted, once per file: an audio fingerprint for copyright matching (tracks under 30 minutes) and an AI pass for lyrics transcription, spoken language and content moderation (tracks under 10 minutes). Setting submission.expensiveChecksSuppress on the draft skips both. Results appear on analysis, and review uses them (see Checks at validation and submit).
What users get wrong most often
ReleaseAPI doesn’t convert audio on upload. Check these in your own upload form, before the file leaves the user’s machine, and explain the fix in plain words:
| The user uploads | Result | Tell them |
|---|---|---|
An MP3, AAC/M4A or OGG file, including one renamed to .wav | INVALID_FORMAT | Export a WAV or FLAC from the original project or master. Converting an MP3 to WAV passes the check but doesn’t restore the lost quality. |
| A mono file | NOT_STEREO | Export as stereo (both channels may be identical). |
| 8-bit audio, or a sample rate such as 22.05 or 32 kHz | INVALID_BIT_DEPTHINVALID_SAMPLE_RATE | Export at 16 or 24 bit and 44.1 or 48 kHz. |
| A clip under 2 seconds | TOO_SHORT | Upload the full track. Tracks under 30 seconds upload fine but may not be monetized by streaming services (TRACK_MASTER_NOT_MONETIZABLE warning). |
16-bit, 44.1 kHz (CD quality) is the minimum. 24-bit masters are accepted as well, and so are 32-bit files.
Apple master
An optional high-resolution master delivered to Apple Music as “Apple Digital Masters” (formerly Mastered for iTunes). Referenced from tracks[].files.appleMasterFileId. Path segment: apple-masters.
| Rule | Requirement | Code if broken |
|---|---|---|
| Format | WAV or FLAC | INVALID_FORMAT |
| Channels | Exactly 2 | NOT_STEREO |
| Bit depth | 24 bit only | INVALID_BIT_DEPTH |
| Sample rate | 44.1, 48, 88.2 or 96 kHz | INVALID_SAMPLE_RATE |
| Duration | At least 2 seconds | TOO_SHORT |
| Size | Up to 2,000 MB | FILE_TOO_BIG |
The track also needs details.appleMastererEmail, the email address of a mastering engineer certified by Apple. Validation checks the address against Apple’s list (TRACK_APPLE_MASTERER_EMAIL_MUST_BE_VERIFIED).
Dolby Atmos master
An optional spatial-audio master, referenced from tracks[].files.dolbyMasterFileId. Path segment: dolby-masters. You can upload it with a PUT, from a URL, or as a multipart upload.
| Rule | Requirement | Code if broken |
|---|---|---|
| Format | PCM audio (BWF ADM) | INVALID_FORMAT |
| Atmos metadata | ADM Dolby Atmos metadata present | NOT_A_DOLBY_ATMOS_FILE |
| Channels | 3 to 128 | NOT_MULTI_CHANNELTOO_MANY_CHANNELS |
| Bit depth | 24 bit | INVALID_BIT_DEPTH |
| Sample rate | 48 kHz only | INVALID_SAMPLE_RATE |
| Duration | At least 2 seconds | TOO_SHORT |
| Size | Up to 30 GB | FILE_TOO_BIG |
Amazon accepts Dolby Atmos files up to 4 GB only. A larger file is still accepted and can go to Apple Music, but validation warns that it can’t go to Amazon.
The Dolby version gets its own ISRC, tracks[].identifiers.dolbyIsrc. Leave it empty and one is allocated when the release is accepted.
Booklet
A digital booklet for an album, referenced from booklet.files.bookletFileId. Path segment: booklets.
| Rule | Requirement | Code if broken |
|---|---|---|
| Format | INVALID_FORMAT | |
| Size | Up to 100 MB | FILE_TOO_BIG |
| Page count | At least 4 pages | TOO_FEW_PAGES |
| Page size | Landscape: every page at least 792 × 595 pt (11 × 8.26 in, 27.94 × 20.99 cm) as displayed, so a rotated page counts turned | PAGE_TOO_SMALL |
The page rules are checked once the file is a PDF within the size limit. US Letter and A4 in landscape both fit. An accepted booklet reports its page count in details.pages.
Motion artwork
Animated cover art shown on Apple Music. Path segment: motion-artwork. A release takes two formats, and you send both or neither (RELEASE_APPLE_MOTION_ARTWORK_BOTH_NEEDED):
- Square, 1:1: 3840×3840 px, referenced from
release.files.appleMotionArtworkFile11Id. - Portrait, 3:4: 2048×2732 px, referenced from
release.files.appleMotionArtworkFile34Id.
| Rule | Requirement | Code if broken |
|---|---|---|
| Container | QuickTime .mov | FILE_MUST_BE_DOT_MOV |
| Codec | Apple ProRes | FILE_MUST_BE_PRORES |
| ProRes profile | 422 LT, 422 or 422 HQ (not 4444) | INVALID_PRORES_FORMAT |
| Dimensions | Exactly 3840×3840 or 2048×2732 | INVALID_HEIGHT_WIDTH |
| Duration | 15–35 seconds | TOO_SHORTTOO_LONG |
| Frame rate | 23.976, 24, 25, 29.97 or 30 fps | INVALID_FRAME_RATE |
| Size | Up to 5,000 MB | FILE_TOO_BIG |
Attachment
Supporting documents for review, such as a licence confirmation or a sample clearance. List them in release.files.rightsClearanceFileIds. The older single field licenseConfirmFileId is deprecated; put every document in the list instead. Path segment: attachments. Any format is accepted, up to 500 MB. Attachments are never delivered to stores.
Video
A music video file, referenced from a video draft’s files.videoFileId. Path segment: videos. Videos use multipart upload only, and are checked the moment you finish the upload. The finish call returns the file already SUCCESS or INVALID.
| Rule | Requirement | Code if broken |
|---|---|---|
| Streams | Exactly one video and one audio stream | MULTIPLE_VIDEO_TRACKSMULTIPLE_AUDIO_TRACKS |
| Video codec | H.264 (AVC), H.265 (HEVC) or AV1 | INVALID_CODEC |
| Resolution | From 1920×1080 up to 3840×2160 | INVALID_RESOLUTION |
| Frame rate | 23.976, 24, 25 or 30 fps | INVALID_FRAME_RATE |
| Audio | Stereo | NOT_STEREO |
| Duration | At least 30 seconds | TOO_SHORT |
| Size | Up to 8 GB | FILE_TOO_BIG |
ProRes video isn’t accepted. The OpenAPI reference lists PRORES422 and PRORES422_HQ among video formats, but uploads are checked against H.264, H.265 and AV1 only. Export your video in one of those.
The thumbnail isn’t uploaded. You create it from a frame of the video (see Music videos).
Upload request limits
| Field | Limit | Error |
|---|---|---|
externalId | Under 100 characters, unique per tenant and file kind | EXTERNAL_ID_MAX_LENGTH_IS_100_CHARSEXTERNAL_ID_ALREADY_DEFINED |
originalFileName | Under 1,000 characters | MAX_FILE_NAME_LENGTH_1000 |
url (URL upload) | Under 1,000 characters, http(s)://, publicly reachable | MAX_URL_LENGTH_1000NO_VALID_URLINVALID_URLINVALID_URL_SCHEMEINVALID_URL_HOSTBLOCKED_URL_HOSTURL_HOST_UNRESOLVABLEBLOCKED_URL_HOST_RESOLVES_PRIVATE |
contentLength (multipart) | Under 30 GB. Parts are 100 MB. | MAX_VIDEO_SIZE_30_GB |
Checks at validation and submit
Some file rules only apply in the context of a release, so they run as draft validation (see Submit and review) rather than at upload. These are the ones that concern files:
| Check | Severity | Meaning |
|---|---|---|
RELEASE_COVER_STATUS_NOT_SUCCESSTRACK_MASTER_STATUS_NOT_SUCCESS | Critical | A referenced file isn’t SUCCESS yet, or is invalid. |
TRACK_MASTER_WRONG_FORMAT | Error | The master is below 16 bit or 44.1 kHz. |
TRACK_MASTER_FILE_DETAILS_HASH_MD5_DUPLICATION | Error | Two tracks on the release use byte-identical audio. |
TRACK_MASTER_NOT_MONETIZABLE | Warning | The track is shorter than 30 seconds, so most stores won’t pay for it. |
TRACK_MASTER_FILE_TOO_MUCH_SILENCE | Warning | Long stretches of silence were detected. |
TRACK_EXPLICIT_LYRICS_DETECTED_BY_AI | Warning | The transcription contains explicit language, but the track isn’t flagged explicit. |
TRACK_DIFFERENT_AUDIO_LANGUAGE_DETECTED_BY_AI | Warning | The language heard differs from audioLanguage. |
TRACK_MASTER_FILE_LOUDNESS_TOO_HIGHTRACK_MASTER_FILE_LOUDNESS_TOO_LOWTRACK_MASTER_FILE_TRUE_PEAK_SPIKES | Review | Loudness information for the reviewer. It doesn’t block. |
RELEASE_APPLE_MOTION_ARTWORK_BOTH_NEEDED | Critical | Only one of the two motion artwork formats is set. |
Errors
| Code | When |
|---|---|
TENANT_ID_NEEDED_FOR_CLIENT_REQUEST | A client key started an upload without tenantId. |
EXTERNAL_ID_ALREADY_DEFINED | Another file of the same kind in this tenant already has that externalId. |
EXTERNAL_ID_MAX_LENGTH_IS_100_CHARS | externalId is 100 characters or longer. |
MAX_FILE_NAME_LENGTH_1000 | originalFileName is too long. |
NO_VALID_URLMAX_URL_LENGTH_1000 | A URL upload has a malformed or overly long url. |
INVALID_URLINVALID_URL_SCHEMEINVALID_URL_HOSTBLOCKED_URL_HOSTURL_HOST_UNRESOLVABLEBLOCKED_URL_HOST_RESOLVES_PRIVATE | A URL upload’s url can’t be parsed, isn’t http(s), or points to a private, internal or unresolvable host. |
UNSUPPORTED_FILE_TYPE | A download asked for a fileType that kind doesn’t offer. |
COULD_NOT_FINISH_MULTIPART | Parts are missing or the ETags don’t match. |
MAX_VIDEO_SIZE_30_GB | A multipart upload declared 30 GB or more. |
*_FILE_STILL_IN_USE (409) | You tried to delete a file a draft or release still points at. For attachments the code is ATTACHMENT_STILL_IN_USE. |
Rejections found during inspection, such as NO_SQUARE or INVALID_SAMPLE_RATE, aren’t HTTP errors. They show up as failureReasons on an INVALID file. Every code is listed under File specifications above.
Next steps
Build a release
Write the release and tracks that point at your files.
Read the guide →Submit and review
How each validation severity works, including the file checks that run at submit.
Read the guide →Music videos
Upload videos in parts, create their thumbnails and build video drafts.
Read the guide →