EN
English Français
Start your station
Help center Social posts

Social posts

6 min read Last updated: December 03, 2026

Social posts send a message to Discord, Bluesky, Mastodon or Telegram, or call a webhook of your own, when something happens on your AutoDJ station: a show starts, a Live DJ goes on air, or a new track plays. Social posts are part of CloudRadio One. The station owner and station managers set them up; DJs do not see the page.

Go to Social posts in the station sidebar, under Distribution.

Connect an account

Click Add an account (or one of the Connect buttons when no account is connected yet), pick the platform, fill in its fields, then click Connect. CloudRadio checks the details with the platform before it saves them, and posts nothing yet. The account appears in the list with the Active status.

Discord

Discord posts go to a channel through a webhook.

  1. In Discord, open Server settings > Integrations > Webhooks, and click New webhook.
  2. Pick the channel the posts go to, then click Copy webhook URL.
  3. Paste it in Webhook URL in CloudRadio.

Bluesky

  1. In Bluesky, open Settings > Privacy and security > App passwords, and create one.
  2. In CloudRadio, enter your Handle (like yourstation.bsky.social) and the App password.

Use an app password, never your account password. You can revoke it in Bluesky at any time. Accounts hosted on their own server (self-hosted PDS) cannot be connected yet.

Mastodon

  1. On your Mastodon server, open Preferences > Development > New application.
  2. Give it a name, keep the write:statuses scope, and save.
  3. Open the application and copy Your access token.
  4. In CloudRadio, enter your Server (like mastodon.social) and the Access token.

Mastodon posts are public.

Telegram

Telegram posts go to a channel or group through a bot you create.

  1. In Telegram, message @BotFather, send /newbot, and follow the steps. Copy the token it gives you (it looks like 123456789:AA...).
  2. Open your channel or group, and add the bot as an administrator. In a channel, leave Post messages on.
  3. In CloudRadio, paste the Bot token, and enter the Channel or group: @yourstation for a public channel, or the numeric id of a private one (it starts with -100).

CloudRadio checks that the bot can post in that chat before it saves the account. Telegram posts are plain text.

Webhook

A webhook sends each post to a URL of your own, for your own automations (a website, a bot, a workflow tool). Enter the URL, which must start with https:// and be reachable from the internet. CloudRadio does not call it when you save, so use Send a test post to check it.

Add a Signing secret if you want to check that requests come from CloudRadio. See Webhook payload for what CloudRadio sends.

Choose when to post

Each account has its own Post when setting:

SettingWhat it posts
When a show or Live DJ starts (default)One post when a scheduled show begins, and one when a DJ connects to the Studio or Guest input outside a show.
Every trackOne post per track.
BothBoth of the above, each with its own message.

A show posts once per airing, even if the schedule is saved again while it plays. Background music between shows does not post.

Write the message

Expand an account to edit its Show message and Track message. The Preview under each one shows the post with sample values as you type. You can use these placeholders:

PlaceholderReplaced by
{artist}The track's artist
{title}The track's title
{show}The show's name
{host}The show's DJ, when one is set
{station}Your station's name
{listen_url}Your station's public listen page

A placeholder with no value is left out. Long messages are cut to fit the platform: 2,000 characters on Discord, 300 on Bluesky, 500 on Mastodon, and 4,096 on Telegram (1,024 when the post carries the artwork).

Attach the artwork adds the track's cover art, or the show's playlist image, to the post: as a link card on Discord and Bluesky, as a photo on Telegram, and as artwork_url in a webhook's payload. Mastodon posts are text only.

Click Save to keep your changes, and Send a test post to post a short message that confirms the connection.

Webhook payload

Each webhook post is a POST with a JSON body like this one:

{
  "id": "cloudradio-123456",
  "event": "track",
  "station_id": "0193a4b2-7c1e-7d3f-9a2b-5c6d7e8f9a0b",
  "station": "Radio Kamouraska",
  "show": "Evening folk",
  "host": "Julie",
  "artist": "Patrice Michaud",
  "title": "Kamouraska",
  "listen_url": "https://embed.clrd.net/listen/radio-kamouraska",
  "artwork_url": "https://example.com/cover.jpg",
  "text": "Now playing on Radio Kamouraska: Patrice Michaud - Kamouraska",
  "timestamp": "2026-12-03T20:00:00.000000Z"
}
FieldWhat it holds
idA unique id for this post. A retried request keeps it, so you can skip duplicates.
eventshow_start (a show or Live DJ starts), track or test
station_id, stationYour station's id and name
show, hostThe show's name and its DJ
artist, titleThe track, for track events
listen_urlYour station's public listen page
artwork_urlThe cover art or playlist image, when Attach the artwork is on
textYour message, with its placeholders filled in
timestampWhen the request was sent, in UTC (ISO 8601)

A field with no value is null. New fields may be added; existing ones keep their name and meaning. Answer with any 2xx status. A 404 or 410 (or 401, 403, or a redirect) marks the webhook for reconnecting; a 5xx answer or a timeout is retried a few times; other 4xx answers are not.

Check the signature

With a signing secret, each request carries an X-CloudRadio-Signature header: sha256= followed by the hex HMAC-SHA256 of the raw request body, keyed with your secret. Compute the same value from the body you received, before parsing it, and compare the two with a constant-time comparison, so the time it takes does not reveal the signature. In Node.js:

const crypto = require("crypto");
const expected = "sha256=" + crypto.createHmac("sha256", secret).update(rawBody).digest("hex");
const received = req.headers["x-cloudradio-signature"] || "";
const valid = received.length === expected.length &&
  crypto.timingSafeEqual(Buffer.from(received), Buffer.from(expected));

In Python, compare with hmac.compare_digest(received, expected). To reject replayed requests, also check that timestamp is recent.

You can replace the signing secret at any time. To stop signing requests altogether, remove the webhook and add it again without a secret.

Skip short tracks

The Track posts card sets Skip tracks shorter than a number of seconds (30 by default). A track posts only after it has played that long, so jingles, sweepers and skipped tracks never post. A track that plays twice in a row posts once. This setting applies to every account that posts tracks.

Pause or remove an account

Pause stops an account from posting and keeps its settings; the account shows Paused, and Resume starts it again. Remove disconnects the account and deletes its settings.

When an account needs reconnecting

When a platform refuses CloudRadio, for example because the Discord webhook was deleted, the app password or token was revoked, the Telegram bot was removed from its chat, or your webhook URL answers that it no longer exists, the account shows Reconnect and stops posting. Expand it, paste a new webhook URL, app password, access token or bot token, and click Reconnect. For Telegram, first make sure the bot is still an administrator of the chat.

Other failures, such as a platform that is down for a few minutes, do not stop the account. The last error shows under the account, and the next post is sent as usual. When a platform asks CloudRadio to slow down, the post waits and is sent later. Posting never delays your stream or its now-playing information.

Related articles: Directory Submission

Was this helpful?

Still need help?

If you couldn't find the answer, our team is here to help.

Open Support Ticket