Get Notification 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 Authorization header 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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!