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.

At a glance

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.

Upload sequence: your backend starts the upload and gets a file id and signed URL, PUTs the bytes to storage, calls finish, ReleaseAPI inspects the file and writes an UPDATED event to the journal, your consumer re-reads the file Your backend ReleaseAPI Storage Journal 1 POST …/upload/put/start fileId + signed URL · PENDING 2 PUT bytes → signed URL 3 POST …/put/finish/{id} PROCESSING inspects & converts → SUCCESS · INVALID · ERROR 4 COVER_FILE · UPDATED your consumer sees the event and re-reads the file
The bytes never pass through the API host. They go straight to a short-lived signed URL. The result arrives later as an 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 pathReferenced fromWhen you need it
Cover
covers
release.files.coverFileIdAlways. One per release.
Master
masters
track.files.masterFileIdAlways. The stereo WAV or FLAC for each track.
Apple master
apple-masters
track.files.appleMasterFileIdOptional. A 24-bit “Apple Digital Masters” version for Apple Music.
Dolby Atmos master
dolby-masters
track.files.dolbyMasterFileIdOptional. Spatial audio. A Dolby ISRC is allocated if you don’t set one.
Booklet
booklets
booklet.files.bookletFileIdOptional. A PDF digital booklet for albums.
Motion artwork
motion-artwork
release.files.appleMotionArtworkFile11Id
appleMotionArtworkFile34Id
Optional. Animated Apple Music cover art. Send both formats or neither.
Attachment
attachments
release.files.rightsClearanceFileIdsWhen review asks for proof of rights, such as a licence or a sample clearance.
Video, thumbnail
videos · video-thumbnails
A video draftMusic 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.

  1. 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.

  2. PUT the bytes to the signed URL

    Send the raw file as the body of a PUT to url. 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.jpg
    import { 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 PENDING and 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-Type needed. 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 browser

    Your backend calls …/upload/put/start and passes only the url to the browser. The browser PUTs the file (an XMLHttpRequest gives 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 ETag response header, and a browser may not be allowed to read it cross-origin. Upload Dolby masters and videos from your backend.

  3. Finish the upload

    Tell the API the bytes are in place (no body). It checks the object exists, moves the file to PROCESSING and 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 404 and the file stays PENDING. 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.

  4. 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.

Multipart upload: start with the total size, get one signed URL per 100 MB part, PUT the parts in parallel and keep each ETag, then finish with the ETags in part order Your backend ReleaseAPI Storage …/multipart/start · contentLength fileId, uploadId, parts[ ] (one URL per 100 MB) in parallel, any order PUT part 1 PUT part 2 PUT part 3 (remainder) each answers with an ETag header …/multipart/finish/{id} eTags in part order (+ uploadId for Dolby)
Only the start and finish calls go to the API. Parts can go up in parallel, but the finish call must list the ETags in part order.
  1. 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).

  2. PUT each part and keep its ETag

    Send exactly contentLength bytes from the matching offset to each part’s url. Storage answers with an ETag response 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"])
  3. 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 takes eTags.

    {
      "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.

File lifecycle PENDINGSlot created, bytes not confirmed→ PROCESSINGBeing inspected→ SUCCESSReady to use on a draft INVALIDFile breaks a rule ERRORProcessing itself failed
StatusMeaningWhat to do
PENDINGThe upload was started but not finished.PUT the bytes and call finish.
PROCESSINGThe file is being inspected and converted.Wait. Poll or follow the journal.
SUCCESSThe file passed every check. details and analysis are filled in.Reference it from a draft.
INVALIDThe 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.
ERRORProcessing 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:

KindBodyResponse
mastersfileType (required): flac, aac, mp3 or wav; fileName{ completed, url }
apple-mastersfileType (required): flac or aac; fileName{ url }
dolby-mastersfileType (required): wav (the original ADM file) or mp3 (a stereo downmix); fileName{ completed, url }
videos
video-thumbnails
fileName{ completed: true, url }
covers
booklets
motion-artwork
attachments
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}.

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"
}
  1. 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.
  2. 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.
  3. 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

