social.colibri.beta.notification.markReadFromNotification

colibri.social

Documentation

Marks a channel or thread read through the message a push notification announced, from the notification's Mark as read action. Takes no auth: the signed token from the push payload's readToken names the user, the channel and the message, and expires after seven days. Moves the user's read cursor forward, marks that channel's notifications through the message seen, and tells the user's sessions and push devices.

main procedure

Marks a channel or thread read through the message a push notification announced, from the notification's Mark as read action. Takes no auth: the signed token from the push payload's readToken names the user, the channel and the message, and expires after seven days. Moves the user's read cursor forward, marks that channel's notifications through the message seen, and tells the user's sessions and push devices.

Input

Encodingapplication/json
token string Required

The readToken from the push payload.

maxLength: 4096 bytes

Output

Encodingapplication/json

Errors

InvalidToken The token is malformed, its signature does not verify, or the channel it names no longer exists.
ExpiredToken The token is older than seven days.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "description": "Marks a channel or thread read through the message a push notification announced, from the notification's Mark as read action. Takes no auth: the signed token from the push payload's readToken names the user, the channel and the message, and expires after seven days. Moves the user's read cursor forward, marks that channel's notifications through the message seen, and tells the user's sessions and push devices.",
  "errors": [
    {
      "description": "The token is malformed, its signature does not verify, or the channel it names no longer exists.",
      "name": "InvalidToken"
    },
    {
      "description": "The token is older than seven days.",
      "name": "ExpiredToken"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "token": {
          "description": "The readToken from the push payload.",
          "maxLength": 4096,
          "type": "string"
        }
      },
      "required": [
        "token"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {},
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@