List tenants
Changed onList tenants for the current environment.
Request
- Base URL: https://api.knock.app
- URL: https://api.knock.app/v1/tenants
- Auth: HTTP bearer
Query parameters
Filter tenants by ID.
Filter tenants by name.
The cursor to fetch entries after.
The cursor to fetch entries before.
The number of items per page (defaults to 50).
Response
OK
Example response
{
"entries": [
{
"__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
}
}
}
}
}
}
],
"page_info": {
"__typename": "PageInfo",
"after": null,
"before": null,
"page_size": 25
}
}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