Livestream metadata shows listeners which song is playing right now: title, artist and cover. You can send us this data by webhook, or we read it from your existing Now Playing API.
Option 1: send updates by webhook
- Add your livestream in the Dashboard under Audio › Livestreams.
- Note the ID of the livestream in the list, for example 1060.
- For every new song, send a PUT or PATCH request with the metadata in JSON format to:
https://production.brandsarelive.com/api/webhooks/live-stream-meta/<id>/
Replace <id> with your livestream ID, for examplehttps://production.brandsarelive.com/api/webhooks/live-stream-meta/1060/.
GROW plan: send title, artist and the URL of the cover image.
{
"current_title": "my title",
"current_artist_name": "my artist",
"current_cover_image_url": "https://bar.foo/test.jpg"
}
PRO plan (your music database is synchronized with AWS): send title, artist and the reference_id, your internal ID of the track in your music database. We use it to find the track and its cover in our database.
{
"current_title": "my title",
"current_artist_name": "my artist",
"reference_id": "12345"
}
Option 2: use your now playing API
If you already have a working Now Playing API in JSON format, send us its URLs for all your stations. We then read the data automatically.
Tips
- Webhook: check that you use the correct livestream ID and valid JSON.
- Now Playing API: make sure your API is always reachable and returns the current song for each station.