Creator API: catalogue
The Creator API exposes a creator’s catalogue, modelled in music terms. This page is the whole surface: the model, the shortest path to a pressable record, and the conventions every endpoint follows.
https://api.staging.elasticstage.com/creatorThe model
Section titled “The model”A release is the abstract work: metadata, artists and a track pool. A product is the physical thing pressed from it — a 12″ vinyl, a CD — and everything physical lives there: format, running order, artwork, barcode, price.
| Resource | Is | Holds |
|---|---|---|
release |
The abstract work — an album, EP or single | Metadata, artists, rights, genre, track pool |
track |
A recording on a release | Audio + processing status & measured metadata |
product |
A physical, barcoded record pressed from the release | Format, ordered sides, artwork, EAN, price |
artwork |
An artwork asset on a product | Uploaded file (cover, booklet, …), its status, and why it failed |
- Consistent responses — every field is always present; unset values are
nullor empty. - Uploads — create a record and receive a signed URL, then
PUTthe bytes straight to storage. - Async — processing runs in the background and reports completion via webhook events.
The minimal path
Section titled “The minimal path”The smallest sequence that ends with a pressable record. Six values are genuinely required: a release title and its primary artist, a track title and a WAV per track, your cover image, and the medium plus a running order. Everything else has a default.
On vinyl that is one image, the front cover; a CD adds the two inside panels of its cover wrap, and a booklet, on either medium, its twelve booklet panels. Those are the only artwork parts with no generated fallback, and everything else on the sheet is composed from your release metadata unless you choose to send your own. Step 4 below has the list.
1 · Create the release
Section titled “1 · Create the release”POST /api/v1/releases{ "title": "Night Drive", "primary_artist": "Miriam Vale" }
→ 201 Created{ "id": "9c3f…", "status": "draft", "title": "Night Drive", "primary_artist": "Miriam Vale", "label": "Miriam Vale", "rights": { "sound_recording": { "holder": "Miriam Vale", "year": 2026 }, "copyright": { "holder": "Miriam Vale", "year": 2026 } }, …}Two fields in, a whole release back: label from the artist, both rights lines from
the artist and the current year. Both are required — the artist is printed on the
labels and the spine, so it is named by you rather than guessed, and omitting it is
a 400 like any other missing required field. (Earlier drafts of the specification
promised primary_artist a default from the connected account; there is none — the
API has no display name to print, so the field is required.) There is no EAN yet —
the barcode belongs to the product.
The response also carries the release’s own validation_errors — work-level facts
standing between the release and manufacture, like a missing main genre. Each
product you add later reports its own list; the release’s is not repeated into
them.
Changed your mind about a field afterwards? See Editing the release; and Listing your releases is the way back to an id you did not keep.
Genres
Section titled “Genres”A release has two genre slots, main_genre and sub_genre, and both are optional
on the create. Each takes a slug from GET /api/v1/genres:
GET /api/v1/genres→ 200 OK{ "data": [ { "slug": "deep-house", "name": "Deep House", "is_main_genre": false }, { "slug": "electronic", "name": "Electronic", "is_main_genre": true }, …] }The list is our whole vocabulary plus anything your organisation has had added —
never another organisation’s — and it is not paginated, so both pickers come from
one call. is_main_genre says which slot a genre may fill: a sub genre sent as
main_genre is a 422, as is a slug you cannot see. Store the slug; a display
name can be corrected, a slug is the stable handle.
Setting main_genre is what clears the main_genre_missing entry from the
release’s validation_errors. It does not gate publishing — a product with no
genre presses fine — so it is a completeness prompt rather than a blocker.
Adding a genre of your own is not something the API does yet; ask us.
2 · Create the tracks
Section titled “2 · Create the tracks”POST /api/v1/releases/9c3f…/tracks{ "tracks": [ { "track_id": "7a1e…", "title": "Headlights", "content_type": "audio/wav", "byte_size": 52428800, "checksum_sha256": "9f2c1d4e6a8b0c2d4e6f8a0b2c4d6e8f0a2b4c6d8e0f2a4b6c8d0e2f4a6b8c0d" }, { "track_id": "7a1f…", "title": "Overpass", "content_type": "audio/wav", "byte_size": 48112000, "checksum_sha256": "3b5d7f9a1c3e5a7b9d1f3a5c7e9b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a1c3e5a" }, { "track_id": "7a20…", "title": "Return", "content_type": "audio/wav", "byte_size": 50331648, "checksum_sha256": "7d9f1b3d5f7a9c1e3b5d7f9a1c3e5a7b9d1f3a5c7e9b1d3f5a7c9e1b3d5f7a9c" }, { "track_id": "7a21…", "title": "Return (outtake)", "content_type": "audio/wav", "byte_size": 49283072, "checksum_sha256": "ebe49006903be3a182dad9539ee512b55c0a2032c572d6e8faa501cc15e7215a" }] }
→ 201 Created — each track carries an upload target{ "data": [ { "id": "7a1e…", "status": "awaiting_upload", "upload": { "url": "https://uploads…", "method": "PUT", "headers": { "Content-Type": "audio/wav", "x-amz-checksum-sha256": "nywdTmqLDC1Ob4oLLE1ujworTG2ODypLbI0OL0prjA0=" }, "expires_at": "2026-07-29T23:00:00Z" }, … }, …] }PUT each file to its upload.url, sending upload.headers verbatim. That goes
straight to storage — not to the API, and with no bearer token. There is no
confirmation call: the object is detected on arrival, the track moves to
processing, and track.ready fires when it completes.
Four tracks go in and three get pressed: 7a21… is an outtake no product below
references. The pool is a set rather than a running order, so building it wider
than the record is normal — and an abandoned take comes back out again, see
Deleting a track.
3 · Add the product
Section titled “3 · Add the product”// 12" vinyl — two sidesPOST /api/v1/releases/9c3f…/products{ "medium": "vinyl", "sides": [ { "label": "A", "tracks": [ "7a1e…", "7a1f…" ] }, { "label": "B", "tracks": [ "7a20…" ] } ] }
// CD — one side, same shape{ "medium": "compact_disc", "sides": [ { "label": "CD", "tracks": [ "7a1e…", "7a1f…", "7a20…" ] } ] }
→ 201 Created{ "id": "44c8…", "status": "draft", "readiness": "processing", "ean": "5063933591880", "validation_errors": [ { "code": "artwork_missing", "part": "front_cover", "detail": "Artwork part 'front_cover' is missing." } ], "warnings": [], … }The product is the physical record, so the EAN is allocated here. medium and
sides stay required: nothing can guess which format you are pressing, and the
track pool has no order of its own.
The validation_errors above are your artwork to-do list — one artwork_missing
per part you have to send. On vinyl that is front_cover, plus vinyl_booklet_1 to
vinyl_booklet_12 with a booklet; on a CD it is front_cover, cover_inside_left and
cover_inside_right, plus cd_booklet_1 to cd_booklet_12 with a booklet. The parts that
are not listed are the ones composed for you: the spine, the back cover, the
labels, and blank inner sleeves on vinyl. Read the list rather than
assuming it — it is the contract, and it is what publish gates on.
artwork_method is decided here too, and it cannot be changed afterwards — it
selects the vocabulary this product’s artwork parts are named in. It defaults to
Quick, which is the path the rest of this walkthrough takes. See
Artwork parts.
The commercial terms and the running order stay yours until this product publishes, and only until then — see Editing the product.
4 · Upload your artwork
Section titled “4 · Upload your artwork”One image on vinyl, the front cover; three on a CD, the front cover and the two inside panels. A booklet adds its twelve panels on either medium, so a vinyl with a booklet takes thirteen and a CD with a booklet fifteen. Send more in the same batch if you want to replace something we would otherwise compose:
// 12" vinyl: the front coverPOST /api/v1/releases/9c3f…/products/44c8…/artwork{ "artwork": [ { "artwork_id": "1c2a…", "part": "front_cover", "content_type": "image/jpeg", "byte_size": 18874368, "checksum_sha256": "f32c4083dc2858a3dedffc2ac10e3cb0455e2b22de1dcec84fcc11028fd60ae8" }] }
// CD: the front cover and both inside panels, same shape{ "artwork": [ { "artwork_id": "1c2a…", "part": "front_cover", … }, { "artwork_id": "5d9e…", "part": "cover_inside_left", … }, { "artwork_id": "8b07…", "part": "cover_inside_right", … }] }
→ 201 Created — same shape as tracks: an upload target per record, in the order you sent them{ "data": [ { "id": "1c2a…", "part": "front_cover", "status": "awaiting_upload", "auto_generated": false, "upload": { "url": "https://uploads…", "method": "PUT", "headers": { "Content-Type": "image/jpeg", "x-amz-checksum-sha256": "8yxAg9woWKPe3/wqwQ48sEVeKyLeHc7IT8wRAo/WCug=" }, "expires_at": "2026-07-29T23:00:00Z" } } ] }Then PUT each image to its own upload.url, exactly as with the tracks. Every
image 2000–4000 px on each side, RGB — this product uses the default Quick
method, so it takes images and composes the print files for you.
What you must send, per medium:
| Medium | Parts required |
|---|---|
vinyl |
front_cover |
| Vinyl booklet | the vinyl’s, plus vinyl_booklet_1 to vinyl_booklet_12 |
compact_disc |
front_cover, cover_inside_left, cover_inside_right |
| CD booklet | the CD’s, plus cd_booklet_1 to cd_booklet_12 |
A CD’s inside panels are the two panels on the inside of the cover wrap, one
upload each. Each prints at 148 × 129.03 mm, which is 1748 × 1524 px at 300 dpi.
The 2000–4000 px rule still applies, so your image is scaled down to that size and
centre-cropped to its shape: send it landscape at that ratio to keep all of it. Upload each
panel upright, as it reads in the open case: the wrap is printed with both panels
turned 180° on the flat sheet so that they read the right way up once it is folded,
and that turn is ours to make, not yours. cover_inside_left is the panel on the left
of the open case.
Everything else is composed for you and needs no upload — the spine, the back
cover (your tracklist and the ℗/© lines), the labels (side titles and the
catalogue number), and on vinyl the two inner sleeves, which press blank unless
you send your own. Those appear as artwork records with auto_generated: true, and
the spine is recomposed on a colour sampled from your front cover once it lands,
firing artwork.ready again. You can upload your own over any of them; you just do
not have to.
On vinyl, the label sheet and the inner sleeve are composed as soon as the
product is created — nothing on either waits for you. The printed cover wrap waits
for your front cover, and composes the moment it lands: your image, the generated
back cover, the spine, and your EAN barcode stamped onto the back cover. A CD is
the same with one sheet fewer: the disc label is composed as soon as the product is
created, and the cover wrap waits for your front cover and both inside panels, then
composes with the generated back cover, the spine and the barcode. On either medium,
a booklet waits for all twelve of its panels, then composes
(Artwork parts). The product reaches ready once every sheet has
composed. A CD cannot be published, though: the factory does not press CDs, so
step 5 answers 409 for one. Everything before that step works.
The composed files are yours to inspect: each entry in the product’s sheets array
carries a print link to the print-ready PDF and one link per preview image. They
are signed and short-lived — read get a product again for fresh ones rather than
caching the URL past its expires_at, and note that the products embedded in get a
release report both as null.
Building the print files yourself is the Designer method, chosen at step 3: one
PDF per printed sheet, and nothing composed. See Artwork parts.
5 · Publish
Section titled “5 · Publish”POST /api/v1/releases/9c3f…/products/44c8…/publish→ 200 OKWait for product.ready, then publish. Publishing a product whose
validation_errors is non-empty returns 409.
Publishing hands the product to the factory; it does not put it on sale. The call
answers status: submitted, and the factory decides minutes to days later: the
product becomes published and you get a product.available webhook, or it becomes
rejected and you get product.rejected with the reason. The factory can change its
decision later, so a product can move between published and rejected more than
once. It keeps its barcode, and each change sends its webhook again: stop selling on
product.rejected, even a product already on sale. What the factory has said
so far is in the product’s own factory object.
Everything that is required
Section titled “Everything that is required”| Call | Required |
|---|---|
| Create a release | title, primary_artist |
| Create tracks | track_id, title, content_type, byte_size, checksum_sha256 |
| Add a product | medium, sides |
| Create artwork | artwork_id, part, content_type, byte_size, checksum_sha256 per part: front_cover, plus a CD’s two inside panels and a booklet’s twelve panels |
| Publish | Nothing |
Everything that defaults
Section titled “Everything that defaults”| Field | Default | Printed |
|---|---|---|
label |
primary_artist |
No |
main_genre · sub_genre |
Unset: a slug from GET /api/v1/genres, never guessed for you |
No |
rights.sound_recording |
primary_artist + current year |
℗ line, labels, back cover |
rights.copyright |
primary_artist + current year |
© line, back cover |
tracks[].primary_artist |
Release primary_artist |
No |
tracks[].content_type_classification |
Musical Work |
No |
tracks[].song_origin |
original |
No |
tracks[].explicit |
false |
Advisory logo |
tracks[].isrc |
Allocated from the elasticStage range at first publish | No |
ean (product) |
Allocated when the product is created | Barcode on the back cover |
artwork_method (product) |
Quick |
No |
| Artwork: spine | Composed from your front cover’s colours (Quick) |
Yes |
| Artwork: inner sleeves (vinyl) | Blank white (Quick) |
Yes |
Artwork: back_cover |
Your tracklist and the ℗/© lines (Quick) |
Yes |
| Artwork: labels | Side titles and the catalogue number (Quick) |
Yes |
Artwork: cd_label (CD) |
The artist, title, ℗ line and tracklist (Quick) |
Yes |
booklet |
false |
No |
price_category |
medium |
No |
release_date |
Today | No |
catalog_no (product) |
The release catalog_no, or the product’s EAN |
No |
quantity_limit |
null, an open edition |
No |
territories · territories_exclude |
Empty and false: worldwide |
No |
promo_release |
false |
No |
Every other optional field defaults to null, or to an empty array where it is
a list. Nothing in that list is ever invented for you. The one exception is the
two refresh or replace the upload calls, where an omitted filename leaves the
one already on the record.
Beyond the minimal path
Section titled “Beyond the minimal path”What the five steps leave out and you will want anyway: correcting the work, finding it again, dropping a take, and correcting the record before it presses.
Editing the release
Section titled “Editing the release”The release stays editable for its whole life. PATCH it before, during and after
any of its products publish — a typo in a credit or a storefront blurb is yours to
fix without a support ticket:
PATCH /api/v1/releases/9c3f…{ "title": "Night Drive (Remastered)", "catalog_no": null, "artists": [{ "name": "Miriam Vale" }, { "name": "Coast Music" }] }
→ 200 OK (the same release view Get a release returns)Merge semantics, as on a track: fields present are replaced, absent fields are
untouched — create-time defaults never re-apply, so omitting a field is not a
reset — and null clears label, description, notes, catalog_no,
original_release_date and either genre slot. title has no null, and clearing
label puts it back to its default of the primary artist. Send at least one
field: an empty body is a 400.
artists is the whole credit list, in order, not a merge. Position 1 is the
primary artist, so a reorder is how that changes; a name you leave out is a credit
dropped, and a name the release has not seen is added to its vocabulary. Sending
one name twice is a 422.
Only the product is ever frozen. Publishing pins that product’s audio versions and freezes its artwork, and this call touches neither — so a record already pressed keeps what it was pressed with, while the release goes on describing the work as it now stands. The two can therefore disagree, deliberately: read the product for anything manufactured, the release for current presentation.
Listing your releases
Section titled “Listing your releases”Come back tomorrow and you do not need to have kept the id anywhere:
GET /api/v1/releases?page=1&per_page=25
→ 200 OK{ "data": [ { "id": "9c3f…", "status": "draft", "title": "Night Drive", "primary_artist": "Miriam Vale", "created_at": "2026-07-29T10:02:11Z", "updated_at": "2026-07-29T10:41:37Z" }, { "id": "2e58…", "status": "active", "title": "Coast Road", … }], "meta": { "page": 1, "per_page": 25, "total": 2 } }Your organisation’s releases, newest first, in the platform’s paginated envelope
(see conventions): page from 1, per_page from 1 to 100
and 25 by default, and a total counting the whole catalogue rather than the page.
A value outside either range is a 400, and a page past the end is an empty data
with the total still on it. Ties on the creation instant break on the id, so
walking the pages never repeats or skips a release. A release is draft until one
of its products publishes and active from then on — those are the only two values.
A product’s own status is finer: draft, submitted while the factory decides, and
then published or rejected.
There is no filter and no search: an item carries what you need to recognise a
release and pick it up again — its id, title, primary_artist, status and
both timestamps — and everything else, the tracks, the products, the genres and
the validation_errors, is one GET /api/v1/releases/{id} away. The fields that
appear in both are the same fields, so a list you have already rendered does not
disagree with the release you open from it.
Deleting a track
Section titled “Deleting a track”A take you have abandoned comes back out of the pool — the outtake from step 2:
DELETE /api/v1/releases/9c3f…/tracks/7a21…
→ 204 No ContentOnly a track no product references. The pool is what a tracklist selects from,
so removing a track any product carries would leave that product naming a recording
that no longer exists — it is a 409, whether the product is a draft or published.
Take the track off the product first with
PUT …/tracklist, which works while the product is a draft
and is itself a 409 once it publishes. A track a published product carries is
therefore permanent. That PUT can never leave a tracklist empty — it wants at
least one side and at least one track on it — so freeing a draft product’s only
track means putting a replacement track in its place in the same call.
The delete needs an Idempotency-Key like every other write, and retrying with the
same one is 204 again rather than 404 — the track is gone precisely because the
first call succeeded. The upload the track was created with is not reclaimed:
uploads are single-use, so that id stays spent and a new take is a new track.
Editing the product
Section titled “Editing the product”A draft product’s commercial terms and its running order stay editable right up to the moment it publishes. Two calls, because one merges fields and the other replaces a list:
PATCH /api/v1/releases/9c3f…/products/44c8…{ "price_category": "high", "release_date": "2026-09-18", "quantity_limit": null }
PUT /api/v1/releases/9c3f…/products/44c8…/tracklist{ "sides": [ { "label": "A", "tracks": [ "7a1f…", "7a1e…" ] }, { "label": "B", "tracks": [ "7a20…" ] } ] }
→ 200 OK (each answers with the same product view Get a product returns)The PATCH merges: fields present are replaced, absent fields untouched, and null
clears price_category, release_date, quantity_limit and catalog_no back to
their defaults — the middle band, the day the product was created, an open
edition, and your release’s catalogue number or, failing that, the EAN.
promo_release, territories and territories_exclude take no null: an empty
territories already means worldwide, which is a value rather than the absence of
one. Send at least one field: an empty body is a 400. A
quantity_limit of 0 is a 422, as it is on the create — a record that can never
be pressed is not a state to edit into either.
The PUT replaces the whole running order, every side at once. The array is the
order, so reordering it is how a track moves, and a track you leave out comes off
this product — it stays in the release’s pool, and any other product carrying it is
untouched. It is the same sides shape as the create, minus the medium: the
product already has one. The rules that follow from the medium are therefore
answered against the product rather than the request, which makes a CD given two
sides a 422 here where the identical mistake is a 400 on the create.
What you cannot edit is what the record physically is. medium, booklet,
artwork_method and ean are not fields of the PATCH body at all, so sending one
is a 400 naming the key. The format decides the recipe, the artwork slots and the
per-side bounds; the artwork method decides the vocabulary your artwork rows are
already named in; and the barcode may already be printed on a cover, so editing it
would hand a live code back to the pool. Changing any of them is pressing a
replacement product, not editing this one.
And both stop at publish. Publishing locks the product — it pins the audio
version of every track on the tracklist and freezes the artwork — so from that
moment either call is a 409, including one that only moves the territories. There
is no unlock, and the factory’s answer does not reopen it either way. Get the terms and the order right before step 5; the release itself
goes on editing either way (above).
Deleting a product
Section titled “Deleting a product”A product you have given up on, before it publishes:
DELETE /api/v1/releases/9c3f…/products/4b81…
→ 204 No ContentA barcode of ours goes back to the pool. The pool is finite and a create is the only thing that draws from it, so a code a draft took is not spent on a manufacture that never happens. A barcode you supplied that was never ours is not ours to reissue: it stays recorded against you rather than returning to stock. A code of ours you happened to name on the create is still ours, and it does come back.
Only while it is unlocked. Publishing is the manufacturing lock, so the delete
is a 409 from that moment and permanently: there is no unlock, and the barcode may
already be on a printed cover or inside a factory payload, so the code stays spoken
for. It is the lock that refuses, not the release being submitted, and a CONFLICT
from this route is final.
Two other conflicts on this route are transient rather than permanent, and each has
its own code so you can retry on sight: a repeat that lands under the same
Idempotency-Key while the first call is still in flight (IDEMPOTENCY_IN_FLIGHT),
and the product moving onto another EAN between this call’s read and its lock
(EAN_REASSIGNED). Retry either as sent.
The track pool is untouched. A tracklist selects from the pool and never owns it, so every track stays and can be listed on another product (above is how you remove one). The uploads already spent are not reclaimed either: an upload is single-use, so its id stays spent.
Like every other write it needs an Idempotency-Key, and retrying with the same one
is 204 again rather than 404, because the product is gone precisely because the
first call succeeded. Reusing that key for a different product is not a retry: the
key is spent on the first request it saw, so it answers 409 with code CONFLICT.
An unknown product, one of another release, and one belonging to another
organisation are all 404, and which it was is not disclosed.
Keeping images in the release artwork pool
Section titled “Keeping images in the release artwork pool”Artwork belongs to a product, one file per printed face. The release artwork pool holds images that belong to the release instead, so an original photo is uploaded once and kept: to crop again later, or to reuse on another product or outside print. Nothing prints from the pool directly.
POST /api/v1/releases/9c3f…/artwork-poolIdempotency-Key: 0b7e…{ "images": [ { "image_id": "5b6c…", "filename": "band-photo.jpg", "content_type": "image/jpeg", "byte_size": 24117248, "checksum_sha256": "8a0c…" } ] }
→ 201 Created{ "data": [ { "id": "5b6c…", "status": "awaiting_upload", "width_px": null, "height_px": null, "preview": null, "original": null, "upload": { "url": "https://…", "method": "PUT", "headers": { … }, "expires_at": "2026-07-29T23:00:00Z" }, … } ] }An image is a JPEG or PNG, uploaded exactly as a track is
(Uploading files): PUT the bytes to upload.url with
upload.headers, and the image moves on by itself. Its checks
are the file’s own — that it is a JPEG or PNG it can read — and no face’s, since a
pool image is on no face: failed carries artwork_unreadable or
artwork_format_unsupported, and a window that lapses ends as upload_expired, so
create a new image. No webhook is sent for the pool; read it back:
GET /api/v1/releases/9c3f…/artwork-pool
→ 200 OK{ "data": [ { "id": "5b6c…", "status": "ready", "width_px": 4500, "height_px": 3000, "preview": { "url": "https://…/preview.jpg", "expires_at": "…" }, "original": { "url": "https://…/original.jpg", "expires_at": "…" }, "upload": null, … } ] }A ready image carries its pixel size, upright as it displays, and two signed,
short-lived links: preview, a JPEG at most 1200 px on its long edge, in sRGB, for
showing a pool on screen without fetching every original; and original, the file
as you sent it. Fetch each before its expires_at and read the pool again for fresh
ones. The listing is oldest first, an empty data for a release with no pool, and
404 for an unknown release and for one belonging to another organisation alike.
Each image also carries the checksum_sha256 its file was declared with. To avoid
uploading a file the pool already holds, filter on it first:
GET …/artwork-pool?checksum_sha256=8a0c… lists only the images with that file,
and an empty data means it is not there yet.
A face cropped from a pool image can say so. Send source_image_id with the
artwork entry, on create or on …/upload, and the record carries it back, so the
original can be fetched and cropped again later:
GET /api/v1/releases/9c3f…/artwork-pool/5b6c…
→ 200 OK{ "id": "5b6c…", "status": "ready", "checksum_sha256": "8a0c…", "original": { "url": "https://…/original.jpg", "expires_at": "…" }, … }Several faces may name the same image. It must be in the release’s own pool, in
any status, or the request is a 422. A new file sent without source_image_id
clears it, since the source describes the file.
Authentication
Section titled “Authentication”OAuth 2.1, served by the elasticStage authorization server. Access tokens are sent as bearer tokens. Two grants, one per integration pattern:
| Integration | Grant | Creator named by |
|---|---|---|
| A creator connecting their own account to a tool | Authorization code + PKCE | The creator, at consent |
| A partner acting for creators it already represents | Client credentials | The token request |
POST /api/auth/oauth2/tokengrant_type=client_credentialsclient_id=<client_id>client_secret=<client_secret>resource=<creator id>scope=catalogue:read catalogue:write tracks:write
→ 200 OK{ "access_token": "…", "token_type": "Bearer", "expires_in": 3600, "scope": "catalogue:read catalogue:write tracks:write" }Request every scope the flow needs up front: the walkthrough above spans all
three, and a token missing one is a 403 on that call rather than at the token
endpoint.
Scopes
Section titled “Scopes”| Scope | Grants |
|---|---|
catalogue:read |
Read releases, tracks, artwork and products, and list the genre vocabulary (GET /genres). |
catalogue:write |
Create releases, products and artwork, edit a release, edit a product, replace its tracklist, publish a product, and delete a draft product. |
tracks:write |
Create tracks, request upload URLs, edit track metadata and delete an unreferenced track. |
offline_access |
Issue a refresh token. Authorization code only — refresh tokens are not issued for client credentials. |
Access tokens are short-lived; expires_in on the token response is
authoritative and should be read rather than assumed. Caching a token for its
stated lifetime is expected, so a change to what a client may represent takes
effect within one token lifetime rather than immediately.
A Creator API token is bound to a single creator, named when the token is minted. Every route operates on that creator, which is why the paths carry no creator id — managing several creators means one token per creator.
Creating a creator, editing it and completing its billing are handled by the authorization server and the elasticStage dashboard, not by this API.
Uploading files
Section titled “Uploading files”Bytes never pass through the API. Creating a track or artwork record hands back a
signed URL, you PUT the file straight to storage, and processing starts when it
arrives.
- Create the records. Each entry declares a client-generated id, the
content_type, thebyte_sizeand achecksum_sha256; artwork also names itspart. Batched, so twelve files take one call. PUTthe bytes toupload.url, sendingupload.headersverbatim.- The object is detected on arrival. The record moves to
processing, then fires*.readyor*.failed. No confirmation call, no polling.
content_type is signed into the URL, so a PUT that sends a different one — or
none — is refused by storage rather than storing a mislabelled object. The
checksum_sha256 (hex SHA-256, from shasum -a 256 <file>) signs the digest in too: storage verifies the
bytes as they arrive, so a corrupted transfer or the wrong file is rejected at
the PUT itself. Both travel in upload.headers, which is why they have to be
sent verbatim — dropping one is a 4xx, not a silently unverified upload.
byte_size is signed in too, so the PUT must carry a Content-Length exactly
equal to it: a truncated or oversized body fails the signature and is refused
with 403 SignatureDoesNotMatch before a single byte is stored. It is not an
entry in upload.headers — the transport writes Content-Length from the body
you give it, and browsers forbid setting it by hand — so sending the right file
is all there is to do. This costs chunked clients nothing: S3 PutObject
requires a content length regardless, and a chunked upload has to declare
aws-chunked with x-amz-decoded-content-length anyway. The record is left
untouched by a refused PUT, so a wrong declaration costs a round trip rather
than a whole transfer and a failed record. The size is still re-checked against
the stored object after it lands (upload_size_mismatch), which now only catches
an object that reached the bucket by some other route. The checksum is re-checked
the same way, against the bytes themselves if storage recorded no digest:
upload_checksum_mismatch if it differs.
Expired and replaced files
Section titled “Expired and replaced files”URLs are valid for several hours. A record still in awaiting_upload when its
URL lapses moves to upload_expired and fires track.upload_expired /
artwork.upload_expired. The record and its metadata survive: call refresh or
replace the upload — on the track or on the artwork — for a new URL.
The same call handles deliberately replacing the audio of a track that is already
ready, which increments audio_version — but only while the track is unlocked.
Once a product referencing it is published the track is pinned and replacement
returns 409. Reading a record with GET never mints a URL, so a retry or a prefetch
cannot quietly issue credentials; it reports the live one when there is one to
report. A track read reports its live target while the window is open; the
artwork embedded in get a product or get a release always reports upload: null, so take an artwork upload target from the response of create artwork or
refresh or replace the artwork upload, which are the two calls that mint one.
Accepted files
Section titled “Accepted files”Audio — one file per track:
| Accepted | |
|---|---|
| Container | WAV (audio/wav, audio/x-wav), MP3 (audio/mpeg, audio/mp3) |
| Bit depth | 16 or 24 bit |
| Sample rate | 44.1, 48, 88.2 or 96 kHz |
| Channels | 2 — stereo only |
| Size | Up to 800 MB per file |
Not accepted: AIFF, FLAC, mono, and sample rates above 96 kHz. A file that is
mono, multichannel, or sampled above 96 kHz is refused once its bytes are read:
the track moves to failed with audio_unsupported and track.failed carries
that code. DDP images and continuous single-file masters with a cue sheet are
rejected rather than split.
Two of those statements are stricter than what the pipeline enforces. A bit depth
other than 16 or 24, 32-bit float included, is re-encoded to 16-bit rather than
refused. AIFF and FLAC are refused by content_type, at the point you declare
the file, so bytes of either sent under a WAV declaration are re-encoded like any
other non-canonical file.
MP3 is always re-encoded to a 16-bit / 44.1 kHz WAV, and that WAV is what gets pressed. Nothing lost in the MP3 encode comes back, so send the WAV whenever you have one.
Artwork — the accepted file follows the product’s artwork_method, and a file
of the other kind is a 422:
artwork_method |
Accepted | Rules |
|---|---|---|
Quick (default) |
JPEG or PNG | 2000–4000 px on each dimension, RGB/sRGB, up to 300 MB. elasticStage composes the print PDF. |
Designer |
PDF/X-4, Fogra39, all fonts embedded, no annotations, exact page size and count, up to 150 MB. |
Not accepted: TIFF, and layered source files (PSD, AI, INDD). Quick is the only
method in which a part can be generated from metadata — Designer composes
nothing.
Artwork parts
Section titled “Artwork parts”part is validated against the product’s medium and its artwork_method.
The two methods address the same physical record at different granularity — one
image per printed face, or one print-ready PDF per printed sheet — so their
part names do not overlap and a product is in one or the other.
Quick — one image per face:
- Vinyl:
front_cover,back_cover,vinyl_labels_a,vinyl_labels_b,inner_sleeve_front,inner_sleeve_back, andvinyl_booklet_1tovinyl_booklet_12on a booklet type - CD:
front_cover,back_cover,cover_inside_left,cover_inside_right,cd_label, andcd_booklet_1tocd_booklet_12on a booklet type
Which of those you have to send:
| Medium | No generated fallback: you must send | Generated for you |
|---|---|---|
vinyl |
front_cover |
back_cover, vinyl_labels_a, vinyl_labels_b, spine, inner_sleeve_front, inner_sleeve_back |
| Vinyl booklet | the vinyl’s, plus vinyl_booklet_1 to vinyl_booklet_12 |
the vinyl’s |
compact_disc |
front_cover, cover_inside_left, cover_inside_right |
back_cover, cd_label, spine |
| CD booklet | the CD’s, plus cd_booklet_1 to cd_booklet_12 |
the CD’s |
A CD’s two inside panels are one upload each, 148 × 129.03 mm (1748 × 1524 px at 300 dpi), sent upright as the panel reads in the open case; the wrap is printed with both turned 180° so that they read upright once folded. Step 4 of the minimal path has the detail.
A booklet is twelve panels in reading order: vinyl_booklet_1 or cd_booklet_1
is the front, vinyl_booklet_12 or cd_booklet_12 the back, and the ten between are
the pages as a reader turns them. Each panel is one image. A vinyl panel prints at
303.02 × 305.99 mm, which is 3579 × 3614 px at 300 dpi, and a CD panel at
123.02 × 124.04 mm, which is 1453 × 1465 px. The 2000–4000 px rule still applies, so
your image is scaled to that size and centre-cropped to its shape: send it at that
ratio to keep all of it. The booklet is composed onto its six-page print sheet two
panels a page.
All twelve are required: each is artwork_missing until it lands, and the booklet
composes once the last one does. If you have nothing for a booklet, create the product
without booklet, which is fixed at creation.
A part in the right-hand column already exists on the product as a record with
auto_generated: true, and is replaced by whatever you send — sending one is
optional. A part in the left-hand column has no record until you create one,
which is why it shows up as artwork_missing in the product’s
validation_errors. That list is the authority — read it rather than hard-coding
this table.
The spine is the exception on both media: it is reported as a part and is
always composed for you, sampled from your front cover, and it cannot be uploaded
to — sending one is a 422. Because it is printed inside another face’s sheet it
has no file of its own, so it reports its own status: composed once it has been
printed onto that sheet, meaning nothing is owed on it and none is accepted, and
processing until then rather than awaiting_upload. Send a spine of your own by
using Designer, where it is three millimetres of the cover wrap rather than a
part at all.
Designer — one print-ready PDF per printed sheet, matching the published
Illustrator templates file for file:
- Vinyl —
cover,labels,inner_sleeve, andbookletwhenbookletistrue
cover is the whole wrap: front, spine and back in one file. labels is the
single label sheet both labels are cropped from, and booklet is one multi-page
PDF rather than a part per page. Nothing is composed, so every sheet is created
with the product as an empty slot and every one of them is required — they appear
in validation_errors as artwork_awaiting_upload until you send them.
Those two upload states are reported for either method: a part with no file yet
is artwork_awaiting_upload, and one whose upload window closed is
artwork_upload_expired. Neither means anything failed — the move in both cases is
yours, which is why they are not artwork_processing or artwork_failed.
When a part does fail, the record says why. Its status is failed and it carries
two more fields: error_code, a stable snake_case code to branch on, and
error_detail, one sentence to show a user. A Designer cover that our PDF preflight
refuses reads pdf_page_size_wrong, so your code can tell a wrong page size from a
missing font. The artwork_failed in validation_errors is the same word for both.
Both fields are null on any part that has not failed, and the
artwork.failed event carries the same pair.
The codes are an open set. New preflight checks bring new codes, so branch on the ones
you handle and show error_detail for the rest. A failure that is ours rather than
your file’s gets a code too, and the code names us. artwork_processing_failed and
upload_ingest_failed come from our pipeline, and the fix for either is a retry, not a
re-export.
Designer is available on both media. A vinyl product takes a print-ready PDF per
sheet for the cover, the labels, the inner sleeve and — on a booklet type — the booklet;
a CD takes one for the cover wrap, one for the label and, on a booklet type, one for the
booklet.
Artists & credits
Section titled “Artists & credits”Everyone named on a record is named by name. There is no separate identity
record to create or look up — a credit is a string plus, where the credit is a
rights one, a type.
| Field | On | Notes |
|---|---|---|
primary_artist |
Release | Up to 60 characters. Required — it is printed on both labels and the spine, so it is never chosen for you. |
primary_artist |
Track | Defaults to the release value. Not printed — carried for reporting and export. |
additional_artists |
Release and track | Featured and guest artists, each { name }. Not printed. |
Composition credits sit on the track as rightsholders, each { name, type }.
Four types are accepted — Composer / Author, Composer, Author, Publisher:
{ "rightsholders": [ { "name": "Miriam Vale", "type": "Composer / Author" }, { "name": "Coast Music", "type": "Publisher" } ]}rightsholders is entirely optional: composition credits are never printed and
are not required to press a record. Omitted, the list defaults to empty; nothing
is ever credited on your behalf.
Production, engineering and performance credits — producer, remixer, mixing engineer, musician, instrument — are not modelled. Neither are ISNI or any other artist identifier. A name is the only handle.
Errors & conventions
Section titled “Errors & conventions”Idempotency
Section titled “Idempotency”Every write requires an idempotency-key header — a request without one is a
400. Retrying with the same key answers for the resource the first call created
instead of creating a duplicate, recomputed rather than replayed, so it reports
that resource as it is now. Reusing a key with a different body returns 409 with
code CONFLICT, and so does a key whose release has since been deleted on
POST /releases — the one write whose resource the request path does not name, so
the key is spent either way. Every other write is path-addressed, and a replayed
key whose release, product, track or artwork record is gone answers 404 about
that resource instead. The two deletes are the exception, and for the same reason:
deleting a track and deleting a product do not re-read the resource, because it is
gone precisely because the first call succeeded, so a repeat under the same key is
204 rather than the 404 a re-read would find. A retry that arrives while the first request is still in
flight is a 409 with its own code, IDEMPOTENCY_IN_FLIGHT — it reached the
server before the original committed, so there was no answer to replay yet. That
one is transient: branch on the code and retry it, rather than treating the key as
spent. Client-generated ids such as track_id give the same protection per item
inside a batch.
idempotency-key: 3f8a1c62-9d5e-4b7a-8f21-0c4e6b9d2a17Error shape
Section titled “Error shape”{ "statusCode": 400, "code": "VALIDATION_ERROR", "error": "Bad Request", "message": "Request does not match the expected schema", "details": [ { "keyword": "too_small", "instancePath": "/title", "schemaPath": "#/title/too_small", "message": "Too small: expected string to have >=1 characters", "params": { "origin": "string", "minimum": 1, "inclusive": true } } ]}Branch on code, not on message. code is a stable enum:
VALIDATION_ERROR, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, CONFLICT,
IDEMPOTENCY_IN_FLIGHT, EAN_REASSIGNED, UNPROCESSABLE_ENTITY, RATE_LIMITED,
SERVICE_UNAVAILABLE, INTERNAL_ERROR.
message is human-readable and fixed per class of failure — it never names the
offending field.
details is present only on a validation failure and carries the underlying
validator’s output, so treat it as diagnostic rather than as a contract: the entry
shape above is not versioned, and instancePath is what points at the field.
See the errors & conventions guide for the envelope shared
by every elasticStage API.
Other conventions
Section titled “Other conventions”- Field naming —
snake_casethroughout (the error envelope aside). - Ids — UUIDs. Tracks and artwork records take a client-generated id at creation, which is what makes a batch item idempotent.
- Pricing — set by band (
low·medium·high) rather than amount. - Limits — up to 8 tracks per vinyl side and 25 on a CD. A vinyl side of 9
to 25 tracks is still saved, and reported as
side_track_countuntil it fits; a side over 25 tracks is a400. Running time is 2 to 23 min per vinyl side and 31 s to 79 min on a CD, with any single track between 10 s and that same per-side ceiling, and is measured during audio processing — so capacity can only be evaluated once every track on a side isready. A side over its running time is still saved, and once every track on it is measured it is reported asside_duration, which blocks publishing until it fits. Readcapacityon the product for the current position. Itsused_secondsand a track’sduration_secondsare rounded to the nearest second for display; publish checks the exact milliseconds, so a side shown at its limit can still be over it. - Territories — ISO 3166-1 alpha-2 codes; empty means worldwide.
Webhook events
Section titled “Webhook events”Every delivery is a signed JSON body with a stable envelope plus a per-event
data payload, and carries an X-ElasticStage-Signature header. These remove
the need to poll for processing status.
{ "id": "e7b2…", "api_version": "2026-06-01", "created_at": "2026-07-29T10:32:00Z", "event": "track.ready", "data": { "release_id": "9c3f…", "track_id": "7a1e…", "duration_seconds": 227 }}id is the delivery’s own id — deduplicate on it, since the same event can arrive
twice. api_version is the platform’s, shared with the Store API’s webhooks, and
moves only for a breaking change.
The ten events, and all of them: each asset kind’s four transitions, plus the two the factory’s decision produces. Publishing itself fires nothing — the call’s own response is the answer.
| Event | Fired when |
|---|---|
track.processing |
An uploaded file is detected in storage and processing begins. |
track.ready |
Processing succeeds; carries the measured duration_seconds. |
track.failed |
Processing fails; carries stage, error_code and error_detail. |
track.upload_expired |
An upload URL lapsed before the bytes arrived. Request a new one on the same record. |
artwork.processing |
An uploaded artwork file is detected and processing begins. |
artwork.ready |
The file was verified and stored. The print file is composed by a later step. |
artwork.failed |
Processing fails; carries stage, error_code and error_detail. |
artwork.upload_expired |
As above, for an artwork record. |
product.available |
The factory accepted the product: buyable in the store. May carry warnings. |
product.rejected |
The factory will not manufacture it; carries stage, error_code, error_detail. |
Every payload is published in the reference under the
Webhooks group, generated from the same schemas the deliveries are built from. Track
events carry track_id + release_id; artwork events add product_id, because an
artwork record is addressed through its product; product.available carries
product_id, release_id, the ean and an optional warnings array — what the
factory noticed and accepted anyway, strings for a human to read. product.rejected
carries product_id, release_id, stage, error_code and a nullable
error_detail; the barcode is spent, so recover by creating a new product on the
release, which draws a new one.
No event carries an asset URL: asset URLs are minted per read and expire, while a delivery’s body is frozen when the event happens and re-sent verbatim on every retry. Read the record when the event lands — the resource is the only view that cannot be stale by then.
Verifying a delivery
Section titled “Verifying a delivery”Each delivery carries X-ElasticStage-Signature: t=<unix_seconds>,v1=<hex_hmac>,
where v1 is HMAC_SHA256(secret, "<t>.<raw_request_body>") using the secret you
supplied when you created the subscription — the same scheme, header and 300-second
tolerance as the Store API’s, so one verifier serves both.
Verify against the raw body before parsing, reject a t more than 300 seconds
from now, and compare in constant time. X-ElasticStage-Event and
X-ElasticStage-Delivery travel alongside it.
import { createHmac, timingSafeEqual } from "node:crypto";
// rawBody: the exact request body string. secret: your subscription secret.export function verify(secret, rawBody, header, toleranceSeconds = 300) { const t = /t=(\d+)/.exec(header)?.[1]; const v1 = /v1=([0-9a-f]+)/.exec(header)?.[1]; if (!t || !v1) return false;
const now = Math.floor(Date.now() / 1000); if (Math.abs(now - Number(t)) > toleranceSeconds) return false;
const expected = createHmac("sha256", secret) .update(`${t}.${rawBody}`) .digest("hex");
const a = Buffer.from(v1, "hex"); const b = Buffer.from(expected, "hex"); return a.length === b.length && timingSafeEqual(a, b);}In Express, capture the raw body
(express.json({ verify: (req, _res, buf) => { req.rawBody = buf.toString("utf8"); } }))
and pass req.rawBody to the verifier.
Acknowledge with any 2xx. A non-2xx, a timeout (30 s) or a redirect is a failed
attempt, retried with backoff (≈5 m, 20 m, 65 m, 200 m, 605 m; 6 attempts in total);
after 10 consecutive failures the subscription is auto-disabled until you re-enable
it. Deliveries are at-least-once and unordered: deduplicate on the envelope
id, and do not assume events arrive in the order they occurred — write idempotent
handlers, not sequence-dependent state machines. One caveat to pure id-dedupe:
events are emitted once per upload window, so after you request a fresh upload URL
for the same record, a second track.processing with a new id is the replacement
being ingested, not a duplicate to discard.
Managing subscriptions
Section titled “Managing subscriptions”| Method | Path | Scope | Purpose |
|---|---|---|---|
GET |
/api/v1/webhooks |
webhooks:read |
List your subscriptions, oldest first. |
POST |
/api/v1/webhooks |
webhooks:create |
Register a URL, the events you want, and a signing secret. |
GET |
/api/v1/webhooks/{id} |
webhooks:read |
One subscription, incl. consecutive_failures, disabled_at. |
PATCH |
/api/v1/webhooks/{id} |
webhooks:update |
Repoint, replace the events, rotate the secret, pause/resume. |
DELETE |
/api/v1/webhooks/{id} |
webhooks:delete |
Remove it; its queued deliveries are dropped. |
The three writes require an idempotency-key header, like every other write here.
The secret is yours and is never returned by any read, so keep your copy; it must
be 16–256 characters, and the url must be http or https (any other scheme is
a 400). events is replaced whole by a PATCH. Re-enable an auto-disabled
endpoint with {"status": "active"}, which also clears its failure streak. A URL
that resolves to a private, loopback, link-local or metadata address is a 422 —
and the hostname is re-resolved immediately before every delivery, so a name later
re-pointed at an internal address stops delivering rather than reaching it.