Skip to main content
GET
/
api
/
audio
/
{audioId}
curl https://api.musique.app/api/audio/aud_9x8y7z6w5v4u3t \
  -H "X-API-Key: msk_live_1234567890abcdef"
{
  "audioId": "aud_9x8y7z6w5v4u3t",
  "name": "Store Announcement",
  "description": "New product launch announcement",
  "category": "announcement",
  "url": "https://cdn.musique.app/audio/aud_9x8y7z6w5v4u3t.mp3",
  "duration": 45.2,
  "size": 1024000,
  "format": "mp3",
  "createdAt": "2024-01-15T10:30:00Z",
  "stats": {
    "timesPlayed": 47,
    "lastPlayedAt": "2024-01-20T14:22:00Z",
    "totalRecipients": 12
  }
}
Retrieve details for a specific audio file including usage statistics.

Request

Headers

X-API-Key
string
required
Your API authentication token

Path Parameters

audioId
string
required
ID of the audio file

Response

audioId
string
Unique identifier for the audio
name
string
Display name of the audio file
description
string
Description or notes about the audio
category
string
Category for organization
url
string
CDN URL for the audio file
duration
number
Audio duration in seconds
size
number
File size in bytes
format
string
Audio format (mp3, wav, ogg, aac)
createdAt
string
ISO 8601 timestamp of upload
stats
object
Usage statistics (timesPlayed, lastPlayedAt, totalRecipients)
curl https://api.musique.app/api/audio/aud_9x8y7z6w5v4u3t \
  -H "X-API-Key: msk_live_1234567890abcdef"
{
  "audioId": "aud_9x8y7z6w5v4u3t",
  "name": "Store Announcement",
  "description": "New product launch announcement",
  "category": "announcement",
  "url": "https://cdn.musique.app/audio/aud_9x8y7z6w5v4u3t.mp3",
  "duration": 45.2,
  "size": 1024000,
  "format": "mp3",
  "createdAt": "2024-01-15T10:30:00Z",
  "stats": {
    "timesPlayed": 47,
    "lastPlayedAt": "2024-01-20T14:22:00Z",
    "totalRecipients": 12
  }
}