Get a tenant
Changed onGet a tenant by ID.
Request
- Base URL: https://api.knock.app
- URL: https://api.knock.app/v1/tenants/{id}
- Auth: HTTP bearer
Path parameters
The unique identifier for the tenant.
Query parameters
When true, merges environment-level default preferences into the tenant's settings.preference_set field before returning the response. Defaults to false.
Response
OK
Example response
{
"__typename": "Tenant",
"id": "tenant_jp123",
"name": "Jurassic Park",
"settings": {
"branding": {
"dark_icon_url": "https://example.com/trex_silhouette_icon_dark.png",
"dark_logo_url": "https://example.com/amber_fossil_logo_dark.png",
"dark_primary_color": "#FFFFFF",
"dark_primary_color_contrast": "#000000",
"icon_url": "https://example.com/trex_silhouette_icon.png",
"logo_url": "https://example.com/amber_fossil_logo.png",
"primary_color": "#DF1A22",
"primary_color_contrast": "#FFDE00"
},
"preference_set": {
"categories": {
"safety": {
"channel_types": {
"email": true,
"push": true
}
}
},
"channel_types": {
"email": true,
"in_app_feed": true,
"push": true
},
"id": "default",
"workflows": {
"park_alert": {
"channel_types": {
"email": true,
"push": true
}
}
}
}
}
}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 - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- warning