Create a new Streamer/DJ account.

POST
https://demo.azuracast.com/api/station/{station_id}/streamers

Body

application/json

Station streamers (DJ accounts) allowed to broadcast to a station.

streamer_usernamestring
Example
dj_test
streamer_passwordstring
Example
display_namestring
Example
Test DJ
commentsstring | null
Example
This is a test DJ account.
is_activeboolean
Example
true
enforce_scheduleboolean
Example
false
reactivate_atinteger | null
Example
1609480800
schedule_itemsArray<any>

Parameters

station_idinteger | stringrequiredpath

Response

Success

Response fields application/json

Station streamers (DJ accounts) allowed to broadcast to a station.

idintegerrequiredread only
streamer_usernamestring
Example
dj_test
streamer_passwordstring
Example
display_namestring
Example
Test DJ
commentsstring | null
Example
This is a test DJ account.
is_activeboolean
Example
true
enforce_scheduleboolean
Example
false
reactivate_atinteger | null
Example
1609480800
schedule_itemsArray<any>
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