List Tenants
Changed onAPI to fetch a paginated list of tenants available in your workspace.
Request
- Base URLhttps://hub.suprsend.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Number of tenants to return per page.
Number of tenants to skip.
Returns only direct children of the given tenant.
Returns all descendants (at any depth) of the given tenant. The tenant itself is not included. Repeat the param to pass multiple tenants.
Returns tenants at the given level(s). Root = 0, max = 4. Repeat the param to combine levels.
Response
200 - OK
Example response
{
"meta": {
"count": 28,
"limit": 20
},
"results": [
{
"id": "acme-corp",
"name": "Acme Corp",
"tenant_id": "acme-corp",
"tenant_name": "Awesome Tenant",
"logo": "https://logo.png",
"timezone": "America/New_York",
"embedded_preference_url": "https://app.suprsend.com/en/user-settings/notifications",
"hosted_preference_domain": "preferences.suprsend.com",
"primary_color": "#ff0000",
"secondary_color": "#ff0000",
"tertiary_color": "#ff0000",
"social_links": {
"website": "https://suprsend.com"
},
"properties": {
"region": "US"
},
"ancestors": [],
"children_count": 2,
"updated_at": "2026-08-27T20:57:16.935605Z"
}
]
}Changes
- breaking
for the
queryrequest parameterlimit, default value was changed from20to10
- breaking
- info
added the new optional
queryrequest parameterancestor[] - info
added the new optional
queryrequest parameterlevel[] - info
added the new optional
queryrequest parameterparent_id - 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 - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info