Set Role At Onboarding
Sets the signed-in user's role once, at onboarding. Accepts only `business` or `customer`, and only while the account has no role. Sending the role the account already has returns it unchanged; sending a different one returns `409`. Signed-in sessions (JWT) only. API keys and connected-app tokens get `403`.
Auth required: Yes
role: string (required) — The role to set.200: The account's role400: Validation error401: Authentication required or invalid403: Authenticated but insufficient permissions409: Resource conflictRequires authentication. Pass a Bearer token (Supabase JWT) or an API key (`Authorization: Bearer vennio_sk_live_*`) in the request headers.
Base URL: https://api.vennio.app