API EndpointsApp NotificationsCount Unread Notifications

Count Unread App Notifications

Endpoint

URL: /:projectId/app-notifications/count

Method: GET

Authentication Required: Yes


Description

Retrieve the number of unread app notifications for the authenticated user.


Request

Headers

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token for authentication.

Query Parameters

None

Example Request

GET /proj1234/app-notifications/count
Authorization: Bearer <ACCESS_TOKEN>

Response

Success Response (200 OK)

5

Error Responses

Server Error (500 Internal Server Error)

{
  "error": "Internal server error.",
  "code": "app-notification/server-error",
  "details": "<Error message>"
}

Notes

  • Returns a simple number representing the count of unread notifications.