KindFormatsKey requirementsMax size
CoverJPEG, PNGSquare, 1,500–8,000 px, RGB50 MB
MasterWAV, FLACStereo, 16/24/32-bit, 44.1–192 kHz2,000 MB
Apple masterWAV, FLACStereo, 24-bit, 44.1–96 kHz2,000 MB
Dolby Atmos masterPCM BWF/ADM3–128 channels, 24-bit, 48 kHz, ADM metadata30 GB
BookletPDF—100 MB
Motion artworkProRes in .mov15–35 s, 3840×3840 or 2048×27325,000 MB
AttachmentAny—500 MB
VideoH.264, H.265, AV11080p–2160p, 23.976/24/25/30 fps, stereo, ≥ 30 s8 GB

Cover

The front artwork of a release. Each release has exactly one, referenced from release.files.coverFileId. Path segment: covers.

RuleRequirementCode if broken
FormatJPEG or PNGINVALID_FORMAT
ShapeExactly squareNO_SQUARE
Width1,500–8,000 pxWIDTH_TOO_SMALL
WIDTH_TOO_BIG
Height1,500–8,000 pxHEIGHT_TOO_SMALL
HEIGHT_TOO_BIG
ColourRGB (with or without alpha). No CMYK, no greyscale.CMYK_NOT_ALLOWED
GRAYSCALE_NOT_ALLOWED
SizeUp to 50 MBFILE_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.

RuleRequirementCode if broken
FormatWAV or FLACINVALID_FORMAT
ChannelsExactly 2 (stereo)NOT_STEREO
Bit depth16, 24 or 32 bitINVALID_BIT_DEPTH
Sample rate44.1, 48, 88.2, 96, 176.4 or 192 kHzINVALID_SAMPLE_RATE
DurationAt least 2 secondsTOO_SHORT
SizeUp to 2,000 MBFILE_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).

Accepted bit depth and sample rate combinations: masters accept 16, 24 or 32 bit at 44.1 to 192 kHz; Apple masters accept only 24 bit at 44.1 to 96 kHz; 8-bit audio and sample rates of 22.05 or 32 kHz are rejected sample rate, kHz → 22.053244.14888.296176.4192 8-bit ✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕ 16-bit ✕ ✕ 24-bit ✕ ✕ 32-bit ✕ ✕
MasterMaster and Apple masterRejected (✕)
Every combination of 16, 24 or 32 bit with 44.1 kHz or more is a valid master. An Apple master is stricter: 24 bit, up to 96 kHz.

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 uploadsResultTell them
An MP3, AAC/M4A or OGG file, including one renamed to .wavINVALID_FORMATExport 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 fileNOT_STEREOExport as stereo (both channels may be identical).
8-bit audio, or a sample rate such as 22.05 or 32 kHzINVALID_BIT_DEPTH
INVALID_SAMPLE_RATE
Export at 16 or 24 bit and 44.1 or 48 kHz.
A clip under 2 secondsTOO_SHORTUpload 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.

RuleRequirementCode if broken
FormatWAV or FLACINVALID_FORMAT
ChannelsExactly 2NOT_STEREO
Bit depth24 bit onlyINVALID_BIT_DEPTH
Sample rate44.1, 48, 88.2 or 96 kHzINVALID_SAMPLE_RATE
DurationAt least 2 secondsTOO_SHORT
SizeUp to 2,000 MBFILE_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.

RuleRequirementCode if broken
FormatPCM audio (BWF ADM)INVALID_FORMAT
Atmos metadataADM Dolby Atmos metadata presentNOT_A_DOLBY_ATMOS_FILE
Channels3 to 128NOT_MULTI_CHANNEL
TOO_MANY_CHANNELS
Bit depth24 bitINVALID_BIT_DEPTH
Sample rate48 kHz onlyINVALID_SAMPLE_RATE
DurationAt least 2 secondsTOO_SHORT
SizeUp to 30 GBFILE_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.

RuleRequirementCode if broken
FormatPDFINVALID_FORMAT
SizeUp to 100 MBFILE_TOO_BIG
Page countAt least 4 pagesTOO_FEW_PAGES
Page sizeLandscape: every page at least 792 × 595 pt (11 × 8.26 in, 27.94 × 20.99 cm) as displayed, so a rotated page counts turnedPAGE_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):

