get_unread_notification_count
Endpoint#
| Property | Value |
|---|---|
| Type | query |
| Method | GET |
| Path | /api/external/v1/get_unread_notification_count |
| Handler | OperatelyWeb.Api.Queries.GetUnreadNotificationCount |
Authentication#
- Requires a valid API token.
- Read-only and full-access tokens can execute this query.
Inputs#
This endpoint has no input fields.
Outputs#
| Field | Type | Required | Nullable |
|---|---|---|---|
unread | integer | No | Yes |
cURL Example#
Copied
curl --request GET \
--url "https://app.operately.com/api/external/v1/get_unread_notification_count" \
--header "Authorization: Bearer ${OPERATELY_API_TOKEN}"Response Example#
{
"unread": 123
}