Get your push notification preferences
get
https://api.expiryedge.com/v1/getNotificationPreferencesany 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).
200
Current preferences.
push_enabledbooleanDefaultfalsepush_scopestringPush for all expiries in the organization, or only those assigned to you.Allowedallassigned_to_meDefaultassigned_to_me
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. |
