Company Registration - Admin
Create a registration and onboard the company
Admin-side conversion of a lead into a real company. Creates the Z_CompanyRegistrations row (the durable record), validates an optional promo code → parent PV, then runs the full onboarding immediately (company + PV + clients + invite) and marks the registration approved.
The referral, if a code was given, materializes later when the new company's owner finishes onboarding (/onboarding/complete reads the registration's promo_code via resulting_company_id) — same chain the public registration uses.
post/api/admin/registrations/
Headers
x-api-tokenstring nullable
Request body
Response
Successful Response
{"stackTrail":"paths:/api/admin/registrations/:post:responses:201:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.