Skip to Content
Xeonr Developer Docs
API SpecificationTopics

List sinks

POST
/xeonr.notify.v1.TopicService/ListSinks

A topic's shared destinations — a Discord channel the whole guild reads, a webhook URL — with the narrowing each one applies. Needs manage on the topic.

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:topics:read

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

topicId?string
Length1 <= length <= 32
cursor?string

Cursor is opaque, empty for the first page. The keyset is (created_at, id) descending.

Lengthlength <= 256
limit?integer

Limit is clamped to 500; zero means the default of 50.

Rangevalue <= 500
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.TopicService/ListSinks" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "sinks": [
    "map[apps:[xmb] categories:[requests] channel:CHANNEL_WEBHOOK createdAt:2026-10-22T09:30:00Z createdBy:urn:xeonr:auth:uid:user:3 hasSecret:true id:sk_8a2f6c1e9d4b7a3e0c5f2d64 kinds:[] label:Ops webhook minPriority:4 tags:[] target:https://hooks.example.com/notify/xmb-requests topicId:tp_3f9a1c7e2b8d4a6f0c5e9b12]"
  ],
  "nextCursor": "MTc5MjY2MTQwMDAwMDAwMC5za184YTJmNmMxZTlkNGI3YTNlMGM1ZjJkNjQ"
}