Skip to Content
Xeonr Developer Docs
API SpecificationDevices and preferences

Get my Discord link

POST
/xeonr.notify.v1.DeviceService/GetMyDiscordLink

The Discord account notify will DM for the caller, if one is linked: id, username, and whether the bot found DMs closed last time. Absent when nothing is linked.

Required scopes: notify:discord:read — delegatable, so a product's own settings screen can show it

Authorization

BearerAuth
AuthorizationBearer <token>

An access token from Xeonr Auth, presented as Authorization: Bearer <token>. Its audience must include https://notify.xeonr.io, and it must carry the scope the method lists.

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
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://notify.xeonr.io/xeonr.notify.v1.DeviceService/GetMyDiscordLink" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "discord": "map[discordUserId:394832115670351872 dmBlocked:false linkedAt:2026-09-14T08:00:00Z username:luke]"
}