Docs
/
/

Get user preference set

Retrieves a specific preference set for a user identified by the preference set ID.

Get user preference set

Retrieves a specific preference set for a user identified by the preference set ID.

Endpoint

GET/v1/users/{user_id}/preferences/{id}

Rate limit

Tier 4

Path parameters

user_id
string

The unique identifier of the user.

id
string

Unique identifier for the preference set.

Query parameters

tenant
string

The unique identifier for the tenant.

Returns

A preference set represents a specific set of notification preferences for a recipient. A recipient can have multiple preference sets.

categories
PreferenceSetCategories

An object where the key is the category and the values are the preference settings for that category.

An object where the key is the channel type and the values are the preference settings for that channel type.

channels
PreferenceSetChannels

An object where the key is the channel ID and the values are the preference settings for that channel ID.

commercial_subscribed
boolean

Whether the recipient is subscribed to commercial communications. When false, the recipient will not receive commercial workflow notifications.

id
string

Unique identifier for the preference set.

workflows
PreferenceSetWorkflows

An object where the key is the workflow key and the values are the preference settings for that workflow.

New chat