Skip to content
StraventaDocs
Now in Sandbox.

Get unread notification count (badge poll)

GET
/v1/me/notifications/unread-count

Lightweight endpoint for the badge poll — returns only the running unread count, never the full notification list. Excludes event classes the caller has switched off for in-app, exactly as the list does.

Authorization

bearerAuth
AuthorizationBearer <token>

JWT Bearer access token. Clock skew tolerance is ±60 seconds.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://sandbox.505pay.link/v1/me/notifications/unread-count"
{
  "unread_count": 3
}
{
  "error": "unauthenticated",
  "message": "missing or invalid bearer token",
  "request_id": "req_01abc123"
}
{
  "error": "rate_limited",
  "message": "too many requests",
  "request_id": "req_01abc127"
}

Was this page helpful?