Skip to Content
Xeonr Developer Docs
API SpecificationMessages

Mark read

POST
/xeonr.notify.v1.MessageService/MarkRead

Marks the caller's own in-app deliveries read: the ones named in delivery_ids, or everything currently unread when the list is empty. Only the caller's own rows are touched.

Required scopes: notify:messages:edit — or notify:inbox:edit 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
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

deliveryIds?array<>

Empty marks everything currently unread.

Itemsitems <= 500
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.MessageService/MarkRead" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{}