The Musique Partner API gives you programmatic control over audio uploads, library management, and device broadcasts — built for retailers, franchises, and multi-unit businesses that need to manage audio at scale.Documentation Index
Fetch the complete documentation index at: https://docs.musique.app/llms.txt
Use this file to discover all available pages before exploring further.
Key Features
Token Authentication
Secure API key authentication using the
X-API-Key header on every request.Audio Management
Upload, retrieve, delete, and broadcast audio files programmatically.
Broadcast & Targeted Send
Send audio to all locations at once, or target specific stores by External ID.
OpenAPI Spec
Interactive playground and full spec available in the API Reference.
Use Cases
- Multi-location businesses — Manage audio across franchise networks from a single integration
- Marketing platforms — Automate promotional message distribution by store or region
- Integration partners — Embed Musique functionality into your own platform
- Custom applications — Build tailored audio management solutions
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. Make Your First Request
Test your token with a health check:3. Upload and Send Audio
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
Core Concepts
External ID Mapping
Your External ID is your internal identifier for a location or store. Musique maps these to internal user IDs, so you always work with your own identifiers — no need to track Musique-internal IDs.Targeted Send vs Broadcast
- Targeted Send
- Broadcast
Send audio to specific locations by listing their External IDs:Use this for regional campaigns or testing before a wider rollout.
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.
API Endpoints
Audio
List Audio
Retrieve all audio files in your library.
Upload Audio
Upload a new MP3 file to your library.
Get Audio
Retrieve a specific audio file by ID.
Send Audio
Broadcast audio to devices by External ID.
System
API Info
Get API name, version, and documentation URL.
Health Check
Check API health and service status.
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.
Test Before Broadcasting
Always test with a single
externalId before sending to all locations.Roadmap
Phase 1 — Complete
- API key authentication
- Audio CRUD operations
- Health and info endpoints
- OpenAPI specification with interactive playground
Phase 2 — In Progress
- Rate limiting headers
- Pagination support
- Request IDs for support tracking
Phase 3 — Planned
- Webhooks for async notifications
- Sandbox environment
- Audit logs
- Language-specific SDKs
Phase 4 — Enterprise
- OAuth 2.0
- Batch operations
- SLA guarantees
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.

