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

KeyDatatypeRequiredDescription
from_datestringnullable
to_datestringnullable
user_idnumbernullable
typestringrequired

Uses the notification type |

HEADERS

KeyDatatypeRequiredDescription
AuthorizationstringA valid JWT token
Admin-TokenstringA valid 3rd Party Api Secret Key

RESPONSES

status: OK

{"error":false,"code":200,"message":"Number of Notifications","result":1}