Begin Discord account link
Returns the Discord authorisation URL that links the caller's Discord identity for DM delivery.
Required scopes: xmb:user:write
Authorization
BearerAuth An access token issued by the xeonr identity provider.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
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"
}xmb.api.v1.NotificationDiscordService
NotificationDiscordService makes and manages the guild tie and the account link. The messages the tie exists for happen server-side off the event pipeline; the one send here is the test button, which exists because "the exact error Discord returned" is the only permission validator an admin can act on.
Begin Discord guild connect POST
Returns the Discord authorisation URL that adds the platform bot to a guild for this server. **Required scopes:** `xmb:admin`