Users
Get current user profile
get/api/users/profile
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/users/profile
- AuthHTTP bearer
Response
unknown required
Example response
{
"success": true,
"user": {
"id": 5,
"email": "user@example.com",
"name": "Jane Doe",
"phone": "+1234567890",
"role": "lead",
"user_type": "premium",
"water_goal_oz": 64,
"created_at": "2026-01-01T00:00:00.000Z"
},
"profile": {
"id": 5,
"user_id": 5,
"surgery_type": "gastric_sleeve",
"surgery_date": "2025-06-01",
"starting_weight": "220.0",
"goal_weight": "150.0",
"height_ft": 5,
"height_in": 6,
"dietary_restrictions": null,
"profile_image_url": "https://d1234abcd.cloudfront.net/profile-pictures/5/1740000000000-987654321.jpg?Policy=...&Signature=...&Key-Pair-Id=K1234",
"needs_health_data_consent": false
}
}Changes
No recorded changes to this operation across all 34 revisions of this API.