Water & Vitamins
Add a supplement to user's list
post/api/vitamins
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/vitamins
- AuthHTTP bearer
Request body
Example request
{
"name": "Vitamin D",
"recommendedDose": "1000 IU",
"type": "preset"
}Response
unknown required
Example response
{
"success": true,
"supplement": {
"id": 3,
"user_id": 5,
"name": "MyVitamin",
"type": "custom",
"recommended_dose": "1 cap",
"created_at": "2026-02-10T00:00:00.000Z"
}
}Changes
No recorded changes to this operation across all 34 revisions of this API.