# Manage live releases

> The catalog holds every accepted release as stores should show it right now. Read it for status, codes and store links, change a release through an edit draft while it stays live, and share it before release day with a preview link.

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

**At a glance**

- A catalog release is read-only and keeps the draft’s id. Every change goes through an edit draft and review.
- `draft-from-release` deletes an open edit draft without warning, so check for one first.
- An edit can’t change the track count, track ids, positions, ISRCs, GTIN or owner customer.
- Status moves forward once a day at 12:00 UTC and says nothing about delivery. For delivery, read `storeSnapshot`.
- Money changes from an edit apply from the 1st of the month after acceptance completes.
- There’s no “changed since” filter. To mirror the catalog, read it once in full, then follow the journal.
- A preview link shares an accepted release before it’s out. Your server creates it, and the listener’s browser plays the full tracks with an 8-character secret instead of an API key.

## How the catalog works

A catalog release is written when a draft is [accepted](https://docs.releaseapi.com/review.html#after-acceptance), under the draft’s id, and its tracks and booklet keep their ids too. Once it exists:

- **It’s read-only.** There’s no PUT on a catalog release. Every change goes through an [edit draft](https://docs.releaseapi.com/catalog.html#edit-a-live-release) and review, so what stores receive has always been checked.
- **It’s the target for delivery.** ReleaseAPI keeps stores in line with the catalog release. Its `storeSnapshot` records which stores have it and whether a sync is pending (see [Deliver to stores](https://docs.releaseapi.com/delivery.html)).
- **It gains generated data.** ReleaseAPI adds the assigned GTIN and ISRCs, the rendered artist line and, later, the release’s ids on Spotify, Apple Music and other stores.

**Catalog endpoints**

- `GET /v1/distribution/catalog/full-releases/{releaseId}` — Release with tracks, booklet and files
- `GET /v1/distribution/catalog/full-releases` — List and filter full releases
- `GET /v1/distribution/catalog/releases/{releaseId}` — Release object only
- `GET /v1/distribution/catalog/tracks/{trackId}` — One track
- `GET /v1/distribution/catalog/booklets/{bookletId}` — One booklet
- `POST /v1/distribution/drafts/releases/draft-from-release` — Open an edit draft
- `PUT /v1/distribution/catalog/releases/{releaseId}/takedown-request` — Remove from all stores
- `POST /v1/distribution/catalog/releases/{releaseId}/label-copy` — Label copy PDF
- `POST /v1/distribution/marketing/preview-links` — Create a preview link

## Release status

Each acceptance computes `status` from the release’s dates and stores, and a daily job then moves it forward.

*Diagram: Release status: every acceptance sets the status from the stores and dates; the daily 12:00 UTC job moves UNRELEASED to PRESALE to RELEASED; a takedown or an edit without stores leads to TAKEDOWN; an edit that selects stores again recalculates the status from the dates.* Every acceptance, including an edit’s, sets the status from the stores and dates. Between acceptances only two things move it: the daily job, and a takedown.

| Status | Meaning |
| --- | --- |
| `UNRELEASED` | Accepted, with a release date in the future and no open pre-order. Status says nothing about delivery. The release may still be queued for stores or already delivered. Delivery progress is in [store state](https://docs.releaseapi.com/catalog.html#store-state). |
| `PRESALE` | The pre-order date has passed, and download stores sell it ahead of release. |
| `RELEASED` | The release date has been reached. |
| `TAKEDOWN` | No stores are selected, and the release has been, or is being, removed everywhere. A new release accepted with no stores starts here, and its ledger commit is marked `isTakenDown`. |
| `REPLACED` | Reserved. ReleaseAPI doesn’t set this status today. When another release takes over a GTIN, the old release keeps its status and `generated.gtinClaimedBy` names the new one (see [How uniqueness is checked](https://docs.releaseapi.com/identifiers.html#uniqueness)). |

> **Status moves once a day:** The job that moves releases to `PRESALE` and `RELEASED` runs daily at 12:00 UTC, so status shows the release’s place in its lifecycle, not the moment it went live. To see whether it is live, read [store state](https://docs.releaseapi.com/catalog.html#store-state) and store links. In production, the same job also fetches store ids once. Releases accepted after their release date skip it (see [Release status and store links](https://docs.releaseapi.com/delivery.html#release-status)).

Each change emits `RELEASE_STATUS_UNRELEASED`, `RELEASE_STATUS_PRESALE`, `RELEASE_STATUS_RELEASED` or `RELEASE_STATUS_TAKEDOWN`.

## Read a release

The full-release endpoint returns the release with its cover, tracks (by volume and track number, each with its master), booklet and motion artwork in one response. Use it for detail pages and after `DRAFT_RELEASE_ACCEPTED`. When you only need the status, store snapshot or store ids, `GET /v1/distribution/catalog/releases/{releaseId}` returns the release object alone, with the same fields at its top level instead of under `release`.

The cURL examples on this page use `$BASE` for `https://api-sandbox.releaseapi.com/v1` and `$RELEASEAPI_KEY` for your key, as set up in the [Quickstart](https://docs.releaseapi.com/quickstart.html#before-you-start).

`GET /v1/distribution/catalog/full-releases/{releaseId}`

**cURL**

```bash
curl "$BASE/distribution/catalog/full-releases/$RELEASE_ID" \
  -H "X-API-KEY: $RELEASEAPI_KEY"
```

**Node.js**

```javascript
// api() is the helper from the Quickstart setup (BASE ends in /v1)
const { release, tracks } = await api("GET", `/distribution/catalog/full-releases/${releaseId}`);
console.log(release.status, release.identifiers.gtin, release.generated.storeReferences.spotifyId);
```

**Python**

```python
# api() is the helper from the Quickstart setup (BASE ends in /v1)
full = api("GET", f"/distribution/catalog/full-releases/{release_id}")
print(full["release"]["status"], full["release"]["identifiers"]["gtin"])
```

**Response**

```json
// abridged
{
  "release": {
    "id": "1e83fb32-41c1-4101-ab53-cbed3240a893",
    "tenantId": "b55ec853-f63b-4cb3-9c2f-868b4eb42f95",
    "status": "RELEASED",
    "details": { "title": "Midnight Static", "language": "EN", "genrePrimary": "ELECTRONIC" },
    "identifiers": { "gtin": "4063361000016" },
    "storeSnapshot": {
      "isSynced": true,
      "syncRequestPriority": 1,
      "deliveredStores": [
        {
          "store": "SPOTIFY",
          "isTakenDown": false,
          "firstDeliveryAt": "2026-10-06T08:02:17.411Z",
          "lastDeliveryAt": "2026-10-06T08:02:17.411Z"
        }
      ]
    },
    "generated": {
      "artistLine": "Nova Reyes",
      "trackCount": 1,
      "storeReferences": {
        "lastCrawledAt": "2026-11-20T12:04:51.020Z",
        "spotifyId": "2xT7pQ1cL0bJr9eW4mVhZk",
        "appleId": "1789324551"
      }
    },
    "createdAt": "2026-10-05T09:31:40.876Z"
  },
  "coverFile": { "id": "5b1c0e3a-1d2e-4f56-9a78-0b1c2d3e4f50", "status": "SUCCESS" },
  "tracks": [
    {
      "track": {
        "id": "9c0b1a22-77e1-4c0a-8f11-223344556677",
        "details": { "volumeNumber": 1, "trackNumber": 1, "title": "Midnight Static" },
        "identifiers": { "isrc": "DEXW92600001" }
      },
      "masterFile": { "id": "aa11bb22-cc33-4d44-8e55-667788990011", "status": "SUCCESS" }
    }
  ]
}
```

Showing a status to your users? [One status for your users](https://docs.releaseapi.com/delivery.html#status-for-users) turns the draft and this catalog release into a single label, with code.

The catalog release has every section the draft had, with defaults filled in (unsent booleans are `false`, empty lists `[]`), plus the fields below.

### Store state

These fields show what ReleaseAPI has sent to each store, and every delivery keeps them up to date:

- `storeSnapshot.deliveredStores` (array) — One entry per store the release has been sent to: `store`, `isTakenDown`, `firstDeliveryAt`, `lastDeliveryAt`, `lastFileDeliveryAt` and `lastDeliveryRequestedAt`.
- `storeSnapshot.isSynced` (boolean) — `true` when every store has received the current version. `false` while a delivery is pending or retrying.
- `storeSnapshot.syncRequest` (enum) — A sync waiting to be picked up, such as `FULL_SYNC` or `METADATA_SYNC`. It’s usually cleared within a few seconds, when deliveries are created.
- `storeSnapshot.storeChanges` (array) — When each store was first and last selected or unselected.

### Generated data

ReleaseAPI fills in these fields itself, and you never write them:

- `generated.artistLine` (string) — The display artist line built from contributors, such as “Nova Reyes feat. Lena Voss”.
- `generated.storeReferences` (object) — The release’s ids on stores, and `lastCrawledAt`. Only `spotifyId`, `appleId`, `deezerId` and `tidalId` are filled. They are looked up when the release date is reached, and Spotify also reports its ids back on its own. `qobuzId`, `amazonId` and `youtubeId` exist in the model but nothing sets them today. Link templates are under [Live links and store IDs](https://docs.releaseapi.com/delivery.html#store-links). In sandbox, the ids stay empty unless you request a lookup.
- `generated.trackCount · lastChangedAt · gtinClaimedBy` (mixed) — The number of tracks, the time of the last accepted change, and, when a later release took over this release’s GTIN, that release’s id. The `REPLACED` status is never set, so check `gtinClaimedBy` instead.
- `review` (object) — The history of the last review: when it was requested and finished, and its result.

To refresh store ids, for example after a store went live late, call `POST /v1/distribution/catalog/full-releases/{releaseId}/request-store-id-crawl`. It returns the full release and emits `FULL_RELEASE_STORE_IDS_CRAWLED`.

## List and filter

`GET /v1/distribution/catalog/full-releases` returns a page of full releases. Combine these filters to build catalog views:

| Filter | Use |
| --- | --- |
| `status` | Releases in one status, such as `RELEASED`. |
| `notSynced=true` | `true`: releases with a delivery still pending or failing, useful for an operations view. `false`: only releases that are in sync. |
| `syncStatus` | Releases with this sync pending, such as `FULL_SYNC` or `METADATA_SYNC`. |
| `primaryGenre` | Releases with this primary genre code. |
| `coverFileId`, `motionArtworkFileId`, `attachmentFileId` | Releases that use this file. `attachmentFileId` matches the license confirmation and the rights clearance files. |
| `externalId`, `gtin`, `ids` | Find releases by your id, by barcode, or up to 100 ids at once. |
| `customerId` | Releases owned by one customer, such as an artist’s page in your product. |
| `contributorSpotifyId`, `contributorAppleId`, `contributorDeezerId` | Every release credited to an artist profile. |
| `dateFrom`, `dateTo` | Release date range. Each is read as 00:00 on that day and compared with `releaseDateTime`, which has no time zone, so nothing is converted. A release later on the `dateTo` day is left out. Pass the next day to include it. |
| `q` | Case-insensitive text found anywhere in the title, the title version or the artist line. |
| `tenantId` | Releases of one tenant. Client keys only. |

`GET /v1/distribution/catalog/full-releases`

```bash
curl -G "$BASE/distribution/catalog/full-releases" \
  -H "X-API-KEY: $RELEASEAPI_KEY" \
  -d customerId=$CUSTOMER_ID \
  -d status=RELEASED \
  -d limit=50
```

Responses are paginated with `limit`, `offset` and `hasMore`. Without `sortBy`, this list is sorted by release date, latest first, then by creation time. With `sortBy` (`createdAt`, `releaseDateTime`, `title`, `artistLine`, `genrePrimary`, `status` or `syncRequest`), `sortOrder` still defaults to `desc`, unlike most other lists (see [Pagination](https://docs.releaseapi.com/api-basics.html#pagination)).

### Mirror the catalog in your database

To build a local copy that stays correct, combine a full read with the journal:

1. Note your current journal position: the `createdAt` and `id` of the newest event. If you don’t run a consumer yet, read the journal newest-first with `{"descending": true, "lastCreatedAt": "2100-01-01T00:00:00Z"}` (a far-future cursor needs no `lastId`) and take the first event (see [Events and webhooks](https://docs.releaseapi.com/events.html#cursor)).
2. Page through `GET /v1/distribution/catalog/full-releases?sortBy=createdAt&sortOrder=asc` and upsert every release. Reading oldest first keeps offset paging stable, because releases accepted during the read are added to the last pages instead of shifting the ones you haven’t read yet.
3. Consume the journal from the position you noted. Events for releases that changed during the read arrive again. Because you upsert by id, applying them twice is harmless.

There is no “changed since” filter (`generated.lastChangedAt` is returned but not filterable). The journal is the change feed. Every accepted edit, status change and delivery update arrives as a `RELEASE` event, so after the first read you only re-read the releases it names.

`GET /v1/distribution/catalog/full-releases/snapshot` returns a signed URL to a gzipped JSON Lines file with one full release per line. It isn’t regenerated on a schedule at the moment, so it can be missing or stale. Don’t use it as your source of truth.

## Edit a live release

To change a live release, open an **edit draft**: an ordinary draft under the release’s id, prefilled with its current content. Change it and submit it. On acceptance, the catalog release is updated in place and the change goes to stores. The live release stays on stores throughout.

*Diagram: Edit lifecycle: draft-from-release opens an edit draft under the release id while the live release stays unchanged; you change and submit it; on acceptance the catalog release is updated in place and the smallest sync is queued; on rejection the live release is untouched.* The live release never changes while an edit is open. Stores keep what they have until the edit is accepted, and a rejected edit leaves the live release exactly as it was.

1. **Open the edit draft**

   `POST /v1/distribution/drafts/releases/draft-from-release`

   ```bash
   curl -X POST "$BASE/distribution/drafts/releases/draft-from-release" \
     -H "X-API-KEY: $RELEASEAPI_KEY" \
     -H "Content-Type: application/json" \
     -d '{ "releaseId": "1e83fb32-41c1-4101-ab53-cbed3240a893" }'
   ```

   The draft id is the release id. The new draft carries the release’s current content, fees and `flags.hasSoftValidation`, but its `submission` block starts empty.

   > **This call replaces an open edit.** An existing edit draft is deleted without warning and recreated, even mid-edit or in review. Check first. `GET /v1/distribution/drafts/full-releases/{releaseId}` returns `404` when no edit is open. If it returns a draft instead, continue with that draft.

   > A release has at most one edit draft, so a split change and a metadata edit can’t be in flight separately. An automated job (for example, a nightly split sync) that finds an edit open should add its change only if the draft isn’t in review, and otherwise retry after the outcome. A split-only or fee-only edit is accepted automatically, but if it is mixed with other changes, it waits for review.

2. **Read it, change it, write it back**

   Read `GET /v1/distribution/drafts/full-releases/{releaseId}`, change what you need, and `PUT` the whole body to the same URL, exactly as when [creating a draft](https://docs.releaseapi.com/drafts.html#create-a-draft). Keep every track id, position and ISRC as they are.

3. **Check the diff**

   Show the user what will change before they submit. With a tenant key, diff the two yourself: the live release from `GET /v1/distribution/catalog/full-releases/{releaseId}` and the edit from `GET /v1/distribution/drafts/full-releases/{releaseId}`. Tracks line up by `id`.

   Client keys can also call `GET /v1/distribution/drafts/releases/{releaseId}/changes` for a JSON diff between the live release and the release after this edit (a tenant key gets `401`).

4. **Submit**

   `PUT /v1/distribution/drafts/releases/{releaseId}/status` with `{"status": "REVIEW"}`. Small changes are [accepted automatically](https://docs.releaseapi.com/review.html#automatic-acceptance), and everything else goes to review. For tenants under RecordJet, RecordJet’s review team makes the decision.

### What an edit can’t change

Stores identify a release by its GTIN and its tracks by ISRC and position. Changing them would create a different product, so validation rejects such edits with `CRITICAL` findings:

| You can’t change | Check |
| --- | --- |
| The number of tracks, or their ids | `RELEASE_TRACK_LENGTH_CHANGED`, `RELEASE_TRACK_IDS_DO_NOT_MATCH` |
| A track’s volume number, track number, ISRC or Dolby ISRC | `TRACK_*_CANNOT_BE_UPDATED` |
| Whether the release has a booklet | `RELEASE_BOOKLET_COUNT_MUST_MATCH` |
| The owner customer | `CHANGING_CUSTOMER_CURRENTLY_NOT_SUPPORTED` |
| The GTIN, or a GRid once set | The GTIN is never changed by an edit. |

Moving titles between fixed track slots is caught too (`RELEASE_TRACKLIST_CHANGE_DETECTED`). To add or remove tracks on a delivered release, create a new release with a new GTIN and take the old one down. A release also can’t move to another tenant.

An edit *can* change the fees and the track splits, and a fee-only edit is [accepted automatically](https://docs.releaseapi.com/review.html#automatic-acceptance). As a tenant under RecordJet, leave `accounting.clientFeePercentage` out. A tenant’s default fees don’t apply to live releases. To apply a new fee, submit an edit for each release.

### What gets sent to stores

On acceptance, ReleaseAPI queues the smallest sync that covers the edit:

| What changed | Sync |
| --- | --- |
| Any file (cover, master, booklet, motion artwork, Apple or Dolby master) or preview timing | `FULL_SYNC`: metadata and files |
| Only the store list | `METADATA_SYNC` to the added and removed stores only |
| Other metadata that stores receive | `METADATA_SYNC` |
| Only things stores never see, such as pitching or your own references | No sync |

### What an edit records in the ledger

Money changes are written to the [ledger](https://docs.releaseapi.com/ledger.html) from the **first day of the month after acceptance completes**, not from submission. For example, an edit submitted on 30 October and accepted on 2 November applies from 1 December.

| Accepted change | Ledger entry |
| --- | --- |
| Client or tenant fee | A new release entry |
| The release is taken down, or comes back from `TAKEDOWN` | A new release entry |
| Secondary ISRCs added or removed, or a Dolby ISRC assigned for the first time | A new release entry, so statement lines with those codes are matched |
| A track’s share rule | A new wallet entry for that track |

The owner, the GTIN, primary ISRCs and the track count would also produce an entry, but an edit can’t change them (see above). Edits never rewrite earlier months.

## Take a release down

`PUT /v1/distribution/catalog/releases/{releaseId}/takedown-request` removes a release from every store. It sets the status to `TAKEDOWN`, clears the store list and sends the takedowns. To remove it from some stores only, submit an edit without them. To bring a release back, edit it and select stores again. Adding stores always goes through review. Details are in [Deliver to stores](https://docs.releaseapi.com/delivery.html#takedowns).

## Keep a release from delivering

`submission.syncRequestSuppress` holds back delivery for **one** acceptance only. An edit draft starts with an empty `submission`, so set it again on every edit of a held release, including automatically accepted ones. It doesn’t cancel a sync already pending. There’s no permanent hold while stores are selected, though a release with no stores is never delivered. See [Hold a release back](https://docs.releaseapi.com/delivery.html#hold-a-release).

## Share a release before it’s out

A preview link gives someone outside your system, such as a journalist, a playlist curator or a sync agent, access to a release before it’s out. Your server creates a link, and their browser plays the music without ever seeing an API key.

### How preview links work

A preview link is a small object attached to a catalog release. It holds an 8-character `accessSecret` and optional limits. You build the listening page (a promo player in your product), and that page calls one public endpoint with the secret. The endpoint returns the release metadata and a short-lived audio URL for each track.

*Diagram: Preview link sequence: your server creates the link with its API key and gets an access secret; it hands only the secret to your player page; the listener's browser calls the public endpoint with the secret and no API key, and gets release metadata and short-lived audio URLs; each call counts against requestsRemaining, and after expiresAt the link answers 410.* Your API key never leaves your server. The browser only ever sees the 8-character secret, so treat that like a password and give each recipient its own link.

The release must be in the catalog, which means it has been accepted, but it doesn’t have to be released yet. This is what preview links are for. An `UNRELEASED` release can be previewed weeks before its release date. Drafts can’t be previewed.

### Create a preview link

`POST /v1/distribution/marketing/preview-links`

**cURL**

```bash
curl -X POST "$BASE/distribution/marketing/preview-links" \
  -H "X-API-KEY: $RELEASEAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "linkedReleaseId": "1e83fb32-41c1-4101-ab53-cbed3240a893",
    "expiresAt": "2026-11-20T00:00:00Z",
    "requestsRemaining": 50,
    "externalData": {
      "campaign": "press-wave-1",
      "theme": "dark",
      "recipient": "Pulse Magazine"
    }
  }'
```

**Node.js**

```javascript
// api() is the helper from the Quickstart setup (BASE ends in /v1)
const link = await api("POST", "/distribution/marketing/preview-links", {
  linkedReleaseId: releaseId,
  expiresAt: "2026-11-20T00:00:00Z",
  requestsRemaining: 50,
  externalData: { campaign: "press-wave-1", theme: "dark", recipient: "Pulse Magazine" },
});

const shareUrl = `https://promo.lowtide.example/listen/${link.accessSecret}`;
```

**Python**

```python
# api() is the helper from the Quickstart setup (BASE ends in /v1)
link = api("POST", "/distribution/marketing/preview-links", {
    "linkedReleaseId": release_id,
    "expiresAt": "2026-11-20T00:00:00Z",
    "requestsRemaining": 50,
    "externalData": {"campaign": "press-wave-1", "theme": "dark", "recipient": "Pulse Magazine"},
})

share_url = f"https://promo.lowtide.example/listen/{link['accessSecret']}"
```

**Response**

```json
{
  "id": "6a8f3e2d-1b4c-4d5e-9f0a-7b8c9d0e1f2a",
  "clientId": "7c4a91e2-5d3b-4f08-a6e1-93b2c0d4e517",
  "tenantId": "b55ec853-f63b-4cb3-9c2f-868b4eb42f95",
  "accessSecret": "k7Qm2xPa",
  "linkedReleaseId": "1e83fb32-41c1-4101-ab53-cbed3240a893",
  "filterTracks": null,
  "requestsRemaining": 50,
  "expiresAt": "2026-11-20T00:00:00Z",
  "externalData": {
    "campaign": "press-wave-1",
    "theme": "dark",
    "recipient": "Pulse Magazine"
  },
  "createdAt": "2026-10-05T11:20:04.551Z"
}
```

- `linkedReleaseId` (uuid, required) — The catalog release to preview. It must belong to the tenant. An unknown id fails with `400 RELEASE_DOES_NOT EXIST` (with a space, as the API spells it). A release from another client or tenant is refused with `400 RELEASE_DOES_NOT_BELONG_TO_CLIENT` or `400 RELEASE_DOES_NOT_BELONG_TO_TENANT`.
- `tenantId` (uuid) — Required with a client key. Leaving it out fails with `400 CLIENT_REQUEST_NEEDS_TENANT_ID_IN_BODY`. Ignored with a tenant key.
- `filterTracks` (array of uuid) — Only expose these track ids, for example the focus single from an album. Leave it out to expose every track. Ids that aren’t on the release are ignored, so a list with only wrong ids gives a preview with no tracks.
- `expiresAt` (date-time) — After this instant the link answers `410 NO_LONGER_VALID`. Leave it out for a link that never expires.
- `requestsRemaining` (integer) — How many times the public endpoint may be called. Each call uses one, and at zero the link answers `410 ACCESS_QUOTA_REACHED`. Leave it out for unlimited calls.
- `externalData` (object) — Any JSON you like, returned unchanged by the public endpoint. Use it to configure your player without a database lookup, for example with a theme, a campaign, the recipient’s name or a call to action.

### Read the preview from the browser

Your player page calls the public endpoint with the secret. It takes no API key, so it can safely be called from the browser.

`GET /v1/public/distribution/marketing/preview-links/{accessSecret}`

**Browser**

```javascript
// Sandbox. In production use https://api.releaseapi.com/v1
const API = "https://api-sandbox.releaseapi.com/v1";

const res = await fetch(`${API}/public/distribution/marketing/preview-links/${accessSecret}`);
if (res.status === 410) return showExpired();
if (res.status === 404) return showNotFound();
const { release, tracks, externalData } = await res.json();
```

**Response**

```json
{
  "release": {
    "title": "Midnight Static",
    "titleVersion": null,
    "genrePrimary": "Electronic",
    "gtin": "4063361000016",
    "coverFileId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
    "coverPalette": ["#1b1530", "#e8467c", "#40c4d8"],
    "releaseDateTime": "2026-11-20T00:00:00",
    "artistLine": "Nova Reyes",
    "labelName": "Lowtide Records",
    "labelCode": null
  },
  "tracks": [
    {
      "volumeNumber": 1,
      "trackNumber": 1,
      "title": "Midnight Static",
      "titleVersion": null,
      "isrc": "DEXW92600001",
      "artistLine": "Nova Reyes",
      "masterFileUrl": "https://releaseapi-delivery.s3.eu-central-1.amazonaws.com/masters/c56a4180-.../master.m4a?X-Amz-Expires=...",
      "masterFileDuration": 214.6
    }
  ],
  "externalData": {
    "campaign": "press-wave-1",
    "theme": "dark",
    "recipient": "Pulse Magazine"
  }
}
```

The response gives you:

- **Audio:** `masterFileUrl` is a signed URL, valid for 24 hours, to an AAC rendition of the *full* track. Use it as the source of an `<audio>` element. It expires, so fetch the preview again when the page reloads rather than caching the URL.
- **Artwork:** build the cover from `coverFileId` with the public CDN, `https://cdn.releaseapi.com/delivery/covers/{coverFileId}/512.jpg` (sizes 64, 128, 256, 512, 1024). `coverPalette` gives you colours to theme the page.
- **Metadata:** the release’s title and `titleVersion`, artist line, label name and `labelCode`, release date and genre (as a display name), and for each track its title, `titleVersion`, ISRC, GTIN and duration (`masterFileDuration`, in seconds).

Nothing else is exposed. The response contains no ids beyond the cover, no contributors, no accounting data and no store data.

### Responses from the public endpoint

The public endpoint answers with these statuses:

| Status | Code | Meaning |
| --- | --- | --- |
| `200` | — | The preview data. The call used one request. |
| `404` | — | The secret is unknown, or the link was deleted. The body is `{"status":"not found"}`. |
| `410` | `ACCESS_QUOTA_REACHED` | `requestsRemaining` is used up. For example, a link created with `2` answers twice, then returns `410`. |
| `410` | `NO_LONGER_VALID` | `expiresAt` has passed. |

### Treat the preview secret as a password

Anyone who has the secret can listen to the full tracks, so keep it in the URL you send to the recipient and nowhere else. Some practical rules:

- **One link per recipient.** You can revoke one person’s access without affecting the rest, and `externalData` can greet each recipient by name.
- **Always set a limit.** Use an `expiresAt` on or shortly after the release date, a `requestsRemaining` sized for real listening, or both.
- **Count page loads, not plays.** Every call to the public endpoint uses one request, including a refresh. Call it once per page load and keep the data in memory. Don’t call it once per track.
- **Revoke when done.** Deleting a link stops it working immediately. A link keeps working after a takedown, so delete it when you pull a release.
- **Usage isn’t journaled.** Page loads create no journal events. Read the link’s `requestsRemaining` to see how much it was used. Under heavy parallel use the counter can overshoot by a few requests.

### Manage preview links

Your server lists, reads and revokes links with these calls:

**Endpoints**

- `POST /v1/distribution/marketing/preview-links` — Create a link
- `GET /v1/distribution/marketing/preview-links?releaseId={id}` — List links, optionally for one release
- `GET /v1/distribution/marketing/preview-links/{previewLinkId}` — Read one link, including `requestsRemaining`
- `DELETE /v1/distribution/marketing/preview-links/{previewLinkId}` — Revoke a link
- `GET /v1/public/distribution/marketing/preview-links/{accessSecret}` — Public: read the preview

Links can’t be edited. To change the limits, delete the link and create a new one. The listener gets a new secret. Creating and deleting links needs the `MARKETING_WRITE` permission, and reading them needs `MARKETING_READ` (see [API basics](https://docs.releaseapi.com/api-basics.html)). The cover thumbnails come from the [public cover CDN](https://docs.releaseapi.com/files.html#cover-cdn).

## Tracks and booklets

Tracks and booklets can also be read on their own, which is useful for ISRC lookups:

- `GET /v1/distribution/catalog/tracks` — List tracks
- `GET /v1/distribution/catalog/tracks/{trackId}` — One track
- `GET /v1/distribution/catalog/booklets` — List booklets
- `GET /v1/distribution/catalog/booklets/{bookletId}` — One booklet

Music videos have their own catalog under `/v1/distribution/catalog/videos` (see [Music videos](https://docs.releaseapi.com/videos.html)).

## Documents and exports

These calls produce files from a catalog release, each as a short-lived download URL.

**Endpoints**

- `POST /v1/distribution/catalog/releases/{releaseId}/label-copy` — Label copy PDF
- `POST /v1/distribution/catalog/releases/{releaseId}/gvl-excel` — GVL registration sheet
- `POST /v1/distribution/catalog/full-releases/{releaseId}/async-zip-export` — Zip of files and metadata

- **Label copy** — A PDF with the release’s full metadata and credits. The response is `{ "url": "…" }`.
- **GVL sheet** — A spreadsheet for registering the recordings with GVL, the German neighbouring-rights society.
- **Zip export** — The release’s files and metadata, built in the background. The response is `{ "completed": false }` until it’s ready, then `{ "completed": true, "url": "…" }`. Repeat the call until `completed` is `true`.

## Events

A catalog release writes these events to the journal:

| Event | When |
| --- | --- |
| `DRAFT_RELEASE_FROM_RELEASE_COPIED` | An edit draft was opened. |
| `DRAFT_RELEASE_ACCEPTED` | A new release or an edit was accepted into the catalog. |
| `RELEASE_STATUS_UNRELEASED`, `RELEASE_STATUS_PRESALE`, `RELEASE_STATUS_RELEASED`, `RELEASE_STATUS_TAKEDOWN` | The release status changed. |
| `RELEASE_TAKEDOWN_REQUESTED` | A takedown was requested. |
| `RELEASE_SYNC_STARTED` | Deliveries were created for a pending sync. |
| `FULL_RELEASE_STORE_IDS_CRAWLED`, `FULL_RELEASE_SPOTIFY_FEEDBACK_APPLIED` | Store ids were added to `generated.storeReferences`. |

Creating a preview link writes a `PREVIEW_LINK` · `CREATED` event (with no `eventName`). Opening a link writes nothing to the journal, so read a link’s `requestsRemaining` to see how much it was used.

## Next steps

- [Deliver to stores](https://docs.releaseapi.com/delivery.html): How syncs run on their own, how to hold or take down a release, and how to tell when it’s live.
- [Splits and the ledger](https://docs.releaseapi.com/ledger.html): See how ownership and splits follow a release over time.
- [Upload files](https://docs.releaseapi.com/files.html#cover-cdn): Get cover thumbnails from the public CDN for the artwork in your player.
