Skip to Content
Xeonr Developer Docs
API SpecificationMessages

Get message

POST
/xeonr.notify.v1.MessageService/GetMessage

One message with its delivery ledger: every person it reached, over which channel, and what happened. For a message that rendered through a template, renders is what each channel actually received, and payload is the data it rendered from — returned only to a caller who may manage the topic. The ledger is filtered to the caller's own rows unless they can manage the topic, so an anonymous caller on a public topic sees the message and none of its deliveries. Unauthenticated callers are allowed for a topic with public_subscribe set.

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.MessageService/GetMessage" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "message": "map[actions:[map[label:Open request url:https://notify.xeonr.io/messages/msg_8b1e4d7a9c2f6e0b3a5d1c47]] appSlug:xmb body:Luke approved your request for Dune: Part Two. clickUrl:https://notify.xeonr.io/messages/msg_8b1e4d7a9c2f6e0b3a5d1c47 createdAt:2026-10-22T09:30:00Z failedCount:0 fanoutAt:2026-10-22T09:30:02Z id:msg_8b1e4d7a9c2f6e0b3a5d1c47 kind:request.approved priority:3 publisher:urn:xeonr:auth:uid:service_account:57 recipientCount:2 sentCount:2 tags:[requests movies] templateVersion:2 title:Dune: Part Two was approved topicId:tp_3f9a1c7e2b8d4a6f0c5e9b12 topicName:xmb/requests/u-3]",
  "deliveries": [
    "map[attempts:1 channel:CHANNEL_EMAIL createdAt:2026-10-22T09:30:02Z forced:false id:dl_2b8e4c1a9f7d3e6b0c5a8f12 messageId:msg_8b1e4d7a9c2f6e0b3a5d1c47 person:map[avatarUrl:https://cdn.xeonr.io/avatars/3.png email:[email protected] name:Luke subject:urn:xeonr:auth:uid:user:3] sentAt:2026-10-22T09:30:02Z status:DELIVERY_STATUS_SENT subject:urn:xeonr:auth:uid:user:3]",
    "map[attempts:1 channel:CHANNEL_NATIVE_PUSH createdAt:2026-10-22T09:30:02Z deviceLabel:Luke's iPhone endpointId:ep_2a4c6e8f0b1d3f5a7c9e1b3d forced:false id:dl_9d4f1a6c3e8b2d7a0f5c1e84 messageId:msg_8b1e4d7a9c2f6e0b3a5d1c47 sentAt:2026-10-22T09:30:02Z status:DELIVERY_STATUS_SENT subject:urn:xeonr:auth:uid:user:3]"
  ],
  "renders": [
    "map[body:Luke approved your request for Dune: Part Two. channel:CHANNEL_EMAIL html:<p>Luke approved your request for <b>Dune: Part Two</b>.</p> subject:[XMB] Dune: Part Two was approved title:Dune: Part Two was approved]",
    "map[body:Luke approved your request for Dune: Part Two. channel:CHANNEL_NATIVE_PUSH title:Dune: Part Two was approved]"
  ],
  "payload": "map[approver:Luke request_title:Dune: Part Two]"
}