# How ReleaseAPI works

> A dozen objects make up every ReleaseAPI integration. This page shows how they relate, so the other guides can focus on the details.

Source: https://docs.releaseapi.com/concepts.html

**At a glance**

- Most integrators are a **tenant** under RecordJet, the client that holds the store deals.
- A release is a **draft** you write, then a read-only **catalog release** under the same id.
- Accepting a release queues its delivery automatically, as one **delivery request** per provider.
- Money is split by the **ledger**: fees come off first, the rest goes to the owner customer, and a share rule divides it across wallets.
- Outcomes arrive later, as events on the **journal**.

## The model in one picture

The left side shows **who** (your account and its catalogs), the middle shows **what** (a release, from files to the live version), the right shows **where it goes**, and the bottom shows the money coming back.

*Diagram: A client holds tenants. A tenant holds customers and drafts. Files feed a draft, which becomes a catalog release after review. The catalog release is owned by a customer and is delivered through delivery requests to stores mapped by delivery profiles. Statements and trends from the stores pass through the ledger into wallets.* Every object in the diagram writes an event to the journal when it changes, which is how your backend learns about work that finishes later.

## Two ways to use ReleaseAPI

Every ReleaseAPI account has two levels. The **client** holds the store deals. Inside it are **tenants**, each a catalog with its own files, releases, payees and API keys. Usually RecordJet, the company behind ReleaseAPI, is the client and you are a tenant. You build everything with a tenant key, and RecordJet takes care of the store deals, the reviews and the statement imports. Only companies with their own store contracts run their [own client account](https://docs.releaseapi.com/client-accounts.html) and do that work themselves.

|  | Tenant under RecordJet | Your own client account |
| --- | --- | --- |
| Store deals and DDEX party id | RecordJet’s | Your own |
| Who reviews new releases | RecordJet’s review team | You, with a client key ([Submit and review › Decide reviews](https://docs.releaseapi.com/review.html#client-review)) |
| Who imports store statements | RecordJet | You |
| GTIN and ISRC ranges | Your own | Your own |
| The key your backend uses | Tenant key | Tenant keys for product work, a client key for client tasks |

The guides are written for the first case. Anything that only applies to client accounts sits at the end of the page it belongs to, under a heading that starts with “Client accounts:”. The [Client accounts](https://docs.releaseapi.com/client-accounts.html) page covers the rest.

## Clients and tenants

The **client** holds the commercial side: store deals, the delivery profiles that say how releases reach each store, statement imports and the client fee. Clients are set up during onboarding, and there’s no API to create one.

A **tenant** is one catalog with its own files, drafts, releases, customers and API keys, isolated from every other tenant. What a tenant stands for is up to you:

- A distributor with its own client account gives each label it serves its own tenant, and one for its own content.
- A creator platform usually puts all its artists in one tenant and gives each artist a [customer](https://docs.releaseapi.com/royalties.html#customers-and-wallets). A tenant per artist is the alternative when artists need their own dashboard login; [Tenant or customer](https://docs.releaseapi.com/account.html#tenant-or-customer) compares the two.
- A single label usually needs exactly one.

Each tenant carries two default fees: the client’s share of the tenant’s revenue (under RecordJet, the fee agreed with RecordJet) and the tenant’s own share before it pays its customers. See [Your account](https://docs.releaseapi.com/account.html).

### API keys: scope and role

An API key carries two independent decisions:

- **Scope** — Which data the key sees. A **tenant key** sees one tenant and never names it. A **client key** sees every tenant and names one in the body (`tenantId`) when it writes. A few client tasks (deciding reviews, manual syncs, statement imports) accept only client keys. [The full list](https://docs.releaseapi.com/api-basics.html#scope-only-endpoints) is in API basics.
- **Role** — What the key may do there: `ADMIN` (everything), `MEMBER` (all product work, but no managing keys, members or tenants) or `READER` (read-only).

Give your product backend a tenant key with `MEMBER`. [API basics](https://docs.releaseapi.com/api-basics.html) has the details.

## Files

Covers, masters (stereo, Apple Digital Masters, Dolby Atmos), booklets, motion artwork, videos and rights documents are uploaded *before* the release that uses them, each an object with its own id. ReleaseAPI checks every file (format, dimensions, sample rate, bit depth, loudness). When you submit, it also analyses language, explicit content and an audio fingerprint.

A file moves from `PENDING` through `PROCESSING` to `SUCCESS`, or to `INVALID` with reasons (`ERROR` if processing itself failed). A release can reference a file in any state, but you can only submit it once all its files are `SUCCESS`. To replace a cover, upload a new one and point the release at it. [Upload files](https://docs.releaseapi.com/files.html) · [File specifications](https://docs.releaseapi.com/files.html#specifications)

## Drafts and catalog releases

A release exists in two forms, and keeping them apart is the most important idea in the API.

- **Draft release**: Your working copy. You create it under a UUID **you** choose, write it as often as you like (each write replaces it whole), validate it on demand and submit it when it’s ready. Its tracks and booklet have ids you choose too.
- **Catalog release**: The accepted, live version that stores receive. It’s read-only and lives under the **same id** as the draft it came from, as do its tracks. When it’s created, the draft is deleted.

To change a live release, open an edit draft from it, under the same id again. The catalog release keeps serving stores until the edit is accepted, and is then updated in place. Track count and positions, ISRCs, the GTIN and the owner can’t change once the release is live. To change any of those, release a new product. [Build a release](https://docs.releaseapi.com/drafts.html) · [Manage live releases](https://docs.releaseapi.com/catalog.html)

*One id, whole lifecycle:* `DRAFT` (you write) → `REVIEW` (locked) → one of: `Catalog release` (UNRELEASED → RELEASED) | `REJECTED` (fix, resubmit) → `Edit draft` (same id again)

## Review

Submitting runs several hundred [validation checks](https://docs.releaseapi.com/reference-data.html#validation-codes) synchronously, and any `CRITICAL` or `ERROR` result rejects the submission with a 400. Submitting also requires every file the release uses to be `SUCCESS`, so all file processing has finished by that point. The draft then waits for a review decision.

A new release always needs a decision at client level. Under RecordJet, RecordJet’s review team makes it. On a client account, you do ([Submit and review › Decide reviews](https://docs.releaseapi.com/review.html#client-review)). Edits to a live release that touch only dates, territories, pricing tier, priority, pitching, fees and splits, comments or submission settings, or that remove stores, are [accepted automatically](https://docs.releaseapi.com/review.html#automatic-acceptance). In both cases, the outcome arrives on the journal. [Submit and review](https://docs.releaseapi.com/review.html)

## Syncs, delivery requests and stores

Acceptance queues a **sync** on the catalog release: an instruction to bring every store in line with the release’s current state. You don’t send it yourself. A new release gets a full sync with all files, and an edit gets the smallest sync that covers what changed.

ReleaseAPI decides per store whether to insert, update or take down, and groups the work by **provider**, the feed that serves one or several stores. Each group becomes a **delivery request**, which is one attempt to deliver to one provider. If it fails, a fresh request is scheduled automatically.

The client’s **delivery profiles** (RecordJet’s, for its tenants) decide which stores a release may select. `storeSnapshot` on the release records what each store has received. [Deliver to stores](https://docs.releaseapi.com/delivery.html) · [Stores and providers](https://docs.releaseapi.com/delivery.html#stores-and-providers)

## Identifiers

Stores identify a release by its **GTIN** (barcode, UPC or EAN) and each recording by its **ISRC**. The codes come from you: send them on the draft, or register ranges from your own GS1 prefix and ISRC registrant code and let ReleaseAPI assign the next free code at acceptance. A tenant without codes can’t have a release accepted. Store reports are matched back by the same codes, so they also link revenue to the right release and recording. [Identifiers and artists](https://docs.releaseapi.com/identifiers.html)

Every main artist carries a `providerArtistId` (your own stable id for the artist, despite the name) and, where known, Spotify and Apple Music ids, so the release appears on the right artist page. [Artist profiles](https://docs.releaseapi.com/identifiers.html#artist-profiles)

## Customers, wallets and the ledger

A **customer** is someone you pay: an artist, a label, a producer. Every release has exactly one owner customer. A customer has one or more **wallets**, and each track has a share rule that splits its money across wallets in parts per million (they must add up to 1,000,000).

When a release is accepted, edited or taken down, ReleaseAPI writes the **ledger**: a dated record of which GTIN and ISRCs belong to which release, who owns it, which fees apply and how each track splits. Changes take effect from the first day of the next month, so a month’s money is never split two ways.

When a store reports revenue, the client’s fee comes off first, then the tenant’s, and the rest is the owner’s, divided across wallets by the share rule. The API has no balances or payouts. ReleaseAPI tells you exactly who earned what, and paying them is up to you. [How money flows](https://docs.releaseapi.com/royalties.html)

## Trends, statements and analytics

Stores report back in two rhythms:

- **Trends** are daily: streams, listeners and estimated earnings, pulled from the stores automatically and revised as stores update them.
- **Statements** are monthly and are the accounting record of the money actually paid. The client (RecordJet, for its tenants) imports, checks and accepts them, and as a tenant you read the results.

Both run through the same ledger and splits, and you can read them in three forms: [analytics](https://docs.releaseapi.com/analytics.html) (fast JSON for charts in your app), [exports](https://docs.releaseapi.com/reports.html#exports) (CSV files you order), and raw report files for a data warehouse. Every figure is available at client, tenant, customer and wallet level.

## Everything important finishes later

Almost every outcome you care about happens after your request has returned: file processing, review, acceptance, delivery, release-day status changes, statement processing and exports. ReleaseAPI records each one on the **journal**, an ordered event log for your client and each tenant.

Your backend reads the journal from a stored cursor and moves it forward as it handles events. A webhook ping, which carries no data, tells you when there’s something new. Build this loop once and reuse it for everything. [Events and webhooks](https://docs.releaseapi.com/events.html)

**Rule of thumb:** a `2xx` means ReleaseAPI has accepted your request, and the journal tells you how it turned out.

## Glossary

- **© line (C-line)** — Who owns the artwork and other release material: `cLineHolder`, `cLineYear`.
- **DDEX** — The XML standard the industry uses to exchange release metadata. ReleaseAPI speaks it to the stores, and can import catalogs from it.
- **DSP / store** — Digital service provider: Spotify, Apple Music, Amazon Music, TikTok and the other services listeners use. Each one is a store code like `SPOTIFY` in the API.
- **GS1 company prefix** — The block of barcode numbers your company licenses from its national GS1 office (GS1 runs the retail barcode system). ReleaseAPI builds GTINs from it once you [register a range](https://docs.releaseapi.com/identifiers.html#register-ranges).
- **GTIN / UPC / EAN** — The product barcode that identifies a release, always sent as 13 digits (EAN-13; pad a 12-digit UPC with a leading zero). Stores match sales back by it.
- **ISRC** — International Standard Recording Code: the 12-character id of one recording, like `DEXW92600001`. A recording keeps its ISRC across every release it appears on.
- **ISRC registrant code** — The 2-letter country code plus 3-character code your national ISRC agency gives your label. Every ISRC you issue starts with it. ReleaseAPI issues ISRCs from the yearly ranges you register.
- **Label and rights holders** — Every release names a label and rights holders. Use a label name, never just the artist’s name. An artist without a label uses their own imprint (for example “Nova Reyes Music”), and a platform acting as the label uses its own company or imprint name.
- **Main artist / featuring** — Contributor roles `ARTIST` and `FEATURING`. Credit features as contributors, never as “feat.” in the title.
- **Master** — The final, release-ready audio file of a recording.
- **Non-exclusive content** — Material you don’t hold exclusively, such as library samples or a recording also licensed to others. Flag it with `hasNonExclusives`. Such material can’t go to content-ID stores, which claim matching audio in other people’s uploads.
- **℗ line (P-line)** — Who owns the sound recording, and since which year: `pLineHolder`, `pLineYear`.
- **Pitching** — An optional editorial pitch (focus track, story, moods) passed to stores that accept one, to be considered for playlists. Pitch well before the release date.
- **Pre-order** — A period before the release date when the release can already be bought. While it runs, the release status is `PRESALE`.
- **Pricing tier** — The price band for stores that sell downloads: `LOW`, `MID` or `HIGH`, each with variants that lower the price of the whole release. [Reference data](https://docs.releaseapi.com/reference-data.html#pricing-tiers) lists the prices.
- **Provider** — The delivery channel to one or more stores. Several stores can share one provider, and one delivery request goes to one provider. Some providers are **aggregators** that pass releases on to many stores.
- **`providerArtistId`** — Your own id for an artist, sent on every `ARTIST` contributor. It isn’t a store id, and despite the name it has nothing to do with delivery providers.
- **RecordJet** — The company behind ReleaseAPI, and the client most tenants live under. It holds the store deals, reviews releases and imports statements for its tenants.
- **`sharePerMio`** — A share in parts per million. 250,000 is 25%, and a track’s shares always add up to 1,000,000.
- **Single, EP, album** — Releases with one, a few, or many tracks. A single’s track must share the release’s title and main artists.
- **Statement** — A store’s monthly accounting of what it owes for your catalog.
- **Takedown** — Removing a release from stores. It stays in your catalog with status `TAKEDOWN`.

## Next steps

- [Quickstart](https://docs.releaseapi.com/quickstart.html): See every object on this page in action by shipping a single in sandbox.
- [API basics](https://docs.releaseapi.com/api-basics.html): Pick the right scope and role for each part of your system.
- [Events and webhooks](https://docs.releaseapi.com/events.html): Build the journal loop your integration will rely on.
