Skip to content

Create a release

POST
/api/v1/releases
const url = 'http://localhost:8891/api/v1/releases';
const options = {
method: 'POST',
headers: {
'idempotency-key': '3f8a1c62-9d5e-4b7a-8f21-0c4e6b9d2a17',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: '{"title":"Night Drive","primary_artist":"Miriam Vale","main_genre":"electronic","sub_genre":"deep-house"}'
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}

Step 1 — start here. Creates the abstract work that records are pressed from: metadata, artists, rights and genre. Two fields are required, title and primary_artist; label defaults to that artist and each rights line to that artist and the current year, so one line supplied leaves the other defaulted. main_genre and sub_genre take a slug from GET /genres — setting a main genre is what clears the main_genre_missing validation error, and both slots are otherwise left unset. Nothing physical — format, artwork, price, release date, territories and the EAN belong to the product you add in step 3. 422 when the same name is credited twice — as primary_artist and again in additional_artists — since a credit list is not de-duplicated for you, and 422 naming the slug for a genre your organisation cannot see or one sent to the wrong slot. 409 with code CONFLICT when the Idempotency-Key was already used for a different body, or when the release it created has since been deleted — either way the key is spent. A retry that lands while the first request with the same key is still in flight is a 409 with its own code, IDEMPOTENCY_IN_FLIGHT: that one is transient, so branch on the code and retry. The body is strict, nested objects included: a field this operation does not define — catalogNo for catalog_no — is a 400 naming the key, never a value quietly dropped. Requires the catalogue:write scope. Full flow: see the minimal path guide.

idempotency-key
required
string
>= 1 characters
Example
3f8a1c62-9d5e-4b7a-8f21-0c4e6b9d2a17

Unique key for this write. Retrying with the same key replays the first response instead of creating a duplicate; reusing it for a different body is a 409. Keys are scoped to the operation, so the same key may also be sent to a different endpoint.

Media typeapplication/json
object
title
required
string
>= 1 characters <= 60 characters
primary_artist
required
string
>= 1 characters <= 60 characters
label
string
>= 1 characters <= 100 characters
additional_artists
Array<object>
<= 20 items
object
name
required
string
>= 1 characters <= 60 characters
rights
object
sound_recording
object
holder
string
>= 1 characters <= 100 characters
year
integer
>= 1900 <= 9007199254740991
copyright
object
holder
string
>= 1 characters <= 100 characters
year
integer
>= 1900 <= 9007199254740991
description
string
>= 1 characters <= 60 characters
notes
string
>= 1 characters <= 80 characters
original_release_date
string format: date
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$/
catalog_no
string
>= 6 characters <= 40 characters /^[0-9A-Z-]+$/
main_genre
string
>= 1 characters <= 60 characters /^[a-z0-9]+(?:-[a-z0-9]+)*$/
sub_genre
string
>= 1 characters <= 60 characters /^[a-z0-9]+(?:-[a-z0-9]+)*$/
Example
{
"title": "Night Drive",
"primary_artist": "Miriam Vale",
"main_genre": "electronic",
"sub_genre": "deep-house"
}

Default Response

Media typeapplication/json
object
id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
status
required
string
Allowed values: draft active
title
required
string
primary_artist
required
string
label
required
string
additional_artists
required
Array<object>
object
name
required
string
>= 1 characters <= 60 characters
rights
required
object
sound_recording
required
object
holder
required
string
>= 1 characters <= 100 characters
year
required
integer
>= 1900 <= 9007199254740991
copyright
required
object
holder
required
string
>= 1 characters <= 100 characters
year
required
integer
>= 1900 <= 9007199254740991
description
required
string | null
notes
required
string | null
original_release_date
required
Any of:
string format: date
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$/
catalog_no
required
string | null
main_genre
required
string | null
sub_genre
required
string | null
tracks
required
Array<object>
object
id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
release_id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
title
required
string
subtitle
required
string | null
primary_artist
required
string
additional_artists
required
Array<object>
object
name
required
string
>= 1 characters <= 60 characters
rightsholders
required
Array<object>
object
name
required
string
>= 1 characters <= 100 characters
type
required
string
Allowed values: Composer / Author Composer Author Publisher
isrc
required
string | null
explicit
required
boolean
content_type_classification
required
string
Allowed values: Musical Work Non-Musical Work Medley
song_origin
required

Where the song comes from: original, written for this recording; cover, a recording of a song someone else wrote. A track that has never been given one is original.

string
Allowed values: original cover
cover
required
Any of:
object
original_song_title
required
string | null
lyrics_and_melody_unchanged
required
boolean | null
publisher
required
string | null
samples
required

The recordings this track samples, in order; empty when it samples none.

Array<object>
object
sampled_track_title
required
string | null
sampled_track_artist
required
string | null
sampled_recording_owner
required
string | null
publisher
required
string | null
clearance_confirmed
required
boolean | null
filename
required
string | null
checksum_sha256
required
string | null
status
required
string
Allowed values: awaiting_upload processing ready failed upload_expired
locked
required
boolean
audio_version
required
integer
> 0 <= 9007199254740991
upload
required
Any of:
object
url
required
string format: uri
method
required
string
Allowed values: PUT
headers
required
object
key
additional properties
string
expires_at
required
string format: date-time
duration_seconds
required
Any of:
integer
> 0 <= 9007199254740991
sampling_rate
required
Any of:
integer
> 0 <= 9007199254740991
bit_depth
required
Any of:
integer
> 0 <= 9007199254740991
lufs
required
number | null
true_peak
required
number | null
preview_url
required
string | null
error_code
required
string | null
error_detail
required
string | null
created_at
required
string format: date-time
updated_at
required
string format: date-time
products
required
Array<object>
object
id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
release_id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
medium
required
string
Allowed values: vinyl compact_disc
status
required
string
Allowed values: draft submitted published rejected unpublished discontinued
artwork_method
required

How this product's artwork is prepared. Quick: one image per printed face, everything not supplied is composed for you. Designer: one print-ready PDF per printed sheet, built on the published templates, nothing composed. Chosen when the product is created and fixed for its lifetime.

string
Allowed values: Quick Designer
readiness
required
string
Allowed values: processing ready needs_attention locked
ean
required
string
catalog_no
required
string
booklet
required
boolean
price_category
required
string
Allowed values: low medium high
release_date
required
string format: date
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$/
quantity_limit
required
Any of:
integer
> 0 <= 2147483647
promo_release
required
boolean
territories
required
Array<string>
territories_exclude
required
boolean
explicit
required
boolean
sides
required
Array<object>
object
label
required
string
>= 1 characters <= 8 characters
tracks
required
Array<string>
capacity
required
Array<object>
object
label
required
string
used_seconds
required
Any of:
integer
<= 9007199254740991
limit_seconds
required
integer
> 0 <= 9007199254740991
measured
required
boolean
audio_versions
required
Any of:
object
key
additional properties
integer
> 0 <= 9007199254740991
validation_errors
required
Array<object>
object
code
required
string
detail
required
string
key
additional properties
warnings
required
Array<object>
object
code
required
string
detail
required
string
key
additional properties
artwork
required
Array<object>
object
id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
part
required
string
status
required

Artwork processing lifecycle. composed means the face is printed as part of another face's sheet and has no file of its own — the spine, which is drawn onto the cover wrap. Nothing is owed for it, no upload can be sent to it, and it never blocks publishing; that is what tells it apart from awaiting_upload. ready is reserved for a face whose own artefact exists.

string
Allowed values: awaiting_upload processing ready failed upload_expired composed
auto_generated
required
boolean
locked
required
boolean
upload
required
Any of:
object
url
required
string format: uri
method
required
string
Allowed values: PUT
headers
required
object
key
additional properties
string
expires_at
required
string format: date-time
error_code
required
string | null
error_detail
required
string | null
source_image_id
required
Any of:
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
checksum_sha256
required

The SHA-256 of the record's file, as declared for its upload, or null when no file has been declared.

string | null
model
required
object
status
required
string
Allowed values: pending building ready failed
error
required
Any of:
string
Allowed values: product_missing product_type_missing format_unsupported build_failed
built_at
required
Any of:
string format: date-time
sheets
required
Array<object>
object
id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
sheet
required
string
disc
required
Any of:
integer
> 0 <= 9007199254740991
status
required
string
Allowed values: pending composing ready failed
current
required
boolean
print
required
Any of:
object
url
required
string format: uri
expires_at
required
string format: date-time
previews
required
Any of:
object
key
additional properties
object
url
required
string format: uri
expires_at
required
string format: date-time
composed_at
required
Any of:
string format: date-time
error_code
required
string | null
error_detail
required
string | null
factory
required
object
result
required
Any of:
string
Allowed values: received accepted rejected
received_at
required
Any of:
string format: date-time
decided_at
required
Any of:
string format: date-time
reason
required
Any of:
object
stage
required
string
Allowed values: schema download audio operator artwork
error_code
required
string
Allowed values: message_invalid asset_unavailable asset_link_expired audio_check_failed operator_rejected artwork_not_processed other
error_detail
required
string | null
warnings
required
Array<string>
publish_failure
required
Any of:
object
stage
required
string
Allowed values: render render_validation
error_detail
required
string
failed_at
required
string format: date-time
supersedes
required
Any of:
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
superseded_by
required
Any of:
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
created_at
required
string format: date-time
updated_at
required
string format: date-time
validation_errors
required
Array<object>
object
code
required
string
detail
required
string
key
additional properties
created_at
required
string format: date-time
updated_at
required
string format: date-time
Example
{
"id": "9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70",
"status": "draft",
"title": "Night Drive",
"primary_artist": "Miriam Vale",
"label": "Miriam Vale",
"additional_artists": [],
"rights": {
"sound_recording": {
"holder": "Miriam Vale",
"year": 2026
},
"copyright": {
"holder": "Miriam Vale",
"year": 2026
}
},
"description": null,
"notes": null,
"original_release_date": null,
"catalog_no": null,
"main_genre": "electronic",
"sub_genre": "deep-house",
"tracks": [],
"products": [],
"validation_errors": [],
"created_at": "2026-07-29T10:02:11Z",
"updated_at": "2026-07-29T10:02:11Z"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}