Unread count
How many of the caller's in-app deliveries are unread — the badge on the bell.
Required scopes: notify:messages:read — or notify:inbox:read on a token a product obtained by RFC 8693 exchange to act for this person, in which case the call is confined to that product's own slice
Authorization
BearerAuth 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
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.MessageService/UnreadCount" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"count": "3"
}Publish POST
Publishes one event to a topic. Needs publish on the topic. An `idempotency_key` seen before on the same topic returns the earlier message with `created=false`, so a retry is safe. With no `recipients` the message reaches whoever subscribed. With `recipients` it is **directed**: those people, and the members of any team named (optionally narrowed by role), receive it whether or not they subscribed — the "your request was approved" case. A subscription, where one exists, still governs *how* it reaches them, so somebody who muted the topic still hears nothing. When the (app, kind) has a published template, `payload` is rendered through it and a missing required variable fails here rather than rendering an empty string into somebody's inbox an hour later. With no template, `title` and `body` are used verbatim — the ntfy path, which works with no catalogue at all. **Required scopes:** `notify:messages:edit`
Templates
A product's event kinds and the versioned templates that word them.