Skip to main content
POST
/
api
/
integration
/
test
curl -X POST https://api.musique.app/api/integration/test \
  -H "X-API-Key: msk_live_1234567890abcdef"
{
  "valid": true,
  "externalId": "store_001",
  "userId": 4348,
  "permissions": [
    "audio.read",
    "audio.write",
    "audio.delete",
    "audio.send"
  ]
}
Verify that your API token is valid and has the required permissions.
Use this endpoint during development to verify your token setup before making other API calls.

Request

Headers

X-API-Key
string
required
Your API authentication token

Response

valid
boolean
Whether the token is valid
externalId
string
The external ID associated with this token
userId
number
The Musique user ID mapped to your external ID
permissions
array
List of permissions granted to this token
curl -X POST https://api.musique.app/api/integration/test \
  -H "X-API-Key: msk_live_1234567890abcdef"
{
  "valid": true,
  "externalId": "store_001",
  "userId": 4348,
  "permissions": [
    "audio.read",
    "audio.write",
    "audio.delete",
    "audio.send"
  ]
}

Available Permissions

PermissionDescription
audio.readList and retrieve audio files
audio.writeUpload new audio files
audio.deleteDelete audio files
audio.sendSend audio to devices