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
application/jsontoken
string
Required
The readToken from the push payload.
maxLength: 4096 bytesOutput
application/jsonErrors
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.
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"
}