Platform super-admin tenant management, health, impersonation, and user management
List all tenant organizations
Returns all registered organizations. Requires super-admin auth.
List all tenant organizations › Responses
Array of organizations
idnameslugstatusmongo_databaseschema_versioncreated_atupdated_atlimitsResource limits (max_agents, max_contacts, max_messages_month)
countryISO country code (e.g. ID, US)
Provision a new tenant
Create a new tenant organization with its own databases. Requires super-admin auth.
Provision a new tenant › Request Body
nameslugURL-safe identifier for the tenant
limitscountryadmin_emailadmin_passwordProvision a new tenant › Responses
Created organization (provisioning in background)
idnameslugstatusmongo_databaseschema_versioncreated_atupdated_atlimitsResource limits (max_agents, max_contacts, max_messages_month)
countryISO country code (e.g. ID, US)
Get a tenant organization
path Parameters
idGet a tenant organization › Responses
Organization details
idnameslugstatusmongo_databaseschema_versioncreated_atupdated_atlimitsResource limits (max_agents, max_contacts, max_messages_month)
countryISO country code (e.g. ID, US)
Update a tenant organization
Update name, limits, or status. Requires super-admin auth.
path Parameters
idUpdate a tenant organization › Request Body
namelimitsstatusUpdate a tenant organization › Responses
Updated organization
idnameslugstatusmongo_databaseschema_versioncreated_atupdated_atlimitsResource limits (max_agents, max_contacts, max_messages_month)
countryISO country code (e.g. ID, US)
List all tenants with usage statistics
Returns all organizations enriched with current usage metrics.
List all tenants with usage statistics › Responses
Array of tenants with usage
idnameslugstatusmongo_databaseschema_versioncreated_atupdated_atlimitsResource limits (max_agents, max_contacts, max_messages_month)
countryISO country code (e.g. ID, US)
System health check
Health check for all infrastructure components (PostgreSQL, MongoDB, Redis, Kafka, MinIO) and microservices (webhook-ingestor, ws-server, ai-agent, billing-service). Also reports platform integration status and tenant counts.
System health check › Responses
System health report
statusList tenant users
List agents in a tenant, optionally filtered by search term.
query Parameters
tenant_idsearchFilter by email or name (ILIKE)
List tenant users › Responses
Array of tenant users
idemailfull_nameroleis_onlinelast_seen_atcreated_at