List templates
Every template for an app, each with which version is published and whether an unpublished draft exists. Needs admin of the team that owns the app, or notify:platform:admin. A product's service account may call this for its own application, so a product ships its wording with its code and publishes it at boot, idempotently.
Cursor-paginated: newest first, over an opaque cursor over (created_at, id). limit is clamped to 500 (0 means the default of 50); pass next_cursor back as cursor for the next page.
Required scopes: notify:templates:read
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
1 <= length <= 64Cursor is opaque, empty for the first page. The keyset is (created_at, id) descending.
length <= 256Limit is clamped to 500; zero means the default of 50.
value <= 500Response Body
application/json
application/json
curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.TemplateService/ListTemplates" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"templates": [
"map[appSlug:xmb createdAt:2026-09-14T08:00:00Z draftVersion:3 id:tm_9e1d4b7a2c6f3e8a0b5d1c43 kind:request.approved publishedVersion:2 updatedAt:2026-10-22T09:30:00Z]"
],
"nextCursor": "MTc5MjY2MTQwMDAwMDAwMC50bV85ZTFkNGI3YTJjNmYzZThhMGI1ZDFjNDM"
}List kinds POST
An app's event catalogue: the dotted event names it publishes, each with its category, default channels and priority, whether it is critical, whether it is sensitive, and whether a template has been published for it. Open to any signed-in caller — a subscriber needs the category list to filter on, and those are not secrets. Cursor-paginated: newest first, over an opaque cursor over `(created_at, kind)` — a catalogue entry has no id of its own on the wire, and `kind` is unique within the app, so it is what makes the keyset total. `limit` is clamped to 500 (0 means the default of 50); pass `next_cursor` back as `cursor` for the next page. **Required scopes:** `notify:templates:read`
Preview template POST
Renders a template against a payload without publishing or sending anything — the console's live preview, and the way to see the email exactly as it will arrive. Pass the bodies inline to preview the editor's current contents, or omit them to render whatever is stored, draft first. An empty payload falls back to each variable's declared example, which is what makes a preview work before anybody has invented one. A kind with no template at all previews as empty rather than failing. Parse errors and missing required variables come back in `error`; variables the bodies reference but do not declare come back in `undeclared`, which is not an error but is usually a typo. Needs admin of the team that owns the app, or `notify:platform:admin`. **Required scopes:** `notify:templates:read`