Retrieve tenant
Fetch the authenticated tenant’s profile, plan details, and subscription status.
GET
Returns the full profile for the tenant associated with the authenticated API key. Includes branding configuration, subscription plan limits, and environment constraints.
Returns
Unique tenant identifier (UUID format, e.g.
bc41c6ab-7206-4033-b632-4d1cfa86d840).Display name of the tenant (e.g.
"Acme Escrow").URL-safe login slug used for the tenant’s branded login page (e.g.
"acme-escrow"). null if not configured.Primary environment mode —
"live" or "sandbox".Tenant account status. One of
"active", "inactive", "disabled", "deleted".Branding configuration for the tenant’s hosted pages.
MongoDB ObjectId of the assigned plan.
undefined if no plan is assigned.Summary of the assigned plan.
null if no plan is assigned.Current subscription state —
"pending", "active", or "expired". undefined if no subscription is active.ISO 8601 UTC timestamp when the subscription started.
undefined if not set.ISO 8601 UTC timestamp when the subscription expires.
undefined if not set.Per-tenant override for the monthly API call limit. When set, this takes precedence over the plan’s
apiCallsPerMonth. undefined means the plan limit applies.Maximum number of sandbox environments this tenant can create.
undefined means no limit beyond the platform default.Error codes
| Status | Meaning |
|---|---|
400 | tenantId could not be resolved from the authenticated credential. |
401 | Missing or invalid API key pair. |
404 | The tenant associated with the authenticated credential no longer exists. |