Create a new tenant (organization) in CauseFlow.
admin
"Acme Corp"."acme-corp". Must be globally unique — returns 409 Conflict if already taken.starter, pro, business, enterprise. Defaults to starter if not specified.201 Created with the newly created tenant.
| Field | Type | Description |
|---|---|---|
tenantId | string | Unique identifier for the newly created tenant |
name | string | The tenant display name |
slug | string | The URL-safe tenant identifier |
status | string | Always "active" for newly created tenants |
plan | string | The subscription plan |
createdAt | string | ISO 8601 timestamp of when the tenant was created |
| Status | Error code | Description |
|---|---|---|
400 | validation_error | A required field is missing or fails validation |
409 | slug_conflict | A tenant with the provided slug already exists |