onboarding

Record Role Selection

Persist a welcome-modal role selection with the requester's IP and UA.

post/api/v1/onboarding/role

Request

  • The document declares no server URL.
  • Auth: API key in header X-API-Key

Request body

role'ngo' | 'governmentDiscloser' | 'financial' | 'governmentNotDisclosing' | 'business' | 'other' required

Welcome-modal role options. Mirrors the roles list in frontend/src/app/features/welcome-modal/welcome-modal.component.ts. Keep both lists in sync.

Response

Successful Response

Changes