Skip to Content
Xeonr Developer Docs

Begin Discord account link

POST
/xmb.api.v1.NotificationDiscordService/BeginDiscordAccountLink

Returns the Discord authorisation URL that links the caller's Discord identity for DM delivery.

Required scopes: xmb:user:write

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/BeginDiscordAccountLink" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "authorizeUrl": "https://discord.com/oauth2/authorize?client_id=1298700000000000000&prompt=consent&redirect_uri=https%3A%2F%2Fxmb.gg%2Fintegrations%2Fdiscord%2Fcallback&response_type=code&scope=identify&state=c3RhdGUtcGxhY2Vob2xkZXI"
}