get
https://{host}/api/v2/notifications/count
Get Notification Count
Retrieve the total number of notifications for the authenticated user. This endpoint is typically used to display notification badges or alert users to new activity.
HTTP Method and URL
GET {{host}}/api/v2/notifications/count
Authentication Requirements
-
Requires a valid user authentication token.
-
Pass the token in the
Authorizationheader as a Bearer token.
Example Request
GET {{host}}/api/v2/notifications/count
Authorization: Bearer {USER-TOKEN}
Example Successful Response
{
"count": 5
}
Error Responses
-
401 Unauthorized: Authentication token is missing or invalid.
-
500 Internal Server Error: An unexpected error occurred on the server.
Usage Notes
-
Use this endpoint to periodically check for new notifications.
-
The response contains the total count of notifications for the current user session.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
