Appearance
Introduction
Plemuz is a music platform for listeners and creators: streaming, a marketplace for digital goods, live streams, fan funding, social features, end-to-end encrypted messaging and calls. The Plemuz API v2 is the single backend behind the Plemuz apps, the web player and the creator studio.
Two transports
- REST over HTTPS at
https://api.plemuz.com/v1. JSON in, JSON out. - Realtime over Socket.IO, one namespace per area (
/playback,/chat,/call,/live,/together,/notify,/studio,/assistant). See Realtime.
Who calls the API
| Caller | Token | Typical use |
|---|---|---|
| Guest | none | Browse, search, previews, share links, the web player |
| User | platform access token | Listening, social, wallet, messaging, studio for creators |
| Organization user | organization token | Labels and publishers, under /v1/org |
| Staff | staff token | Moderation, payouts, reviews, under /v1/staff |
A person can be a listener and a creator at once: creator profiles (artist, DJ, producer, podcaster) belong to a user account. Details in Authentication & tokens.
Conventions at a glance
| Topic | Rule | Guide |
|---|---|---|
| Success shape | { data, meta }, meta.requestId always set | Quickstart |
| Errors | RFC 9457 problem details; branch on code | Errors |
| Lists | Cursor pages: ?cursor=&limit=, meta.nextCursor, meta.hasMore | Pagination |
| Retries | Idempotency-Key on creates and anything that moves money | Idempotency |
| Money | { amountMinor, currency }, minor units, never floats | Money |
| Limits | RateLimit-* headers, 429 RATE_LIMITED with Retry-After | Rate limits |
| Links | Every share and notification opens the exact screen | Deep links |
| Events | resource:verb commands, resource:verbed server events | Realtime |
Where to go next
- Make your first request in the Quickstart.
- Learn the token worlds.
- Browse the API reference by domain.
- Follow what changed in the Changelog.