Create a release
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);}curl --request POST \ --url http://localhost:8891/api/v1/releases \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'idempotency-key: 3f8a1c62-9d5e-4b7a-8f21-0c4e6b9d2a17' \ --data '{ "title": "Night Drive", "primary_artist": "Miriam Vale", "main_genre": "electronic", "sub_genre": "deep-house" }'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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters”Example
3f8a1c62-9d5e-4b7a-8f21-0c4e6b9d2a17Unique 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.
Request Bodyrequired
Section titled “Request Bodyrequired”object
object
object
object
object
Example
{ "title": "Night Drive", "primary_artist": "Miriam Vale", "main_genre": "electronic", "sub_genre": "deep-house"}Responses
Section titled “ Responses ”Default Response
object
object
object
object
object
object
object
object
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.
The recordings this track samples, in order; empty when it samples none.
object
object
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.
object
object
object
object
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.
The SHA-256 of the record's file, as declared for its upload, or null when no file has been declared.
object
object
object
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
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}