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 URL
    https://api.projectindi.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

organisation_namestring required
service_typesstring[] nullable
first_namestring required
last_namestring required
team_emailsstring[]
team_seat_typesobject
pmsstring[] nullable
pms_otherstring nullable
attributionobject nullable

Response

Successful Response

organisation_idstring required
clinician_idstring required
organisation_namestring required
onboarding_completeboolean required

Changes

No recorded changes to this operation across all 2 revisions of this API.