Skip to content

User Notification Settings

Allow users to manage their notification settings.

Retrieve notification settings

http
GET https://api.backstack.com/user/notification-settings

Returns a collection list of notification settings available for the current user.

json
[
  {
    "id": "expired-card",
    "title": "Expired payment method",
    "description": "Alerts you when a payment method has expired.",
    "email": true,
    "app": true,
    "text": false
  },
  ...
]

Resources

Update notification settings

You can update one or more notification settings. It's easier to update all settings at once.

http
POST https://api.backstack.com/user/notification-settings
{
    "expired-card": {
        "email": false,
        "app": true,
        "text": false
    },
    ...
}

Resources