Appearance
Provision a tenant account​
POST
/admin/api/accounts
Atomically creates the tenant, verified owner, owner membership, and default site. Zero limits mean unlimited. Post-commit Stripe, Typesense, or magic-link failures return warnings without rolling back.
Authorizations​
AdminSession
Authenticated backend-admin session cookie.
Type
API Key (cookie: connect.sid)
Request Body​
application/json
JSON
"string"
Responses​
Account created
application/json
JSON"ok": true,"account": "string","magic_link_sent": true,"warnings": ["string"]
{
 Â
 Â
 Â
 Â
 Â
 Â
 Â
}