{"info":{"_postman_id":"6f02b566-567a-4b1f-8296-4059221cfd10","name":"Medigo","description":"<html><head></head><body><p>This collections represents the REST API documentation related to the project : <a href=\"https://github.com/harshitrajsinha/medi-go\">https://github.com/harshitrajsinha/medi-go</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"40689865","collectionId":"6f02b566-567a-4b1f-8296-4059221cfd10","publishedId":"2sB3HtHHfh","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-09-23T05:13:43.000Z"},"item":[{"name":"health","id":"b3b26a88-8eed-49ba-a3c5-73841765bcce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/","urlObject":{"protocol":"http","port":"8000","path":[""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3b26a88-8eed-49ba-a3c5-73841765bcce"},{"name":"db-stats","id":"ff1d1793-a692-4c7e-93db-39fc5c80318f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8000/db/stats","urlObject":{"protocol":"http","port":"8000","path":["db","stats"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff1d1793-a692-4c7e-93db-39fc5c80318f"},{"name":"login","id":"4809d57e-9222-457e-9f87-a8e18289b6f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"kumarkunal@medi.go\",\r\n    \"password\": \"kumarkunal@medigo\",\r\n    \"role\": \"receptionist\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/login","urlObject":{"protocol":"http","port":"8000","path":["api","v1","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1252bb95-2536-4c01-81a6-c55ab922b33d","name":"login-response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"kumarkunal@medi.go\",\r\n    \"password\": \"kumarkunal@medigo\",\r\n    \"role\": \"receptionist\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/login"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 22 Sep 2025 14:03:21 GMT"},{"key":"Content-Length","value":"379"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"message\": \"Authentication token generated successfully. Valid for next 30mins\",\n    \"data\": {\n        \"token\": \"{{vault:json-web-token}}\"\n    }\n}"}],"_postman_id":"4809d57e-9222-457e-9f87-a8e18289b6f3"},{"name":"patients","id":"af766a9d-0310-45ec-b9dd-73c3f811c767","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:8000/api/v1/patients","urlObject":{"protocol":"http","port":"8000","path":["api","v1","patients"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f8599ef4-808d-4176-a7d8-c31fb3fa35ef","name":"patients","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:8000/api/v1/patients"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 22 Sep 2025 14:12:16 GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": [\n        {\n            \"patients_data\": [\n                {\n                    \"fullname\": \"Ananya Desai\",\n                    \"gender\": \"female\",\n                    \"age\": 8,\n                    \"contact\": \"7894561238\",\n                    \"symptoms\": \"Ananya Desai, an 8-year-old female, is experiencing a dry cough that has persisted for about a week and is not going away. According to her mother, there is no fever, but Ananya occasionally wheezes after physical activity and has been waking up at night due to the coughing. The mother is concerned about the ongoing symptoms and is seeking a pediatric evaluation\",\n                    \"assigned_to\": \"Lucy Mountain\",\n                    \"token_id\": \"346399\",\n                    \"created_at\": \"2025-05-13T11:16:06.174262Z\",\n                    \"updated_at\": \"2025-05-13T11:16:06.174262Z\"\n                },\n                {\n                    \"fullname\": \"Aiden Scott\",\n                    \"gender\": \"male\",\n                    \"age\": 27,\n                    \"contact\": \"7412589635\",\n                    \"symptoms\": \"Aiden Scott, a 27-year-old male, reports experiencing persistent headaches over the past two weeks. He describes the pain as a dull ache that starts in the temples and sometimes radiates to the back of the head. The headaches tend to worsen in the late afternoon, especially after prolonged screen time. He has also mentioned occasional blurred vision and difficulty concentrating. He is seeking a consultation with a general physician to determine the cause.\",\n                    \"assigned_to\": \"Harshit Raj\",\n                    \"token_id\": \"234022\",\n                    \"created_at\": \"2025-05-13T11:16:06.174262Z\",\n                    \"updated_at\": \"2025-05-13T11:16:06.174262Z\"\n                },\n                {\n                    \"fullname\": \"Meera Nair\",\n                    \"gender\": \"female\",\n                    \"age\": 32,\n                    \"contact\": \"9632587417\",\n                    \"symptoms\": \"Meera Nair, a 32-year-old female, reports experiencing ongoing fatigue and mild shortness of breath over the past three weeks. She notes that even routine tasks like climbing stairs leave her feeling unusually tired. She has also mentioned occasional lightheadedness and a general lack of energy throughout the day. She is requesting an appointment with a general physician to investigate the cause of these symptoms.\",\n                    \"assigned_to\": \"Harshit Raj\",\n                    \"token_id\": \"464918\",\n                    \"created_at\": \"2025-05-13T11:16:06.174262Z\",\n                    \"updated_at\": \"2025-05-13T11:16:06.174262Z\"\n                },\n                {\n                    \"fullname\": \"Devansh Kapoor\",\n                    \"gender\": \"male\",\n                    \"age\": 31,\n                    \"contact\": \"9988774455\",\n                    \"symptoms\": \"Devansh Kapoor, a 31-year-old male, has been experiencing intermittent stomach discomfort and bloating for the past month. He reports that the symptoms often occur after meals, especially heavier ones, and are sometimes accompanied by mild nausea. He has also noticed occasional changes in bowel habits. Devansh is seeking a consultation with a general physician to evaluate the cause and get relief.\",\n                    \"assigned_to\": \"Harshit Raj\",\n                    \"token_id\": \"774627\",\n                    \"created_at\": \"2025-05-13T11:16:06.174262Z\",\n                    \"updated_at\": \"2025-05-13T11:16:06.174262Z\"\n                },\n                {\n                    \"fullname\": \"Ava Wilson\",\n                    \"gender\": \"female\",\n                    \"age\": 45,\n                    \"contact\": \"3625147894\",\n                    \"symptoms\": \"Ava Wilson, a 45-year-old female, reports experiencing frequent episodes of heartburn and acid reflux over the past several weeks. She notes that the discomfort usually worsens after eating spicy or fatty foods and is often more noticeable at night when lying down. She occasionally feels a burning sensation in her chest and a sour taste in her mouth. Ava is requesting an appointment with a general physician to discuss her symptoms and explore possible treatment options.\",\n                    \"assigned_to\": \"Harshit Raj\",\n                    \"token_id\": \"678720\",\n                    \"created_at\": \"2025-05-13T11:16:06.174262Z\",\n                    \"updated_at\": \"2025-05-13T11:16:06.174262Z\"\n                },\n                {\n                    \"fullname\": \"Benjamin Carter\",\n                    \"gender\": \"male\",\n                    \"age\": 76,\n                    \"contact\": \"9848751236\",\n                    \"symptoms\": \"Benjamin Carter, a 76-year-old male, has been experiencing increasing joint pain and stiffness, particularly in his knees and lower back, over the past few months. He reports difficulty with mobility, especially in the mornings, and occasional swelling in his joints after prolonged sitting or walking. He also mentions feeling more fatigued than usual and experiencing trouble sleeping due to discomfort. Benjamin is seeking an evaluation with a geriatrics specialist to manage his symptoms and improve his quality of life.\",\n                    \"assigned_to\": \"Raj Sinha\",\n                    \"token_id\": \"477611\",\n                    \"created_at\": \"2025-05-13T11:16:06.174262Z\",\n                    \"updated_at\": \"2025-05-13T11:16:06.174262Z\"\n                }\n            ]\n        },\n        {\n            \"total_no_records\": 6\n        }\n    ]\n}"}],"_postman_id":"af766a9d-0310-45ec-b9dd-73c3f811c767"},{"name":"patients","id":"57b81876-f56f-41f8-be81-a687966fc39d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"fullname\":\"Devanshi Kapoor\",\"gender\":\"female\",\"age\":21,\"contact\":\"9988774455\",\"symptoms\":\"Devanshi Kapoor, a 21-year-old female, has been experiencing intermittent stomach discomfort and bloating for the past month. He reports that the symptoms often occur after meals, especially heavier ones, and are sometimes accompanied by mild nausea. He has also noticed occasional changes in bowel habits. Devanshi is seeking a consultation with a general physician to evaluate the cause and get relief.\",\"assigned_doctor\":\"28844ae6-d482-441b-abd6-09db2a64c707\",\"registered_by\":\"9746be12-07b7-42a3-b8ab-7d1f209b63d7\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/patients","urlObject":{"protocol":"http","port":"8000","path":["api","v1","patients"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8adf2bc9-324e-4e32-99d9-0910eafae25d","name":"patients","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"fullname\":\"Devanshi Kapoor\",\"gender\":\"female\",\"age\":21,\"contact\":\"9988774455\",\"symptoms\":\"Devanshi Kapoor, a 21-year-old female, has been experiencing intermittent stomach discomfort and bloating for the past month. He reports that the symptoms often occur after meals, especially heavier ones, and are sometimes accompanied by mild nausea. He has also noticed occasional changes in bowel habits. Devanshi is seeking a consultation with a general physician to evaluate the cause and get relief.\",\"assigned_doctor\":\"28844ae6-d482-441b-abd6-09db2a64c707\",\"registered_by\":\"9746be12-07b7-42a3-b8ab-7d1f209b63d7\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/patients"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 22 Sep 2025 14:14:49 GMT"},{"key":"Content-Length","value":"83"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"message\": \"patient data inserted into DB successfully!\",\n    \"data\": 199343\n}"}],"_postman_id":"57b81876-f56f-41f8-be81-a687966fc39d"},{"name":"patients/token_id","id":"9e46e868-242d-45b7-af3d-9555c097037d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:8000/api/v1/patients/199343","urlObject":{"protocol":"http","port":"8000","path":["api","v1","patients","199343"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"67cdda55-854b-4c06-aed1-5edbeefa10cc","name":"patients/token_id","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:8000/api/v1/patients/199343"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 22 Sep 2025 14:15:59 GMT"},{"key":"Content-Length","value":"711"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": [\n        {\n            \"fullname\": \"Devanshi Kapoor\",\n            \"gender\": \"female\",\n            \"age\": 21,\n            \"contact\": \"9988774455\",\n            \"symptoms\": \"Devanshi Kapoor, a 21-year-old female, has been experiencing intermittent stomach discomfort and bloating for the past month. He reports that the symptoms often occur after meals, especially heavier ones, and are sometimes accompanied by mild nausea. He has also noticed occasional changes in bowel habits. Devanshi is seeking a consultation with a general physician to evaluate the cause and get relief.\",\n            \"assigned_to\": \"Harshit Raj\",\n            \"assigned_to_id\": \"28844ae6-d482-441b-abd6-09db2a64c707\",\n            \"token_id\": \"199343\",\n            \"created_at\": \"2025-09-22T19:44:49.821568Z\",\n            \"updated_at\": \"2025-09-22T19:44:49.821568Z\"\n        }\n    ]\n}"}],"_postman_id":"9e46e868-242d-45b7-af3d-9555c097037d"},{"name":"patients/token_id","id":"e1e10313-4de1-450a-bbb0-125c495047d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contact\": \"9894561238\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/patients/199343","urlObject":{"protocol":"http","port":"8000","path":["api","v1","patients","199343"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"c1605929-2b93-49a5-a381-862ae06b734e","name":"patients/token_id","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contact\": \"9894561238\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/patients/199343"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 22 Sep 2025 14:17:44 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"message\": \"Patient data updated successfully!\"\n}"}],"_postman_id":"e1e10313-4de1-450a-bbb0-125c495047d2"},{"name":"patients/token_id","id":"63f951a7-41be-4cd0-a49e-f87c3f7283af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\"fullname\":\"Devanshi Kapoor\",\"gender\":\"female\",\"age\":25,\"contact\":\"9894561238\",\"symptoms\":\"Devanshi Kapoor, a 21-year-old female, has been experiencing intermittent stomach discomfort and bloating for the past month. He reports that the symptoms often occur after meals, especially heavier ones, and are sometimes accompanied by mild nausea. He has also noticed occasional changes in bowel habits. Devanshi is seeking a consultation with a general physician to evaluate the cause and get relief.\",\"assigned_doctor\":\"28844ae6-d482-441b-abd6-09db2a64c707\",\"registered_by\":\"9746be12-07b7-42a3-b8ab-7d1f209b63d7\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/patients/199343","urlObject":{"protocol":"http","port":"8000","path":["api","v1","patients","199343"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9c3d68ec-6baf-4af5-bb38-ff063f71e15b","name":"patients/token_id","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\"fullname\":\"Devanshi Kapoor\",\"gender\":\"female\",\"age\":25,\"contact\":\"9894561238\",\"symptoms\":\"Devanshi Kapoor, a 21-year-old female, has been experiencing intermittent stomach discomfort and bloating for the past month. He reports that the symptoms often occur after meals, especially heavier ones, and are sometimes accompanied by mild nausea. He has also noticed occasional changes in bowel habits. Devanshi is seeking a consultation with a general physician to evaluate the cause and get relief.\",\"assigned_doctor\":\"28844ae6-d482-441b-abd6-09db2a64c707\",\"registered_by\":\"9746be12-07b7-42a3-b8ab-7d1f209b63d7\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/patients/199343"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 22 Sep 2025 14:21:18 GMT"},{"key":"Content-Length","value":"60"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"message\": \"Patient data updated successfully!\"\n}"}],"_postman_id":"63f951a7-41be-4cd0-a49e-f87c3f7283af"},{"name":"patients/token_id","id":"b25cc2ef-e9ba-4a4e-b239-636f6bcbf6f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:8000/api/v1/patients/199343","urlObject":{"protocol":"http","port":"8000","path":["api","v1","patients","199343"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1051e409-160f-4021-b751-b30fe304f67a","name":"patients/token_id","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:8000/api/v1/patients/199343"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 22 Sep 2025 14:22:31 GMT"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b25cc2ef-e9ba-4a4e-b239-636f6bcbf6f8"},{"name":"doctors/doctor_id","id":"f917fa72-1bd8-431d-9bee-c32a1e05b15d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{vault:authorization-secret}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:8000/api/v1/doctors/28844ae6-d482-441b-abd6-09db2a64c707","urlObject":{"protocol":"http","port":"8000","path":["api","v1","doctors","28844ae6-d482-441b-abd6-09db2a64c707"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"4b79fffc-46c7-478b-a37b-a93e48095f9c","name":"doctors/doctor_id","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:8000/api/v1/doctors/28844ae6-d482-441b-abd6-09db2a64c707"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Origin"},{"key":"Date","value":"Mon, 22 Sep 2025 14:24:47 GMT"},{"key":"Content-Length","value":"254"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": [\n        {\n            \"patients_data\": [\n                {\n                    \"fullname\": \"Aiden Scott\",\n                    \"token_id\": \"234022\"\n                },\n                {\n                    \"fullname\": \"Meera Nair\",\n                    \"token_id\": \"464918\"\n                },\n                {\n                    \"fullname\": \"Devansh Kapoor\",\n                    \"token_id\": \"774627\"\n                },\n                {\n                    \"fullname\": \"Ava Wilson\",\n                    \"token_id\": \"678720\"\n                }\n            ]\n        },\n        {\n            \"total_no_records\": 4\n        }\n    ]\n}"}],"_postman_id":"f917fa72-1bd8-431d-9bee-c32a1e05b15d"}]}