Manage User Subscriptions & Preferences
Get user preference
This API enables you to get all the subscriptions topics (with sections) defined in your workspace along with the opted-in/opted-out preference of a particular user.
get/{WSID}/{version}/subscriptions/preference
Path parameters
WSIDstring required
Enter your workspace ID. You can obtain this value from the API Keys page within your Fyno account.
version'live' | 'test' required
Specify the version for which you would like to manage the user profile.
Query parameters
distinct_idstring required
Enter the distinct ID that you currently use to identify the user.
event_listtrue | false
Set this value to 'true' to receive list of notification events attached to each subscription topic.
Response
Preference fetched successfully