Developers

Build on the Lesuto Disco Platform API

Search catalog, stream previews, issue sync licenses, and subscribe to webhooks — same surface Lesuto Chameleon uses.

Authentication

  1. Register via POST /api/v1/platforms/register or contact partnerships for sandbox credentials.
  2. POST /api/v1/auth/token with clientId and clientSecret.
  3. Use the Bearer JWT on subsequent requests — scopes are intersected with your platform registry.
  4. Issue licenses with POST /api/v1/licenses when content publishes.

API capabilities

MethodEndpointScopePurpose
POST/oauth/tokenClient credentials → platform JWT
GET/trackstracks:readSearch by mood, genre, BPM, duration
GET/tracks/{id}/streamtracks:streamWatermarked preview audio
POST/licenseslicenses:writeIssue sync license per contentId
GET/catalog/synctracks:readBatch catalog import
POST/usage-eventslicenses:writeReport plays / impressions

Outbound webhooks

track.approved, track.updated, track.takedown

Inbound webhooks

content.published, content.deleted

Licenses are issued for specified content types and territories through Lesuto Hub integrations or the Platform API. Browse and preview free on Disco; commercial use requires a valid license record.

Developer FAQ

Is there self-serve signup?

Yes — POST /api/v1/platforms/register creates a Developer tier platform with API key. Paid tiers use Stripe checkout or sales-assisted onboarding.

Where is the OpenAPI spec?

The v1 contract lives at docs.lesutodisco.com/reference/openapi and /openapi.v1.json.

What about stems for editors?

GET /tracks/{id}/stems requires Enterprise tier or a stems add-on entitlement. Listener stems are Phase 2.

Need credentials?

We provision sandbox platforms with scoped API keys and walk through your first license call.