clinic
Complete Setup
Finalise clinic owner onboarding (the work the deleted appweb /api/clinic/setup/complete proxy did server-side).
Idempotently ensures the org + clinician exist (the wizard's step 1 already created them), persists the PMS selection, flips onboarding + sends the clinician welcome email, invites the team and fires the ad-blocker-resistant completion event. Consent (region-derived privacy settings) stays client-side
- the browser writes user_privacy_settings under RLS before calling this, through the same helper as the clinician invite-accept flow.
post/clinic/setup/complete
Request
- Base URLhttps://api.projectindi.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.