Play a track
GET
/api/v1/releases/{id}/tracks/{trackId}/audio
const url = 'http://localhost:8891/api/v1/releases/9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70/tracks/7a1e2b3c-4d5e-4f60-8a71-9b0c1d2e3f40/audio';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8891/api/v1/releases/9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70/tracks/7a1e2b3c-4d5e-4f60-8a71-9b0c1d2e3f40/audio \ --header 'Authorization: Bearer <token>'A signed, short-lived GET for the whole track as an MP3, so your organisation can play it in full; preview_url is the short clip. Hand download.url to a player before its expires_at, and call this again for a fresh link rather than keeping one. A track still processing, or uploaded before full-length audio existed, has no MP3 yet. 404 on an unknown track, a track of another release or organisation, or a track with no MP3. 403 for a token not acting for an organisation. Requires the catalogue:read scope. Full flow: see the minimal path guide.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Example
9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70trackId
required
string format: uuid
Example
7a1e2b3c-4d5e-4f60-8a71-9b0c1d2e3f40Responses
Section titled “ Responses ”Default Response
Media typeapplication/json
object
download
required
object
url
required
string format: uri
expires_at
required
string format: date-time
Example
{ "download": { "url": "https://assets.staging.elasticstage.com/releases/9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70/tracks/upl_7a1e…/7a1e2b3c-4d5e-4f60-8a71-9b0c1d2e3f40-full.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Signature=…", "expires_at": "2026-07-29T10:46:37Z" }}Default Response
Media typeapplication/json
object
statusCode
required
number
code
required
string
error
required
string
message
required
string
details
Array
Example
{ "code": "VALIDATION_ERROR"}Default Response
Media typeapplication/json
object
statusCode
required
number
code
required
string
error
required
string
message
required
string
details
Array
Example
{ "code": "VALIDATION_ERROR"}Default Response
Media typeapplication/json
object
statusCode
required
number
code
required
string
error
required
string
message
required
string
details
Array
Example
{ "code": "VALIDATION_ERROR"}Default Response
Media typeapplication/json
object
statusCode
required
number
code
required
string
error
required
string
message
required
string
details
Array
Example
{ "code": "VALIDATION_ERROR"}Default Response
Media typeapplication/json
object
statusCode
required
number
code
required
string
error
required
string
message
required
string
details
Array
Example
{ "code": "VALIDATION_ERROR"}Default Response
Media typeapplication/json
object
statusCode
required
number
code
required
string
error
required
string
message
required
string
details
Array
Example
{ "code": "VALIDATION_ERROR"}Default Response
Media typeapplication/json
object
statusCode
required
number
code
required
string
error
required
string
message
required
string
details
Array
Example
{ "code": "VALIDATION_ERROR"}