Skip to Content
Xeonr Developer Docs

Send broadcast

POST
/xmb.api.v1.NotificationService/SendBroadcast

Sends an admin announcement to all members of this server through their notification channels.

Required scopes: xmb:admin

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

serverSlug?string
Length1 <= length <= 128
title?string
Length1 <= length <= 120
body?string

Plain text. Rendered as text everywhere — no markdown, no HTML, and on Discord with mentions neutralised: an announcement must not be a way to ping @everyone in somebody's guild.

Length1 <= length <= 2000
targetPath?string

Optional in-app path the announcement points at.

Lengthlength <= 512
urgent?boolean

Forces push to every member regardless of their announcements preference. The same machinery as the hub-offline bypass, and the same social contract: rarely, and the UI says so.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.NotificationService/SendBroadcast" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "recipientCount": "6"
}