Website and content

Endpoint /api/startpage/{server_id}/
HTTP methods GET
Authentication Public

Public station website HTML. Nested website paths use /api/startpage/{server_id}/{spa_path}.

Endpoint /api/v2/site_settings/
HTTP methods GET
Authentication Public

Pass server to obtain its site settings object.

Endpoint /api/v2/site_settings/{station_id}/
HTTP methods GET, PUT, PATCH
Authentication GET is public. Changes require a panel JWT.

Read or update the site’s settings. GET uses the station ID in the path. For PUT or PATCH also send server in the body or query and include the complete channels array of stream IDs.

Endpoint /api/v2/site_settings/
HTTP methods POST
Authentication Panel JWT

Create site settings for a station with server when no record exists.

Endpoint /api/v2/site_settings/{station_id}/
HTTP methods DELETE
Authentication Panel JWT

Delete site settings for the station selected with ?server=1.

Endpoint /api/v2/startpage/download/{website_id}/
HTTP methods GET, POST
Authentication Panel JWT

GET exports a ZIP. POST publishes the site to the account’s web directory and returns {}. The path takes the site settings record ID .

Endpoint /api/v2/news/
HTTP methods GET, POST
Authentication GET is public. Changes require a panel JWT.

List by server, or create using server, title, text, dttm, optional image and video_url.

Endpoint /api/v2/news/{id}/
HTTP methods GET, PUT, PATCH, DELETE
Authentication GET is public. Changes require a panel JWT.

Read or manage an article.

Endpoint /api/v2/broadcasts/
HTTP methods GET, POST
Authentication GET is public. Changes require a panel JWT.

List by server, or create using server, title, text, dttm and optional image.

Endpoint /api/v2/broadcasts/{id}/
HTTP methods GET, PUT, PATCH, DELETE
Authentication GET is public. Changes require a panel JWT.

Read or manage a broadcast announcement.

Endpoint /api/v2/feedback/
HTTP methods POST
Authentication Public

Site feedback form. Send subject, message, and contact email. Returns status (ok, no_user, or email_exception) and optional error.

For news and announcements, send dttm as Unix seconds. Responses return it in milliseconds.

Site properties include title_tag, description_tag, block_1_html, block_2_html, block_footer_html, social links (social_*), app links (android_app, ios_app, rustore_app), and feature switches such as enable_news, enable_podcasts , enable_chat , enable_calls , and enable_feedback.

Widgets

Endpoint /api/v2/current_track_widget_settings/{station_id}/
HTTP methods GET, PUT
Authentication GET is public. Changes require a panel JWT.

Read or save current-track widget settings. Fields include background_color, background_opacity, track_image_default, track_image_size, meta_font_size, progress_bar_color, and vote_show.

Endpoint /api/v2/request_track_widget_settings/{station_id}/
HTTP methods GET, PUT
Authentication GET is public. Changes require a panel JWT.

Read or save track request widget settings. Fields include tracks_num, track_width, ordering, allow_person_and_message, ip_timeout and track_timeout (milliseconds), and appearance.

Endpoint /api/v2/player_widget_settings/{station_id}/
HTTP methods GET, PUT
Authentication GET is public. Changes require a panel JWT.

Read or save player settings. PUT accepts a comma-separated string of channels . Other fields include station_name, station_url, lang, autoplay, player_width, show_history, history_limit, and show_vote.

Endpoint /api/v2/player_widget_settings/{station_id}/delete/
HTTP methods DELETE
Authentication Panel JWT

Reset the saved player settings.

Widget reads return configuration objects. The three widget PUT endpoints above return HTTP 201 with the saved serializer data. Use multipart form data for uploaded images. Chat and call widgets have their own settings endpoints.

PUT /api/v2/player_widget_settings/1/
{
  "station_name": "Example Radio",
  "channels": "11,12",
  "show_history": true,
  "history_limit": 10
}

The chat and call widget configurations both accept background_color, text_color, and accent_color as three- or six-digit hex values. width accepts 100–2000 pixels and height accepts 100–3000 pixels. The call widget also accepts height: 0. The chat widget accepts default_room, a room ID from the same station or null. Use the widget settings routes in Chat and Calls .

Widget counts and sorting

The player example uses station ID 1 and channel IDs 11 and 12. history_limit: 10 requests a history display of up to ten tracks. For ordering in the track request widget, use 1 for artist A–Z, 2 for title A–Z, or 3 for random order. tracks_num is the number of tracks shown and track_width is the card width in pixels. ip_timeout and track_timeout are milliseconds between requests from the same IP or for the same track.