Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.spacemedia.uk/llms.txt

Use this file to discover all available pages before exploring further.

API Introduction

The SpaceMedia public API is for external organization automation. It is authenticated, organization scoped, and governed by the same Laravel policies used by the dashboard.

Base URL

https://enterprise.spacemedia.uk

Public endpoint families

FamilyScope
AuthExchange organization API key and secret for a bearer token, then validate token expiry.
AccountCurrent user and organization context plus custom label creation.
Artists, releases, tracksContent workflows available to permitted organization users.
SplitsRevenue split listing, creation, updates, and confirmations.
UsersOrganization user listing, invitation, detail, role updates, suspension, and related user records where policies allow.
Packages and paymentsMembership packages, Pay-Per-Release plans, upgrade options, subscriptions, checkouts, credit purchases, and payment verification callbacks.
Add-onsOrganization-level add-on checkout and lifecycle actions.
CopyrightOrganization copyright summary, statistics, wallet reads, wallet top-ups, release reads, and top-up status.
Quality ControlSubmitted release queue where the organization admin has dashboard access.
ReferenceCountries and release territories.

Excluded capabilities

The public spec does not include platform-only organization directory endpoints, system add-on administration, provider-balance reads, manual copyright wallet adjustments, copyright reruns, document approval/rejection actions, internal document downloads, or destructive user deletion.

Response model

Most controller responses use the ApiResponse helper with success, optional message, data, optional meta, and optional errors. Resource collection endpoints may return a Laravel resource collection envelope with data only. Each endpoint example shows the actual style used by that route.