Users
Preferences
Get user preference set
Retrieves a specific preference set for a user identified by the preference set ID.
get/v1/users/{user_id}/preferences/{id}
Path parameters
user_idstring required
The unique identifier of the user.
idstring required
Example:default
Unique identifier for the preference set.
Query parameters
tenantstring
The unique identifier for the tenant.
Response
OK
Example response
{
"categories": {
"marketing": false,
"transactional": {
"channel_types": {
"email": false
}
}
},
"channel_types": {
"email": true,
"push": false,
"sms": {
"conditions": [
{
"argument": "US",
"operator": "equal_to",
"variable": "recipient.country_code"
}
]
}
},
"commercial_subscribed": true,
"id": "default",
"workflows": null
}