{"info":{"_postman_id":"925a525a-4059-4e58-bd35-24e3d1d1670b","name":"HealthSnap","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"48451096","collectionId":"925a525a-4059-4e58-bd35-24e3d1d1670b","publishedId":"2sB3WmUi98","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-10-28T17:26:03.000Z"},"item":[{"name":"register","id":"a9134678-6dae-4094-9061-d2913b0b6697","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fullname\":\"Vinay Gaur\",\r\n    \"email\":\"Vinaya@gmail.com\",\r\n    \"password\":\"Vinaya@123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://healthsnap-68ry.onrender.com/api/auth/register","description":"<p>Registers a new user account by collecting basic details such as name, email, and password. This endpoint securely creates a new user record in the database and returns a confirmation of successful registration.</p>\n<p><strong>Usage Tip:</strong>  </p>\n<p>Use this endpoint before attempting to log in. Passwords are securely hashed before storage.</p>\n","urlObject":{"protocol":"https","path":["api","auth","register"],"host":["healthsnap-68ry","onrender","com"],"query":[],"variable":[]}},"response":[{"id":"45ac3a77-f7ab-40f3-ab09-10b623dec38b","name":"register example","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fullname\":\"Vinay Gaur\",\r\n    \"email\":\"Vinaya@gmail.com\",\r\n    \"password\":\"Vinaya@123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://healthsnap-68ry.onrender.com/api/auth/register"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 28 Oct 2025 16:55:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"77"},{"key":"Connection","value":"keep-alive"},{"key":"CF-RAY","value":"995bf5f91ba1a747-DEL"},{"key":"Content-Encoding","value":"br"},{"key":"etag","value":"W/\"55-TWGp3N6vevk3dq4wPrRa473rbR4\""},{"key":"rndr-id","value":"fe47efb7-a3fc-4ecf"},{"key":"vary","value":"Accept-Encoding"},{"key":"x-powered-by","value":"Express"},{"key":"x-render-origin-server","value":"Render"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"6900f57fd7ccea505801e28b\",\n    \"fullname\": \"Vinay Gaur\",\n    \"email\": \"Vinaya@gmail.com\"\n}"}],"_postman_id":"a9134678-6dae-4094-9061-d2913b0b6697"},{"name":"login","id":"7581eb7c-9812-48e1-b621-c03a299b4800","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fullname\":\"Shivansh Kumar\",\r\n    \"email\":\"shivanshkumar6688@gmail.com\",\r\n    \"password\":\"Shivansh@123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://healthsnap-68ry.onrender.com/api/auth/login","description":"<p>Authenticates an existing user using their registered email and password. On successful login, it returns an authentication token (JWT) that should be included in the headers of subsequent protected requests.</p>\n<p><strong>Usage Tip:</strong>  </p>\n<p>Include the returned token in the <code>Authorization</code> header as <code>Bearer</code> when accessing protected routes.</p>\n","urlObject":{"protocol":"https","path":["api","auth","login"],"host":["healthsnap-68ry","onrender","com"],"query":[],"variable":[]}},"response":[{"id":"5839f18f-f1c3-41e5-9534-27b50f572803","name":"login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"Vinaya@gmail.com\",\r\n    \"password\":\"Vinaya@123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://healthsnap-68ry.onrender.com/api/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 28 Oct 2025 16:56:19 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"224"},{"key":"Connection","value":"keep-alive"},{"key":"CF-RAY","value":"995bf72fdb98a747-DEL"},{"key":"Content-Encoding","value":"br"},{"key":"etag","value":"W/\"10b-pLAXuxgq4XKTIxo8jYY445I5AGg\""},{"key":"rndr-id","value":"463034d9-2b4f-4950"},{"key":"vary","value":"Accept-Encoding"},{"key":"x-powered-by","value":"Express"},{"key":"x-render-origin-server","value":"Render"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"6900f57fd7ccea505801e28b\",\n    \"fullname\": \"Vinay Gaur\",\n    \"email\": \"Vinaya@gmail.com\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY5MDBmNTdmZDdjY2VhNTA1ODAxZTI4YiIsImlhdCI6MTc2MTY3MDU3OSwiZXhwIjoxNzYxNjc0MTc5fQ.rgsPRbO4Gbeuf3-AZkoQo-B1GF9wEpJw-zrH-7XbNc8\"\n}"}],"_postman_id":"7581eb7c-9812-48e1-b621-c03a299b4800"},{"name":"forgot-password","id":"0451994e-c18c-4448-a4d9-5d8ad378d44e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"naman24153020@akgec.ac.in\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://healthsnap-68ry.onrender.com/api/auth/forgot-password","description":"<p>Sends a password reset email to the user using SendGrid.</p>\n<h3 id=\"usage-tips\"><strong>Usage Tips</strong></h3>\n<p>Sends a password reset link to the user’s registered email address.</p>\n<ul>\n<li><p>Check the spam or promotions folder if the email is not visible.</p>\n</li>\n<li><p>Recommended first step before calling the reset-password route.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","auth","forgot-password"],"host":["healthsnap-68ry","onrender","com"],"query":[],"variable":[]}},"response":[{"id":"263d53e9-af3f-44c0-b348-6ecc47227bf8","name":"forgot-password example","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"naman24153020@akgec.ac.in\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://healthsnap-68ry.onrender.com/api/auth/forgot-password"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Fri, 31 Oct 2025 19:37:46 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"CF-RAY","value":"99759bddfcdf03e3-DEL"},{"key":"Content-Encoding","value":"br"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"etag","value":"W/\"34-DtsQuOuVSa6wb+lIBvf7kbfENus\""},{"key":"origin-agent-cluster","value":"?1"},{"key":"referrer-policy","value":"no-referrer"},{"key":"rndr-id","value":"042ace74-3a2a-4ab5"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"vary","value":"Accept-Encoding"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-render-origin-server","value":"Render"},{"key":"x-xss-protection","value":"0"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password reset email sent successfully\"\n}"}],"_postman_id":"0451994e-c18c-4448-a4d9-5d8ad378d44e"},{"name":"reset-password","id":"9e52c86e-9986-4a2f-bd2b-b99b70fe29c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \"password\": \"newPassword123\" }\r\n","options":{"raw":{"language":"json"}}},"url":"https://healthsnap-68ry.onrender.com/api/auth/reset-password/e2127d1e24aa9e842475398a8249b676893d22de775d626b4db2e353f2b1433e","description":"<p>Resets the user’s password using the token sent in the reset email.</p>\n<h3 id=\"usage-tips\"><strong>Usage Tips</strong></h3>\n<p>Resets a user’s password using the token received via email.</p>\n<ul>\n<li><p>The reset link already includes the token parameter.</p>\n</li>\n<li><p>Tokens are single-use and may expire after a defined time (24hrs).</p>\n</li>\n<li><p>Use this after the forgot-password route to complete the flow.</p>\n</li>\n<li><p>Log in again after successful password reset.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","auth","reset-password","e2127d1e24aa9e842475398a8249b676893d22de775d626b4db2e353f2b1433e"],"host":["healthsnap-68ry","onrender","com"],"query":[],"variable":[]}},"response":[{"id":"1c1ee3dd-b316-4035-a14a-d3ff2eac48b2","name":"reset-password example","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \"password\": \"newPassword123\" }\r\n","options":{"raw":{"language":"json"}}},"url":"https://healthsnap-68ry.onrender.com/api/auth/reset-password/e2127d1e24aa9e842475398a8249b676893d22de775d626b4db2e353f2b1433e"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Fri, 31 Oct 2025 19:39:31 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"},{"key":"CF-RAY","value":"99759e5e2ce9a78c-DEL"},{"key":"Content-Encoding","value":"br"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"etag","value":"W/\"32-UaUy7tfbZZyjeJ37A3tJKM9g9+U\""},{"key":"origin-agent-cluster","value":"?1"},{"key":"referrer-policy","value":"no-referrer"},{"key":"rndr-id","value":"69c55c22-3f62-40bc"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"vary","value":"Accept-Encoding"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-render-origin-server","value":"Render"},{"key":"x-xss-protection","value":"0"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password has been reset successfully\"\n}"}],"_postman_id":"9e52c86e-9986-4a2f-bd2b-b99b70fe29c8"},{"name":"email verification","id":"4d4248e3-d8de-4990-b3b4-6c005aa5489d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://healthsnap-68ry.onrender.com/api/auth/verify-email/eaa1fe2e9c71f0c495498e8aa566bf05d607053aa83373ad14e66d5b034f2ca3","description":"<p>Verifies a user’s email address using the token sent via SendGrid when they sign up.</p>\n<p>StartFragment</p>\n<h3 id=\"usage-tips\"><strong>Usage Tips</strong></h3>\n<p>Verifies a newly registered user’s email via a token link.</p>\n<ul>\n<li><p>Token is included automatically in the verification email.</p>\n</li>\n<li><p>Once verified, the user’s status updates to <code>verified: true</code>.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","auth","verify-email","eaa1fe2e9c71f0c495498e8aa566bf05d607053aa83373ad14e66d5b034f2ca3"],"host":["healthsnap-68ry","onrender","com"],"query":[],"variable":[]}},"response":[{"id":"a9b35169-0f67-4c7b-a66e-21efdddce6c3","name":"email verification","originalRequest":{"method":"GET","header":[],"url":"https://healthsnap-68ry.onrender.com/api/auth/verify-email/eaa1fe2e9c71f0c495498e8aa566bf05d607053aa83373ad14e66d5b034f2ca3"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Date","value":"Fri, 31 Oct 2025 20:11:19 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"48"},{"key":"Connection","value":"keep-alive"},{"key":"CF-RAY","value":"9975cd027dd0de28-DEL"},{"key":"Content-Encoding","value":"br"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"etag","value":"W/\"33-ySRy5yg1UNcfH7bmuqFF45J+GaI\""},{"key":"origin-agent-cluster","value":"?1"},{"key":"referrer-policy","value":"no-referrer"},{"key":"rndr-id","value":"ba3324bf-5c9b-45ee"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"vary","value":"Accept-Encoding"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-render-origin-server","value":"Render"},{"key":"x-xss-protection","value":"0"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"message\": \"✅ Email verified successfully! You can now log in.\"\n}"}],"_postman_id":"4d4248e3-d8de-4990-b3b4-6c005aa5489d"},{"name":"Delete Account","id":"d852e32a-b7c2-48f8-9ea4-974f1c11266d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY5MDc5YWNhMjNhMTdjZGVjZDVmNjQ1NSIsImlhdCI6MTc2MjExOTk5NywiZXhwIjoxNzYyMTIzNTk3fQ.jNYGU7oS0oEdUa3xVVME8jErLsVfhqirFvE5cnHzmxI","type":"text"}],"url":"https://healthsnap-68ry.onrender.com/api/auth/delete","description":"<p>Deletes the user account and all associated symptom entries (if linked) from the database.  </p>\n<p><strong>Usage Tips</strong></p>\n<p>Deletes the currently authenticated user’s account and any related records.</p>\n<ul>\n<li><p>Requires a valid JWT token; the user must be logged in.</p>\n</li>\n<li><p>Confirm the action in the client app before calling this endpoint.</p>\n</li>\n<li><p>Linked data (e.g., symptoms) will also be deleted if referenced in the schema.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","auth","delete"],"host":["healthsnap-68ry","onrender","com"],"query":[],"variable":[]}},"response":[{"id":"347ecd87-d2b5-4fbc-9ce0-c4870109daab","name":"Delete Account","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY5MDc5YWNhMjNhMTdjZGVjZDVmNjQ1NSIsImlhdCI6MTc2MjExOTk5NywiZXhwIjoxNzYyMTIzNTk3fQ.jNYGU7oS0oEdUa3xVVME8jErLsVfhqirFvE5cnHzmxI","type":"text"}],"url":"https://healthsnap-68ry.onrender.com/api/auth/delete"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Sun, 02 Nov 2025 21:47:19 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"CF-RAY","value":"9986d460ae6fe622-DEL"},{"key":"Content-Encoding","value":"br"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"etag","value":"W/\"3e-aVKysSMIJBHErNYWMaM8pseVNBY\""},{"key":"origin-agent-cluster","value":"?1"},{"key":"referrer-policy","value":"no-referrer"},{"key":"rndr-id","value":"0d14c7ce-68b8-4cd5"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"vary","value":"Accept-Encoding"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-render-origin-server","value":"Render"},{"key":"x-xss-protection","value":"0"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"User account deleted successfully\"\n}"}],"_postman_id":"d852e32a-b7c2-48f8-9ea4-974f1c11266d"},{"name":"Profile Post (both models Integrated)","id":"e8c85166-b9cc-441e-8e5b-37eb522bc2e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY5MDkxMmZmYmI4YzAyYTUzMzBiZDE1YSIsImlhdCI6MTc2MjIzNzEwMSwiZXhwIjoxNzYyMjQwNzAxfQ.Tw71G4Dr2e3H8ZYu-uCulQB6YJoTpFy72etG1rzGnwU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Naman\",\r\n  \"gender\": \"Male\",\r\n  \"DOB\": \"2000-05-20\",\r\n  \"relationship\": \"Self\",\r\n  \"height\": 175,\r\n  \"weight\": 70,\r\n  \"country\": \"India\",\r\n  \"diet_type\": \"Vegetarian\",\r\n  \"sleep_quality\": \"Normal\",\r\n  \"hydration_level\": \"Normal\",\r\n  \"stress_level\": \"Normal\",\r\n  \"smoking\": \"No\",\r\n  \"alcohol_intake\": \"Never\",\r\n  \"symptoms\": [\"fever\", \"cough\", \"sore_throat\", \"runny_nose\", \"breath_shortness\", \"fatigue\",\r\n    \"headache\", \"body_pain\", \"appetite_loss\"],\r\n  \"symptom_severity\": \"severe\",\r\n  \"details\": \"Feeling weak and low energy for two days\",\r\n  \"steps_walked\": 4000,\r\n  \"sleep_hours\": 7,\r\n  \"water_intake\": 2.5,\r\n  \"BMI\": 22.8,\r\n  \"heart_rate\": 78,\r\n  \"calorie_intake\": 2000\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://healthsnap-68ry.onrender.com/api/profile","description":"<p>Accepts user’s health and lifestyle data, saves it in MongoDB, processes symptom data, sends it to the ML model, and returns the prediction result in the response.</p>\n<h3 id=\"usage-tips\"><strong>Usage Tips</strong></h3>\n<p>Use this endpoint after a successful login to submit or update the user’s complete health profile. It automatically processes data, sends it to the ML service, and returns predictions.</p>\n<ul>\n<li><p>Ensure the ML service is active (open the Render link once if idle).</p>\n</li>\n<li><p>Requires a valid JWT token in the Authorization header.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","profile"],"host":["healthsnap-68ry","onrender","com"],"query":[],"variable":[]}},"response":[{"id":"406c2460-3375-45ee-831b-aa774806b892","name":"Profile Post (both models Integrated)","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY5MDkxMmZmYmI4YzAyYTUzMzBiZDE1YSIsImlhdCI6MTc2MjIzNzEwMSwiZXhwIjoxNzYyMjQwNzAxfQ.Tw71G4Dr2e3H8ZYu-uCulQB6YJoTpFy72etG1rzGnwU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Naman\",\r\n  \"gender\": \"Male\",\r\n  \"DOB\": \"2000-05-20\",\r\n  \"relationship\": \"Self\",\r\n  \"height\": 175,\r\n  \"weight\": 70,\r\n  \"country\": \"India\",\r\n  \"diet_type\": \"Vegetarian\",\r\n  \"sleep_quality\": \"Normal\",\r\n  \"hydration_level\": \"Normal\",\r\n  \"stress_level\": \"Normal\",\r\n  \"smoking\": \"No\",\r\n  \"alcohol_intake\": \"Never\",\r\n  \"symptoms\": [\"fever\", \"cough\", \"sore_throat\", \"runny_nose\", \"breath_shortness\", \"fatigue\",\r\n    \"headache\", \"body_pain\", \"appetite_loss\"],\r\n  \"symptom_severity\": \"severe\",\r\n  \"details\": \"Feeling weak and low energy for two days\",\r\n  \"steps_walked\": 4000,\r\n  \"sleep_hours\": 7,\r\n  \"water_intake\": 2.5,\r\n  \"BMI\": 22.8,\r\n  \"heart_rate\": 78,\r\n  \"calorie_intake\": 2000\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://healthsnap-68ry.onrender.com/api/profile"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 04 Nov 2025 06:18:37 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"586"},{"key":"Connection","value":"keep-alive"},{"key":"CF-RAY","value":"9991feb50e006ce7-DEL"},{"key":"Content-Encoding","value":"br"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"etag","value":"W/\"411-nTLI53BlknFwwHiybb143y/Pfas\""},{"key":"origin-agent-cluster","value":"?1"},{"key":"referrer-policy","value":"no-referrer"},{"key":"rndr-id","value":"c3570da6-7a61-42ff"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"vary","value":"Accept-Encoding"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-render-origin-server","value":"Render"},{"key":"x-xss-protection","value":"0"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Symptom entry saved and processed successfully\",\n    \"data\": {\n        \"entry\": {\n            \"user\": \"690912ffbb8c02a5330bd15a\",\n            \"name\": \"Naman\",\n            \"gender\": \"Male\",\n            \"DOB\": \"2000-05-20T00:00:00.000Z\",\n            \"relationship\": \"Self\",\n            \"height\": 175,\n            \"weight\": 70,\n            \"country\": \"India\",\n            \"diet_type\": \"Vegetarian\",\n            \"sleep_quality\": \"Normal\",\n            \"hydration_level\": \"Normal\",\n            \"stress_level\": \"Normal\",\n            \"smoking\": \"No\",\n            \"alcohol_intake\": \"Never\",\n            \"symptoms\": [\n                \"fever\",\n                \"cough\",\n                \"sore_throat\",\n                \"runny_nose\",\n                \"breath_shortness\",\n                \"fatigue\",\n                \"headache\",\n                \"body_pain\",\n                \"appetite_loss\"\n            ],\n            \"symptom_severity\": \"severe\",\n            \"details\": \"Feeling weak and low energy for two days\",\n            \"steps_walked\": 4000,\n            \"sleep_hours\": 7,\n            \"water_intake\": 2.5,\n            \"BMI\": 22.8,\n            \"heart_rate\": 78,\n            \"calorie_intake\": 2000,\n            \"_id\": \"69099abc0a2ed970cb976bd4\",\n            \"createdAt\": \"2025-11-04T06:18:36.094Z\",\n            \"updatedAt\": \"2025-11-04T06:18:37.312Z\",\n            \"__v\": 0,\n            \"prediction\": \"improving\",\n            \"confidence\": 0.997,\n            \"prediction_2\": \"hydration\",\n            \"confidence_2\": 1\n        },\n        \"model_1\": {\n            \"confidence\": 0.997,\n            \"days_provided\": 2,\n            \"prediction\": \"improving\"\n        },\n        \"model_2\": {\n            \"prediction\": \"hydration\",\n            \"probability\": 1\n        }\n    }\n}"}],"_postman_id":"e8c85166-b9cc-441e-8e5b-37eb522bc2e1"},{"name":"create reminder","id":"e6a2a701-a1c0-4c3a-8812-47ff0011345c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY5MDkxMmZmYmI4YzAyYTUzMzBiZDE1YSIsImlhdCI6MTc2MjIwMjQ4NSwiZXhwIjoxNzYyMjA2MDg1fQ.T7sU0MUKTAFiE1TaPZUg4jGJpe9hLqUwP3zSARXSA1U","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Morning Walk\",\r\n  \"description\": \"Go for a 30-minute walk\",\r\n  \"day\": \"Monday\",\r\n  \"time\": \"08:00\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://healthsnap-68ry.onrender.com/api/reminders/create","description":"<p>Create a new reminder for the logged-in user. You can include a title, description, and a date/time for the reminder.</p>\n<p><strong>Usage Tips:</strong></p>\n<ul>\n<li><p>Use this route when a user adds a new health task (e.g., <em>“Drink water at 6 PM”</em>).</p>\n</li>\n<li><p>Date and time should be in ISO format: <code>\"2025-11-01T18:00:00.000Z\"</code>.</p>\n</li>\n<li><p>The user must be authenticated (JWT required).</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","reminders","create"],"host":["healthsnap-68ry","onrender","com"],"query":[],"variable":[]}},"response":[{"id":"ae8c7cb4-d9de-4afc-8e2a-756fcae5d84b","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY5MDkxMmZmYmI4YzAyYTUzMzBiZDE1YSIsImlhdCI6MTc2MjIwMjQ4NSwiZXhwIjoxNzYyMjA2MDg1fQ.T7sU0MUKTAFiE1TaPZUg4jGJpe9hLqUwP3zSARXSA1U","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Morning Walk\",\r\n  \"description\": \"Go for a 30-minute walk\",\r\n  \"day\": \"Monday\",\r\n  \"time\": \"08:00\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://healthsnap-68ry.onrender.com/api/reminders/create"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Mon, 03 Nov 2025 20:43:53 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"199"},{"key":"Connection","value":"keep-alive"},{"key":"CF-RAY","value":"998eb4d5bf3db2cb-DEL"},{"key":"Content-Encoding","value":"br"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"etag","value":"W/\"130-fad6ahXIPyvblp5QuA+40R90uuQ\""},{"key":"origin-agent-cluster","value":"?1"},{"key":"referrer-policy","value":"no-referrer"},{"key":"rndr-id","value":"62b4689a-e24c-4466"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"vary","value":"Accept-Encoding"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-render-origin-server","value":"Render"},{"key":"x-xss-protection","value":"0"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Reminder created\",\n    \"reminder\": {\n        \"user\": \"690912ffbb8c02a5330bd15a\",\n        \"title\": \"Morning Walk\",\n        \"description\": \"Go for a 30-minute walk\",\n        \"time\": \"08:00\",\n        \"day\": \"Monday\",\n        \"_id\": \"69091409bb8c02a5330bd163\",\n        \"createdAt\": \"2025-11-03T20:43:53.014Z\",\n        \"updatedAt\": \"2025-11-03T20:43:53.014Z\",\n        \"__v\": 0\n    }\n}"}],"_postman_id":"e6a2a701-a1c0-4c3a-8812-47ff0011345c"},{"name":"get reminders","id":"3c21f60b-979a-4fbd-92d3-d72d35c75364","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY5MDkxMmZmYmI4YzAyYTUzMzBiZDE1YSIsImlhdCI6MTc2MjIwMjQ4NSwiZXhwIjoxNzYyMjA2MDg1fQ.T7sU0MUKTAFiE1TaPZUg4jGJpe9hLqUwP3zSARXSA1U","type":"text"}],"url":"https://healthsnap-68ry.onrender.com/api/reminders","description":"<p>Fetch all reminders created by the authenticated user.</p>\n<p><strong>Usage Tips:</strong></p>\n<ul>\n<li><p>Use this to display the reminder list in the “My Reminders” section of your app.</p>\n</li>\n<li><p>Returns reminders in JSON format — you can sort or filter them on the frontend.</p>\n</li>\n<li><p>Great for syncing reminders each time the app loads.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","reminders"],"host":["healthsnap-68ry","onrender","com"],"query":[],"variable":[]}},"response":[{"id":"39416375-f4ce-403e-95e4-3b7ad9a4e6ab","name":"New Request","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY5MDkxMmZmYmI4YzAyYTUzMzBiZDE1YSIsImlhdCI6MTc2MjIwMjQ4NSwiZXhwIjoxNzYyMjA2MDg1fQ.T7sU0MUKTAFiE1TaPZUg4jGJpe9hLqUwP3zSARXSA1U","type":"text"},{"key":"Content-Type","value":"appication/json","type":"text"}],"url":"https://healthsnap-68ry.onrender.com/api/reminders"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Mon, 03 Nov 2025 20:45:13 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"190"},{"key":"Connection","value":"keep-alive"},{"key":"CF-RAY","value":"998eb6c84ec4a77b-DEL"},{"key":"Content-Encoding","value":"br"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"etag","value":"W/\"116-PtHdIXY9oHkJrG7KrTP22PAng5s\""},{"key":"origin-agent-cluster","value":"?1"},{"key":"referrer-policy","value":"no-referrer"},{"key":"rndr-id","value":"4cce6e54-5047-42f4"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"vary","value":"Accept-Encoding"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-render-origin-server","value":"Render"},{"key":"x-xss-protection","value":"0"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"reminders\": [\n        {\n            \"_id\": \"69091409bb8c02a5330bd163\",\n            \"user\": \"690912ffbb8c02a5330bd15a\",\n            \"title\": \"Morning Walk\",\n            \"description\": \"Go for a 30-minute walk\",\n            \"time\": \"08:00\",\n            \"day\": \"Monday\",\n            \"createdAt\": \"2025-11-03T20:43:53.014Z\",\n            \"updatedAt\": \"2025-11-03T20:43:53.014Z\",\n            \"__v\": 0\n        }\n    ]\n}"}],"_postman_id":"3c21f60b-979a-4fbd-92d3-d72d35c75364"},{"name":"delete Reminder","id":"3287beff-58f7-4818-8952-770bd7e8f262","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY5MDkxMmZmYmI4YzAyYTUzMzBiZDE1YSIsImlhdCI6MTc2MjIwMjQ4NSwiZXhwIjoxNzYyMjA2MDg1fQ.T7sU0MUKTAFiE1TaPZUg4jGJpe9hLqUwP3zSARXSA1U","type":"text"}],"url":"https://healthsnap-68ry.onrender.com/api/reminders/690914bfbb8c02a5330bd16c","description":"<p>Fetch a specific reminder by its unique ID.</p>\n<p><strong>Usage Tips:</strong></p>\n<ul>\n<li><p>Use this to view or edit the details of a specific reminder.</p>\n</li>\n<li><p>Returns a 404 error if the reminder doesn’t exist or doesn’t belong to the user.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","reminders","690914bfbb8c02a5330bd16c"],"host":["healthsnap-68ry","onrender","com"],"query":[],"variable":[]}},"response":[{"id":"ae98077c-8152-48a0-9fb7-51c091f81f51","name":"delete Reminder","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY5MDkxMmZmYmI4YzAyYTUzMzBiZDE1YSIsImlhdCI6MTc2MjIwMjQ4NSwiZXhwIjoxNzYyMjA2MDg1fQ.T7sU0MUKTAFiE1TaPZUg4jGJpe9hLqUwP3zSARXSA1U","type":"text"}],"url":"https://healthsnap-68ry.onrender.com/api/reminders/690914bfbb8c02a5330bd16c"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Mon, 03 Nov 2025 20:47:22 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"46"},{"key":"Connection","value":"keep-alive"},{"key":"CF-RAY","value":"998eb9ef2ccda84e-DEL"},{"key":"Content-Encoding","value":"br"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"etag","value":"W/\"2d-bHXBDFGVktpQK84E6ES52WY28Q0\""},{"key":"origin-agent-cluster","value":"?1"},{"key":"referrer-policy","value":"no-referrer"},{"key":"rndr-id","value":"77bddaff-692e-4ac1"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"vary","value":"Accept-Encoding"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-render-origin-server","value":"Render"},{"key":"x-xss-protection","value":"0"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Reminder deleted\"\n}"}],"_postman_id":"3287beff-58f7-4818-8952-770bd7e8f262"}]}