Skip to Content
Xeonr Developer Docs

Get Discord link

POST
/xmb.api.v1.NotificationDiscordService/GetDiscordLink

Returns the caller's Discord account link status and linked username.

Required scopes: xmb:user:read

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

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.NotificationDiscordService/GetDiscordLink" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "status": "DISCORD_LINK_STATUS_LINKED",
  "discordUsername": "lukexeonr",
  "enabled": "true"
}