CustomDomain™ docs
API referenceTenancy

Aggregate counts across all tenants (operator)

Aggregate counts across all tenants (operator): CustomDomain™ API reference in the tenancy group. Covers parameters, request body, responses and error codes.

GET
/stats

How many tenants, accepted members and pending invites the control plane holds. An operator surface for the owner dashboard, gated by the management key: no tenant API key can reach it, and it carries no tenant data. members counts accepted members only (owners and teammates who signed up); an invite that was sent and never accepted counts under pending_invites, so the two add up to the members table.

Authorization

managementKey
AuthorizationBearer <token>

Operator management key. Gates provisioning + reads across tenants.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/stats"
{  "tenants": 0,  "members": 0,  "pending_invites": 0}
{  "code": "string",  "title": "string",  "details": "string"}