List user preference sets
Changed onRetrieves a list of all preference sets for a specific user.
Request
- Base URL: https://api.knock.app
- URL: https://api.knock.app/v1/users/{user_id}/preferences
- Auth: HTTP bearer
Path parameters
The unique identifier of the user.
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
}
]Changes
- breaking
the
/response's property type changed frombooleanto no type for status - info
added
subschema #1subschema #3to the/response propertyanyOflist for the response status
- breaking
- warning
added the new
not_contains_allenum value to the///////////response property for the response status - warning
added the new
not_contains_allenum value to the///////////response property for the response status - warning
added the new
not_contains_allenum value to the///////////response property for the response status - warning
added the new
not_contains_allenum value to the///////////response property for the response status - warning
added the new
not_contains_allenum value to the///////////response property for the response status - warning
added the new
not_contains_allenum value to the///////////response property for the response status - warning
added the new
not_contains_allenum value to the///////////response property for the response status - warning
added the new
not_contains_allenum value to the///////response property for the response status - warning
added the new
not_contains_allenum value to the///////response property for the response status - warning
added the new
not_contains_allenum value to the///////response property for the response status - warning
added the new
not_contains_allenum value to the///////response property for the response status - warning
added the new
not_contains_allenum value to the///////response property for the response status - warning
added the new
not_contains_allenum value to the///////response property for the response status - warning
added the new
not_contains_allenum value to the///////response property for the response status - warning
added the new
not_contains_allenum value to the///////response property for the response status - warning
added the new
not_contains_allenum value to the///////////response property for the response status - warning
added the new
not_contains_allenum value to the///////////response property for the response status - warning
added the new
not_contains_allenum value to the///////////response property for the response status - warning
added the new
not_contains_allenum value to the///////////response property for the response status - warning
added the new
not_contains_allenum value to the///////////response property for the response status - warning
added the new
not_contains_allenum value to the///////////response property for the response status - warning
added the new
not_contains_allenum value to the///////////response property for the response status - warning
added the new
not_contains_allenum value to the///////response property for the response status
- warning