auth
Sync User
Sync the authenticated Supabase user to the local database.
Extracts sub and email from the JWT, then calls AuthService.get_or_create_user. Optional profile fields (first_name, last_name, company) can be supplied in the request body.
post/api/v1/auth/sync
Request
- Base URLhttps://api.prototyping.io (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URLtoken
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.