Last modified:2026-08-13 18:45:26
Request: multipart/form-dataSave birth details and gender. Optionally upload a profile photo (JPEG / PNG / WebP, max 5 MB). city/state/country/timezone are optional - pass them if the client already resolved them (e.g. Places Autocomplete), or omit them and the backend reverse-geocodes from latitude/longitude (Google Maps), computing timezone as the UTC offset AS OF date_of_birth so DST-observing locations still chart correctly. Only latitude/longitude are always required. Current location is reverse-geocoded from the supplied device current_lat/current_lng (Google Places/GPS). Marks the user as onboarded on first call. Re-submitting updates the profile. Requires a valid Bearer token.Success: 200 - returns { success, message } only (no data body). Fetch the saved profile via GET /users/me.Errors: 401 - missing/invalid token | 422 - validation error, invalid image, or birth location could not be resolved from latitude/longitude