User
Get Profile
Changed onGet the authenticated user's profile. Auto-creates a user record on first call. Pass ?ref=<invite-code> on first login to auto-redeem an invite code; when redemption succeeds the response includes auto_redeemed: true and, where configured, an airdrop outcome.
get/v1/me
Request
- Base URLhttps://api.totalis.trade
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
refstring
Referral / invite code to auto-redeem on first login.
Response
User profile
Changes
- info
endpoint added
- info