Skip to main content
GET
List Tenants

Authorizations

Authorization
string
header
required

Pass as Bearer <API_KEY>. Get API Key from SuprSend dashboard Developers -> API Keys section.

Query Parameters

limit
integer
default:20

Number of tenants to return per page.

offset
integer

Number of tenants to skip.

parent_id
string

Returns only direct children of the given tenant.

ancestor[]
string[]

Returns the given tenant and all its descendants at any depth.

level[]
integer[]

Returns tenants at the given level(s). Root = 0, max = 4. Repeat the param to combine levels.

Response

200 - application/json

200 - OK

meta
object
results
object[]

List of tenants available in the workspace. Tenant JSON is the same shape as the create/update tenant response, including the parent_id, ancestors, level, and children_count fields introduced with sub-tenants.