Library and downloads
Everything a user gets is an entitlement: the right to use a pack or a single sound under its license. A pack entitlement covers sounds added to the pack later. Downloading again is always free.
Getting content
Section titled “Getting content”POST /v1/acquisitionsAuthorization: Bearer sc_at_…Idempotency-Key: 3f1c…Content-Type: application/json
{ "pack_id": "pck_01M8…", "accept_terms": true }Scope library:write. Give pack_id or asset_id. The answer is the entitlement: 201 when it
was created, 200 when the user already had it. The first time a user gets something they must
accept the terms of use; until they do, the answer is 403 with type
terms_not_accepted. Show them the terms and send accept_terms: true once they agree.
Downloading
Section titled “Downloading”POST /v1/downloadsAuthorization: Bearer sc_at_…
{ "pack_id": "pck_01M8…" }Scope downloads. If the user doesn’t hold it, the answer is 403 not_entitled with an
offer_id. Otherwise a manifest:
{ "object": "download_manifest", "target": { "type": "pack", "id": "pck_01M8…" }, "entitlement_id": "ent_01M9…", "expires_at": "2026-12-04T12:15:00Z", "files": [ { "path": "Loops/Dusty Keys 90 Am.wav", "url": "https://files.sample.cloud/…", "size_bytes": 2822444, "sha256": "9b1c…", "asset_id": "ast_01M8…" }, { "path": "Programs/Kit/kick_v1.flac", "url": "https://files.sample.cloud/dl/…", "size_bytes": 412904, "sha256": "c3d9…", "asset_id": "ast_01M8…", "archive": { "url": "https://files.sample.cloud/o/…", "range": { "offset": 18350112, "length": 412904 } } } ], "zip": { "url": "https://files.sample.cloud/dl/…", "filename": "Big Rusty Drums.zip", "size_bytes": 734003200 }}- Links live 15 minutes (the ZIP link 1 hour, counted from the start of the download). Ask for a new manifest when they expire.
- Save each file at its
pathand check itssha256. - Files of sampler instruments live inside one archive.
urlserves just that file;archivegives the archive and the byte range, for clients that prefer HTTP range requests. - For a single sound, give
asset_id. A program (SFZ instrument) downloads with all its samples.
The library
Section titled “The library”| Endpoint | Scope | What it returns |
|---|---|---|
GET /v1/me/library |
library:read |
entitlements, newest first; `type=pack |
GET /v1/me/downloads |
library:read |
download history, grouped by sound |
GET /v1/me/library/changes |
library:read |
what changed since a cursor, see Sync |