Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!

Check if unread notifications exist

GET
/notifications/new
curl --request GET \
--url https://gitea.com/api/v1/notifications/new \
--header 'Authorization: Basic <credentials>'

Number of unread notifications

Media typeapplication/json

NotificationCount number of unread notifications

object
new

New is the number of unread notifications

integer format: int64
Examplegenerated
{
"new": 1
}