v1

latestOpenAPI 3.1.02026-08-04253331435.1 KB
User

Bootstrap User

Idempotent user bootstrap — call on every login and JWT refresh.

Resolves or creates the org row from the JWT BetterAuth org UUID, then upserts UserProfile. Returns the current profile including integer org PK.

post/api/v3/users

Response

Successful Response

{"stackTrail":"paths:/api/v3/users:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}