app.bsky.notification.getUnreadCount
GET/xrpc/app.bsky.notification.getUnreadCount
This endpoint is part of the Bluesky application Lexicon APIs (app.bsky.*
). Public endpoints which don't require authentication can be made directly against the public Bluesky AppView API: https://public.api.bsky.app. Authenticated requests are usually made to the user's PDS, with automatic service proxying. Authenticated requests can be used for both public and non-public endpoints.
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
Count the number of unread notifications for the requesting account. Requires auth.
Request
Query Parameters
priority boolean
seenAt date-time
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
count integerrequired
{
"count": 0
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
]
message stringrequired
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error required
message stringrequired
{
"message": "string"
}
Loading...