v2

latestOpenAPI 3.1.02026-08-05313314398.1 KB
internal

Provision New User

Bootstrap tenancy for a freshly-created auth.user.

The body is the same bytes the front signed — we re-parse them with Pydantic here rather than declaring body: ProvisionNewUserRequest on the signature because FastAPI would otherwise read the request stream before the HMAC dep gets a chance, leaving the dep with an empty body to hash.

post/api/v1/internal/provision-new-user

Response

Successful Response

user_idstring uuid required
default_company_idstring uuid required
phasestring required

Which provisioning branch was taken: scim | invitation | personal