Skip to Content
Xeonr Developer Docs

Update Discord channels

POST
/xmb.api.v1.NotificationDiscordService/UpdateDiscordChannels

Sets the admin and members channels for this server's Discord routing.

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
adminChannelId?string

Empty unroutes that audience. Ids are validated against what the bot can post to right now, not stored on faith.

Lengthlength <= 32
membersChannelId?string
Lengthlength <= 32
enabled?boolean
adminCategories?array<>

The whole set per channel, replaced — the panel's checklists are one fact each, the TraktSettings reasoning. Empty falls back to the defaults, so a client that predates the field changes nothing.

Itemsitems <= 16
membersCategories?array<>
Itemsitems <= 16
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.NotificationDiscordService/UpdateDiscordChannels" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "integration": "map[adminCategories:[NOTIFICATION_CATEGORY_TO_APPROVE NOTIFICATION_CATEGORY_SERVER_HEALTH] adminChannelId:1298745012345678901 enabled:true guildName:Basement Crew lastSentAt:2026-10-22T08:12:04Z membersCategories:[NOTIFICATION_CATEGORY_NEW_IN_LIBRARY NOTIFICATION_CATEGORY_ANNOUNCEMENTS] membersChannelId:1298745012345678902 status:DISCORD_INTEGRATION_STATUS_CONNECTED]"
}