Skip to Content
Xeonr Developer Docs

List Discord channels

POST
/xmb.api.v1.NotificationDiscordService/ListDiscordChannels

Returns the guild's text channels the bot can post to, for channel selection.

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
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.NotificationDiscordService/ListDiscordChannels" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "channels": [
    "map[category:Media id:1298745012345678901 name:xmb-admin]",
    "map[category:Media id:1298745012345678902 name:new-on-xmb]"
  ]
}