{ "opencollection": "1.0.0", "info": { "name": "NotificationAPI REST In-App Inbox User Preferences API", "version": "2.8" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "User Preferences", "type": "folder" }, "items": [ { "info": { "name": "Delete stored preferences for a user", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.notificationapi.com/{clientId}/users/:userId/preferences", "params": [ { "name": "userId", "value": "", "type": "path", "description": "The ID of the user in your system." }, { "name": "notificationId", "value": "", "type": "query", "description": "The notification whose stored preferences should be deleted." }, { "name": "subNotificationId", "value": "", "type": "query", "description": "Optional subNotification scope." } ] }, "docs": "Deletes any stored preferences for a user and a given notificationId (optionally scoped to a subNotificationId)." }, { "info": { "name": "Set user preferences", "type": "http" }, "http": { "method": "POST", "url": "https://api.notificationapi.com/{clientId}/user_preferences/:userId", "params": [ { "name": "userId", "value": "", "type": "path", "description": "The ID of the user in your system." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Sets per-notification, per-channel delivery preferences and opt-outs for a user. The body is an array of preference objects." } ] } ], "bundled": true }