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"
}
}
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"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Tenant ID to filter notifications
"123e4567-e89b-12d3-a456-426614174000"
Filter by time period (1m, 3m, 6m, all)
1m
, 3m
, 6m
, all
Notification counts retrieved successfully
The response is of type object
.