Ads
Upload MP3 files and broadcast them to specific locations or your entire network using External IDs.
Playlists
Fetch curated playlists with CDN-served audio URLs for direct playback in your application.
Getting Started
1. Request Integration Access
Contact Musique support to request Partner API access. Provide:- Your company name and use case
- Your External ID scheme (how you identify your locations internally)
2. Verify Your Connection
Test your token with a health check:3. Explore the Integration Surfaces
Ads
Upload and broadcast audio files to your locations.
Playlists
Stream curated background music playlists.
Authentication
All requests must include your API token in theX-API-Key header:
{companyPrefix}_{environmentPrefix}_{hashToken}. Each user within a company gets a unique token.
| Part | Description |
|---|---|
companyPrefix | Identifies the partner company (e.g. msk) |
environmentPrefix | prod for production, dev for development |
hashToken | Unique hash per user |
Token Security
Token Security
- Tokens are hashed in the database — Musique never stores the plaintext value
- Each token is scoped to your company and External IDs
- Tokens do not expire by default
- If a token is compromised, contact support@musique.app immediately to revoke it
System Endpoints
API Info
Get API name, version, and documentation URL.
Health Check
Check API health and service status.
Validate Token
Confirm your API key is valid and retrieve company and user details.
Rate Limits
Standard limits per API key:| Window | Limit |
|---|---|
| Per minute | 100 requests |
| Per hour | 1,000 requests |
| Per day | 10,000 requests |
X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers. Exceeding the limit returns 429 Too Many Requests with a Retry-After header.
Response Format
All responses return JSON. Errors follow a consistent structure:Best Practices
Error Handling
Handle all error types explicitly. See the Errors guide for per-status examples.
Rate Limiting
Implement exponential backoff on
429 responses. Start at 1 second and double each retry.Token Security
Store tokens in environment variables or a secret manager. Rotate immediately if exposed.
OpenAPI Spec
Interactive playground and full spec available in the API Reference.
Support
Questions or need a token? Contact support@musique.app. When reporting an issue, include your External ID, the timestamp, and the error message.API Reference
Full endpoint docs with interactive playground.
Quick Messages Guide
Learn how to create and manage audio content in the Musique dashboard.

