{"info":{"_postman_id":"5ed139c6-830f-49ce-bfc9-86d0f0a8e174","name":"SafeDose API Contract Draft","description":"<html><head></head><body><p>Contract-first draft for backend integration. Aligns with docs/api-contract.md.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"50587900","collectionId":"5ed139c6-830f-49ce-bfc9-86d0f0a8e174","publishedId":"2sBXigKY32","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-03-12T15:41:01.000Z"},"item":[{"name":"Auth","item":[{"name":"Login","id":"bf6943bf-7be6-4472-991a-b4c4391bb3b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"ravindar.patel@example.com\",\n  \"password\": \"string\"\n}"},"url":"http://localhost:4000/api/auth/login","urlObject":{"path":["api","auth","login"],"host":["http://localhost:4000"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf6943bf-7be6-4472-991a-b4c4391bb3b3"},{"name":"Register","id":"65c495c4-64be-4825-985a-818c621f3314","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"firstName\": \"Ravindar\",\n  \"lastName\": \"Patel\",\n  \"email\": \"ravindar.patel@example.com\",\n  \"password\": \"string\",\n  \"confirmPassword\": \"string\"\n}"},"url":"http://localhost:4000/api/auth/register","urlObject":{"path":["api","auth","register"],"host":["http://localhost:4000"],"query":[],"variable":[]}},"response":[],"_postman_id":"65c495c4-64be-4825-985a-818c621f3314"}],"id":"f8a88d02-a9ab-4248-8a15-f247b90f964d","_postman_id":"f8a88d02-a9ab-4248-8a15-f247b90f964d","description":""},{"name":"Users","item":[{"name":"Get Current User","id":"abf4ea83-cd94-4e86-88ad-5c66707e060e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:4000/api/users/me","urlObject":{"path":["api","users","me"],"host":["http://localhost:4000"],"query":[],"variable":[]}},"response":[],"_postman_id":"abf4ea83-cd94-4e86-88ad-5c66707e060e"},{"name":"Update Current User","id":"a99621a2-18c7-4bcd-b89e-499dd3d32d20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n  \"firstName\": \"Ravindar\",\n  \"lastName\": \"Patel\",\n  \"email\": \"ravindar.patel@example.com\",\n  \"role\": \"caregiver\"\n}"},"url":"http://localhost:4000/api/users/me","urlObject":{"path":["api","users","me"],"host":["http://localhost:4000"],"query":[],"variable":[]}},"response":[],"_postman_id":"a99621a2-18c7-4bcd-b89e-499dd3d32d20"},{"name":"Delete Current User","id":"c2b8fa66-fc22-4144-abad-f391c458e330","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:4000/api/users/me","urlObject":{"path":["api","users","me"],"host":["http://localhost:4000"],"query":[],"variable":[]}},"response":[],"_postman_id":"c2b8fa66-fc22-4144-abad-f391c458e330"}],"id":"1fc7e52d-a8f4-4038-88f1-80b3899b289f","_postman_id":"1fc7e52d-a8f4-4038-88f1-80b3899b289f","description":""},{"name":"Dashboard","item":[{"name":"Get Summary","id":"0c9c0dda-a40b-414a-96a0-98a63bf02af7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:4000/api/dashboard/summary","urlObject":{"path":["api","dashboard","summary"],"host":["http://localhost:4000"],"query":[],"variable":[]}},"response":[],"_postman_id":"0c9c0dda-a40b-414a-96a0-98a63bf02af7"}],"id":"8ed997d5-11d6-45cb-a2b1-5490fd0d33d2","_postman_id":"8ed997d5-11d6-45cb-a2b1-5490fd0d33d2","description":""},{"name":"Medications","item":[{"name":"List Medications","id":"ac73b75f-753d-4b03-a2a3-5cdd5e18bbc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:4000/api/medications","urlObject":{"path":["api","medications"],"host":["http://localhost:4000"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac73b75f-753d-4b03-a2a3-5cdd5e18bbc0"},{"name":"Create Medication","id":"440aaf03-cf51-4e0c-b784-12dea5a29e1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Metformin\",\n  \"genericName\": \"Glucophage\",\n  \"dosage\": \"500mg\",\n  \"frequency\": \"Twice daily\",\n  \"scheduleTime\": \"08:00\",\n  \"rxcui\": \"860975\"\n}"},"url":"http://localhost:4000/api/medications","urlObject":{"path":["api","medications"],"host":["http://localhost:4000"],"query":[],"variable":[]}},"response":[],"_postman_id":"440aaf03-cf51-4e0c-b784-12dea5a29e1e"},{"name":"Update Medication","id":"484d37c0-5359-4427-a550-324fc6f04d45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n  \"dosage\": \"850mg\",\n  \"takenToday\": true\n}"},"url":"http://localhost:4000/api/medications/:id","urlObject":{"path":["api","medications",":id"],"host":["http://localhost:4000"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"484d37c0-5359-4427-a550-324fc6f04d45"},{"name":"Delete Medication","id":"d2012a25-fae8-4589-9020-6edc3221f212","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:4000/api/medications/:id","urlObject":{"path":["api","medications",":id"],"host":["http://localhost:4000"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"d2012a25-fae8-4589-9020-6edc3221f212"}],"id":"5f2f5fc8-22ba-47e9-ad3b-0614879a0538","_postman_id":"5f2f5fc8-22ba-47e9-ad3b-0614879a0538","description":""},{"name":"Interactions","item":[{"name":"List Interactions","id":"bca07e47-4ac5-4ff3-b0c0-5c7c83d43287","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:4000/api/interactions","urlObject":{"path":["api","interactions"],"host":["http://localhost:4000"],"query":[],"variable":[]}},"response":[],"_postman_id":"bca07e47-4ac5-4ff3-b0c0-5c7c83d43287"},{"name":"Mark Interaction Reviewed","id":"c6766631-2135-4897-a8f4-41078715ebe5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n  \"reviewed\": true\n}"},"url":"http://localhost:4000/api/interactions/:id/review","urlObject":{"path":["api","interactions",":id","review"],"host":["http://localhost:4000"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"c6766631-2135-4897-a8f4-41078715ebe5"}],"id":"042d0aa3-474d-4f5c-8275-37c1c23acaf8","_postman_id":"042d0aa3-474d-4f5c-8275-37c1c23acaf8","description":""},{"name":"New Request","id":"32b879a1-a6bb-4dee-9f2f-326a54af5dc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"32b879a1-a6bb-4dee-9f2f-326a54af5dc0"}],"variable":[{"key":"baseUrl","value":"http://localhost:4000"},{"key":"accessToken","value":""}]}