Build a release
A draft is the writable copy of a release. Write it with one call, check it as often as you like, and submit it when it’s ready. The first half of this page is a guide to the request, how writes behave and the decisions you make in each part of the body. The second half is the field reference, which covers every field on the release, its tracks and its booklet.
- You choose the id. Generate a UUID when the release first exists in your product. The draft, the catalog release and every later edit all live under that id.
- A PUT replaces the whole draft. Sections you leave out are cleared and tracks you leave out are deleted.
- Writes don’t run store rules. A write only checks the shape of the body and that referenced objects exist. Store rules run when you validate or submit.
- Files, the owner customer and wallets must exist before you write. GTINs and ISRCs you leave empty are assigned at acceptance.
- Give every track a share rule. No validation check catches a missing one.
- Every field, with its type and rules, is in the field reference, where a map of the body links to each section.
How drafts work
A release starts as a draft. A draft holds the release, its tracks and an optional digital booklet, and you can save it as often as you want, even half-finished. Nothing reaches a store from a draft. When you submit it and it’s accepted, ReleaseAPI writes the catalog release, the read-only record that stores are kept in sync with.
Store the id on your own row. Track and booklet ids work the same way. A write only checks that the body is well-formed and that referenced files and customers exist. Store rules run when you ask for validation and when you submit.
Before you start
You can save a draft at any time, but you can only submit it once these exist:
| You need | Why | Where |
|---|---|---|
A cover and one master per track, each in status SUCCESS | The draft references them by id. A file still processing fails validation. | Upload files |
| A customer and at least one wallet | Every release has an owner, accounting.ownerCustomerId, the payee the revenue belongs to. Every track should have a share rule that sends its money to wallets. A wallet id that doesn’t exist is rejected on write. | Customers and wallets |
| Stores you can deliver to | Each selected store must be covered by a delivery profile of your account (RecordJet’s, if you’re a tenant under RecordJet). | Which stores you can offer |
| GTIN and ISRC ranges, or your own codes | Codes you leave empty are assigned from your ranges at acceptance. | Identifiers and artists |
Create a draft
/v1/distribution/drafts/full-releases/{draftReleaseId}Create or replace a draftThe full-release endpoint writes the release, all its tracks and the optional booklet in one transaction. release and tracks are required, booklet is optional.
This complete single passes validation. It has one track, goes worldwide to six stores, and sends 100% of the track’s money to one wallet. Save it as midnight-static.json and replace the cover, master, customer and wallet ids with your own. Leave the four placeholders as they are, because the calls below fill them in. <RELEASE_ID> and <TRACK_ID> get fresh UUIDs, because ids are yours to choose and a track id can only ever belong to one release. <RELEASE_DATE> becomes a date four weeks ahead, and <RUN> a suffix that keeps the externalIds unique, so you can run the example again. In your product, use your own row ids instead.
{
"release": {
"externalId": "rel-1001-<RUN>",
"details": {
"title": "Midnight Static",
"language": "EN",
"genrePrimary": "ELECTRONIC"
},
"contributions": [
{ "role": "ARTIST", "name": "Nova Reyes", "providerArtistId": "artist-nova-reyes" }
],
"flags": {
"explicit": "NONE",
"isLive": false,
"isRemix": false,
"isDJRemix": false,
"isCompilation": false,
"hasNonExclusives": false
},
"files": { "coverFileId": "5b1c0e3a-1d2e-4f56-9a78-0b1c2d3e4f50" },
"distribution": {
"originalReleaseDate": "<RELEASE_DATE>",
"releaseDateTime": "<RELEASE_DATE>T00:00:00",
"stores": ["SPOTIFY", "APPLE_MUSIC", "AMAZON_STREAMING", "DEEZER", "TIDAL", "YOUTUBE_MUSIC"],
"countriesMode": "EXCLUDE",
"countries": [],
"pricingTier": "MID"
},
"rightsholders": {
"cLineYear": 2026,
"cLineHolder": "Lowtide Records",
"pLineYear": 2026,
"pLineHolder": "Lowtide Records",
"labelName": "Lowtide Records"
},
"accounting": { "ownerCustomerId": "0b1c2d3e-4f50-4a61-8b72-93c4d5e6f708" }
},
"tracks": [
{
"id": "<TRACK_ID>",
"externalId": "trk-1001-1-<RUN>",
"details": {
"releaseId": "<RELEASE_ID>",
"volumeNumber": 1,
"trackNumber": 1,
"title": "Midnight Static",
"audioLanguage": "EN",
"genrePrimary": "ELECTRONIC"
},
"contributions": [
{ "role": "ARTIST", "name": "Nova Reyes", "providerArtistId": "artist-nova-reyes" },
{ "role": "VOCALS", "name": "Nova Reyes" },
{ "role": "COMPOSER", "name": "Mara Lind" },
{ "role": "LYRICIST", "name": "Mara Lind" },
{ "role": "PRODUCER", "name": "Jon Aster" }
],
"flags": {
"explicit": "NONE",
"isLive": false,
"isRemix": false,
"isDJRemix": false,
"isCover": false,
"isPublicDomain": false
},
"files": { "masterFileId": "aa11bb22-cc33-4d44-8e55-667788990011" },
"rightsholders": {
"pLineYear": 2026,
"pLineHolder": "Lowtide Records",
"labelName": "Lowtide Records"
},
"accounting": {
"shareRules": [
{ "shares": [ { "walletId": "9d2a7c55-0e3b-4a6f-8c21-7f4b1d9e3a02", "sharePerMio": 1000000 } ] }
]
}
}
]
}
Send it under the id you generated ($RELEASE_ID below). The track’s details.releaseId must be that same id. cURL examples use $BASE (https://api-sandbox.releaseapi.com/v1) and $RELEASEAPI_KEY from the Quickstart setup.
export RELEASE_ID=$(uuidgen | tr A-Z a-z) # store it on your release row
RELEASE_DATE=$(date -u -d '+28 days' +%F 2>/dev/null || date -u -v+28d +%F) # GNU date, or macOS
sed -e "s/<RELEASE_ID>/$RELEASE_ID/" -e "s/<TRACK_ID>/$(uuidgen | tr A-Z a-z)/" \
-e "s/<RELEASE_DATE>/$RELEASE_DATE/g" -e "s/<RUN>/$(date +%s)/g" midnight-static.json |
curl -X PUT "$BASE/distribution/drafts/full-releases/$RELEASE_ID" \
-H "X-API-KEY: $RELEASEAPI_KEY" \
-H "Content-Type: application/json" \
-d @-
// api() is the helper from the Quickstart setup (BASE ends in /v1)
import { readFile } from "node:fs/promises";
import { randomUUID } from "node:crypto";
const draftId = randomUUID(); // store it on your release row
const releaseDate = new Date(Date.now() + 28 * 86400e3).toISOString().slice(0, 10);
const text = (await readFile("midnight-static.json", "utf8"))
.replaceAll("<RELEASE_ID>", draftId)
.replaceAll("<TRACK_ID>", randomUUID())
.replaceAll("<RELEASE_DATE>", releaseDate)
.replaceAll("<RUN>", Date.now().toString(36));
const body = JSON.parse(text);
const draft = await api("PUT", `/distribution/drafts/full-releases/${draftId}`, body);
# api() is the helper from the Quickstart setup (BASE ends in /v1)
import datetime, json, time, uuid
draft_id = str(uuid.uuid4()) # store it on your release row
release_date = (datetime.date.today() + datetime.timedelta(days=28)).isoformat()
with open("midnight-static.json") as f:
text = (f.read()
.replace("<RELEASE_ID>", draft_id)
.replace("<TRACK_ID>", str(uuid.uuid4()))
.replace("<RELEASE_DATE>", release_date)
.replace("<RUN>", str(int(time.time()))))
body = json.loads(text)
draft = api("PUT", f"/distribution/drafts/full-releases/{draft_id}", body)
{
"release": {
"id": "1e83fb32-41c1-4101-ab53-cbed3240a893",
"clientId": "7c4a91e2-5d3b-4f08-a6e1-93b2c0d4e517",
"tenantId": "b55ec853-f63b-4cb3-9c2f-868b4eb42f95",
"status": "DRAFT",
"externalId": "rel-1001",
"details": { "title": "Midnight Static", "language": "EN", "genrePrimary": "ELECTRONIC" },
"generated": { "artistLine": "Nova Reyes" },
"createdAt": "2026-10-05T09:14:02.551Z"
},
"coverFile": { "id": "5b1c0e3a-1d2e-4f56-9a78-0b1c2d3e4f50", "status": "SUCCESS" },
"tracks": [
{
"track": { "id": "9c0b1a22-77e1-4c0a-8f11-223344556677", "details": { "trackNumber": 1, "title": "Midnight Static" } },
"masterFile": { "id": "aa11bb22-cc33-4d44-8e55-667788990011", "status": "SUCCESS" }
}
]
}
The response (abridged above) is the stored full draft with status 200. It embeds the file objects next to the release and each track, so one read shows whether the cover and masters are ready. Read it again with GET /v1/distribution/drafts/full-releases/{draftReleaseId}.
The body has no GTIN or ISRC, because codes you leave empty are assigned from your ranges at acceptance. To use your own, set release.identifiers.gtin and each track’s identifiers.isrc (see Identifiers and artists). Then validate, fix what comes back, and submit.
How writes behave
Every PUT on a draft is create or replace, never a patch. Retries are safe, because sending the same body twice gives the same draft.
| You send | What happens |
|---|---|
A body without a section, such as no pitching | That section is cleared on the draft. |
| A full release without a track that exists on the draft | The track is deleted. Tracks in the body are created or replaced. |
A track or booklet without id on the full-release endpoint | 400 PATCH_FULL_DRAFT_REQUIRES_TRACK_ID_IN_CHANGE_REQUEST. Every track and the booklet need the id you chose for them. |
Any write while the draft is in REVIEW | 409 RELEASE_LOCKED_IN_REVIEW. Withdraw the submission first. |
A DELETE while the draft is in REVIEW | Deleting isn’t locked. The draft, its tracks and booklet are deleted, which cancels the submission (DRAFT_RELEASE_DELETED). Deleting an edit draft discards the edit, and the live release stays as it is. To keep the draft, withdraw instead. |
| A half-finished release | It’s saved. Store rules run only when you validate or submit. |
A track whose details.releaseId isn’t the id in the URL | 400 RELEASE_NOT_FOUND when no draft has that id. Always set it to the draft id you are writing. |
| An id that already belongs to an accepted catalog release | A draft is created under that id, and it is treated as an edit of the live release when submitted. No second release is ever created. See the retry note below. |
To change one field, read the draft (or your own complete row), change your copy and PUT the whole thing. A PUT built from a partial form silently deletes the rest.
- Retries after acceptance. A retried PUT never creates a duplicate, but if the release was accepted between your attempt and the retry, the retry quietly opens an edit draft. Before retrying a possibly stale write, check
GET /v1/distribution/catalog/releases/{id}. If it returns200, the release is live, so either delete the stray draft or treat it as a deliberate edit. - Last write wins. ReleaseAPI doesn’t check whether the draft changed since you read it. When two writers change the same draft, for example your worker and someone in the dashboard, the later PUT replaces the earlier one. Keep one writer per draft, or lock it in your own system.
- Size. Bodies are capped at about 2 MB (see API basics). A long album with full lyrics can exceed that. In that case, write it in parts instead: the release first, then each track. Each part is its own request, so the write is no longer all-or-nothing.
- Tenant. With a tenant key, leave
release.tenantIdout. On a client account, setrelease.tenantIdand keep it the same on every track (see API basics).
What goes into the body
The body has three parts (release, tracks and an optional booklet), each grouped into sections that are replaced as a whole on every write. Required fields are needed to submit, not to save. This tour covers the decisions you make in each section. Every field, type and rule is in the field reference further down. Each row below links to its section there.
details.releaseId on every track is the draft id itself.The release
| Section | What you decide |
|---|---|
| Title, language and genre | The title as stores show it, without version text or “feat.” (ReleaseAPI builds the artist line). The version goes in titleVersion, without brackets. You also set the metadata language and a primary genre code. |
| Contributors | Who is credited, one person or act per entry, with upper-case roles. Every ARTIST needs a providerArtistId: your own stable id for that artist. Add store artist ids (spotifyId, appleId) so the release appears on the right artist page. |
| Flags | Six flags must always be set, even to false: explicit, isLive, isRemix, isDJRemix, isCompilation, hasNonExclusives. hasSoftValidation and isNonDeliverable exist for migrations. |
| Files | The cover (in SUCCESS, same tenant), optional Apple motion artwork, and rights attachments for reviewers. |
| Dates | When it goes live (releaseDateTime, a local date-time without zone), when it first came out anywhere (originalReleaseDate), and an optional pre-order date. Past dates are fine for back catalog. |
| Stores and territories | Which stores (never null, but [] if there are none yet), which countries (worldwide is EXCLUDE with []), and the price band for download stores. |
| Rights holders | The © and ℗ lines and the label name. For self-released music, use the artist’s own imprint, not the bare artist name. |
| Accounting | The owner customer, which can’t change later. As a tenant under RecordJet, leave clientFeePercentage out. |
| Identifiers | Your own GTIN (13 digits, so pad a 12-digit UPC with a leading zero), or leave it empty to have one assigned at acceptance. |
| Pitching | An optional editorial pitch. Once you start one, complete it. |
| Submission settings | How this one acceptance behaves, such as its delivery priority, whether delivery is held back, and whether slow checks are skipped for a migration. It isn’t kept, so set it again on every submission that needs it. |
| Your references | externalId, your own key for the release, unique per tenant across drafts and releases. Find a draft by it with ?externalId=. |
Tracks
| Section | What you decide |
|---|---|
| Identity and position | Your id for the track (required on the full-release endpoint), details.releaseId set to the draft id, and volume and track numbers from 1 without gaps. |
| Details | Title (on a single, the same as the release), the language sung (ZXX for instrumentals), genre, and optional plain-text lyrics. |
| Credits | Stores ask more of tracks: an ARTIST with providerArtistId, a COMPOSER, a PRODUCER for newer releases, and a LYRICIST when there are vocals. |
| Flags | Six required flags: explicit, isLive, isRemix, isDJRemix, isCover, isPublicDomain. |
| Files and identifiers | The stereo master (in SUCCESS), optional Apple and Dolby Atmos masters, and your own ISRC or none to have one assigned. |
| Previews, pre-orders and overrides | Where the preview clip starts, instant gratification during a pre-order, bundle-only tracks, and per-track store or territory exceptions. |
| Rights holders | Each track needs its own ℗ line and label name. |
| Revenue splits | One share rule per track, in parts per million adding up to 1,000,000. Give every track a rule, even if it sends 100% to one wallet. Otherwise no wallet receives the track’s money. No validation check catches a missing rule, so check it in your own code before you submit. |
Digital booklet
An optional PDF booklet for stores that sell one. It needs its own id, the draft id, a title, an explicit flag, a contributor, the uploaded PDF and a © line. See the booklet fields. The album example below includes one.
Albums, pre-orders and splits
An album is the same request with more tracks. Number them from 1 without gaps. A second disc starts again at trackNumber: 1 with volumeNumber: 2. This example adds a secondary genre, a pre-order with one instant-gratification track, a featured artist, an explicit track (which makes the release explicit), an instrumental, a revenue split, a pitch and a booklet.
Album example: “Night Bus”, three tracks with pre-order and booklet
{
"release": {
"externalId": "rel-2002",
"details": { "title": "Night Bus", "language": "EN", "genrePrimary": "ELECTRONIC", "genreSecondary": "POP" },
"identifiers": { "catalogNumber": "NBR-002" },
"contributions": [
{ "role": "ARTIST", "name": "Nova Reyes", "providerArtistId": "artist-nova-reyes", "spotifyId": "4KsVHZ3XBKV7bIXF8x8q3y" }
],
"flags": { "explicit": "EXPLICIT", "isLive": false, "isRemix": false, "isDJRemix": false, "isCompilation": false, "hasNonExclusives": false },
"files": { "coverFileId": "5b1c0e3a-1d2e-4f56-9a78-0b1c2d3e4f51" },
"distribution": {
"originalReleaseDate": "2027-01-15",
"releaseDateTime": "2027-01-15T00:00:00",
"preOrderDateTime": "2026-12-04T00:00:00",
"stores": ["SPOTIFY", "APPLE_MUSIC", "APPLE_ITUNES", "AMAZON_STREAMING", "AMAZON_DOWNLOAD", "DEEZER"],
"countriesMode": "EXCLUDE",
"countries": [],
"pricingTier": "HIGH"
},
"rightsholders": {
"cLineYear": 2027, "cLineHolder": "Lowtide Records",
"pLineYear": 2027, "pLineHolder": "Lowtide Records",
"labelName": "Lowtide Records", "labelCode": "12345",
"publishers": ["Night Bus Publishing"]
},
"pitching": {
"focusTrackId": "b2000000-0000-4000-8000-000000000001",
"releaseInformation": "Debut album recorded on night buses across Berlin.",
"marketingArguments": "Lead single passed 2M streams; EU tour in February.",
"originCity": "Berlin",
"currentLocation": "Berlin",
"moods": ["Nocturnal", "Uplifting"]
},
"accounting": { "ownerCustomerId": "0b1c2d3e-4f50-4a61-8b72-93c4d5e6f708" },
"submission": { "syncRequestPriority": 2 }
},
"tracks": [
{
"id": "b2000000-0000-4000-8000-000000000001",
"details": { "releaseId": "4a7c2e10-5b3d-4c8e-9f21-0d6b7a8c9e01", "volumeNumber": 1, "trackNumber": 1, "title": "Last Stop", "audioLanguage": "EN", "genrePrimary": "ELECTRONIC" },
"contributions": [
{ "role": "ARTIST", "name": "Nova Reyes", "providerArtistId": "artist-nova-reyes" },
{ "role": "FEATURING", "name": "Lena Voss" },
{ "role": "VOCALS", "name": "Lena Voss" },
{ "role": "COMPOSER", "name": "Mara Lind" },
{ "role": "LYRICIST", "name": "Mara Lind" },
{ "role": "PRODUCER", "name": "Jon Aster" }
],
"flags": { "explicit": "EXPLICIT", "isLive": false, "isRemix": false, "isDJRemix": false, "isCover": false, "isPublicDomain": false },
"files": { "masterFileId": "aa11bb22-cc33-4d44-8e55-667788990021" },
"distribution": { "instantPreOrderDateTime": "2026-12-04T00:00:00" },
"rightsholders": { "pLineYear": 2027, "pLineHolder": "Lowtide Records", "labelName": "Lowtide Records" },
"accounting": { "shareRules": [ { "shares": [
{ "walletId": "9d2a7c55-0e3b-4a6f-8c21-7f4b1d9e3a02", "sharePerMio": 700000 },
{ "walletId": "47be01d3-5c8a-4e29-b6f0-3a1d8e7c2b94", "sharePerMio": 300000 }
] } ] }
},
{
"id": "b2000000-0000-4000-8000-000000000002",
"details": { "releaseId": "4a7c2e10-5b3d-4c8e-9f21-0d6b7a8c9e01", "volumeNumber": 1, "trackNumber": 2, "title": "Ringbahn", "audioLanguage": "ZXX", "genrePrimary": "ELECTRONIC" },
"contributions": [
{ "role": "ARTIST", "name": "Nova Reyes", "providerArtistId": "artist-nova-reyes" },
{ "role": "KEYBOARDS", "name": "Nova Reyes" },
{ "role": "COMPOSER", "name": "Mara Lind" },
{ "role": "PRODUCER", "name": "Jon Aster" }
],
"flags": { "explicit": "NONE", "isLive": false, "isRemix": false, "isDJRemix": false, "isCover": false, "isPublicDomain": false },
"files": { "masterFileId": "aa11bb22-cc33-4d44-8e55-667788990022" },
"rightsholders": { "pLineYear": 2027, "pLineHolder": "Lowtide Records", "labelName": "Lowtide Records" },
"accounting": { "shareRules": [ { "shares": [ { "walletId": "9d2a7c55-0e3b-4a6f-8c21-7f4b1d9e3a02", "sharePerMio": 1000000 } ] } ] }
},
{
"id": "b2000000-0000-4000-8000-000000000003",
"details": {
"releaseId": "4a7c2e10-5b3d-4c8e-9f21-0d6b7a8c9e01", "volumeNumber": 1, "trackNumber": 3,
"title": "Night Bus", "audioLanguage": "EN", "genrePrimary": "ELECTRONIC",
"lyricsPlain": "Lights go down on the N2\nEvery stop a different you"
},
"contributions": [
{ "role": "ARTIST", "name": "Nova Reyes", "providerArtistId": "artist-nova-reyes" },
{ "role": "VOCALS", "name": "Nova Reyes" },
{ "role": "COMPOSER", "name": "Mara Lind" },
{ "role": "LYRICIST", "name": "Mara Lind" },
{ "role": "PRODUCER", "name": "Jon Aster" }
],
"flags": { "explicit": "NONE", "isLive": false, "isRemix": false, "isDJRemix": false, "isCover": false, "isPublicDomain": false },
"files": { "masterFileId": "aa11bb22-cc33-4d44-8e55-667788990023" },
"rightsholders": { "pLineYear": 2027, "pLineHolder": "Lowtide Records", "labelName": "Lowtide Records" },
"accounting": { "shareRules": [ { "shares": [ { "walletId": "9d2a7c55-0e3b-4a6f-8c21-7f4b1d9e3a02", "sharePerMio": 1000000 } ] } ] }
}
],
"booklet": {
"id": "c3000000-0000-4000-8000-000000000001",
"details": { "releaseId": "4a7c2e10-5b3d-4c8e-9f21-0d6b7a8c9e01", "title": "Night Bus (Digital Booklet)" },
"flags": { "explicit": "NONE" },
"contributions": [ { "role": "ARTIST", "name": "Nova Reyes", "providerArtistId": "artist-nova-reyes" } ],
"files": { "bookletFileId": "d4000000-0000-4000-8000-000000000001" },
"rightsholders": { "cLineYear": 2027, "cLineHolder": "Lowtide Records" }
}
}
- Every track has a share rule. The first splits 70/30 with the featured artist’s wallet, and the others send everything to one wallet.
- One of the three tracks (less than half) has instant gratification, dated between the pre-order date and the release date.
- The instrumental uses
audioLanguage: "ZXX", no lyricist andexplicit: "NONE". - Once accepted, the release is
UNRELEASEDuntil 4 December 2026, thenPRESALE, thenRELEASEDon 15 January 2027.
Write parts of a draft
If your product edits tracks one at a time, write the pieces separately. Each write still replaces the object it targets.
/v1/distribution/drafts/full-releases/{id}Release, tracks and booklet together/v1/distribution/drafts/full-releases/{id}Everything, with file objects/v1/distribution/drafts/full-releasesList full drafts/v1/distribution/drafts/releases/{id}The release object only/v1/distribution/drafts/releasesList and filter drafts/v1/distribution/drafts/releases/{id}Delete with tracks and booklet/v1/distribution/drafts/tracks/{draftTrackId}One track/v1/distribution/drafts/tracks/{draftTrackId}Remove one track/v1/distribution/drafts/releases/{id}/tracks-orderReorder tracks/v1/distribution/drafts/booklets/{draftBookletId}The bookletA single track write uses the same track object. details.releaseId attaches it to the draft. To reorder without rewriting every track, send the track ids per volume in the order you want:
curl -X PUT "$BASE/distribution/drafts/releases/$RELEASE_ID/tracks-order" \
-H "X-API-KEY: $RELEASEAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"draftTrackIds": [
["b2000000-0000-4000-8000-000000000003",
"b2000000-0000-4000-8000-000000000001",
"b2000000-0000-4000-8000-000000000002"]
]
}'
Each inner array is one volume. The response is the list of tracks with their new numbers.
Find drafts
GET /v1/distribution/drafts/releases takes filters that map well to a dashboard, with the usual pagination:
| Filter | Matches |
|---|---|
status | DRAFT, REVIEW or REJECTED. |
reviewStatus | PREPARE (automatic preparation running) or READY (waiting for a decision). |
reviewResult | OPEN, ACCEPTED or REJECTED. |
priorityRelease | true for drafts with distribution.isPriority. |
gtincustomerIdexternalId | Exact values. |
releaseIdids | One draft id, or a comma-separated list. |
coverFileIdmotionArtworkFileIdattachmentFileId | Drafts that use this file, for example before you delete it. |
dateFromdateTo | Creation date range. |
q | Free text. |
tenantId | Client keys only: one tenant. |
Two filters make useful queues. ?status=REJECTED is everything your users need to fix, and ?status=REVIEW&reviewResult=OPEN is everything waiting for a decision. /v1/distribution/drafts/videos and /v1/distribution/drafts/tracks work the same way.
Field reference
Every field you can send when you write a draft, on the release, each track and the digital booklet.
A full-release write sends one body with three parts: release, tracks and an optional booklet. Each part is grouped into sections, such as details, flags or distribution, and each section is replaced as a whole on every write. The same objects come back when you read a draft, and the catalog release you read after acceptance uses the same structure.
- Required means required to submit. Any draft can be saved half-finished. The rules run when you validate or submit.
- Codes such as genres, roles, languages, stores and pricing tiers come from the reference data endpoints.
The shape of a full-release body
{
"release": {
"externalId": "…",
"details": { "title": "…", "titleVersion": "…", "language": "EN", "genrePrimary": "…", "genreSecondary": "…", "localization": [] },
"contributions": [ { "role": "ARTIST", "name": "…", "providerArtistId": "…", "spotifyId": "…", "appleId": "…" } ],
"flags": { "explicit": "NONE", "isLive": false, "isRemix": false, "isDJRemix": false, "isCompilation": false, "hasNonExclusives": false },
"files": { "coverFileId": "…" },
"distribution": { "releaseDateTime": "…", "originalReleaseDate": "…", "stores": [], "countriesMode": "EXCLUDE", "countries": [], "pricingTier": "…" },
"rightsholders": { "cLineYear": 2026, "cLineHolder": "…", "pLineYear": 2026, "pLineHolder": "…", "labelName": "…" },
"accounting": { "ownerCustomerId": "…" },
"identifiers": { "gtin": "…" },
"overwrites": { "spotifyReleaseType": "…" },
"pitching": { },
"submission": { }
},
"tracks": [
{
"id": "…",
"details": { "releaseId": "…", "volumeNumber": 1, "trackNumber": 1, "title": "…", "audioLanguage": "EN", "genrePrimary": "…" },
"contributions": [ { "role": "ARTIST", "name": "…", "providerArtistId": "…" }, { "role": "COMPOSER", "name": "…" } ],
"flags": { "explicit": "NONE", "isLive": false, "isRemix": false, "isDJRemix": false, "isCover": false, "isPublicDomain": false },
"files": { "masterFileId": "…" },
"identifiers": { "isrc": "…" },
"distribution": { },
"overwrites": { },
"rightsholders": { "pLineYear": 2026, "pLineHolder": "…", "labelName": "…" },
"accounting": { "shareRules": [ { "shares": [ { "walletId": "…", "sharePerMio": 1000000 } ] } ] }
}
],
"booklet": { "id": "…", "details": { "releaseId": "…", "title": "…" }, "files": { "bookletFileId": "…" } }
}
This is an outline, not a valid body. Each … stands for one of your values. For a complete body that passes validation, see Create a draft.
Release fields
The release object, section by section. Fields marked Required are needed to submit, not to save.
Title, language and genre
The title as stores should show it, up to 256 characters. Keep version information out of it, and never add “feat.” to it. Featured artists are contributors, and ReleaseAPI builds the artist line for you.
The version, such as Radio Edit or Remastered 2026. Write it without brackets, because stores add their own.
The language of the title and metadata as an upper-case ISO 639-1 code, such as EN or DE. ZXX (instrumental) is only valid on tracks.
A genre code from GET /v1/core/data/genres, such as ELECTRONIC, HIP_HOP or POP. details.genreSecondary is optional and must differ from the primary genre.
Titles in other scripts or languages: { local, title, phoneticTitle?, titleVersion? }.
Contributors
contributions lists everyone credited on the release. Each entry has a role and a name. Roles are upper-case codes from GET /v1/core/data/contributors. At release level you usually list the main artists. The detailed credits go on each track.
The main artist is ARTIST, and featured artists are FEATURING or WITH. Other common roles are COMPOSER, LYRICIST, PRODUCER, VOCALS, REMIXER. One person can hold only one of ARTIST, FEATURING and WITH.
One person or one act per entry. Two artists are two contributors, not "Nova Reyes & Lena Voss". A release with more than three main artists triggers a warning to credit it as Various Artists.
Your stable id for this artist. “Provider” means you, the content provider. It isn’t a store’s id. Every ARTIST contributor needs one, on the release and on every track. Use the id from your own artist table, so the same artist always carries the same value across releases. It is sent to stores as your own artist identifier, which helps them keep an artist’s releases together. See Artist profiles.
The artist’s existing profile on that store, so the release appears on the right page instead of creating a new one. Send the bare id (4KsVHZ3XBKV7bIXF8x8q3y), not a URI like spotify:artist:…. For an artist who isn’t on Apple Music yet, create the Apple artist first and send the appleId you get back (see Apple Music).
Optional extra identity: ISNI, a SoundCloud profile, your own tenant-level id, and the name in other scripts ({ local, name, phoneticName? }).
Flags
Six flags must be set explicitly on every release, even when the answer is no. An unset flag fails validation, but false is a valid answer.
EXPLICIT if any track is explicit, CLEAN for an edited version of explicit content, NONE otherwise. The release must be EXPLICIT when any track is, and CLEAN when all tracks are cleaned.
NONECLEANEXPLICITIn order, these say whether the release is a live recording (which needs “Live” in the title), a remix, a DJ mix (one continuous mix of other people’s tracks) or a compilation of tracks by different artists, and whether it contains material you don’t hold exclusively, such as samples from a royalty-free library or a recording also licensed to others. Non-exclusive content can’t go to content-ID stores. These are services such as YouTube Content ID, TikTok, Facebook and SoundCloud Content ID that scan other people’s uploads for your audio and claim them. If you don’t hold the material exclusively, these services would end up claiming other people’s videos.
These flags are optional. Tribute releases can’t go to Amazon, and aiTransparencyArtwork declares AI-generated artwork.
Turns ERROR findings into non-blocking ones, for migrating a legacy catalog that already exists on stores. CRITICAL findings still block, and reviewers see that the flag is set. The flag is stored on the catalog release and carried into every later edit draft, so editing a migrated release doesn’t suddenly block on legacy findings. See severities.
A release that exists in your catalog but is never sent to stores. It requires an empty store list.
Files
An uploaded cover in status SUCCESS, belonging to the same tenant.
Apple Music motion artwork in 1:1 and 3:4. Send both or neither.
Attachments that prove your rights, such as a licence for a cover version or a sample clearance. Reviewers read them, but stores never see them. The older single field files.licenseConfirmFileId is deprecated. It still works, but put every document in this list instead.
Format rules for each file are on File specifications.
Dates
When the release goes live, as a local date-time without a zone: "2026-11-20T00:00:00". Up to five years ahead. There is no minimum. A date in the past is valid and makes the release RELEASED as soon as it’s accepted, which is what you want for back catalog. For a new release with a launch date, plan at least two weeks ahead. RecordJet needs time to review the release, stores need time to ingest it (see Stores and providers), and editorial pitching needs longer still.
If you leave it empty, the release goes live at local midnight in each territory, rolling around the globe. Set a zone, such as UTC or America/New_York, to go live at the same instant everywhere.
When this release first came out anywhere: YYYY, YYYY-MM or YYYY-MM-DD, up to a year ahead. A full date is required from 2020 onward. For a brand-new release, use the same date as releaseDateTime. For back catalog, use the original date, for example "2009-03-16", with today or the original date as releaseDateTime. The only ordering rule catches swapped dates: originalReleaseDate may not be more than 90 days after the release date (RELEASE_DISTRIBUTION_RELEASE_DATE_TOO_FAR_BEFORE_ORIGINAL_RELEASE_DATE).
Opens a pre-order on download stores. It must be before the release date and no more than a year earlier. Tracks can become available on pre-order through instantPreOrderDateTime.
Allows stores to offer a preview before the release date.
Stores and territories
Store codes from GET /v1/core/data/stores, such as SPOTIFY, APPLE_MUSIC or TIK_TOK. It’s never null. Send [] for a release that doesn’t go to any store yet. Each store must be covered by one of your delivery profiles. Some stores add content rules. For example, Beatport and Juno only take electronic music. See Stores and providers.
INCLUDE lists the only countries where the release is available, and EXCLUDE lists the countries where it isn’t. Countries are ISO 3166-1 alpha-2 codes. Worldwide is EXCLUDE with []. INCLUDE with [] is invalid.
The price band on download stores such as iTunes and Amazon. Streaming services ignore it. Values come from GET /v1/core/data/pricing-tier: HIGH (front-line price), MID, LOW (budget), and steps in between such as HIGH_MINUS_1. The resulting prices are listed on Reference data.
Asks for a priority review. The release is marked as a priority in the review queue and is billed as a priority review when it’s accepted (see Billing; prices on releaseapi.com). For releases, it doesn’t change the delivery priority. Set that with submission.syncRequestPriority. (Videos work differently. See Music videos.)
Rights holders
The © line: who owns the copyright in the release as a product (artwork, packaging), and from which year.
The ℗ line: who owns the sound recording, and from which year. Years run from 1800 to next year, and a year that differs from the release year produces a warning.
The label shown on stores.
Up to 50 publishers, the 4- or 6-digit label code (required when you deliver to MPN), and the label’s country.
Use a label name for labelName, pLineHolder and cLineHolder, not the bare artist name. For an artist without a label, that is their own imprint, for example “Nova Reyes Music” or “Sleepless Tape Recordings”. Let artists enter it once in your product and reuse it on every release. Validation only checks that the fields are filled and not too long. Reviewers check that they are plausible. Don’t put your platform’s name there unless your company really owns the recordings.
Accounting
The customer who owns the release, usually the artist or the label you work for. All of the release’s revenue after fees counts as this customer’s. The track share rules then decide which wallets it is paid into. It can’t be changed by a later edit. See How money flows.
The release’s own fees, as fractions (0.15 is 15%). Leave them out and acceptance copies the tenant’s current defaults onto the release. From then on, the release keeps its fees, and later changes to the tenant defaults don’t affect it. To change the fee of a live release, submit an edit.
clientFeePercentage belongs to the client account. As a tenant under RecordJet, leave it out. Acceptance applies the fee agreed with RecordJet. Set only tenantFeePercentage.
How a track’s revenue is split between wallets is set on the track with accounting.shareRules.
Identifiers
The barcode as a 13-digit EAN-13 with a valid check digit. For a 12-digit UPC, add a leading zero (724384960650 becomes 0724384960650), and the check digit stays the same. Leave it empty to have one assigned at acceptance. A GTIN already used by another live release in your account is rejected (see how uniqueness is checked).
Your own catalog number, and a GRid (18 characters) if you use them.
Pitching
pitching is the editorial pitch passed on to stores that accept one. It’s optional, but once you start one, fill in all of these: focusTrackId (a track id from this draft), releaseInformation (≤ 500 characters), marketingArguments (≤ 1,000), moods (≤ 10), originCity and currentLocation. You can also send biography (≤ 500), pressImagesUrls (≤ 10), playlistSuggestion and originCountry. For a longer pitch, fullPitchingText holds the complete text in one field (fewer than 50,000 characters, or it’s refused with RELEASE_PITCHING_FULL_PITCHING_TEXT_LENGTH). A partly filled pitch produces a warning.
Submission settings
submission controls what happens around one acceptance. It isn’t copied to the catalog release, and an edit draft starts with an empty one, so set it again on every submission where you need it.
The priority of the delivery that acceptance starts: 0 catalog (bulk migrations), 1 normal (default), 2 priority, 3 critical.
Accept the release (or this edit) without starting a delivery. Use it when you migrate a catalog that’s already live elsewhere. It applies to this acceptance only. See Keep a release from delivering.
Skips the slow external work: audio fingerprinting and AI analysis of the masters during review, and the artist-id and language lookups during validation. Use it for bulk migrations of material you know. Reviewers then have less information, so don’t use it for new releases.
For migrations where a release is already live at a store. On acceptance it overwrites the release’s record of which stores already have it (storeSnapshot.deliveredStores). Each entry is { store, isTakenDown, lastDeliveryAt?, lastFileDeliveryAt?, firstDeliveryAt? }.
- A store marked as delivered (any of the three timestamps set, and
isTakenDown: false) gets an update instead of a first delivery. - A
METADATA_SYNCsends files only to stores withoutlastFileDeliveryAt, while aFULL_SYNCalways sends them. - A wrong entry means a store never receives the release, or receives it twice. Agree on it with your RecordJet contact (or ReleaseAPI, on a client account) before using it.
Store-specific overrides
The release type sent to Spotify. Without it, ReleaseAPI derives the type for Spotify from the track count, total duration, genre and titles (for example karaoke or tribute releases). Set it when that guess is wrong for your release. The value is a release media type from /core/data/release-media-types. Leave it out to let ReleaseAPI decide. It is the only release-level override. Per-track overrides are under tracks.
Your references
externalId is your own key for the release. It is checked twice: a write fails with 400 DIFFERENT_DRAFT_RELEASE_WITH_SAME_EXTERNAL_ID_EXISTS_ALREADY when another draft in the tenant has it, and validation reports RELEASE_EXTERNAL_ID_NOT_TENANT_UNIQUE (critical) when another catalog release in the tenant has it. Together that makes it unique per tenant across drafts and releases. Use it to find a release by your database id (GET /v1/distribution/drafts/releases?externalId=rel-1001). externalData is a free string of up to 10,000 characters for anything else you want back on reads. metaData.userComments holds notes for reviewers.
Track fields
Each element of tracks is one recording on the release. Tracks follow the same section structure as the release.
Identity and position
Your id for the track. Required on the full-release endpoint, and kept as the catalog track id after acceptance.
The draft id the track belongs to.
Disc and position, both starting at 1 with no gaps. Up to 100 tracks per volume.
Details
Same rules as the release title. On a single, the track’s title and version must equal the release’s.
The language sung or spoken, as an ISO 639-1 code. Use ZXX for instrumentals.
Same codes as the release.
Plain-text lyrics with one line per lyric line (lyrics over 100 characters must contain line breaks), fewer than 50,000 characters (LYRICS_LENGTH otherwise). ReleaseAPI can also transcribe lyrics from the master (see Upload files).
Needed when the track has an Apple master (“Apple Digital Masters”). It must be the email of an engineer that Apple has verified.
Credits
Track contributions use the same shape as the release. Stores require more on tracks:
- At least one
ARTISTwith aproviderArtistId. On a single, the main and featured artists must match the release. - At least one
COMPOSER. - A
PRODUCERfor anything with an original release date from 1 November 2024 on (an Apple requirement). - A
LYRICISTon tracks with vocals. Leaving it out produces a warning. - Apple also expects every credit group to be present for newer releases: main artist, a performer (such as
VOCALSorGUITAR), composition or lyrics, and production or engineering. Missing groups produce a warning.
Flags
Six flags must be set on every track, even when the answer is no.
Instrumentals can’t be EXPLICIT or CLEAN.
NONECLEANEXPLICITWhether the track is a live recording, a remix, a DJ remix, a cover version, or a public-domain work.
These declare an AI-generated composition or AI-generated audio.
Files and identifiers
The stereo master in status SUCCESS. You can also add appleMasterFileId (24-bit Apple master) and dolbyMasterFileId (Dolby Atmos).
The recording code. Leave it empty to have one assigned at acceptance. dolbyIsrc is assigned the same way when a Dolby master is attached. You can also set iswc, grid, catalogNumber and secondaryIsrcs.
Previews, pre-orders and per-track overrides
Where the store preview clip starts and how long it is (30 seconds by default).
Makes this track available to pre-order buyers early (“instant gratification”). It needs a release pre-order date and can apply to at most half the tracks. It only works on tracks under 10 minutes, and not on bundleOnly tracks.
The track is sold only as part of the release on download stores.
Per-track exceptions. trackStores, trackCountriesMode and trackCountries restrict where this track goes. appleGaplessPlay defaults to true, and the YouTube Content ID settings include youtubeClaimPolicy (BLOCK_ACCESS, REPORT_USAGE, MONETIZE).
Rights holders
Each track needs its own ℗ line and label: rightsholders.pLineYear, pLineHolder and labelName. publishers is optional.
Revenue splits
A share rule says which wallets are paid a track’s revenue. Shares are in parts per million and must add up to exactly 1,000,000. A track without a rule still earns money for the release owner, but no wallet receives it, so nothing tells you whom to pay. Give every track a rule, even if it sends 100% to one wallet.
{
"shareRules": [
{
"shares": [
{ "walletId": "9d2a7c55-0e3b-4a6f-8c21-7f4b1d9e3a02", "sharePerMio": 700000 },
{ "walletId": "47be01d3-5c8a-4e29-b6f0-3a1d8e7c2b94", "sharePerMio": 300000 }
]
}
]
}
A track can have at most one rule (TRACK_SHARE_RULE_MAX_ONE_PER_TRACK). Every wallet must exist and belong to the release’s tenant, or the write fails with WALLET_ID_NOT_FOUND or WALLET_BELONGS_TO_OTHER_TENANT. No validation check flags a track with no rule, so check that yourself before you submit. How splits take effect over time is on Splits and the ledger.
Booklet fields
A release can carry one PDF booklet, delivered to stores that sell them, such as iTunes. Add booklet next to release and tracks. The album example includes one.
Your id for the booklet.
The draft id the booklet belongs to.
The booklet’s title.
The same values as on the release.
NONECLEANEXPLICITAt least one contributor, in the same shape as on the release.
An uploaded PDF (see Upload files).
The © line.
Write errors
A write whose body can’t be stored is rejected with 400 and a code in message. Store rules come later, from validation.
| Code | Cause |
|---|---|
COVER_NOT_FOUNDMASTER_NOT_FOUNDBOOKLET_NOT_FOUND | A file id that doesn’t exist. |
COVER_BELONGS_TO_OTHER_TENANTMASTER_BELONGS_TO_OTHER_TENANT | The file was uploaded under a different tenant. |
APPLE_MASTER_NOT_FOUNDAPPLE_MASTER_BELONGS_TO_OTHER_TENANTDOLBY_MASTER_NOT_FOUNDDOLBY_MASTER_BELONGS_TO_OTHER_TENANT | The same, for an Apple or Dolby Atmos master. |
CATALOG_TRACK_REFS_DIFFERENT_RELEASE_IDCATALOG_BOOKLET_REFS_DIFFERENT_RELEASE_ID | The track or booklet id already belongs to a different catalog release. Ids are global, so pick a new one. |
RELEASE_BELONGS_TO_OTHER_TENANT | The release id belongs to a release in another tenant. |
CUSTOMER_NOT_FOUNDCUSTOMER_BELONGS_TO_OTHER_TENANT | The ownerCustomerId can’t be used for this release. |
WALLET_ID_NOT_FOUNDWALLET_BELONGS_TO_OTHER_TENANTSHARE_SUM_INVALID | A share rule points at an unknown wallet, or its shares don’t add up to 1,000,000. |
PATCH_FULL_DRAFT_REQUIRES_TRACK_ID_IN_CHANGE_REQUESTPATCH_FULL_DRAFT_REQUIRES_BOOKLET_ID_IN_CHANGE_REQUEST | A track or booklet without id on the full-release endpoint. |
PATCH_FULL_DRAFT_TRACK_TENANT_ID_DIFFERENTPATCH_FULL_DRAFT_BOOKLET_TENANT_ID_DIFFERENT | A track or booklet names a different tenant than the release. |
TRACK_ID_MUST_BE_EMPTY_OR_AS_URL_PARAMETERBOOKLET_ID_MUST_BE_EMPTY_OR_AS_URL_PARAMETER | On a single track or booklet write, the id in the body differs from the one in the URL. |
INVALID_VOLUME_NUMBERINVALID_TRACK_NUMBER | A position out of range. |
DIFFERENT_DRAFT_RELEASE_WITH_SAME_EXTERNAL_ID_EXISTS_ALREADYDIFFERENT_DRAFT_TRACK_WITH_SAME_EXTERNAL_ID_EXISTS_ALREADYDIFFERENT_DRAFT_BOOKLET_WITH_SAME_EXTERNAL_ID_EXISTS_ALREADY | Another draft release, track or booklet in the tenant already uses this externalId. |
TENANT_ID_NEEDED_FOR_CLIENT_SCOPESAME_TENANT_ID_NEEDED_ON_ALL_REQUESTS | A client key sent no tenantId, or sent different tenants on the release and its tracks. |
TENANT_ID_MUST_BE_EMPTY_OR_SAME_AS_AUTH_SCOPE | A tenant key sent another tenant’s id on the full-release endpoint. |
TENANT_ID_MUST_BE_EMPTY_OR_AS_AUTH_SCOPE | The same, on a single release, track or booklet write. |
RELEASE_LOCKED_IN_REVIEW 409 | The draft is in review. Withdraw it before you edit it. |
A body that doesn’t match the schema, such as a wrong type or an unknown enum value, fails with DECODING_FAILED before any of these. See API basics.
Next steps
Submit and review
Validate the draft, submit it, and handle acceptance or rejection.
Read the guide →Upload files
Get covers and masters to SUCCESS before you reference them.
Validation codes
Load every check that runs on these fields, with an explanation and a fix.
Browse the codes →Reference data
The lists of genres, roles, stores, languages and pricing tiers you can use.
Browse the lists →