Create client
Manually creates a client workspace with users. Optionally sends invitation emails. When inviteToTrial=true, the hub’s configured trial plan is used and planPublicId is ignored (requires trial enabled in hub config).
Autorizações
Corpo
Body for creating a new client workspace under the hub.
Optional credits override. When not set, uses the plan's creditsIncluded value.
5000
Invite as a trial client — ignores planPublicId and uses the hub's configured trial plan (requires trial enabled in hub config). Defaults to false.
false
Optional period-end override. When not set, computed from plan recurrence.
"2026-12-31T23:59:59Z"
Optional. Subscription plan public ID. If omitted, the client is created without a plan. Ignored when inviteToTrial=true.
"9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21"
Send invitation emails to the listed users immediately. Defaults to false.
true
Users to provision in the client workspace (at least one).
1Display name of the client workspace.
1 - 150"Acme Corp"
Resposta
Created
active, past_due, canceled, trialing, pending_onboarding, suspended 
