GET
/
v1
/
notifications
/
count
Get notification status counts
curl --request GET \
  --url https://staging.api.us.aptlydone.com/v1/notifications/count \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "timestamp": "2025-06-24T08:51:23.434Z",
  "message": "Success",
  "data": {
    "unread": 5,
    "read": 10,
    "total": 15,
    "timePeriod": "1m"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

tenantId
string
required

Tenant ID to filter notifications

Example:

"123e4567-e89b-12d3-a456-426614174000"

timePeriod
enum<string>

Filter by time period (1m, 3m, 6m, all)

Available options:
1m,
3m,
6m,
all

Response

200 - application/json

Notification counts retrieved successfully

The response is of type object.