API reference/Audio
List approved audio previews
Try itList approved station-facing previews for a visible promotion, with authenticated download URLs.
GET
/api/v1/audio/{slug}/previewsAuthentication
Send your workspace key as xi-api-key or Authorization: Bearer.
audio:readread
Parameters
Named placeholders belong in the path. Other arguments use query parameters.
slugRequired- string
Response
JSON response with status 200.
Requests and errors →{
"slug": "YOUR_VALUE"
}{
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z0-9][a-z0-9-]*$"
}
},
"required": [
"slug"
],
"additionalProperties": false
}{
"type": "object",
"properties": {
"previews": {
"type": "array",
"items": {
"type": "object",
"properties": {
"position": {
"type": "number"
},
"length": {
"type": "number"
},
"downloadUrl": {
"type": "string"
}
},
"required": [
"position",
"length",
"downloadUrl"
],
"additionalProperties": false
}
}
},
"required": [
"previews"
],
"additionalProperties": false
}