RuleRequirementCode if broken
ContainerQuickTime .movFILE_MUST_BE_DOT_MOV
CodecApple ProResFILE_MUST_BE_PRORES
ProRes profile422 LT, 422 or 422 HQ (not 4444)INVALID_PRORES_FORMAT
DimensionsExactly 3840×3840 or 2048×2732INVALID_HEIGHT_WIDTH
Duration15–35 secondsTOO_SHORT
TOO_LONG
Frame rate23.976, 24, 25, 29.97 or 30 fpsINVALID_FRAME_RATE
SizeUp to 5,000 MBFILE_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.

RuleRequirementCode if broken
StreamsExactly one video and one audio streamMULTIPLE_VIDEO_TRACKS
MULTIPLE_AUDIO_TRACKS
Video codecH.264 (AVC), H.265 (HEVC) or AV1INVALID_CODEC
ResolutionFrom 1920×1080 up to 3840×2160INVALID_RESOLUTION
Frame rate23.976, 24, 25 or 30 fpsINVALID_FRAME_RATE
AudioStereoNOT_STEREO
DurationAt least 30 secondsTOO_SHORT
SizeUp to 8 GBFILE_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

FieldLimitError
externalIdUnder 100 characters, unique per tenant and file kindEXTERNAL_ID_MAX_LENGTH_IS_100_CHARS
EXTERNAL_ID_ALREADY_DEFINED
originalFileNameUnder 1,000 charactersMAX_FILE_NAME_LENGTH_1000
url (URL upload)Under 1,000 characters, http(s)://, publicly reachableMAX_URL_LENGTH_1000
NO_VALID_URL
INVALID_URL
INVALID_URL_SCHEME
INVALID_URL_HOST
BLOCKED_URL_HOST
URL_HOST_UNRESOLVABLE
BLOCKED_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:

CheckSeverityMeaning
RELEASE_COVER_STATUS_NOT_SUCCESS
TRACK_MASTER_STATUS_NOT_SUCCESS
CriticalA referenced file isn’t SUCCESS yet, or is invalid.
TRACK_MASTER_WRONG_FORMATErrorThe master is below 16 bit or 44.1 kHz.
TRACK_MASTER_FILE_DETAILS_HASH_MD5_DUPLICATIONErrorTwo tracks on the release use byte-identical audio.
TRACK_MASTER_NOT_MONETIZABLEWarningThe track is shorter than 30 seconds, so most stores won’t pay for it.
TRACK_MASTER_FILE_TOO_MUCH_SILENCEWarningLong stretches of silence were detected.
TRACK_EXPLICIT_LYRICS_DETECTED_BY_AIWarningThe transcription contains explicit language, but the track isn’t flagged explicit.
TRACK_DIFFERENT_AUDIO_LANGUAGE_DETECTED_BY_AIWarningThe language heard differs from audioLanguage.
TRACK_MASTER_FILE_LOUDNESS_TOO_HIGH
TRACK_MASTER_FILE_LOUDNESS_TOO_LOW
TRACK_MASTER_FILE_TRUE_PEAK_SPIKES
ReviewLoudness information for the reviewer. It doesn’t block.
RELEASE_APPLE_MOTION_ARTWORK_BOTH_NEEDEDCriticalOnly one of the two motion artwork formats is set.

Errors

CodeWhen
TENANT_ID_NEEDED_FOR_CLIENT_REQUESTA client key started an upload without tenantId.
EXTERNAL_ID_ALREADY_DEFINEDAnother file of the same kind in this tenant already has that externalId.
EXTERNAL_ID_MAX_LENGTH_IS_100_CHARSexternalId is 100 characters or longer.
MAX_FILE_NAME_LENGTH_1000originalFileName is too long.
NO_VALID_URL
MAX_URL_LENGTH_1000
A URL upload has a malformed or overly long url.
INVALID_URL
INVALID_URL_SCHEME
INVALID_URL_HOST
BLOCKED_URL_HOST
URL_HOST_UNRESOLVABLE
BLOCKED_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_TYPEA download asked for a fileType that kind doesn’t offer.
COULD_NOT_FINISH_MULTIPARTParts are missing or the ETags don’t match.
MAX_VIDEO_SIZE_30_GBA 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 →