Skip to content

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 ​

CallerTokenTypical use
GuestnoneBrowse, search, previews, share links, the web player
Userplatform access tokenListening, social, wallet, messaging, studio for creators
Organization userorganization tokenLabels and publishers, under /v1/org
Staffstaff tokenModeration, 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 ​

TopicRuleGuide
Success shape{ data, meta }, meta.requestId always setQuickstart
ErrorsRFC 9457 problem details; branch on codeErrors
ListsCursor pages: ?cursor=&limit=, meta.nextCursor, meta.hasMorePagination
RetriesIdempotency-Key on creates and anything that moves moneyIdempotency
Money{ amountMinor, currency }, minor units, never floatsMoney
LimitsRateLimit-* headers, 429 RATE_LIMITED with Retry-AfterRate limits
LinksEvery share and notification opens the exact screenDeep links
Eventsresource:verb commands, resource:verbed server eventsRealtime

Where to go next ​

  1. Make your first request in the Quickstart.
  2. Learn the token worlds.
  3. Browse the API reference by domain.
  4. Follow what changed in the Changelog.

Plemuz API v2