API Specificationxmb.api.v1.NotificationService
Get notification preferences
Returns the caller's notification preference grid, with defaults applied and unavailable cells marked.
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.NotificationService/GetNotificationPreferences" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"categories": [
"map[adminOnly:false category:NOTIFICATION_CATEGORY_MY_REQUESTS channels:[map[channel:NOTIFICATION_CHANNEL_IN_APP setting:NOTIFICATION_CHANNEL_SETTING_ENABLED] map[channel:NOTIFICATION_CHANNEL_PUSH setting:NOTIFICATION_CHANNEL_SETTING_ENABLED]]]"
]
}xmb.api.v1.NotificationService
NotificationService is the feed, the alert board, the grid, and the one admin verb (broadcast). Delivery — the emails, pushes and Discord messages the grid governs — happens server-side off the event pipeline and has no method here.
Get unread counts POST
Returns unread notification counts and active alert summary for the caller on this server. **Required scopes:** `xmb:user:read`