Get the current playback queue for the specified playlist.

GET
https://demo.azuracast.com/api/station/{station_id}/playlist/{id}/queue

Parameters

station_idinteger | stringrequiredpath
idinteger<int64>requiredpath

Playlist ID

Response

Success

Response fields application/json
Show child attributes
spm_idinteger

ID of the StationPlaylistMedia record associating this track with the playlist

Example
1
media_idinteger

ID of the StationMedia record associating this track with the media

Example
1
song_idstring

The song’s 32-character unique identifier hash

Example
9f33bbc912c19603e51be8e0987d076b
artiststring

The song artist.

Example
Chet Porter
titlestring

The song title.

Example
Aluko River
last_playedinteger | null

The UNIX timestamp when this specific track was last played.

403ForbiddenApi_Error

Access denied.

Response fields application/json
codeintegerrequired

The numeric code of the error.

Example
500
typestringrequired

The programmatic class of error.

Example
NotLoggedInException
messagestringrequired

The text description of the error.

Example
Error description.
formatted_messagestring | nullrequired

The HTML-formatted text description of the error.

Example
<b>Error description.</b><br>Detailed error text.
extra_dataArray<any>required

Stack traces and other supplemental data.

successbooleanrequired

Used for API calls that expect an \Entity\Api\Status type response.

Example
false
404Not FoundApi_Error

Record not found.

Response fields application/json
codeintegerrequired

The numeric code of the error.

Example
500
typestringrequired

The programmatic class of error.

Example
NotLoggedInException
messagestringrequired

The text description of the error.

Example
Error description.
formatted_messagestring | nullrequired

The HTML-formatted text description of the error.

Example
<b>Error description.</b><br>Detailed error text.
extra_dataArray<any>required

Stack traces and other supplemental data.

successbooleanrequired

Used for API calls that expect an \Entity\Api\Status type response.

Example
false
500Internal Server ErrorApi_Error

A generic exception has occurred.

Response fields application/json
codeintegerrequired

The numeric code of the error.

Example
500
typestringrequired

The programmatic class of error.

Example
NotLoggedInException
messagestringrequired

The text description of the error.

Example
Error description.
formatted_messagestring | nullrequired

The HTML-formatted text description of the error.

Example
<b>Error description.</b><br>Detailed error text.
extra_dataArray<any>required

Stack traces and other supplemental data.

successbooleanrequired

Used for API calls that expect an \Entity\Api\Status type response.

Example
false

Authorization

ApiKeyapiKey in header