Create a new HLS stream.

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

Body

application/json
namestring
Example
aac_lofi
formatHlsStreamProfiles | null
Show child attributes
One of
HlsStreamProfilesaacaac_heaac_he_v2
Example
aac
bitrateinteger | null
Example
128

Parameters

station_idinteger | stringrequiredpath

Response

Success

Response fields application/json
idintegerrequiredread only
namestring
Example
aac_lofi
formatHlsStreamProfiles | null
Show child attributes
One of
HlsStreamProfilesaacaac_heaac_he_v2
Example
aac
bitrateinteger | null
Example
128
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
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