List preference sets
Changed onReturns a paginated list of preference sets for the specified object.
Request
- Base URL: https://api.knock.app
- URL: https://api.knock.app/v1/objects/{collection}/{object_id}/preferences
- Auth: HTTP bearer
Path parameters
Unique identifier for the object.
The collection this object belongs to.
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