Create Self Service Tenant
create_self_service_tenantCreate a 7-day trial tenant for the caller's business email domain (UC-052).
Needs a verified email on a business domain and attestation: true; answers
auth.email_not_verified, tenant.attestation_required,
tenant.free_mail_domain (free-mail address), tenant.domain_exists
(a live trial tenant on the domain) or trial.exists_for_domain (the
domain already had its one trial; call start_inquiry). The trial lasts
exactly 7 days; ttl / expires_at in the body are ignored.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body for POST /v1/onboarding/tenants (UC-052). The domain is derived from the caller's verified token email claim (NFR-006 pt 4) — it is not a request parameter. attestation must be true; the endpoint raises 422 if false (NFR-006 §8a). | |
| authorization | Yes |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| error | No | ||
| result | No | ||
| status | Yes | ||
| target_id | No | ||
| created_at | Yes | ||
| finished_at | No | ||
| target_type | No | ||
| operation_id | Yes |