Appearance
Creative
Music-industry features: DJ sets and DJ mode data, stem packs and remix contests, drops, superfan memberships, Wrapped, streaks and badges, and creator radio stations. All paths are under /v1. Pages use cursor and limit and return meta.nextCursor / meta.hasMore.
Studio routes (/studio/profiles/:profileId/...) need a signed-in user whom the studio grants the named permission on that profile (owner or team role). Refusal: CREATIVE_FORBIDDEN (403). A row belonging to another profile is CREATIVE_NOT_FOUND (404). Public routes work for guests.
DJ sets and DJ mode
| Method | Path | Auth | Body / query | Response | Errors |
|---|---|---|---|---|---|
| POST | /studio/profiles/:profileId/dj-sets | catalog:manage | { mediaAssetId, title, description?, venue?, eventName?, recordedAt?, durationMs, genreId?, isExplicit?, tracklist[1..500] } | 201 DjSet | CREATIVE_ASSET_NOT_READY, CREATIVE_TRACKLIST_INVALID, CREATIVE_RECORDING_UNKNOWN |
| GET | /studio/profiles/:profileId/dj-sets | catalog:manage | page | page of DjSetSummary | — |
| GET | /studio/profiles/:profileId/dj-sets/:id | catalog:manage | — | DjSet | CREATIVE_NOT_FOUND |
| PUT | /studio/profiles/:profileId/dj-sets/:id/tracklist | catalog:manage | { tracklist } | DjSet | as create, CREATIVE_INVALID_TRANSITION (archived) |
| POST | /studio/profiles/:profileId/dj-sets/:id/publish | catalog:manage | — | DjSet | CREATIVE_INVALID_TRANSITION |
| POST | /studio/profiles/:profileId/dj-sets/:id/archive | catalog:manage | — | DjSet | CREATIVE_INVALID_TRANSITION |
| GET | /dj-sets/:id | public | — | DjSet (published only) | CREATIVE_NOT_FOUND |
| GET | /profiles/:profileId/dj-sets | public | page | page of DjSetSummary | — |
| GET | /me/cue-points/:recordingId | user | — | CuePoint[] | — |
| PUT | /me/cue-points/:recordingId | user | `{ cuePoints[≤16]: { slot 1..16, kind hot_cue | memory_cue | loop, positionMs, loopLengthMs? (loops only), label?, color? #RRGGBB } }` |
| GET | /recordings/:recordingId/stems | user, paid plan | — | `{ kind vocals | drums |
| POST | /me/stem-usages | user, paid plan | `{ recordingId, stems[], purpose dj | karaoke | practice |
Tracklist entry: { recordingId, startMs, endMs, transition cut|crossfade|blend|echo_out|filter_sweep|backspin|loop|drop_swap|acapella_over, transitionMs, bpm?, musicalKey?, pitchPercent? }. Entries run in order; an entry may overlap the next only for its own transitionMs, and never the one after next; no entry runs past durationMs. DjSet: id, profileId, mediaAssetId, title, description, venue, eventName, recordedAt, durationMs, genreId, bpmMin, bpmMax, isExplicit, status draft|published|archived, publishedAt, tracklist[] (with position). DjSetSummary replaces tracklist with trackCount. Royalties split a DJ set by time played: overlapping stretches are halved between the two tracks (CreativeApi.tracklistShares).
Stem packs
| Method | Path | Auth | Body | Response | Errors |
|---|---|---|---|---|---|
| POST | /studio/profiles/:profileId/stem-packs | catalog:manage | `{ recordingId, title, description?, licence contest_only | remix_non_commercial | remix_commercial_split, remixerShareBps? (commercial split only), bpm?, musicalKey?, items[1..24]: { mediaAssetId, stemKind, label? } }` |
| GET | /studio/profiles/:profileId/stem-packs | catalog:manage | page | page of StemPack | — |
| POST | /studio/profiles/:profileId/stem-packs/:id/publish · /withdraw | catalog:manage | — | StemPack | CREATIVE_INVALID_TRANSITION |
| GET | /stem-packs/:id | public | — | StemPack | CREATIVE_NOT_FOUND |
| GET | /profiles/:profileId/stem-packs | public | page | page of StemPack | — |
| GET | /stem-packs/:id/download | user | — | { position, stemKind, label, url }[] | CREATIVE_NOT_FOUND, CREATIVE_CONTEST_CLOSED (contest-only pack with no open contest) |
Remix contests
Lifecycle: draft → open (creator) → voting (at submissionDeadline) → judging (at votingEndsAt) → closed (creator announces winners); cancelled by the creator from any non-final state. Voting runs at least 24 h. One vote per user per contest (changeable by retracting). Vote counts and the votes order are hidden until judging.
| Method | Path | Auth | Body / query | Response | Errors |
|---|---|---|---|---|---|
| POST | /studio/profiles/:profileId/contests | catalog:manage | { stemPackId (published), title, description?, prizeDescription?, rules[1..30], submissionDeadline, votingEndsAt, maxSubmissionsPerUser?, maxWinners?, releaseWinner? } | 201 Contest | CREATIVE_SCHEDULE_INVALID, CREATIVE_INVALID_TRANSITION |
| GET | /studio/profiles/:profileId/contests | catalog:manage | page, status? | page of Contest (drafts included) | — |
| POST | /studio/profiles/:profileId/contests/:id/open · /cancel | catalog:manage | — | Contest | CREATIVE_INVALID_TRANSITION, CREATIVE_SCHEDULE_INVALID |
| POST | /studio/profiles/:profileId/contests/:id/winners | catalog:manage | { submissionIds[] (ranked), winnerReleaseId? } | Contest | CREATIVE_INVALID_TRANSITION, CREATIVE_WINNERS_INVALID |
| POST | /studio/profiles/:profileId/contests/:id/submissions/:submissionId/disqualify | catalog:manage | { reason } | { status: "ok" } | CREATIVE_CONTEST_CLOSED |
| GET | /contests | public | page, `status? open | voting | judging |
| GET | /contests/:id | public | — | Contest | CREATIVE_NOT_FOUND |
| GET | /contests/:id/submissions | public | page, `order recent | votes` | page of Submission |
| POST | /contests/:id/submissions | user | { mediaAssetId, title, notes?, profileId? } | 201 Submission | CREATIVE_CONTEST_CLOSED, CREATIVE_SUBMISSION_LIMIT, CREATIVE_ASSET_NOT_READY, CREATIVE_FORBIDDEN |
| DELETE | /contests/:id/submissions/:submissionId | submitter | — | { status: "ok" } | CREATIVE_CONTEST_CLOSED |
| GET | /contests/:id/vote | user | — | { submissionId | null } | — |
| POST | /contests/:id/vote | user (30/hour) | { submissionId } | 201 { status: "ok" } | CREATIVE_CONTEST_CLOSED, CREATIVE_ALREADY_VOTED, CREATIVE_SELF_VOTE |
| DELETE | /contests/:id/vote | user | — | { status: "ok" } | CREATIVE_CONTEST_CLOSED |
Contest: id, profileId, stemPackId, title, description, prizeDescription, rules[], status, submissionDeadline, votingEndsAt, maxSubmissionsPerUser, maxWinners, releaseWinner, winnerReleaseId, winners[{ rank, submissionId }], createdAt. Submission: id, contestId, profileId, title, notes, status submitted|disqualified|withdrawn, voteCount|null, isMine, createdAt.
Drops
Lifecycle: scheduled → live (at dropAt) → ended (after the listening party), or cancelled by the creator. Pre-savers get a reminder an hour before and a notification at drop time; followers are told at drop time. A listening party (together session or live show) is created at scheduling and opens at dropAt.
| Method | Path | Auth | Body / query | Response | Errors |
|---|---|---|---|---|---|
| POST | /studio/profiles/:profileId/drops | catalog:manage | `{ releaseId, title, description?, artworkAssetId?, dropAt (≥10 min ahead), partyKind none | together | live, partyDurationMinutes 15..480 }` |
| GET | /studio/profiles/:profileId/drops | catalog:manage | page, `scope upcoming | all` | page of Drop |
| POST | /studio/profiles/:profileId/drops/:id/cancel | catalog:manage | — | Drop | CREATIVE_INVALID_TRANSITION |
| GET | /drops/:id | public | — | Drop | CREATIVE_NOT_FOUND |
| GET | /profiles/:profileId/drops | public | page, scope | page of Drop | — |
| POST | /drops/:id/presave | user | { addToLibrary?, followCreator?, notifyAtDrop? } | Drop (repeat is a no-op) | CREATIVE_DROP_NOT_SCHEDULED |
| DELETE | /drops/:id/presave | user | — | { status: "ok" } | CREATIVE_DROP_NOT_SCHEDULED |
Drop: id, profileId, releaseId, title, description, artworkAssetId, dropAt, status, partyKind, partySessionId, partyDurationMinutes, presaveCount, secondsUntilDrop, serverTime, isPresaved.
Superfan memberships
Monthly tiers per creator profile, billed through the wallet (superfan_membership, fee kind superfan_membership). A tier's price is fixed once created. Renewal runs hourly; a failed renewal makes the membership past_due (perks kept), retried daily for CREATIVE_SUPERFAN_GRACE_DAYS, then expired. Cancelling keeps perks to the end of the paid period. Statuses: pending, active, past_due, cancelled, expired.
| Method | Path | Auth | Body / query | Response | Errors |
|---|---|---|---|---|---|
| POST | /studio/profiles/:profileId/superfan-tiers | funding:manage | { name, description?, price { amountMinor, currency }, position?, maxMembers?, perks[1..20]: { kind, label, description?, discountBps? (discount kinds only) } } | 201 StudioTier | CREATIVE_TIER_NAME_TAKEN |
| PATCH | /studio/profiles/:profileId/superfan-tiers/:id | funding:manage | any of name, description, position, maxMembers, isActive, perks | StudioTier | CREATIVE_NOT_FOUND, CREATIVE_TIER_NAME_TAKEN |
| GET | /studio/profiles/:profileId/superfan-tiers | funding:manage | — | StudioTier[] | — |
| GET | /studio/profiles/:profileId/superfans | stats:read | page, status? | page of Membership & { userId } | — |
| GET | /studio/profiles/:profileId/superfan-earnings | earnings:read | from, to (ISO) | { currency, grossMinor, feeMinor, netMinor, payments }[] | — |
| GET | /profiles/:profileId/superfan-tiers | public | — | Tier[] (active) | — |
| POST | /superfan-tiers/:id/join | user, Idempotency-Key required | `{ method wallet | card | bank_transfer |
| GET | /me/superfan-memberships | user | — | Membership[] | — |
| POST | /me/superfan-memberships/:id/cancel · /resume | member | — | Membership | CREATIVE_NOT_FOUND, CREATIVE_INVALID_TRANSITION |
Tier: id, profileId, name, description, price { amountMinor, currency }, billingPeriod "monthly", position, maxMembers, isActive, isFull, perks[{ kind, label, description, discountBps }]; StudioTier adds memberCount. Membership: id, tierId, profileId, status, currentPeriodStart, currentPeriodEnd, cancelAtPeriodEnd, hasPerks, createdAt.
Wrapped, streaks and badges
| Method | Path | Auth | Query | Response | Errors |
|---|---|---|---|---|---|
| GET | /me/wrapped | user | `period year | month(default year),start?` any ISO date in the period (default latest) | Wrapped |
| GET | /me/wrapped/history | user | — | { id, periodKind, periodStart, periodEnd, totalMinutes, computedAt }[] | — |
| GET | /me/streak | user | — | { currentDays, longestDays, startedOn, lastDay, totalMinutes, isActiveToday } | — |
| GET | /me/badges | user | — | { badge, profileId, awardedAt }[] | — |
| GET | /badges | public | — | Badge[] | — |
Wrapped: id, periodKind, periodStart, periodEnd, totalMinutes, totalPlays, distinctTracks, distinctArtists, listeningDays, longestStreakDays, topTracks[], topArtists[], topGenres[] (each { rank, subjectId, minutes, plays }), computedAt. Monthly recaps compute on the 1st; the year so far on 1 December, the final year on 2 January. Badge: code, label, description, category streak|listening|superfan|contest|drop|dj, threshold, imageAssetId.
Radio stations
| Method | Path | Auth | Body / query | Response | Errors |
|---|---|---|---|---|---|
| POST | /studio/profiles/:profileId/stations | live:manage | { slug, name, tagline?, description?, artworkAssetId?, genreId?, countryCode?, languageCode?, timezone? } | 201 Station (draft) | CREATIVE_SLUG_TAKEN |
| GET | /studio/profiles/:profileId/stations | live:manage | page | page of Station | — |
| PATCH | /studio/profiles/:profileId/stations/:id | live:manage | any of `name, tagline, description, artworkAssetId, genreId, status draft | active | archived` |
| POST | /studio/profiles/:profileId/stations/:id/slots | live:manage | `{ title, description?, kind programme | live_show | rerun, hostProfileId?, startsAt, endsAt (≤12 h), playlistId? | djSetId? | liveSessionId? (live shows), repeatWeeks 0..12 }` |
| DELETE | /studio/profiles/:profileId/stations/:id/slots/:slotId | live:manage | — | { status: "ok" } | CREATIVE_NOT_FOUND |
| GET | /stations | public | page, genreId? | page of Station (active) | — |
| GET | /stations/by-slug/:slug · /stations/:id | public | — | Station | CREATIVE_NOT_FOUND |
| GET | /stations/:id/schedule | public | from, to (≤31 days) | Slot[] | CREATIVE_SCHEDULE_INVALID |
| GET | /stations/:id/now | public | — | { slot | null, next | null, serverTime } | — |
Events
| Type | When |
|---|---|
creative.dj_set.published | A DJ set goes public; royalties read tracklistShares. |
creative.drop.released / creative.drop.cancelled | Drop time reached (library adds pre-saved releases) / creator cancelled. |
creative.contest.status_changed / creative.contest.winners_announced | Contest moves / winners ranked (a releaseWinner contest starts a release). |
creative.superfan.membership_changed | Any membership status or period change. |
creative.badge.awarded | A badge is awarded. |
creative.wrapped.ready | A recap snapshot is (re)computed. |
No socket namespace: countdowns use secondsUntilDrop with serverTime; listening parties run in /together or /live.