Get your push notification preferences

gethttps://api.expiryedge.com/v1/getNotificationPreferences
any role60/min
Request
curl 'https://api.expiryedge.com/v1/getNotificationPreferences' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Response
{
  "push_enabled": true,
  "push_scope": "assigned_to_me"
}

Returns the caller's mobile push preferences. If none were saved, returns the defaults (disabled, assigned_to_me).

Returns

200
Current preferences.
  • push_enabledboolean
    Default false
  • push_scopestring
    Push for all expiries in the organization, or only those assigned to you.
    Allowedallassigned_to_meDefault assigned_to_me

Errors

401
Missing, expired or invalid bearer token.
405
The endpoint does not accept this HTTP method.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.