Skip to Content
Xeonr Developer Docs
API SpecificationTopics

Get topic

POST
/xeonr.notify.v1.TopicService/GetTopic

Fetches one topic with the caller's effective capabilities on it (my_caps) and whether they follow it. Unauthenticated callers are allowed for a topic with public_subscribe set; a private topic the caller holds no capability on is not-found rather than denied, so existence cannot be probed.

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

id?string
Length1 <= length <= 32
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.TopicService/GetTopic" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "topic": "map[appSlug:xmb createdAt:2026-09-14T08:00:00Z createdBy:urn:xeonr:auth:uid:user:3 defaultChannels:[CHANNEL_IN_APP CHANNEL_EMAIL] displayName:XMB requests id:tp_3f9a1c7e2b8d4a6f0c5e9b12 lastMessageAt:2026-10-22T09:30:00Z messageCount:128 myCaps:map[manage:true publish:true subscribe:true] name:xmb/requests/u-3 ownerLabel:core ownerUrn:urn:xeonr:auth:team:0f6b5f8c-2d4e-4a7b-9c1d-3e5f7a9b1c2d publicSubscribe:false retentionHours:72 subscribed:true subscriberCount:4 updatedAt:2026-10-22T09:30:00Z]"
}