Count the number of notifications by type
GET {{baseUrl}}/{{version}}/stats/notifications/count?from_date=2022-01-01&to_date=2022-06-23&user_id=1754&type=playerRequestFeedback
This endpoint returns the number of notifications based on the type of notification.
Optionally, it takes a user_id and a period of time parameters.
This endpoint is only available to Club Administration access as it requires a 3rdPartyApiKey
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
from_date | string | nullable | |
to_date | string | nullable | |
user_id | number | nullable | |
type | string | required |
Uses the notification type |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string | A valid JWT token | |
Admin-Token | string | A valid 3rd Party Api Secret Key |
RESPONSES
status: OK
{"error":false,"code":200,"message":"Number of Notifications","result":1}