Docs Library

API Reference

Catalog item API endpoints

Keep your catalog in step with Allocora: add recordings, releases and other titles with their identifiers from your catalog system and read back which contracts cover each one.

Best For Developers syncing a label, publisher or distributor catalog into Allocora.

Every catalog item endpoint with request and response examples.

To try sample data, create a free workspace and choose the SaaS Affiliate sample during setup.

On This Page

Details

What to know

Catalog item object

A catalog item is a work, recording, release, film, series, episode, edition or video that contracts cover. Responses include its identifiers, the items it is linked to and the product it is matched with.

  • A catalog item is created together with its identifiers. If one identifier is invalid or already on the item, nothing is saved.
  • Identifiers are returned without dashes or spaces, for example USRC17607839 for an ISRC.
  • Editing, linking and archiving catalog items are done in the Allocora workspace.
  • Writes run as the Allocora user who created the API key. If that user no longer has Owner, Admin or Finance access to the workspace, they return 403.

Endpoint Examples

Requests and responses

Each example shows the request shape and a shortened successful response. Replace placeholder IDs with values from your workspace.

GET /api/v1/catalog-items

List catalog items

Returns catalog items with their identifiers and linked product.

  • Requires read:catalog.

Request example

curl -H "Authorization: Bearer <ALLOCORA_API_KEY>" \
  "https://www.allocora.com/api/v1/catalog-items?type=recording&search=USRC17607839"

Response example

{
  "data": [
    {
      "id": "<CATALOG_ITEM_ID>",
      "type": "recording",
      "title": "Northern Lights",
      "version_title": "Album version",
      "status": "active",
      "identifiers": [{"scheme": "isrc", "value": "USRC17607839", "is_primary": true}],
      "product": null
    }
  ],
  "meta": {"current_page": 1, "last_page": 1, "per_page": 25, "total": 1}
}
GET /api/v1/catalog-items/{id}

Retrieve a catalog item

Returns one item with its identifiers, linked items, product and the contracts that cover it.

  • Requires read:catalog.

Request example

curl -H "Authorization: Bearer <ALLOCORA_API_KEY>" \
  https://www.allocora.com/api/v1/catalog-items/<CATALOG_ITEM_ID>

Response example

{
  "data": {
    "id": "<CATALOG_ITEM_ID>",
    "type": "recording",
    "title": "Northern Lights",
    "identifiers": [{"scheme": "isrc", "value": "USRC17607839", "is_primary": true}],
    "parents": [{"relation_type": "contains", "position": 1, "item": {"id": "<RELEASE_ID>", "type": "release", "title": "Winter Roads"}}],
    "children": [],
    "contracts": [{"id": "<CONTRACT_ID>", "title": "Mara Quill record deal", "type": "recording", "status": "active"}]
  }
}
POST /api/v1/catalog-items

Create a catalog item

Creates one active catalog item with up to 20 identifiers.

  • Requires write:catalog.
  • type and title are required; version_title, language, release_date and identifiers are optional.

Request example

curl -X POST https://www.allocora.com/api/v1/catalog-items \
  -H "Authorization: Bearer <ALLOCORA_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "recording",
    "title": "Northern Lights",
    "version_title": "Album version",
    "identifiers": [{"scheme": "isrc", "value": "USRC17607839"}]
  }'

Response example

{
  "data": {
    "id": "<CATALOG_ITEM_ID>",
    "type": "recording",
    "title": "Northern Lights",
    "status": "active",
    "identifiers": [{"scheme": "isrc", "value": "USRC17607839", "is_primary": true}]
  }
}

Reference Tables

Fields and checks

List filters

The list endpoint accepts page and per_page (default 25, maximum 100) and returns meta with current_page, last_page, per_page and total. An unknown filter value returns 422.

Endpoint Filter Values
/api/v1/catalog-items type work, recording, release, film, series, episode, edition, video or other
/api/v1/catalog-items status active (default), archived or all
/api/v1/catalog-items search Title, version title or identifier; dashes and spaces in identifiers are ignored

Apply this in a workspace

Create a free workspace, explore sample data, and import your own revenue when you are ready.