Onboarding
Onboarding

Save Role

Save the user's role selection (Step 1).

When the chosen role is the Other row, custom_role_text must be supplied in the request body and is persisted alongside the role.

post/api/v1/onboarding/save-role

Request

  • Base URL
    https://backend.caspr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: token

Request body

role_idstring required
custom_role_textstring nullable

Free-text description the user typed when selecting the 'Other' role. Required only when role_id maps to the 'other' row in user_roles; ignored otherwise.

Response

Successful Response

successboolean required
messagestring
errorstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.