Users
Get public profile of another user
get/api/users/{userId}/public-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/{userId}/public-profile
- AuthHTTP bearer
Path parameters
userIdnumber required
Response
unknown required
Example response
{
"success": true,
"user": {
"id": 5,
"firstName": "Jane",
"lastName": "Doe",
"profileImageUrl": "https://d1abc2def3.cloudfront.net/profile-pictures/5/1740000000000-987654321.jpg?Policy=eyJTd...&Signature=abc123~XYZ&Key-Pair-Id=K1ABC2DEF3GH",
"memberSince": "2026-01-01T00:00:00.000Z",
"badges": [
{
"key": "top_chef",
"title": "Top Chef",
"description": "5 recipes created",
"icon": "top_chef",
"earnedAt": "2026-03-05T00:00:00.000Z"
},
{
"key": "logging_queen",
"title": "Logging Bad Ass",
"description": "Logged three days in a row",
"icon": "logging_queen",
"earnedAt": "2026-03-08T00:00:00.000Z"
}
],
"consistency": {
"summary": {
"points_total": 11200,
"level": 7,
"next_level": 8,
"next_level_threshold": 13000,
"points_to_next_level": 1800
},
"achievements": [
{
"id": "9821",
"title": "Movement 4 days in a week",
"points": 300,
"entry_type": "goal",
"source_type": null,
"earned_at": "2026-03-08T09:12:00.000Z"
},
{
"id": "9740",
"title": "7-day streak",
"points": 200,
"entry_type": "streak_milestone",
"source_type": null,
"earned_at": "2026-03-05T07:40:00.000Z"
}
]
}
}
}Changes
No recorded changes to this operation across all 34 revisions of this API.