Point Xero Music — Developer Portal & Distribution API (v1)
Public Music Distribution REST API
Enterprise REST interface for external record labels, authorized platforms, and music companies. Built with SHA-256 hashed scoped API keys, sliding-window rate limiting, idempotency keys, HMAC-SHA256 webhook signatures, and strict server-side secret isolation.
Scoped Auth
SHA-256 Hashed Keys & OAuth Scopes
Raw keys are shown once; server verifies SHA-256 digests and granular scopes.
Idempotency & Rate Limits
Safe Retries & Sliding Window
Pass Idempotency-Key to prevent duplicate releases or submissions.
Signed Webhooks
HMAC-SHA256 Signatures
Every webhook includes X-PX-Webhook-Signature: t=…,v1=….
Integration Honesty
Zero Fabricated Statuses
External DSPs stay Pending Integration until authorized gateways confirm delivery.
API v1 Endpoints (18)
Create Artist Profile
Registers a new recording artist profile under the partner or record label.
External HTTP Request Example
curl -X POST https://xero-growth-labs.base44.app/functions/musicDistributionApi \
-H "Content-Type: application/json" \
-H "X-PX-API-Version: v1" \
-H "X-PX-API-Key: px_sbx_your_scoped_key" \
-H "Idempotency-Key: idem_1796450204660" \
-d '{"endpoint":"POST /v1/artists","data":{"name":"Immortal C'zar","account_type":"Independent Artist","primary_genre":"Afrobeats","country":"Zambia","city":"Kabwe"}}'Standard Error Codes
UNAUTHORIZED (401)
Missing X-PX-API-Key header or Authorization: Bearer <scoped_token>.
INVALID_API_KEY (401)
Provided API key hash does not match any active partner record.
PARTNER_SUSPENDED (403)
Partner integration has been suspended or revoked by an administrator.
INSUFFICIENT_SCOPE (403)
Token lacks the required permission scope for the target endpoint.
INVALID_API_VERSION (400)
Unsupported X-PX-API-Version header (use v1 / 2026-10-01).
VALIDATION_ERROR (400)
Missing or invalid required DDEX / release / audio field.
IDEMPOTENCY_KEY_CONFLICT (409)
Idempotency-Key was reused with a different endpoint.
RATE_LIMIT_EXCEEDED (429)
Partner exceeded configured requests per minute window.
Webhook Events & Signature Verification
Every outbound webhook includes X-PX-Webhook-Signature: t=<unix_ts>,v1=<hmac_sha256> computed over ${timestamp}.${rawJsonBody} using your partner webhook signing secret.
release.submitted
Fired when a release is submitted into the QC & distribution pipeline.
release.approved
Fired when Point Xero QC approves a release for distribution.
release.live
Fired when a release goes live on Point Xero Music or a connected partner.
release.takedown
Fired when a takedown request is initiated or executed.
royalty.statement.ready
Fired when an auditable royalty statement is generated.
