Count of unread notifications for the requesting viewer. The viewer DID is read from the service-auth JWT (`iss` claim) — no `?viewer=` query parameter.
Output
Encoding
application/jsoncount
integer
Required
Number of notifications with indexedAt strictly newer than the recipient's stored seenAt (all notifications when seenAt is unset).
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"count"
],
"properties": {
"count": {
"type": "integer",
"minimum": 0,
"description": "Number of notifications with indexedAt strictly newer than the recipient's stored seenAt (all notifications when seenAt is unset)."
}
}
},
"encoding": "application/json"
},
"description": "Count of unread notifications for the requesting viewer. The viewer DID is read from the service-auth JWT (`iss` claim) — no `?viewer=` query parameter."
}