Object preferences
Documentation about storing preferences on objects.
You can set a PreferenceSet on an object, just as you would for a user.
Managing object preferences from the client
#Reading and writing an object's preferences requires your secret API key by default. To let users manage an object's preferences from your client application, sign a user token on your backend that grants preferences/read and preferences/write for that object. This enables you to build a settings UI for object recipients without proxying requests through your backend, for example a page where an organization admin chooses which workflows notify the organization's Slack channel. See scoping a token to an object for the grant format.
The Knock client SDKs don't include methods for object preferences, so call the set preferences endpoint directly with your public API key, and pass the user token in the X-Knock-User-Token header.