Manage User Subscriptions & Preferences

Get user preference

GET https://api.fyno.io/v1/{WSID}/{version}/subscriptions/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.

Authorization

Authorizationheaderstringrequired

Enter your API Key. If you don't have it already, you can create one from the API Keys page within your Fyno account

Path Parameters

WSIDpathstringrequired

Enter your workspace ID. You can obtain this value from the API Keys page within your Fyno account.

versionpathenum (string)required

Specify the version for which you would like to manage the user profile.

Allowed valueslivetest

Query Parameters

distinct_idquerystringrequired

Enter the distinct ID that you currently use to identify the user.

event_listqueryenum (boolean)

Set this value to 'true' to receive list of notification events attached to each subscription topic.

Allowed valuesTrueFalse

Response

application/json

Preference fetched successfully

metaobjectrequired
resultobjectrequired