{"info":{"_postman_id":"b8d2290c-cc9e-4d1b-9653-1c1c598dd2f1","name":"CLYNK","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"41618304","collectionId":"b8d2290c-cc9e-4d1b-9653-1c1c598dd2f1","publishedId":"2sBXVmdo6z","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-01-25T19:11:31.000Z"},"item":[{"name":"Auth","item":[{"name":"sign","event":[{"listen":"test","script":{"id":"e811e052-3197-40b5-b0e5-1d0229a45702","exec":["pm.test(\"Login success\", () => {\r","  pm.response.to.have.status(200);\r","});\r","\r","pm.environment.set(\r","  \"token\",\r","  pm.response.json().token\r",");\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"6040c4dd-12f6-4981-b344-89d4f541fae7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"// {\r\n//   \"email\": \"staffdoctor3@gmail.com\",\r\n//   \"password\": \"12345678\",\r\n//   \"user_type\": \"staff\",\r\n//   \"profile\": {\r\n//     \"full_name\": \"د. أحمد حسن\",\r\n//     \"clinic_id\": 1,\r\n//     \"role_title\": \"doctor\",\r\n//     \"specialist\": \"عظام\",\r\n//     \"work_days\": \"sun,mon,tue,wed\",\r\n//     \"work_from\": \"10:00\",\r\n//     \"work_to\": \"16:00\",\r\n//     \"consultation_price\": 200\r\n//   }\r\n// }\r\n\r\n{\r\n  \"email\": \"doctor2j2j2@gmail.com\",\r\n  \"password\": \"12345678\",\r\n  \"user_type\": \"doctor\",\r\n  \"profile\": {\r\n    \"full_name\": \"د. أحمد حسن\",\r\n    \"license_number\": \"fdjhkhhhfhv4334\",\r\n    \"specialist\": \"الأورام \",\r\n    \"work_days\": \"sun,mon,tue,wed\",\r\n    \"work_from\": \"10:00\",\r\n    \"work_to\": \"16:00\",\r\n    \"consultation_price\": 200,\r\n  \"geo_location\": {\r\n    \"latitude\": 30.0444,\r\n    \"longitude\": 31.2357\r\n}\r\n\r\n  }\r\n  \r\n}\r\n\r\n// {\r\n//   \"email\": \"patient0@gmail.com\",\r\n//   \"password\": \"12345678\",\r\n//   \"user_type\": \"patient\",\r\n//   \"profile\": {\r\n//     \"full_name\": \"Mohamed\"\r\n// }\r\n// }\r\n","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/api/auth/signup","urlObject":{"protocol":"http","port":"3001","path":["api","auth","signup"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6040c4dd-12f6-4981-b344-89d4f541fae7"},{"name":"login","event":[{"listen":"test","script":{"id":"fdae56cc-9b02-4c2c-809e-fd5fbd8637fd","exec":["const res = pm.response.json();\r","\r","if (res.accessToken) {\r","  pm.environment.set(\"accessToken\", res.accessToken);\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"d6f86a77-f481-4e3c-874d-0afbad614f2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n     \"password\":\"12345678\",\r\n     \"email\":\"patient@kkgmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/api/auth/login","urlObject":{"protocol":"http","port":"3001","path":["api","auth","login"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d6f86a77-f481-4e3c-874d-0afbad614f2f"},{"name":"logout","id":"ed5232a0-71a4-41a1-8e6e-fa9e140e5ae0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"http://127.0.0.1:3001/api/auth/logout","urlObject":{"protocol":"http","port":"3001","path":["api","auth","logout"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed5232a0-71a4-41a1-8e6e-fa9e140e5ae0"},{"name":"refresh token","id":"d050fe18-75e8-4ad0-8cfc-5d081effa02d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n     \"password\":\"12345678\",\r\n     \"email\":\"mohamed@gmail.com\"\r\n}"},"url":"http://127.0.0.1:3001/api/auth/refresh","urlObject":{"protocol":"http","port":"3001","path":["api","auth","refresh"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d050fe18-75e8-4ad0-8cfc-5d081effa02d"}],"id":"d36d1cea-604e-496f-b26a-2ef85e676c8e","_postman_id":"d36d1cea-604e-496f-b26a-2ef85e676c8e","description":""},{"name":"Users","item":[{"name":"get me","id":"cc955b5f-f406-42da-802b-eea98ca2aa0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://127.0.0.1:3001/api/user/me","urlObject":{"protocol":"http","port":"3001","path":["api","user","me"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc955b5f-f406-42da-802b-eea98ca2aa0b"},{"name":"get clinics (User)","id":"d2f72d9e-51f0-4b4e-8693-f8eda308f668","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Clync Medical Center\",\r\n  \"address\": \"Nasr City\",\r\n  \"location\": \"Cairo\",\r\n  \"phone\": \"0100000000\",\r\n  \"email\": \"clinic@clync.com\",\r\n  \"opening_hours\": \"9AM - 9PM\"\r\n}\r\n"},"url":"http://localhost:3001/api/clinic","urlObject":{"protocol":"http","port":"3001","path":["api","clinic"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2f72d9e-51f0-4b4e-8693-f8eda308f668"},{"name":"get doctors (user)","id":"51e791a3-bcbe-4102-9d70-700aecdd24d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3001/api/doctors?specialist=عظام","urlObject":{"protocol":"http","port":"3001","path":["api","doctors"],"host":["127","0","0","1"],"query":[{"key":"specialist","value":"عظام"}],"variable":[]}},"response":[],"_postman_id":"51e791a3-bcbe-4102-9d70-700aecdd24d4"},{"name":"get All staff (User)","id":"0a0db6ce-ea20-400b-9007-3ca37aabc1e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://127.0.0.1:3001/api/clinic/1/staff","urlObject":{"protocol":"http","port":"3001","path":["api","clinic","1","staff"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0a0db6ce-ea20-400b-9007-3ca37aabc1e1"},{"name":"get staff profile","id":"77d3e7fc-e725-4fbc-bc67-99e3b3a00ca3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://127.0.0.1:3001/api/staff/1/profile","urlObject":{"protocol":"http","port":"3001","path":["api","staff","1","profile"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"77d3e7fc-e725-4fbc-bc67-99e3b3a00ca3"},{"name":"get doctor profile","id":"dcdc76ce-16c5-44aa-a855-c82e1dadd46d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3001/api/doctors/2/profile","urlObject":{"protocol":"http","port":"3001","path":["api","doctors","2","profile"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"dcdc76ce-16c5-44aa-a855-c82e1dadd46d"},{"name":"get Clinic Profile","id":"0b8fc93a-3b53-4ccc-9433-e806cc0420af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Clync Medical Center\",\r\n  \"address\": \"Nasr City\",\r\n  \"location\": \"Cairo\",\r\n  \"phone\": \"0100000000\",\r\n  \"email\": \"clinic@clync.com\",\r\n  \"opening_hours\": \"9AM - 9PM\"\r\n}\r\n"},"url":"http://localhost:3001/api/clinic/1/profile","urlObject":{"protocol":"http","port":"3001","path":["api","clinic","1","profile"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0b8fc93a-3b53-4ccc-9433-e806cc0420af"},{"name":"get best doctors","id":"cf4eb412-b810-4ada-9546-df8ff7fc582b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://127.0.0.1:3001/api/doctors/best","urlObject":{"protocol":"http","port":"3001","path":["api","doctors","best"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf4eb412-b810-4ada-9546-df8ff7fc582b"},{"name":"update me","id":"4bf29426-5b9b-4880-84dd-276d70521fbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"photo","type":"file","uuid":"8b025ece-441f-44ec-84fe-ceda601a3e72","src":"postman-cloud:///1f0c3192-a658-43a0-a39f-ed63a669ffd8","disabled":true},{"key":"full_name","value":"محمد خيال","type":"text","uuid":"46dc215d-ef60-4aad-b73c-627fd0cfb160"},{"key":"role","value":"patient","type":"text","uuid":"be780ebb-a96b-448b-a68e-0ab83075777a","disabled":true},{"key":"consultation_price","value":"100","type":"text","uuid":"b65c4151-52a5-47dc-98c8-c38426164389","disabled":true},{"key":"phone","value":"+201018743096","type":"text","uuid":"0a138326-2d79-4e59-b4bf-fe48dceb829d","disabled":true}]},"url":"http://127.0.0.1:3001/api/user/me","urlObject":{"protocol":"http","port":"3001","path":["api","user","me"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4bf29426-5b9b-4880-84dd-276d70521fbd"}],"id":"61da71f9-bcf6-45b0-ad14-930f97bda844","_postman_id":"61da71f9-bcf6-45b0-ad14-930f97bda844","description":""},{"name":"Clinic","item":[{"name":"get my clinic staff (Owner)","id":"4caea6c0-2404-4b33-8961-d37527404307","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://127.0.0.1:3001/api/staff/my-clinic","urlObject":{"protocol":"http","port":"3001","path":["api","staff","my-clinic"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4caea6c0-2404-4b33-8961-d37527404307"},{"name":"verify staff","id":"daa075d6-908b-40b3-ac85-3168b8a0f33e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/api/staff/2/verify","urlObject":{"protocol":"http","port":"3001","path":["api","staff","2","verify"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"daa075d6-908b-40b3-ac85-3168b8a0f33e"},{"name":"get Pending Staff (Owner)","id":"1316091f-6c0d-4781-b685-802f6780cd1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://127.0.0.1:3001/api/staff/pending","urlObject":{"protocol":"http","port":"3001","path":["api","staff","pending"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1316091f-6c0d-4781-b685-802f6780cd1e"},{"name":"create staff","id":"e6f33ba1-75aa-462e-aa0a-5b91fa208d54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"stajfjmafjf1n1ma222@clinic.com\",\r\n  \"password\": \"12345678\",\r\n  \"full_name\": \"Assffffffs\",\r\n  \"role_title\": \"nurse\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/api/staff/create","urlObject":{"protocol":"http","port":"3001","path":["api","staff","create"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6f33ba1-75aa-462e-aa0a-5b91fa208d54"},{"name":"get clinic stats","id":"7ab3969b-77b8-4329-a5f0-87484342c99d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://127.0.0.1:3001/api/clinic/my-stats","urlObject":{"protocol":"http","port":"3001","path":["api","clinic","my-stats"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ab3969b-77b8-4329-a5f0-87484342c99d"}],"id":"40004345-0948-4455-9f5d-b204497187c0","_postman_id":"40004345-0948-4455-9f5d-b204497187c0","description":""},{"name":"Doctors","item":[{"name":"create clinic","id":"4946d9d9-18ff-4ef1-a25c-e33f92670f35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Medicov\",\r\n  \"address\": \"Nasr City\",\r\n  \"location\": \"Cairo\",\r\n  \"phone\": \"01018743096\",\r\n  \"email\": \"doctor2@example.com\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/api/clinic","urlObject":{"protocol":"http","port":"3001","path":["api","clinic"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4946d9d9-18ff-4ef1-a25c-e33f92670f35"},{"name":"get doctor dashboard","id":"f95964b1-401d-450d-8dbb-6b15b172cdf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:3001/api/doctors/dashboard","urlObject":{"protocol":"http","port":"3001","path":["api","doctors","dashboard"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f95964b1-401d-450d-8dbb-6b15b172cdf1"}],"id":"dcf2feae-fb2b-4d17-97cb-8ea9fdcd93c0","_postman_id":"dcf2feae-fb2b-4d17-97cb-8ea9fdcd93c0","description":""},{"name":"Notifications","item":[{"name":"get my notifications","id":"251d8ed5-1f62-45a3-92e3-6b47cf9fbe12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://127.0.0.1:3001/api/notifications/me","urlObject":{"protocol":"http","port":"3001","path":["api","notifications","me"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"251d8ed5-1f62-45a3-92e3-6b47cf9fbe12"},{"name":"mark read","id":"ce72bb7f-31b9-4fb9-9d7d-88589c3da79f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PATCH","header":[],"url":"http://127.0.0.1:3001/api/notifications/34/read","urlObject":{"protocol":"http","port":"3001","path":["api","notifications","34","read"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce72bb7f-31b9-4fb9-9d7d-88589c3da79f"}],"id":"f06ce057-ec91-4217-a0ab-f7ec1777737f","_postman_id":"f06ce057-ec91-4217-a0ab-f7ec1777737f","description":""},{"name":"Admin","item":[{"name":"get All doctors (admin)","id":"4aa625cc-ae9f-494d-8636-f816ad195904","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://127.0.0.1:3001/api/admin/doctors","urlObject":{"protocol":"http","port":"3001","path":["api","admin","doctors"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4aa625cc-ae9f-494d-8636-f816ad195904"},{"name":"get clinics","id":"8cf3c0bb-6d20-4d6a-93de-052be87a60ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:3001/api/admin/clinics","urlObject":{"protocol":"http","port":"3001","path":["api","admin","clinics"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8cf3c0bb-6d20-4d6a-93de-052be87a60ed"},{"name":"get staff","id":"77fd4eb8-e805-4b43-ac50-7f226a442adc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{accessToken}}"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3001/api/admin/staff","urlObject":{"protocol":"http","port":"3001","path":["api","admin","staff"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"77fd4eb8-e805-4b43-ac50-7f226a442adc"},{"name":"list logs","id":"b68d05ab-1a7f-463e-8443-bad8bdce80a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://127.0.0.1:3001/api/admin/audit-logs","urlObject":{"protocol":"http","port":"3001","path":["api","admin","audit-logs"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b68d05ab-1a7f-463e-8443-bad8bdce80a2"},{"name":"verify doctor","id":"ea8fd3d0-4a3c-4726-bca5-91519da6d431","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/api/admin/5/verify","urlObject":{"protocol":"http","port":"3001","path":["api","admin","5","verify"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea8fd3d0-4a3c-4726-bca5-91519da6d431"},{"name":"unverify doctor","id":"6842ce08-cd95-42a9-a38a-7ebb03730bb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PATCH","header":[],"url":"http://127.0.0.1:3001/api/admin/15/unverify","urlObject":{"protocol":"http","port":"3001","path":["api","admin","15","unverify"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6842ce08-cd95-42a9-a38a-7ebb03730bb5"},{"name":"reject clinic","id":"50501147-788a-43cc-8c7a-41ae3e109204","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PATCH","header":[],"url":"http://localhost:3001/api/admin/clinics/11/reject","urlObject":{"protocol":"http","port":"3001","path":["api","admin","clinics","11","reject"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"50501147-788a-43cc-8c7a-41ae3e109204"},{"name":"Approve clinic","id":"8d8f1d41-94ee-45f5-a6bc-95fd3161b477","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3001/api/admin/clinics/1/approve","urlObject":{"protocol":"http","port":"3001","path":["api","admin","clinics","1","approve"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d8f1d41-94ee-45f5-a6bc-95fd3161b477"},{"name":"create admin","id":"b4350c4f-e2f4-4821-9321-9b56530d6c20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"mohamed@gmail.com\",\r\n  \"password\": \"12345678\",\r\n  \"full_name\": \"Mohamed Admin\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/api/admin/create-admin","urlObject":{"protocol":"http","port":"3001","path":["api","admin","create-admin"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4350c4f-e2f4-4821-9321-9b56530d6c20"}],"id":"3a944cfc-1459-4dcf-9c78-5fbc34c4ebae","_postman_id":"3a944cfc-1459-4dcf-9c78-5fbc34c4ebae","description":""},{"name":"Booking","item":[{"name":"create booking","id":"e4734e5a-41b4-450a-930a-46d239ceffd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"doctor_id\": 2,\r\n  \"booking_date\": \"2026-04-22\",\r\n  \"booking_from\": \"11:30\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/api/book","urlObject":{"protocol":"http","port":"3001","path":["api","book"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e4734e5a-41b4-450a-930a-46d239ceffd4"},{"name":"get my bookings","id":"633c1a19-c003-480e-9116-b0b778d5a4cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"doctorfffff@gmail.com\",\r\n  \"password\": \"12345678\",\r\n  \"user_type\": \"doctor\",\r\n  \"profile\": {\r\n    \"full_name\": \"doctor Hassan\",\r\n    \"license_number\": \"1dsv8ewew\",\r\n    \"role_title\": \"doctor\",\r\n    \"specialist\": \"صدر و جهاز تنفسي\",\r\n    \"work_days\":\"dsje\"\r\n  }\r\n}"},"url":"http://127.0.0.1:3001/api/book/my-bookings","urlObject":{"protocol":"http","port":"3001","path":["api","book","my-bookings"],"host":["127","0","0","1"],"query":[{"disabled":true,"key":"date","value":"2026-02-15"}],"variable":[]}},"response":[],"_postman_id":"633c1a19-c003-480e-9116-b0b778d5a4cd"},{"name":"get clinic Bookings","id":"8d2a8bd9-385a-4842-899e-68e34758b25b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://127.0.0.1:3001/api/book/clinic-bookings","urlObject":{"protocol":"http","port":"3001","path":["api","book","clinic-bookings"],"host":["127","0","0","1"],"query":[{"disabled":true,"key":"date","value":"2026-02-15"}],"variable":[]}},"response":[],"_postman_id":"8d2a8bd9-385a-4842-899e-68e34758b25b"},{"name":"get Available Slots","id":"813d6def-bad4-45e6-9b9c-09f4767a7d46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://127.0.0.1:3001/api/book/slots?doctor_id=2&booking_date=2026-02-22","urlObject":{"protocol":"http","port":"3001","path":["api","book","slots"],"host":["127","0","0","1"],"query":[{"key":"doctor_id","value":"2"},{"key":"booking_date","value":"2026-02-22"}],"variable":[]}},"response":[],"_postman_id":"813d6def-bad4-45e6-9b9c-09f4767a7d46"},{"name":"cancel booking","id":"4c7a9464-3659-41ba-8a39-aa4f8cd091a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[],"url":"http://127.0.0.1:3001/api/book/17/cancel","urlObject":{"protocol":"http","port":"3001","path":["api","book","17","cancel"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c7a9464-3659-41ba-8a39-aa4f8cd091a4"},{"name":"cancel clinic bookings","id":"951313e9-fb7e-4989-bc27-64917b91af21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"http://127.0.0.1:3001/api/book/clinic-bookings/2/cancel","urlObject":{"protocol":"http","port":"3001","path":["api","book","clinic-bookings","2","cancel"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"951313e9-fb7e-4989-bc27-64917b91af21"}],"id":"26d828ed-7db4-4b2f-aba5-fe9cd8e25ba7","_postman_id":"26d828ed-7db4-4b2f-aba5-fe9cd8e25ba7","description":""},{"name":"Ratings","item":[{"name":"get doctor ratings","id":"d71d1949-af2b-4ce2-b243-93a623a06096","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3001/api/ratings/doctor/2","urlObject":{"protocol":"http","port":"3001","path":["api","ratings","doctor","2"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d71d1949-af2b-4ce2-b243-93a623a06096"},{"name":"get clinic ratings","id":"7d43a989-de6c-4989-a34e-ea841532ba0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3001/api/ratings/clinic/1","urlObject":{"protocol":"http","port":"3001","path":["api","ratings","clinic","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d43a989-de6c-4989-a34e-ea841532ba0a"},{"name":"rate doctor","id":"6fb90663-b757-4fa4-b729-06b3840c59b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"rating\":4,\r\n  \"comment\":\"bad\"  \r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/api/ratings/doctor/2","urlObject":{"protocol":"http","port":"3001","path":["api","ratings","doctor","2"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6fb90663-b757-4fa4-b729-06b3840c59b9"},{"name":"rate clinic","id":"af8fbb2a-d0de-427c-9313-7544c7ab107c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"rating\":5,\r\n  \"comment\":\"good\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/api/ratings/clinic/1","urlObject":{"protocol":"http","port":"3001","path":["api","ratings","clinic","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"af8fbb2a-d0de-427c-9313-7544c7ab107c"}],"id":"0dd6e2f7-6955-4d8e-9836-b07fdb0de5b3","_postman_id":"0dd6e2f7-6955-4d8e-9836-b07fdb0de5b3","description":""},{"name":"Prescriptions","item":[{"name":"request Prescription Access","id":"7359a8b2-ac89-470b-a082-933cc09fbcd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/api/prescriptions/bookings/3/request-access","urlObject":{"protocol":"http","port":"3001","path":["api","prescriptions","bookings","3","request-access"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"7359a8b2-ac89-470b-a082-933cc09fbcd2"},{"name":"respond To Prescription Access","id":"d6665a07-d777-4817-a95e-477c161bb97c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"action\":\"accept\"\r\n}\r\n\r\n// {\r\n//     \"action\":\"reject\"\r\n// }","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/api/prescriptions/bookings/3/access","urlObject":{"protocol":"http","port":"3001","path":["api","prescriptions","bookings","3","access"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d6665a07-d777-4817-a95e-477c161bb97c"},{"name":"create Prescription","id":"34e57299-f7e1-45eb-80e9-f36faae15e32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"patient_age\": 33,\r\n  \"diagnosis\": \"Upper respiratory infection +\",\r\n  \"medication_name\": \"Amoxicillin +\",\r\n  \"dose\": \"500mg\",\r\n  \"duration\": \"5 days\",\r\n  \"notes\": \"Take after meals +\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:3001/api/prescriptions/bookings/4","urlObject":{"protocol":"http","port":"3001","path":["api","prescriptions","bookings","4"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"34e57299-f7e1-45eb-80e9-f36faae15e32"},{"name":"get My Prescriptions","id":"43cf4651-0659-48e9-99f8-4f6e1072464d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"diagnosis\": \"Upper respiratory infection\",\r\n  \"medication_name\": \"Amoxicillin\",\r\n  \"dose\": \"500mg\",\r\n  \"duration\": \"7 days\",\r\n  \"notes\": \"Take after meals\"\r\n}\r\n"},"url":"http://127.0.0.1:3001/api/prescriptions/my-prescriptions","urlObject":{"protocol":"http","port":"3001","path":["api","prescriptions","my-prescriptions"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"43cf4651-0659-48e9-99f8-4f6e1072464d"},{"name":"get Prescription By Id","id":"1327ca25-cd78-4df7-bc1e-66990e15bf1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3001/api/prescriptions/3","urlObject":{"protocol":"http","port":"3001","path":["api","prescriptions","3"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1327ca25-cd78-4df7-bc1e-66990e15bf1e"}],"id":"97fb6fa4-b203-412d-9a18-9496fcf7f4d8","_postman_id":"97fb6fa4-b203-412d-9a18-9496fcf7f4d8","description":""}],"event":[{"listen":"prerequest","script":{"id":"04a14a00-52d5-4498-8dd5-71e046963ba5","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"0cf923b0-b98e-45f4-b109-f0e2cb1383c6","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}]}