Complete Onboarding
Mark onboarding as completed for the current user and fire analytics.
Persists user.onboarding_completed = True and emits the
onboarding completed PostHog event (plus an org group_identify to
stamp onboarding_completed_at). Analytics failures are swallowed so
they never block the user from leaving the onboarding flow.
Body
Payload posted from the onboarding form.
selections maps onboarding question_id -> selected option(s), e.g.
{"role": "software_engineer", "org_size": "solo", "use_case": ["new_features", "fixing_bugs"]}.
The field is optional so the endpoint stays backwards-compatible with any client that previously called it with an empty body, but the current frontend always submits a populated mapping.
Response
Successful Response

