Water & Vitamins

Get full supplement list: all presets (user_id=null) + user's custom supplements

get/api/vitamins

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/vitamins
  • Auth
    HTTP bearer

Response

unknown required

Example response

{
  "success": true,
  "supplements": [
    {
      "id": 1,
      "user_id": null,
      "name": "Bariatric multivitamins",
      "type": "preset",
      "recommended_dose": null,
      "created_at": "2026-01-01T00:00:00.000Z"
    },
    {
      "id": 2,
      "user_id": null,
      "name": "Iron",
      "type": "preset",
      "recommended_dose": null,
      "created_at": "2026-01-01T00:00:00.000Z"
    },
    {
      "id": 8,
      "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.