{"info":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","description":"<html><head></head><body><h2 id=\"intro\">Intro</h2>\n<p>The MD Integrations API is a set of HTTP endpoints that help your app integrate with MD Integrations.</p>\n<p>The API is integrated with <a href=\"https://www.dosespot.com/\">DoseSpot</a>, an e-Prescribing system. Our API acts as proxy to DoseSpot: all the required actions on DoseSpot side are handled under the hood by our API.</p>\n<p><a href=\"https://drive.google.com/file/d/13CSUQsgAbcIETjONdjBhCrjCzitDdRfe/view?usp=sharing\"><img src=\"https://content.pstmn.io/57c857b0-3dde-465d-97a7-9ced5b163726/dmlkZW8tcGxhY2Vob2xkZXIuanBn\"></a></p>\n<p><strong>##</strong> Base URL</p>\n<ul>\n<li><a href=\"https://api.mdintegrations.com\">https://api.mdintegrations.com</a></li>\n</ul>\n<h2 id=\"request-and-response-formats\">Request and Response Formats</h2>\n<p>All API access is over HTTPS. All data is sent and received as JSON.</p>\n<h2 id=\"headers\">Headers</h2>\n<p>Please note that all requests require at least these two headers:</p>\n<p>Content-Type: application/json</p>\n<p>Accept: application/json</p>\n<h2 id=\"api-errors\">API Errors</h2>\n<h4 id=\"error-codes\">Error Codes</h4>\n<p>The following table describes all the possible HTTP error codes.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td>Bad request</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthorized. This can happen if the access token is invalid, expired or has been revoked</td>\n</tr>\n<tr>\n<td>403</td>\n<td>The access token doesn't have access to perform the requested action</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Resource not found</td>\n</tr>\n<tr>\n<td>418</td>\n<td>API under maintenance</td>\n</tr>\n<tr>\n<td>5XX</td>\n<td>An error occurred on the MD Integrations servers. Check MD Integrations Status API for more details or contact the support team</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"error-format\">Error Format</h4>\n<p>The following table describes the top-level JSON object attributes present in the body of error messages.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>key</th>\n<th>value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>error</td>\n<td>A detailed error message * <em>on production this field is not returned</em></td>\n</tr>\n<tr>\n<td>message</td>\n<td>Friendly error message. This error message can be used to be displayed to the final user on the app</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"authentication\">Authentication</h2>\n<p>To make any request to the MD Integrations API for Partners, you must first generate a<br>brand new <code>access token</code> using your <strong>Client ID</strong> and <strong>Client Secret</strong>.</p>\n<p>Both the <strong>Client ID</strong> and <strong>Client Secret</strong> should be provided to you by the MD Integrations Team.</p>\n<blockquote>\n<p>⚠️ Be careful with the Client Secret! It should not be shared and should be kept safe. </p>\n</blockquote>\n<h2 id=\"issuing-an-access-token\">Issuing an access token</h2>\n<p>The expected flow is shown in the image below:</p>\n<img src=\"https://developer.ebay.com/api-docs/res/resources/images/ebay-rest/client_credentials_650x449.png\">\n\n<p><a href=\"https://developer.ebay.com/api-docs/static/oauth-client-credentials-grant.html\"><i>Image source</i></a></p>\n<p>As our authorization API you should use the <strong>Partners &gt; Request access token</strong> endpoint - see it's description for more details.</p>\n<p>After you've created a new access token, you should be ready to make authenticated requests using the HTTP <code>Authorization</code> header with the value <code>Bearer</code> . E.g.:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-http\">GET /partner HTTP/1.1\n...\nAuthorization: Bearer eyJ0eXAiOiJKV1Q...\n\n</code></pre>\n<h2 id=\"expired-tokens\">Expired tokens</h2>\n<p>Whenever your token gets expired, you should create a brand new token using the same flow described above.</p>\n<h2 id=\"terminology\">Terminology</h2>\n<ul>\n<li><p><strong>patient</strong>: person in need of treatment by a physician;</p>\n</li>\n<li><p><strong>clinician</strong>: a qualified practitioner of medicine. Alias to MD, doctor and physician;</p>\n</li>\n<li><p><strong>partner</strong>: a partner is a company who sells medications and compounds directly to its patients;</p>\n</li>\n<li><p><strong>medication</strong>: a substance used for medical treatment, especially a medicine or drug, regularly made by pharmaceutical companies;</p>\n</li>\n<li><p><strong>compound</strong>: drug that is specifically mixed and prepared for an individual patient, meaning they are not readily available like a regular OTC medication;</p>\n</li>\n<li><p><strong>prescription</strong>: an instruction written by a clinician that authorizes a patient to be provided by a medication;</p>\n</li>\n<li><p><strong>case</strong>: set of medication prescriptions requests that the partner sends to MD-Integrations on behalf of a patient.</p>\n</li>\n</ul>\n<h2 id=\"contact-support\">Contact Support</h2>\n<ul>\n<li>Email: <a href=\"https://mailto:support@mdintegrations.com\">support@mdintegrations.com</a></li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14212272","collectionId":"69395158-7d05-487b-adea-421ba5bf18d2","publishedId":"2s8Yt1r9B8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-11-10T18:04:13.000Z"},"item":[{"name":"Partners","item":[{"name":"Metadata","item":[{"name":"States","item":[{"name":"Cities","item":[{"name":"Get cities from a given state","id":"817e6a0e-56a6-490d-8178-6893cee6bdac","protocolProfileBehavior":{"disabledSystemHeaders":{"accept":true},"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/metadata/states/:state_id/cities?search=Denver","description":"<p>Return a list of all cities from a given state from USA.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["v1","partner","metadata","states",":state_id","cities"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>City name filter</p>\n","type":"text/plain"},"key":"search","value":"Denver"}],"variable":[{"id":"ecd7c363-c323-4252-9404-84a71359f864","description":{"content":"<p>(Required) State ID</p>\n","type":"text/plain"},"type":"any","value":"6e54313e-2e7e-4716-b343-169441b5388c","key":"state_id"}]}},"response":[{"id":"c5df2980-d57f-4cd7-9184-606c3d54616a","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/metadata/states/:state_id/cities?search=Arcadia","host":["https://api.mdintegrations.com/v1"],"path":["partner","metadata","states",":state_id","cities"],"query":[{"key":"search","value":"Arcadia","description":"City name filter"}],"variable":[{"key":"state_id","value":"15c79e96-3095-4346-b390-224ccd1ab947","description":"(Required) State ID"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"Leetonia\",\n        \"city_id\": \"3f23c4f1-3ed2-4e6d-bd91-ba6bf5130f00\"\n    },\n    {\n        \"name\": \"Payne\",\n        \"city_id\": \"05c995b6-2002-406c-b2e0-e21e2d25e9a0\"\n    }\n]"}],"_postman_id":"817e6a0e-56a6-490d-8178-6893cee6bdac"}],"id":"8079bcc7-1884-41fc-940d-d6957ba58b1d","_postman_id":"8079bcc7-1884-41fc-940d-d6957ba58b1d","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Get all states","id":"7a1c2ee5-4d37-4941-8efd-c16f23627699","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/metadata/states","description":"<p>Return a list of all states from USA.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["v1","partner","metadata","states"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"search","value":"California"}],"variable":[]}},"response":[{"id":"aa30f5bf-eb9c-41e3-96e7-4a0c7da8e1cb","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/metadata/states?search=California","host":["https://api.mdintegrations.com/v1"],"path":["partner","metadata","states"],"query":[{"key":"search","value":"California","description":"State name filter"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"Ohio\",\n        \"abbreviation\": \"OH\",\n        \"is_sync\": false,\n        \"is_av_flow\": false,\n        \"state_id\": \"46238293-fe51-40b6-8e1a-807bff482450\",\n        \"country\": {\n            \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n            \"name\": \"United States of America\",\n            \"abbreviation\": \"US\"\n        }\n    },\n    {\n        \"name\": \"Pennsylvania\",\n        \"abbreviation\": \"PA\",\n        \"is_sync\": false,\n        \"is_av_flow\": false,\n        \"state_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n        \"country\": {\n            \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n            \"name\": \"United States of America\",\n            \"abbreviation\": \"US\"\n        }\n    }\n]"}],"_postman_id":"7a1c2ee5-4d37-4941-8efd-c16f23627699"}],"id":"38c86e3b-d18e-45ef-92a4-629097f96c2a","_postman_id":"38c86e3b-d18e-45ef-92a4-629097f96c2a","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Diseases","item":[{"name":"Get all Disease Codes","id":"cdce5ce5-da6f-4fa9-a0dc-2ae3ddd6ca09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/metadata/diseases","description":"<p>Return a list of all diseases codes.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","metadata","diseases"],"host":["https://api.mdintegrations.com/v1"],"query":[{"disabled":true,"key":"description","value":"Psychotic symptoms in dementia"},{"disabled":true,"key":"icd","value":"6D86.0"},{"disabled":true,"key":"page","value":"3"},{"disabled":true,"key":"per_page","value":"100"}],"variable":[]}},"response":[{"id":"550e0efa-86bc-40ad-ae3b-e8b9f781b419","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/metadata/states?search=California","host":["https://api.mdintegrations.com/v1"],"path":["partner","metadata","states"],"query":[{"key":"search","value":"California","description":"State name filter"}]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"disease_id\": \"82cc9a95-6926-41a8-8776-90871783df96\",\n            \"icd\": \"1A00\",\n            \"description\": \"Cholera\"\n        },\n        {\n            \"disease_id\": \"f915136a-c777-430a-ba95-65a134dbda0b\",\n            \"icd\": \"1A01\",\n            \"description\": \"Intestinal infection due to other Vibrio\"\n        },\n        {\n            \"disease_id\": \"6572aaff-0f8d-495f-b972-3b24073f6d9c\",\n            \"icd\": \"1A02\",\n            \"description\": \"Intestinal infections due to Shigella\"\n        },\n        {\n            \"disease_id\": \"d08c300e-9391-4396-b489-b2e3fa711348\",\n            \"icd\": \"1A03\",\n            \"description\": \"Intestinal infections due to Escherichia coli\"\n        },\n        {\n            \"disease_id\": \"a82b63a8-4375-4eaa-b82e-10a98740d81f\",\n            \"icd\": \"1A03.0\",\n            \"description\": \"Enteropathogenic Escherichia coli infection\"\n        },\n        {\n            \"disease_id\": \"174e1411-6272-4a45-8025-e830b1e54e68\",\n            \"icd\": \"1A03.1\",\n            \"description\": \"Enterotoxigenic Escherichia coli infection\"\n        },\n        {\n            \"disease_id\": \"edec57c9-39f3-4f1d-b491-3ea486a06441\",\n            \"icd\": \"1A03.2\",\n            \"description\": \"Enteroinvasive Escherichia coli infection\"\n        },\n        {\n            \"disease_id\": \"1c42e152-5b8f-41e8-80bf-273e9ec8eaf7\",\n            \"icd\": \"1A03.3\",\n            \"description\": \"Enterohaemorrhagic Escherichia coli infection\"\n        },\n        {\n            \"disease_id\": \"415dd9d2-94d9-4a90-abe3-c345502fd734\",\n            \"icd\": \"1A03.Y\",\n            \"description\": \"Intestinal infections due to other specified Escherichia coli\"\n        },\n        {\n            \"disease_id\": \"3456a088-9bfd-41ee-b068-96233f72da41\",\n            \"icd\": \"1A03.Z\",\n            \"description\": \"Intestinal infections due to Escherichia coli, unspecified\"\n        },\n        {\n            \"disease_id\": \"1bd4ab5e-f489-455e-8511-d722a7c737cc\",\n            \"icd\": \"1A04\",\n            \"description\": \"Intestinal infections due to Clostridioides difficile\"\n        },\n        {\n            \"disease_id\": \"9a818e20-d1fd-4f4a-b886-77bae80f83da\",\n            \"icd\": \"1A05\",\n            \"description\": \"Intestinal infections due to Yersinia enterocolitica\"\n        },\n        {\n            \"disease_id\": \"b56fcee3-633b-4b70-bb51-0939d1204569\",\n            \"icd\": \"1A06\",\n            \"description\": \"Gastroenteritis due to Campylobacter\"\n        },\n        {\n            \"disease_id\": \"390e034e-9e66-4587-bbe3-e39a96050769\",\n            \"icd\": \"1A07\",\n            \"description\": \"Typhoid fever\"\n        },\n        {\n            \"disease_id\": \"cc6286a7-7e6e-47a6-9ee5-f20f616682f9\",\n            \"icd\": \"1A07.0\",\n            \"description\": \"Typhoid peritonitis\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=1\",\n        \"last\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=1960\",\n        \"prev\": null,\n        \"next\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=2\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1960,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=2\",\n                \"label\": \"2\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=3\",\n                \"label\": \"3\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=4\",\n                \"label\": \"4\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=5\",\n                \"label\": \"5\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=6\",\n                \"label\": \"6\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=7\",\n                \"label\": \"7\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=8\",\n                \"label\": \"8\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=9\",\n                \"label\": \"9\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=10\",\n                \"label\": \"10\",\n                \"active\": false\n            },\n            {\n                \"url\": null,\n                \"label\": \"...\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=1959\",\n                \"label\": \"1959\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=1960\",\n                \"label\": \"1960\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.localhost:8000/v1/partner/metadata/diseases?page=2\",\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://api.localhost:8000/v1/partner/metadata/diseases\",\n        \"per_page\": 15,\n        \"to\": 15,\n        \"total\": 29391\n    }\n}"}],"_postman_id":"cdce5ce5-da6f-4fa9-a0dc-2ae3ddd6ca09"},{"name":"Get diseases by ID","id":"34ddc72b-3eff-40ec-bd6b-9683fdf8e1a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/metadata/diseases/:disease_id","description":"<p>Return the disease data by its ID.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","metadata","diseases",":disease_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"5fdc8a3b-475a-4bf4-87e5-37e48c4bdab0","type":"any","value":"32f62f6e-32b7-4145-a375-15a2bd8b8dfa","key":"disease_id"}]}},"response":[{"id":"e7ad9fe5-b6ae-4fc6-9df6-50d54ec10a02","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/metadata/states?search=California","host":["https://api.mdintegrations.com/v1"],"path":["partner","metadata","states"],"query":[{"key":"search","value":"California","description":"State name filter"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\",\n    \"icd\": \"A000\",\n    \"description\": \"Cholera due to Vibrio cholerae 01, biovar cholerae\"\n}"}],"_postman_id":"34ddc72b-3eff-40ec-bd6b-9683fdf8e1a1"}],"id":"d6ed4c67-1919-4f58-8586-a71f1ac6d9c8","_postman_id":"d6ed4c67-1919-4f58-8586-a71f1ac6d9c8","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Get Cities and States from Zipcode","id":"8c97a618-000b-4dda-afca-5566d915932b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/metadata/zipcodes?search=47106","description":"<p>Returns Cities and State for each City that matches the Zipcode passed.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","metadata","zipcodes"],"host":["https://api.mdintegrations.com/v1"],"query":[{"key":"search","value":"47106"}],"variable":[]}},"response":[{"id":"36ce6225-d7b2-4aac-bd00-df2ff507abc9","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/metadata/zipcodes?search=47106","host":["https://api.mdintegrations.com/v1"],"path":["partner","metadata","zipcodes"],"query":[{"key":"search","value":"47106"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text","enabled":true}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"zipcode\": \"47106\",\n        \"city\": {\n            \"name\": \"Borden\",\n            \"city_id\": \"fffa8789-d375-479e-ba10-113968b337b2\",\n            \"state\": {\n                \"name\": \"Indiana\",\n                \"abbreviation\": \"IN\",\n                \"is_sync\": false,\n                \"is_av_flow\": false\n            }\n        }\n    }\n]"}],"_postman_id":"8c97a618-000b-4dda-afca-5566d915932b"},{"name":"Get all license types","id":"4a1ab05e-f97c-4f9d-8408-52c803a22cca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/metadata/license-types","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","metadata","license-types"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"8b9d122f-46e2-4354-846e-2ed508b16da1","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/metadata/license-types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"type\": \"npi\",\r\n        \"description\": \"National Provider Identifier\"\r\n    },\r\n    {\r\n        \"type\": \"dea\",\r\n        \"description\": \"DEA Registration Number\"\r\n    }\r\n]"}],"_postman_id":"4a1ab05e-f97c-4f9d-8408-52c803a22cca"}],"id":"f5c54963-e44e-4907-bb62-608fd4b54f94","_postman_id":"f5c54963-e44e-4907-bb62-608fd4b54f94","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Cases","item":[{"name":"Files","item":[{"name":"Update case files","id":"05b96d62-70f7-4bd5-bd83-32a7801aff2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"case_files\": [\n        \"71a8d737-05bd-53eb-9af5-5b4900947fa4\",\n        \"c2bc014b-81fd-1828-b3cf-2bfaf159054e\"\n    ]\n}"},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/files","description":"<p>Update cases files.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>case_files</td>\n<td>array(uuid)*</td>\n<td>Files ID to be attached to the case. The files must be uploaded before creating a case. To upload files check <strong>Partners &gt; Files</strong></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","files"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"098d17c3-26f7-44d6-b513-c7197a8ce111","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[{"id":"16772dfe-7427-4af8-9740-34772be00621","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/files","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","files"],"variable":[{"key":"case_id","value":"39c9524f-1723-492b-879e-75beaf5393aa","description":"(Required) Case ID"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"file_id\": \"1fff9ac9-c896-4145-9ea3-cdc152e82f2f\",\n        \"path\": \"partners/PeLGM0MiFDW5zIfLOTvYwyGeGVvLvflNOnQMOZo9.png\",\n        \"name\": \"face - left side\",\n        \"mime_type\": \"image/png\",\n        \"url\": \"http://api.localhost:8000/v1/files/1fff9ac9-c896-4145-9ea3-cdc152e82f2f/redirect?token=e4b6b7a54e94320c21ea5e87f8f6a2cc\",\n        \"url_thumbnail\": \"http://api.localhost:8000/v1/files/1fff9ac9-c896-4145-9ea3-cdc152e82f2f/redirect?thumbnail=1&token=e4b6b7a54e94320c21ea5e87f8f6a2cc\",\n        \"created_at\": \"2022-12-15T18:08:08.000000Z\"\n    }\n]"}],"_postman_id":"05b96d62-70f7-4bd5-bd83-32a7801aff2d"},{"name":"Attach a file to a case","id":"2d3226fd-d182-4561-bf30-658208021064","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/files/:file_id","description":"<p>Attach a file to a case.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","files",":file_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"ec992c92-c2ee-4abc-aea6-ba8561c5f2a0","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"id":"a18f2f39-2f5e-4980-8889-5c980de6bb35","description":{"content":"<p>(Required) File ID</p>\n","type":"text/plain"},"type":"any","value":"a909fbd2-e048-4a6e-ae40-daccd5cb4641","key":"file_id"}]}},"response":[{"id":"0e762fa6-9e8c-4828-b817-edc8226825a5","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/files/:file_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","files",":file_id"],"variable":[{"key":"case_id","value":"39c9524f-1723-492b-879e-75beaf5393aa","description":"(Required) Case ID"},{"key":"file_id","value":"a909fbd2-e048-4a6e-ae40-daccd5cb4641"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"file_id\": \"1fff9ac9-c896-4145-9ea3-cdc152e82f2f\",\n    \"path\": \"partners/PeLGM0MiFDW5zIfLOTvYwyGeGVvLvflNOnQMOZo9.png\",\n    \"name\": \"face - left side\",\n    \"mime_type\": \"image/png\",\n    \"url\": \"http://api.localhost:8000/v1/files/1fff9ac9-c896-4145-9ea3-cdc152e82f2f/redirect?token=e4b6b7a54e94320c21ea5e87f8f6a2cc\",\n    \"url_thumbnail\": \"http://api.localhost:8000/v1/files/1fff9ac9-c896-4145-9ea3-cdc152e82f2f/redirect?thumbnail=1&token=e4b6b7a54e94320c21ea5e87f8f6a2cc\",\n    \"created_at\": \"2022-12-15T18:08:08.000000Z\"\n}"}],"_postman_id":"2d3226fd-d182-4561-bf30-658208021064"},{"name":"Detach a file from a case","id":"9f68b2a5-c0f5-4f61-9f3d-9bffb6323563","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/files/:file_id","description":"<p>Attach a file to a case.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","files",":file_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"d9c750c8-9a52-4d65-9d3e-3938eab8aecb","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"id":"7abd758b-f0fe-47f7-887a-424fc2c8e490","description":{"content":"<p>(Required) File ID</p>\n","type":"text/plain"},"type":"any","value":"a909fbd2-e048-4a6e-ae40-daccd5cb4641","key":"file_id"}]}},"response":[{"id":"4e62a12e-e453-4a29-974f-bd860d49cd7f","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/files/:file_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","files",":file_id"],"variable":[{"key":"case_id","value":"39c9524f-1723-492b-879e-75beaf5393aa","description":"(Required) Case ID"},{"key":"file_id","value":"a909fbd2-e048-4a6e-ae40-daccd5cb4641","description":"(Required) FIle ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"9f68b2a5-c0f5-4f61-9f3d-9bffb6323563"},{"name":"Get case files","id":"18ace74d-fff4-4bfc-9a22-232bbd82bb3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/files","description":"<p>Returns a list of all attached files to the case.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","files"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"c83925d3-d23a-4a58-970c-678bcd3e3855","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[{"id":"16579b0f-9d21-49ac-b60d-1f42eae42805","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/files","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","files"],"variable":[{"key":"case_id","value":"39c9524f-1723-492b-879e-75beaf5393aa","description":"(Required) Case ID"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"file_id\": \"1fff9ac9-c896-4145-9ea3-cdc152e82f2f\",\n        \"path\": \"partners/PeLGM0MiFDW5zIfLOTvYwyGeGVvLvflNOnQMOZo9.png\",\n        \"name\": \"face - left side\",\n        \"mime_type\": \"image/png\",\n        \"url\": \"http://api.localhost:8000/v1/files/1fff9ac9-c896-4145-9ea3-cdc152e82f2f/redirect?token=e4b6b7a54e94320c21ea5e87f8f6a2cc\",\n        \"url_thumbnail\": \"http://api.localhost:8000/v1/files/1fff9ac9-c896-4145-9ea3-cdc152e82f2f/redirect?thumbnail=1&token=e4b6b7a54e94320c21ea5e87f8f6a2cc\",\n        \"created_at\": \"2022-12-15T18:08:08.000000Z\"\n    }\n]"}],"_postman_id":"18ace74d-fff4-4bfc-9a22-232bbd82bb3a"}],"id":"71d20bed-4cbc-4a43-b19b-1787ca7a4cc4","_postman_id":"71d20bed-4cbc-4a43-b19b-1787ca7a4cc4","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Events","item":[{"name":"Get case events","id":"b7a77057-796d-4519-9711-308462ea133b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/events?page=1&per_page=50","description":"<p>Returns a list of events related to the case.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","events"],"host":["https://api.mdintegrations.com/v1"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"50"}],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[{"id":"df5202b6-498f-46a6-9a72-776abff86ebb","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/events","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","events"],"variable":[{"key":"case_id","value":"39c9524f-1723-492b-879e-75beaf5393aa","description":"(Required) Case ID"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"event_id\": \"093fecd6-b7e3-4b30-8a26-3cb3c728d592\",\n        \"date_time\": \"2022-08-25T21:33:51.000000Z\",\n        \"model\": \"casemodel\",\n        \"type\": \"viewed\",\n        \"by_model\": \"clinician\",\n        \"by\": \"John Snow\",\n        \"title\": \"Viewed by Clinician\"\n    }\n]"}],"_postman_id":"b7a77057-796d-4519-9711-308462ea133b"}],"id":"c2ffb623-9825-412f-87c2-76522397c9ce","_postman_id":"c2ffb623-9825-412f-87c2-76522397c9ce","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Offerings","item":[{"name":"Diseases","item":[{"name":"Get case diseases","id":"c2342ccf-4b4d-4635-8c27-f069d59ceafe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/:offering/diseases","description":"<p>List all diseases for a given case prescription/offering ID.</p>\n","urlObject":{"path":["v1","clinician","cases",":case_id","offerings",":offering","diseases"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"aba12524-cf64-45f2-8e7e-fe6fc23c6ba9","type":"any","value":"177ad982-7495-48c8-b78e-86eec4b6a585","key":"case_id"},{"id":"8a43912d-a9f1-46ac-9508-41c06f6b6488","type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"offering"}]}},"response":[{"id":"588689c3-4899-4b91-87be-7586eec10bea","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/services","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","services"],"variable":[{"key":"case_id","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\",\r\n        \"icd\": \"A000\",\r\n        \"description\": \"Cholera due to Vibrio cholerae 01, biovar cholerae\",\r\n        \"is_primary\": true\r\n    },\r\n    {\r\n        \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\",\r\n        \"icd\": \"A001\",\r\n        \"description\": \"Cholera due to Vibrio 02\",\r\n        \"is_primary\": false\r\n    }\r\n]"}],"_postman_id":"c2342ccf-4b4d-4635-8c27-f069d59ceafe"},{"name":"Delete diseases","id":"ffaa0bbd-5d94-490d-8790-fde73371fc0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/:offering/diseases/:disease_id","description":"<p>Delete disease from a case prescription/offering.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings",":offering","diseases",":disease_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7f7f5d21-9e2c-4e44-a0fb-ca9e6f8b2ac5","type":"any","value":"177ad982-7495-48c8-b78e-86eec4b6a585","key":"case_id"},{"id":"2b1da425-2b2a-4fd1-bd92-409753be2411","type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"offering"},{"id":"d4e1d0e9-bd22-49e5-ba30-c82e99339996","type":"any","value":"0b333a71-8e31-4b5d-834c-27f724ac14ff","key":"disease_id"}]}},"response":[{"id":"b3eb436c-1e61-49be-b65d-c3fba2369332","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/diseases/:disease_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","diseases",":disease_id"],"variable":[{"key":"case_id","value":null},{"key":"disease_id","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\",\r\n        \"icd\": \"A000\",\r\n        \"description\": \"Cholera due to Vibrio cholerae 01, biovar cholerae\",\r\n        \"is_primary\": true\r\n    },\r\n    {\r\n        \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\",\r\n        \"icd\": \"A001\",\r\n        \"description\": \"Cholera due to Vibrio 02\",\r\n        \"is_primary\": false\r\n    }\r\n]"}],"_postman_id":"ffaa0bbd-5d94-490d-8790-fde73371fc0f"},{"name":"Attach new diseases","id":"4aefe77d-03f5-4f80-b0ca-5c7400405cf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"disease_id\": \"0b333a71-8e31-4b5d-834c-27f724ac14ff\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/:offering/diseases","description":"<p>Post a disease to the case prescription/offering.</p>\n<h1 id=\"payload\">Payload</h1>\n<p>Note: Use the \"Get all Disease Codes\" endpoint under the metadata folder to find a list of all availables UUID to be used. Once you know a disease id, you can also retrieve its information through the API using the Get Disease route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>disease_id</td>\n<td>UUID (<strong>required)</strong></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings",":offering","diseases"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2f29b4f9-4b51-426a-a469-5aa6a365abac","type":"any","value":"a6ae207c-fb6f-45f7-9752-6f85c839b5f6","key":"case_id"},{"id":"7eb3b506-cb56-4dc6-8e75-9f8187ec2da9","type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"offering"}]}},"response":[{"id":"0893a198-530c-490f-9df0-b21e2120f270","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/diseases","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","diseases"],"variable":[{"key":"case_id","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\",\r\n        \"icd\": \"A000\",\r\n        \"description\": \"Cholera due to Vibrio cholerae 01, biovar cholerae\",\r\n        \"is_primary\": true\r\n    },\r\n    {\r\n        \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\",\r\n        \"icd\": \"A001\",\r\n        \"description\": \"Cholera due to Vibrio 02\",\r\n        \"is_primary\": false\r\n    }\r\n]"}],"_postman_id":"4aefe77d-03f5-4f80-b0ca-5c7400405cf5"},{"name":"Set primary disease","id":"41a33dde-06a4-4409-bd60-5b1162c166ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/:offering/diseases/:disease_id/primary","description":"<p>Set a case prescription/offering disease as primary to be sent to Dosespot.</p>\n","urlObject":{"path":["v1","clinician","cases",":case_id","offerings",":offering","diseases",":disease_id","primary"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6f7dba9c-9098-4734-9fb7-10034ebc8e31","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"177ad982-7495-48c8-b78e-86eec4b6a585","key":"case_id"},{"id":"6b2baaf7-0c10-4f2d-a73e-55ba561df5a8","type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"offering"},{"id":"0e5ca35c-5a5d-4f60-adfa-6a8920fcf25e","description":{"content":"<p>Disease ID</p>\n","type":"text/plain"},"type":"any","value":"28932569-d923-4d47-ae0f-8e0ef1978a70","key":"disease_id"}]}},"response":[],"_postman_id":"41a33dde-06a4-4409-bd60-5b1162c166ed"}],"id":"f5a32fb0-09d4-4b9a-986d-f0335b030d82","_postman_id":"f5a32fb0-09d4-4b9a-986d-f0335b030d82","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Delete case offering","id":"4f856c76-f778-4b55-b0df-8d5072ae64a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/offerings/:offering_id","description":"<p>Delete a specific case offering.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","offerings",":offering_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"86336ac7-210c-49d5-a8d2-df54d1cdd9cc","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"id":"8a3856d5-095d-42b7-a3df-a2360ead12a2","type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"offering_id"}]}},"response":[{"id":"ba8b39cd-7b88-42ba-94c1-01957795dae7","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/offerings/:offering_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","offerings",":offering_id"],"variable":[{"key":"case_id","value":"39c9524f-1723-492b-879e-75beaf5393aa","description":"(Required) Case ID"},{"key":"offering_id","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","description":"(Required) Offering ID"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"case_prescription_id\": \"4564bd63-eb14-4d2f-b95b-1dfd31d6d801\",\n        \"title\": \"Title example\",\n        \"is_additional_approval_needed\": true,\n        \"name\": \"Name example\",\n        \"dosespot_prescription_id\": null,\n        \"effective_date\": \"2023-05-10\",\n        \"status\": \"pending\",\n        \"prescription_status_details\": \"Prescription delivery verified\",\n        \"refills\": 15,\n        \"quantity\": 1779333.59,\n        \"days_supply\": 87,\n        \"no_substitutions\": true,\n        \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n        \"thank_you_note\": \"Lorem ipsum\",\n        \"clinical_note\": \"Lorem ipsum\",\n        \"directions\": \"Maxime sed voluptate autem pariatur sed quasi.\",\n        \"dispense_unit_id\": 73,\n        \"pharmacy_id\": 76,\n        \"pharmacy_name\": \"White Oak Pharmacy\",\n        \"medication\": null,\n        \"partner_compound\": {\n            \"partner_compound_id\": \"57e6b905-2c69-40e5-9c69-56c7e8b6a76f\",\n            \"title\": \"Clindamycin\",\n            \"metadata\": \"Lorem ipum\"\n        }\n    }\n]"}],"_postman_id":"4f856c76-f778-4b55-b0df-8d5072ae64a1"},{"name":"Update case offerings statuses","id":"07066519-788b-42b4-a419-5a95a3d115f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/offerings/status","description":"<p>Update cases offerings statuses.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","offerings","status"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"39fec151-4b46-4d06-a820-c8fa4275271b","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[{"id":"eb12dde9-3db0-48c5-8764-7d7c43a1f498","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/offerings/status","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","offerings","status"],"variable":[{"key":"case_id","value":"39c9524f-1723-492b-879e-75beaf5393aa","description":"(Required) Case ID"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"case_prescription_id\": \"4564bd63-eb14-4d2f-b95b-1dfd31d6d801\",\n        \"title\": \"Title example\",\n        \"is_additional_approval_needed\": true,\n        \"name\": \"Name example\",\n        \"dosespot_prescription_id\": null,\n        \"status\": \"pending\",\n        \"prescription_status_details\": \"Prescription delivery verified\",\n        \"refills\": 15,\n        \"order\": 1,\n        \"quantity\": 1779333.59,\n        \"days_supply\": 87,\n        \"no_substitutions\": true,\n        \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n        \"thank_you_note\": \"Lorem ipsum\",\n        \"clinical_note\": \"Lorem ipsum\",\n        \"directions\": \"Maxime sed voluptate autem pariatur sed quasi.\",\n        \"dispense_unit_id\": 73,\n        \"pharmacy_id\": 76,\n        \"pharmacy_name\": \"White Oak Pharmacy\",\n        \"medication\": null,\n        \"partner_compound\": {\n            \"partner_compound_id\": \"57e6b905-2c69-40e5-9c69-56c7e8b6a76f\",\n            \"title\": \"Clindamycin\",\n            \"name\": \"Clindamycin\",\n            \"metadata\": \"Lorem ipum\"\n        }\n    },\n    {\n        \"dosespot_prescription_id\": null,\n        \"title\": \"Title example\",\n        \"name\": \"Name example\",\n        \"status\": \"pending\",\n        \"prescription_status_details\": \"Prescription delivery verified\",\n        \"refills\": 15,\n        \"order\": 2,\n        \"quantity\": \"92442.271\",\n        \"days_supply\": 87,\n        \"no_substitutions\": true,\n        \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n        \"thank_you_note\": \"Lorem ipsum\",\n        \"clinical_note\": \"Lorem ipsum\",\n        \"directions\": \"Maxime sed voluptate autem pariatur sed quasi.\",\n        \"dispense_unit_id\": 73,\n        \"pharmacy_id\": 76,\n        \"pharmacy_name\": \"White Oak Pharmacy\",\n        \"medication\": {\n            \"dosespot_medication_id\": \"1495316\",\n            \"dispense_unit_id\": 26,\n            \"dose_form\": \"tablet\",\n            \"route\": \"sublingual\",\n            \"strength\": \"2800 BAU\",\n            \"generic_product_name\": \"timothy grass pollen allergen extract 2800 BAU sublingual tablet\",\n            \"lexi_gen_product_id\": 29589,\n            \"lexi_drug_syn_id\": 219792,\n            \"lexi_synonym_type_id\": 60,\n            \"lexi_gen_drug_id\": \"d08256\",\n            \"rx_cui\": \"1495316\",\n            \"otc\": false,\n            \"ndc\": \"52709150103\",\n            \"schedule\": \"0\",\n            \"display_name\": \"Grastek 2800 BAU sublingual tablet\",\n            \"monograph_path\": null,\n            \"drug_classification\": \"allergenics\",\n            \"state_schedules\": [],\n            \"metadata\": \"Lorem ipum\",\n            \"partner_medication_id\": \"29394cf1-379d-4767-abc0-982343980646\",\n            \"title\": \"tim grass\"\n        },\n        \"partner_compound\": null\n    },\n    {\n        \"dosespot_prescription_id\": null,\n        \"title\": \"Title example\",\n        \"name\": \"Name example\",\n        \"status\": \"pending\",\n        \"prescription_status_details\": \"Prescription delivery verified\",\n        \"refills\": 15,\n        \"order\": 3,\n        \"quantity\": \"92442.271\",\n        \"days_supply\": 87,\n        \"no_substitutions\": true,\n        \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n        \"thank_you_note\": \"Lorem ipsum\",\n        \"clinical_note\": \"Lorem ipsum\",\n        \"directions\": \"Maxime sed voluptate autem pariatur sed quasi.\",\n        \"dispense_unit_id\": 73,\n        \"pharmacy_id\": 76,\n        \"medication\": null,\n        \"partner_compound\": null,\n        \"partner_supply\": {\n            \"ndc\": \"83490044052\",\n            \"name\": \"Mask Vortex Miscellaneous\",\n            \"active\": true,\n            \"refills\": 1,\n            \"metadata\": \"teste metadata\",\n            \"quantity\": 1,\n            \"supply_id\": 13279,\n            \"directions\": \"test\",\n            \"days_supply\": null,\n            \"pharmacy_id\": \"13012\",\n            \"rx_required\": false,\n            \"clinical_note\": null,\n            \"dispense_unit\": \"Film\",\n            \"pharmacy_name\": \"Curexa\",\n            \"pharmacy_notes\": null,\n            \"thank_you_note\": null,\n            \"dispense_unit_id\": \"52\",\n            \"partner_supply_id\": \"1415fa7f-af2e-4d56-81e0-a4bef15b7c51\"\n        }\n    }\n]"}],"_postman_id":"07066519-788b-42b4-a419-5a95a3d115f0"},{"name":"Get case offerings","id":"61a5c388-94fb-4fd4-9471-ad4f83686837","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/offerings","description":"<p>Return all offerings for a given case ID.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","offerings"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"0c424c77-1f8f-47db-87ee-c5d6a105f992","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[{"id":"e9c3d69e-f366-49d5-b0c8-a8a41dc19210","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/offerings","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","offerings"],"variable":[{"key":"case_id","value":"39c9524f-1723-492b-879e-75beaf5393aa"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"da78172e-e253-4458-8bc2-6acbd34f28a6\",\n        \"case_offering_id\": \"da78172e-e253-4458-8bc2-6acbd34f28a6\",\n        \"title\": \"supply example\",\n        \"name\": \"supply example\",\n        \"directions\": \"directions\",\n        \"is_additional_approval_needed\": false,\n        \"thank_you_note\": \"Thank you!\",\n        \"clinical_note\": \"Notes from the MD.\",\n        \"status\": \"pending\",\n        \"status_details\": null,\n        \"order\": 1,\n        \"is_important\": false,\n        \"offerable_type\": \"App\\\\Models\\\\Offering\",\n        \"offerable_id\": \"19e21647-e5bf-4996-b9b4-154aab1963ad\",\n        \"order_status\": null,\n        \"order_date\": null,\n        \"order_details\": null,\n        \"order_updated\": null,\n        \"created_at\": \"2025-05-29T22:06:08.000000Z\",\n        \"updated_at\": \"2025-05-29T22:06:08.000000Z\",\n        \"deleted_at\": null,\n        \"product\": {\n            \"id\": \"dfa4b67d-afe1-46b7-acfe-7c6c4d11abd8\",\n            \"ndc\": null,\n            \"otc\": null,\n            \"upc\": null,\n            \"name\": \"supply example\",\n            \"title\": \"supply example\",\n            \"refills\": 1,\n            \"metadata\": null,\n            \"quantity\": \"2\",\n            \"created_at\": \"2025-04-25T13:44:53.000000Z\",\n            \"deleted_at\": null,\n            \"directions\": \"directions\",\n            \"updated_at\": \"2025-04-25T13:44:53.000000Z\",\n            \"days_supply\": null,\n            \"is_obsolete\": null,\n            \"pharmacy_id\": null,\n            \"dispense_unit\": \"Packet\",\n            \"pharmacy_name\": null,\n            \"effective_date\": null,\n            \"force_pharmacy\": false,\n            \"pharmacy_notes\": \"Notes for the parmacy.\",\n            \"dispense_unit_id\": 21,\n            \"dosespot_supply_id\": 21\n        },\n        \"product_id\": \"dfa4b67d-afe1-46b7-acfe-7c6c4d11abd8\",\n        \"product_type\": \"App\\\\Models\\\\DosespotSupply\"\n    },\n    {\n        \"id\": \"70dafa3e-63ab-4d7a-b7ec-bb9c005ff6e6\",\n        \"case_offering_id\": \"70dafa3e-63ab-4d7a-b7ec-bb9c005ff6e6\",\n        \"title\": \"compound example\",\n        \"name\": \"compound example\",\n        \"directions\": \"abc\",\n        \"is_additional_approval_needed\": false,\n        \"thank_you_note\": \"Thank you!\",\n        \"clinical_note\": \"Notes from the MD.\",\n        \"status\": \"pending\",\n        \"status_details\": null,\n        \"order\": 1,\n        \"is_important\": false,\n        \"offerable_type\": \"App\\\\Models\\\\Offering\",\n        \"offerable_id\": \"5ff1eae1-1566-4dd5-ad1a-457b105d59ac\",\n        \"order_status\": null,\n        \"order_date\": null,\n        \"order_details\": null,\n        \"order_updated\": null,\n        \"created_at\": \"2025-05-29T22:06:32.000000Z\",\n        \"updated_at\": \"2025-05-29T22:06:32.000000Z\",\n        \"deleted_at\": null,\n        \"product\": {\n            \"id\": \"227eeedb-3ad4-4b0a-adda-a09f4ba803c8\",\n            \"name\": \"compound example\",\n            \"title\": \"compound example\",\n            \"refills\": 1,\n            \"metadata\": null,\n            \"quantity\": \"2\",\n            \"created_at\": \"2025-04-25T13:12:48.000000Z\",\n            \"deleted_at\": null,\n            \"directions\": \"abc\",\n            \"updated_at\": \"2025-04-25T13:12:48.000000Z\",\n            \"days_supply\": null,\n            \"pharmacy_id\": null,\n            \"clinician_id\": null,\n            \"dispense_unit\": \"Packet\",\n            \"pharmacy_name\": null,\n            \"effective_date\": null,\n            \"force_pharmacy\": false,\n            \"pharmacy_notes\": \"Notes for the parmacy.\",\n            \"dispense_unit_id\": 21,\n            \"allow_substitutions\": true\n        },\n        \"product_id\": \"227eeedb-3ad4-4b0a-adda-a09f4ba803c8\",\n        \"product_type\": \"App\\\\Models\\\\DosespotCompound\"\n    }\n]"}],"_postman_id":"61a5c388-94fb-4fd4-9471-ad4f83686837"},{"name":"Update case offering","id":"df88ea5f-ef68-408b-87b2-c280d9738737","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"quantity\": 3,\n        \"directions\": \"One per day\",\n        \"day_supply\": 2\n    }\n}"},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/offerings/:offering_id","description":"<p>Update a specific case offering.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","offerings",":offering_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"50b87d74-acb0-4a41-96c1-69d8cd199675","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"id":"8fe392a3-686d-4986-8cbf-ecfe2fb1de63","type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"offering_id"}]}},"response":[{"id":"8162eee2-f2dd-4bea-9de3-2793e7f90a2b","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"order\": 1,\n    \"is_additional_approval_needed\": false,\n    \n    \"product\": {\n\n        // App\\\\Models\\\\DosespotSupply, App\\\\Models\\\\DosespotMedication, App\\\\Models\\\\DosespotCompound\n        \"refills\": 1,\n        \"days_supply\": 2,\n        \"quantity\": 3,\n        \"directions\": \"Take one per day.\",\n        \"dispense_unit_id\": 62,\n        \"pharmacy_id\": 100,\n        \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n        \"no_substitutions\": false,\n        \"effective_date\": \"2025-01-01\",\n        \"title\": \"Updated offering title\",\n\n        // App\\\\Models\\\\Service\n        \"title\": \"Updated service title\",\n        \"description\": \"Updated service description\",\n        \"additional_note\": \"Additional note for the service\",\n        \"clinical_notes\": \"Clinical notes for the service\",\n        \"thank_you_note\": \"Thank you note for the service\",\n        \"pharmacy_fax_number\": \"Pharmacy fax number\",\n        \"include_drivers_license\": true,\n        \"send_pdf_file_automatically\": true,\n        \"is_additional_approval_needed\": true,\n        \"service_type\": \"device\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/offerings/:offering_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","offerings",":offering_id"],"variable":[{"key":"case_id","value":"39c9524f-1723-492b-879e-75beaf5393aa","description":"(Required) Case ID"},{"key":"offering_id","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","description":"(Required) Offering ID"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"da78172e-e253-4458-8bc2-6acbd34f28a6\",\n        \"case_offering_id\": \"da78172e-e253-4458-8bc2-6acbd34f28a6\",\n        \"title\": \"supply example\",\n        \"name\": \"supply example\",\n        \"directions\": \"directions\",\n        \"is_additional_approval_needed\": false,\n        \"thank_you_note\": \"Thank you!\",\n        \"clinical_note\": \"Notes from the MD.\",\n        \"status\": \"pending\",\n        \"status_details\": null,\n        \"order\": 1,\n        \"is_important\": false,\n        \"offerable_type\": \"App\\\\Models\\\\Offering\",\n        \"offerable_id\": \"19e21647-e5bf-4996-b9b4-154aab1963ad\",\n        \"order_status\": null,\n        \"order_date\": null,\n        \"order_details\": null,\n        \"order_updated\": null,\n        \"created_at\": \"2025-05-29T22:06:08.000000Z\",\n        \"updated_at\": \"2025-05-29T22:06:08.000000Z\",\n        \"deleted_at\": null,\n        \"product\": {\n            \"id\": \"dfa4b67d-afe1-46b7-acfe-7c6c4d11abd8\",\n            \"ndc\": null,\n            \"otc\": null,\n            \"upc\": null,\n            \"name\": \"supply example\",\n            \"title\": \"supply example\",\n            \"refills\": 1,\n            \"metadata\": null,\n            \"quantity\": \"2\",\n            \"created_at\": \"2025-04-25T13:44:53.000000Z\",\n            \"deleted_at\": null,\n            \"directions\": \"directions\",\n            \"updated_at\": \"2025-04-25T13:44:53.000000Z\",\n            \"days_supply\": null,\n            \"is_obsolete\": null,\n            \"pharmacy_id\": null,\n            \"dispense_unit\": \"Packet\",\n            \"pharmacy_name\": null,\n            \"effective_date\": null,\n            \"force_pharmacy\": false,\n            \"pharmacy_notes\": \"Notes for the parmacy.\",\n            \"dispense_unit_id\": 21,\n            \"dosespot_supply_id\": 21\n        },\n        \"product_id\": \"dfa4b67d-afe1-46b7-acfe-7c6c4d11abd8\",\n        \"product_type\": \"App\\\\Models\\\\DosespotSupply\"\n    },\n    {\n        \"id\": \"70dafa3e-63ab-4d7a-b7ec-bb9c005ff6e6\",\n        \"case_offering_id\": \"70dafa3e-63ab-4d7a-b7ec-bb9c005ff6e6\",\n        \"title\": \"compound example\",\n        \"name\": \"compound example\",\n        \"directions\": \"abc\",\n        \"is_additional_approval_needed\": false,\n        \"thank_you_note\": \"Thank you!\",\n        \"clinical_note\": \"Notes from the MD.\",\n        \"status\": \"pending\",\n        \"status_details\": null,\n        \"order\": 1,\n        \"is_important\": false,\n        \"offerable_type\": \"App\\\\Models\\\\Offering\",\n        \"offerable_id\": \"5ff1eae1-1566-4dd5-ad1a-457b105d59ac\",\n        \"order_status\": null,\n        \"order_date\": null,\n        \"order_details\": null,\n        \"order_updated\": null,\n        \"created_at\": \"2025-05-29T22:06:32.000000Z\",\n        \"updated_at\": \"2025-05-29T22:06:32.000000Z\",\n        \"deleted_at\": null,\n        \"product\": {\n            \"id\": \"227eeedb-3ad4-4b0a-adda-a09f4ba803c8\",\n            \"name\": \"compound example\",\n            \"title\": \"compound example\",\n            \"refills\": 1,\n            \"metadata\": null,\n            \"quantity\": \"2\",\n            \"created_at\": \"2025-04-25T13:12:48.000000Z\",\n            \"deleted_at\": null,\n            \"directions\": \"abc\",\n            \"updated_at\": \"2025-04-25T13:12:48.000000Z\",\n            \"days_supply\": null,\n            \"pharmacy_id\": null,\n            \"clinician_id\": null,\n            \"dispense_unit\": \"Packet\",\n            \"pharmacy_name\": null,\n            \"effective_date\": null,\n            \"force_pharmacy\": false,\n            \"pharmacy_notes\": \"Notes for the parmacy.\",\n            \"dispense_unit_id\": 21,\n            \"allow_substitutions\": true\n        },\n        \"product_id\": \"227eeedb-3ad4-4b0a-adda-a09f4ba803c8\",\n        \"product_type\": \"App\\\\Models\\\\DosespotCompound\"\n    }\n]"}],"_postman_id":"df88ea5f-ef68-408b-87b2-c280d9738737"},{"name":"Create case offering","id":"6bc5c6aa-1805-4829-bb90-4384526da398","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"offering_id\": \"dbcc21c5-53d4-4da2-8cf6-7156563a035c\",\n    \"product\": {\n        \"name\": \"Semaglutide\",\n        \"sku\": \"1010\",\n        \"dispense_unit\": \"tablet\",\n        \"pharmacy_notes\": \"Notes for the parmacy.\",\n        \"quantity\": 4,\n        \"days_supply\": 2,\n        \"directions\": \"One per day.\"\n    }\n}\n"},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/offerings","description":"<p>Create a case offering.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","offerings"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[{"id":"efb164a7-72e7-444d-aec6-297eadcc3d97","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"dosespot_medication_id\": 310964,\n    \"refills\": 50,\n    \"quantity\": \"1779333.590\",\n    \"days_supply\": 47,\n    \"directions\": \"Voluptas corporis id maiores blanditiis. Minus iste nostrum vitae voluptas enim consequuntur aliquid. Maiores adipisci qui cum eum et. Accusamus id pariatur quo quibusdam.\",\n    \"partner_compound_id\": null,\n    \"dispense_unit_id\": 62,\n    \"pharmacy_id\": 79,\n    \"no_substitutions\": true,\n    \"pharmacy_notes\": \"This medication might not be suitable for people with... \"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/offerings","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","offerings"],"variable":[{"key":"case_id","value":"39c9524f-1723-492b-879e-75beaf5393aa","description":"(Required) Case ID"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"b0fe79cb-d766-4416-b997-92f3866fdc75\",\n    \"case_offering_id\": \"b0fe79cb-d766-4416-b997-92f3866fdc75\",\n    \"title\": \"supply title\",\n    \"name\": \"supply name\",\n    \"directions\": \"new directions\",\n    \"is_additional_approval_needed\": false,\n    \"thank_you_note\": \"Thank you!\",\n    \"clinical_note\": \"Notes from the MD.\",\n    \"status\": \"pending\",\n    \"status_details\": null,\n    \"order\": 1,\n    \"is_important\": false,\n    \"offerable_type\": \"App\\\\Models\\\\Offering\",\n    \"offerable_id\": \"211fa3d8-f257-47d4-8de3-1e39d8c8832a\",\n    \"order_status\": \"not-applicable\",\n    \"order_date\": null,\n    \"order_details\": null,\n    \"order_updated\": null,\n    \"created_at\": \"2025-06-10T12:57:45.000000Z\",\n    \"updated_at\": \"2025-06-10T12:57:45.000000Z\",\n    \"deleted_at\": null,\n    \"product\": {\n        \"id\": \"bdbf38f9-b85c-43b2-802a-81741581bc15\",\n        \"dosespot_supply_id\": 21,\n        \"name\": \"nme test\",\n        \"ndc\": null,\n        \"refills\": 3,\n        \"quantity\": \"8\",\n        \"days_supply\": null,\n        \"directions\": \"directions\",\n        \"pharmacy_name\": null,\n        \"pharmacy_id\": null,\n        \"dispense_unit\": \"Tablet\",\n        \"dispense_unit_id\": 26,\n        \"pharmacy_notes\": \"Notes for the parmacy.\",\n        \"metadata\": null,\n        \"created_at\": \"2025-04-25T13:48:52.000000Z\",\n        \"updated_at\": \"2025-04-25T13:52:59.000000Z\",\n        \"deleted_at\": null,\n        \"title\": null,\n        \"effective_date\": null,\n        \"force_pharmacy\": false,\n        \"upc\": null,\n        \"otc\": null,\n        \"is_obsolete\": null\n    },\n    \"product_id\": \"bdbf38f9-b85c-43b2-802a-81741581bc15\",\n    \"product_type\": \"App\\\\Models\\\\DosespotSupply\"\n}"}],"_postman_id":"6bc5c6aa-1805-4829-bb90-4384526da398"}],"id":"60155296-5d45-48d1-9e68-d668873bde35","_postman_id":"60155296-5d45-48d1-9e68-d668873bde35","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Questions","item":[{"name":"Post case question","id":"4663b91f-abbc-4025-946e-a844febbe3c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"question\": \"Are you pregnant?\",\n    \"answer\": \"true\",\n    \"type\": \"boolean\",\n    \"important\": true,\n    \"is_critical\": true,\n    \"display_in_pdf\": true,\n    \"description\": \"Here is the question description\",\n    \"label\": \"Question Label Example\",\n    \"metadata\": \"example of metatada #123 for question\",\n    \"displayed_options\": [\n        \"yes\",\n        \"no\"\n    ]\n}"},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/questions","description":"<p>Create a case question.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>question</td>\n<td>text*</td>\n<td>Question</td>\n</tr>\n<tr>\n<td>answer</td>\n<td>text*</td>\n<td>Answer</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string*</td>\n<td>Question type. Available options: <code>boolean</code>, <code>number</code> or <code>string</code></td>\n</tr>\n<tr>\n<td>important</td>\n<td>boolean</td>\n<td>Flag to set a question as important</td>\n</tr>\n<tr>\n<td>display_in_pdf</td>\n<td>boolean</td>\n<td>Flag to set if this question will be displayed in the case PDF file</td>\n</tr>\n<tr>\n<td>description</td>\n<td>text</td>\n<td>A description for your question</td>\n</tr>\n<tr>\n<td>label</td>\n<td>string(50)</td>\n<td>The question label</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>text</td>\n<td>A metadata field</td>\n</tr>\n<tr>\n<td>displayed_options</td>\n<td>array</td>\n<td>An array of options that were displayed to the patient</td>\n</tr>\n<tr>\n<td>is_critical</td>\n<td>boolean</td>\n<td>Mark question as critical</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","questions"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"type":"any","value":"","key":"case_id"}]}},"response":[{"id":"ba0540cd-9d9c-48e5-a330-8f81ec0b748a","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/questions","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","questions"],"variable":[{"key":"case_id","value":"39c9524f-1723-492b-879e-75beaf5393aa","description":"(Required) Case ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"question\": \"Do you smoke?\",\n    \"answer\": \"true\",\n    \"type\": \"boolean\",\n    \"important\": true,\n    \"is_critical\": false,\n    \"display_in_pdf\": false,\n    \"case_question_id\": \"02592944-ba4a-4d93-87d9-daa7d256faf4\",\n    \"description\": \"Here is the question description\",\n    \"label\": \"Question Label Example\",\n    \"metadata\": \"example of metatada #222 for question\",\n    \"displayed_options\": [\n        \"yes\",\n        \"no\"\n    ]\n}"}],"_postman_id":"4663b91f-abbc-4025-946e-a844febbe3c7"},{"name":"Get case questions","id":"0c6450d9-b900-41dd-a043-97b17335f4ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"prioritized\": true,\n    \"prioritized_reason\": \"The prescription is urgent!\"\n}"},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/questions","description":"<p>Return all questions for a given case ID.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","questions"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"9e23ed50-6f7b-46eb-8be3-eebe30239739","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"06cc9ba5-ffda-4e52-88a8-82d7b880ddee","key":"case_id"}]}},"response":[{"id":"e1b764a3-461e-4b07-9ab0-6bf664b3c01e","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/questions","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","questions"],"variable":[{"key":"case_id","value":"39c9524f-1723-492b-879e-75beaf5393aa","description":"(Required) Case ID"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"question\": \"Are you pregnant?\",\n        \"answer\": \"true\",\n        \"type\": \"boolean\",\n        \"important\": true,\n        \"is_critical\": true,\n        \"display_in_pdf\": true,\n        \"case_question_id\": \"774f6741-afd1-40a5-aa60-0ddf635472cb\",\n        \"description\": \"Here is the question description\",\n        \"label\": \"Question Label Example\",\n        \"metadata\": \"example of metatada #222 for question\",\n        \"displayed_options\": [\n            \"yes\",\n            \"no\"\n        ]\n    },\n    {\n        \"question\": \"Do you smoke?\",\n        \"answer\": \"true\",\n        \"type\": \"boolean\",\n        \"important\": true,\n        \"is_critical\": false,\n        \"display_in_pdf\": true,\n        \"case_question_id\": \"02592944-ba4a-4d93-87d9-daa7d256faf4\",\n        \"description\": \"Here is the question description\",\n        \"label\": \"Question Label Example\",\n        \"metadata\": \"example of metatada #222 for question\",\n        \"displayed_options\": [\n            \"true\",\n            \"false\"\n        ]\n    }\n]"}],"_postman_id":"0c6450d9-b900-41dd-a043-97b17335f4ae"}],"id":"d60ed9cd-ce24-4055-83fa-011629ce4359","_postman_id":"d60ed9cd-ce24-4055-83fa-011629ce4359","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Diseases","item":[{"name":"Get case diseases","id":"9d0b8194-82b8-4c2c-82ac-36968470345a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/diseases","description":"<p>List all diseases for a given case ID.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","diseases"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"059762f9-c149-49b1-8e50-64d2f4cbfe02","type":"any","value":"a6ae207c-fb6f-45f7-9752-6f85c839b5f6","key":"case_id"}]}},"response":[{"id":"4c59d6f0-8cc8-4007-a0d1-16643211d4dc","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/services","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","services"],"variable":[{"key":"case_id","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\",\r\n        \"icd\": \"A000\",\r\n        \"description\": \"Cholera due to Vibrio cholerae 01, biovar cholerae\",\r\n        \"is_primary\": true\r\n    },\r\n    {\r\n        \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\",\r\n        \"icd\": \"A001\",\r\n        \"description\": \"Cholera due to Vibrio 02\",\r\n        \"is_primary\": false\r\n    }\r\n]"}],"_postman_id":"9d0b8194-82b8-4c2c-82ac-36968470345a"},{"name":"Delete diseases","id":"744ecaf3-1d4d-45a1-946c-4374940347ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/diseases/:disease_id","description":"<p>Delete disease from a case.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","diseases",":disease_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"93947c7e-9f48-487d-8a1c-3fb9b43d231d","type":"any","value":"a6ae207c-fb6f-45f7-9752-6f85c839b5f6","key":"case_id"},{"id":"1c9de6fc-38c0-4960-a32e-b5909dac00ad","type":"any","value":"0b333a71-8e31-4b5d-834c-27f724ac14ff","key":"disease_id"}]}},"response":[{"id":"6f510a2d-11b8-42f0-a787-ef4ba46f1479","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/diseases/:disease_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","diseases",":disease_id"],"variable":[{"key":"case_id","value":null},{"key":"disease_id","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\",\r\n        \"icd\": \"A000\",\r\n        \"description\": \"Cholera due to Vibrio cholerae 01, biovar cholerae\",\r\n        \"is_primary\": true\r\n    },\r\n    {\r\n        \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\",\r\n        \"icd\": \"A001\",\r\n        \"description\": \"Cholera due to Vibrio 02\",\r\n        \"is_primary\": false\r\n    }\r\n]"}],"_postman_id":"744ecaf3-1d4d-45a1-946c-4374940347ea"},{"name":"Attach new diseases","id":"53fecb16-fa58-4f32-82f7-3dc7882128dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"disease_id\": \"0b333a71-8e31-4b5d-834c-27f724ac14ff\"\n}"},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/diseases","description":"<p>Attach a Disease to the given Case.</p>\n<h1 id=\"payload\">Payload</h1>\n<p><strong>Note</strong>: Use the \"Get all Disease Codes\" endpoint under the metadata folder to find a list of all availables UUID to be used. Once you know a disease id, you can also retrieve its information through the API using the Get Disease route</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>disease_id</td>\n<td>UUID (<strong>required)</strong></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","diseases"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"type":"any","value":"a6ae207c-fb6f-45f7-9752-6f85c839b5f6","key":"case_id"}]}},"response":[{"id":"0d0c64b9-a13f-4c91-883b-660393630269","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/diseases","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","diseases"],"variable":[{"key":"case_id","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\",\r\n        \"icd\": \"A000\",\r\n        \"description\": \"Cholera due to Vibrio cholerae 01, biovar cholerae\",\r\n        \"is_primary\": true\r\n    },\r\n    {\r\n        \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\",\r\n        \"icd\": \"A001\",\r\n        \"description\": \"Cholera due to Vibrio 02\",\r\n        \"is_primary\": false\r\n    }\r\n]"}],"_postman_id":"53fecb16-fa58-4f32-82f7-3dc7882128dc"},{"name":"Set primary disease","id":"63c753ec-cab4-4cdf-905f-b76b179c9bbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/diseases/:disease_id/primary","description":"<p>Set a case disease as primary to be sent to Dosespot.</p>\n","urlObject":{"path":["partner","cases",":case_id","diseases",":disease_id","primary"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"379caeae-43f7-4872-89fd-a8e852cb4c41","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"a6ae207c-fb6f-45f7-9752-6f85c839b5f6","key":"case_id"},{"id":"aacc2655-cc5e-400a-bba0-4a16506d5afa","description":{"content":"<p>Disease ID</p>\n","type":"text/plain"},"type":"any","value":"b9ae207c-uj6f-45f7-9752-8g85c839b5f6","key":"disease_id"}]}},"response":[],"_postman_id":"63c753ec-cab4-4cdf-905f-b76b179c9bbe"}],"id":"19e91075-85e2-47e1-acfa-fc81777e29a8","_postman_id":"19e91075-85e2-47e1-acfa-fc81777e29a8","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Case Status","item":[{"name":"Statistics","item":[{"name":"Get Case Statuses Count","id":"030bb084-11fc-4343-a3ec-9bfdfd30c846","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/statistics/count/cases-by-status","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","statistics","count","cases-by-status"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"fa482092-6ebe-4a54-8934-3fe58a27caa5","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/statuses","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","statuses"],"variable":[{"key":"case_id","value":""}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"assigned\": 0,\n    \"waiting\": 2,\n    \"processing\": 0,\n    \"approved\": 0,\n    \"support\": 2,\n    \"created\": 5\n}"}],"_postman_id":"030bb084-11fc-4343-a3ec-9bfdfd30c846"}],"id":"d69adb38-4595-4ddb-98ba-5aa6f6a04fe3","_postman_id":"d69adb38-4595-4ddb-98ba-5aa6f6a04fe3","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Send case to Support","id":"0ccd0cb9-b3f2-480e-9ec6-16b30c0dc4ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"reason\": \"Needs customer support attention\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/support","description":"<p>Set a given case as in support.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>reason</td>\n<td>string</td>\n<td>A reason description</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","support"],"host":["https://api.mdintegrations.com/v1"],"query":[{"disabled":true,"key":"","value":""}],"variable":[{"description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[{"id":"aa63a5e6-ff55-4777-af0d-e862a43b7183","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"reason\": \"Needs customer support attention\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/support","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","support"],"variable":[{"key":"case_id","value":"45e1e159-163d-4bba-9fb5-436db4222ac5"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"prioritized_at\": null,\n    \"prioritized_reason\": null,\n    \"prioritized\": false,\n    \"locked_at\": null,\n    \"is_locked\": false,\n    \"is_additional_approval_needed\": false,\n    \"created_at\": \"2021-06-07T17:01:32.000000Z\",\n    \"is_sync\": true,\n    \"metadata\": \"case number 15\",\n    \"patient_exam_id\": null,\n    \"is_chargeable\": true,\n    \"case_type\": \"follow-up\",\n    \"case_id\": \"45e1e159-163d-4bba-9fb5-436db4222ac5\",\n    \"reference_case_id\": \"9b0c4571-f980-4fd4-bf9d-87e88d0c4571\",\n    \"case_status\": {\n        \"name\": \"support\",\n        \"reason\": null,\n        \"updated_at\": \"2021-06-17T17:14:59.000000Z\"\n    },\n    \"case_assignment\": {\n        \"reason\": \"Repellat quisquam sed distinctio sit id et. Unde et doloremque quas ducimus harum perferendis. Officia sapiente velit necessitatibus deleniti. Velit error inventore ut ipsam officia id dolorem.\",\n        \"created_at\": \"2021-02-03T19:30:18.000000Z\",\n        \"case_assignment_id\": \"227ed29c-044a-41d7-bb68-caa2e6c5ee63\",\n        \"clinician\": {\n            \"first_name\": \"Parisian\",\n            \"last_name\": \"Schultz\",\n            \"suffix\": \"M.D\",\n            \"is_online\": true,\n            \"npi\": \"1598738916\",\n            \"specialty\": \"General Practice\",\n            \"dea\": \"RM1234567\",\n            \"photo\": {\n                \"path\": \"clinicians_photos/ba193841-9a21-4bdf-a778-2a1f33e1ea2c.jpeg\",\n                \"name\": \"under_construction.jpg\",\n                \"mime_type\": \"image/jpeg\",\n                \"url\": \"http://api.localhost:8000/v1/file/clinicians_photos/ba193841-9a21-4bdf-a778-2a1f33e1ea2c.jpeg\",\n                \"url_thumbnail\": null,\n                \"file_id\": \"22a03259-b2de-4255-9d2e-48a9dc368633\"\n            },\n            \"clinician_id\": \"65e4f8da-e5f7-44b3-a3d4-c9dc74981f4f\",\n            \"full_name\": \"Seamus Parisian\"\n        }\n    },\n    \"patient\": {\n        \"prefix\": \"Sr\",\n        \"first_name\": \"Valentine\",\n        \"middle_name\": \"Harry\",\n        \"last_name\": \"Blick\",\n        \"email\": \"alverta13@example.org\",\n        \"date_of_birth\": \"1977-07-10\",\n        \"gender\": 0,\n        \"height\": 6,\n        \"metadata\": \"patient number 15\",\n        \"weight\": 170,\n        \"phone_number\": \"468.287.0822\",\n        \"phone_type\": \"2\",\n        \"active\": true,\n        \"dosespot\": {\n            \"patient_dosespot_id\": \"9b0c4571-f980-4fd4-bf9d-6de1ac52dc9d\",\n            \"sync_status\": \"success\"\n        },\n        \"patient_id\": \"b9d75141-b78a-428c-ad41-c7df6307f6db\",\n        \"gender_label\": \"Not known\",\n        \"current_medications\": \"paracetamol and ibuprofen\",\n        \"allergies\": \"peanuts and penicillin\",\n        \"medical_conditions\": \"medical conditions example\",\n        \"pregnancy\": true,\n        \"is_live\": true,\n        \"driver_license\": {\n            \"path\": \"logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n            \"name\": \"Wallpaper_1080p.png\",\n            \"mime_type\": \"image/jpeg\",\n            \"url\": \"http://api.localhost:8000/v1/file/logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n            \"url_thumbnail\": null,\n            \"file_id\": \"862a8e4c-d65a-4d52-8568-49c0d53fa51e\"\n        },\n        \"address\": {\n            \"address\": \"1901 1st Avenue, New York\",\n            \"address2\": \"NY 10029\",\n            \"zip_code\": \"65506-4433\",\n            \"city_name\": \"Pearl River\",\n            \"address_id\": \"31817530-d047-4565-8aa7-e16275b1715d\",\n            \"state\": {\n                \"name\": \"New York\",\n                \"abbreviation\": \"NY\",\n                \"state_id\": \"59bd3d22-8955-44e1-83c0-8556dd16bde4\",\n                \"country\": {\n                    \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                    \"name\": \"United States of America\",\n                    \"abbreviation\": \"US\"\n                }\n            }\n        }\n    },\n    \"partner\": {\n        \"name\": \"Langworth, Heaney and Mills\",\n        \"partner_id\": \"90ee8161-0bb8-4f60-9e66-cdc305ea54cb\",\n        \"support_message_capability\": \"integrated\",\n        \"operations_support_email\": \"testing@email.com\",\n        \"partner_notes\": \"Partner has...\",\n        \"customer_support_email\": \"testing@email.com\",\n        \"patient_message_capability\": \"integrated\",\n        \"provides_medications\": true,\n        \"thank_you_note_header\": \"Header Thank you note example\",\n        \"thank_you_note_footer\": \"Footer Thank you note example\",\n        \"vouched_integration_type\": \"disabled\",\n        \"customization\": {\n            \"primary_color\": \"#000000\",\n            \"secondary_color\": \"#000000\",\n            \"background_color\": \"#000000\"\n        },\n        \"address\": {\n            \"address_id\": \"31817530-d047-4565-8aa7-e16275b1715d\",\n            \"address\": \"1901 1st Avenue, New York\",\n            \"zip_code\": \"65506-4433\",\n            \"city_name\": \"Pearl River\",\n            \"state\": {\n                \"state_id\": \"59bd3d22-8955-44e1-83c0-8556dd16bde4\",\n                \"name\": \"New York\",\n                \"abbreviation\": \"NY\",\n                \"country\": {\n                    \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                    \"name\": \"United States of America\",\n                    \"abbreviation\": \"US\"\n                }\n            }\n        }\n    },\n    \"tags\": [\n        {\n            \"id\": \"7af7618a-5711-4485-8b35-63b65b3f56cc\",\n            \"type\": \"partner\",\n            \"name\": \"My own tag two\",\n            \"key\": \"my-own-tag-two\",\n            \"color\": \"#fff\",\n            \"description\": \"My tag description\",\n            \"notes\": \"Ola esse é um teste editador\",\n            \"removable_role\": null,\n            \"auto_detach_status\": [\n                \"assigned\",\n                \"processing\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"0ccd0cb9-b3f2-480e-9ec6-16b30c0dc4ac"},{"name":"Update hold status flag","id":"f70ac28d-074f-406d-9e4b-03e535c5d14c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"hold_status\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/status","description":"<p>Update the hold status flag.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>hold_status</td>\n<td>boolean*</td>\n<td>If the case is in <strong>created</strong> status you can update the flag hold status, that way you can choose when the case will enter the MDI flow.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","status"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"00026e0f-c4c3-459e-8629-49a44756dbd5","key":"case_id"}]}},"response":[{"id":"48a126ff-6575-438f-aa02-27be5d9fe5a3","name":"Success","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/status","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","status"],"variable":[{"key":"case_id","value":"45e1e159-163d-4bba-9fb5-436db4222ac5"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"f70ac28d-074f-406d-9e4b-03e535c5d14c"},{"name":"Cancel case","id":"988d8176-fa8c-4bf6-858d-686d93181fe1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"reason\": \"This is an example of a cancelled case.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/cancel","description":"<p>Set case as cancelled.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>reason</td>\n<td>string</td>\n<td>A reason description (optional)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","cancel"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"650aaa24-09aa-4f86-ad5d-d90b22ae0a74","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[{"id":"626bc9c5-14da-4a02-8927-83d46b8d757e","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/cancel","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","cancel"],"variable":[{"key":"case_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"prioritized_at\": null,\n    \"prioritized_reason\": null,\n    \"prioritized\": false,\n    \"locked_at\": null,\n    \"is_locked\": false,\n    \"is_additional_approval_needed\": true,\n    \"created_at\": \"2021-09-01T17:04:46.000000Z\",\n    \"is_sync\": false,\n    \"is_chargeable\": true,\n    \"case_type\": \"follow-up\",\n    \"metadata\": \"asdadssa\",\n    \"patient_exam_id\": \"8cc8e948-1578-409b-9e18-0a771d349355\",\n    \"case_id\": \"23a987ec-a724-46e3-8642-6cb44c18397c\",\n    \"reference_case_id\": \"9b0c4571-f980-4fd4-bf9d-87e88d0c4571\",\n    \"case_status\": {\n        \"name\": \"cancelled\",\n        \"reason\": null,\n        \"updated_at\": \"2021-09-01T17:05:01.000000Z\"\n    },\n    \"partner\": {\n        \"name\": \"Jacobi and Sons\",\n        \"support_message_capability\": \"integrated\",\n        \"operations_support_email\": \"testing@email.com\",\n        \"customer_support_email\": \"testing@email.com\",\n        \"partner_notes\": \"Partner has...\",\n        \"partner_id\": \"a63e2ae6-3f98-4fd4-8391-031b0031776f\",\n        \"patient_message_capability\": \"integrated\",\n        \"provides_medications\": true,\n        \"thank_you_note_header\": \"Header Thank you note example\",\n        \"thank_you_note_footer\": \"Footer Thank you note example\",\n        \"vouched_integration_type\": \"disabled\",\n        \"customization\": {\n            \"primary_color\": \"#000000\",\n            \"secondary_color\": \"#000000\",\n            \"background_color\": \"#000000\"\n        },\n        \"address\": {\n            \"address_id\": \"31817530-d047-4565-8aa7-e16275b1715d\",\n            \"address\": \"1901 1st Avenue, New York\",\n            \"zip_code\": \"65506-4433\",\n            \"city_name\": \"Pearl River\",\n            \"state\": {\n                \"state_id\": \"59bd3d22-8955-44e1-83c0-8556dd16bde4\",\n                \"name\": \"New York\",\n                \"abbreviation\": \"NY\",\n                \"country\": {\n                    \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                    \"name\": \"United States of America\",\n                    \"abbreviation\": \"US\"\n                }\n            }\n        },\n        \"operation_country\": {\n            \"name\": \"United States of America\",\n            \"abbreviation\": \"US\",\n            \"country_id\": \"535fd3fd-f206-4724-89a9-55289474db8b\"\n        }\n    },\n    \"patient\": {\n        \"prefix\": \"Sr\",\n        \"first_name\": \"Kamille\",\n        \"middle_name\": \"Harry\",\n        \"last_name\": \"Dickens\",\n        \"suffix\": \"M.D\",\n        \"email\": \"green92@example.org\",\n        \"date_of_birth\": \"1975-01-03\",\n        \"gender\": 0,\n        \"phone_number\": \"541-754-3010\",\n        \"phone_type\": \"4\",\n        \"active\": true,\n        \"weight\": null,\n        \"height\": null,\n        \"dosespot\": {\n            \"patient_dosespot_id\": \"9b0c4571-f980-4fd4-bf9d-6de1ac52dc9d\",\n            \"sync_status\": \"success\"\n        },\n        \"current_medications\": null,\n        \"allergies\": null,\n        \"medical_conditions\": \"medical conditions example\",\n        \"pregnancy\": false,\n        \"metadata\": null,\n        \"patient_id\": \"410af41d-e02b-4b54-a707-725141937ec8\",\n        \"gender_label\": \"Not known\",\n        \"driver_license\": null,\n        \"is_live\": true,\n        \"address\": {\n            \"address\": \"1901 1st Avenue, New York\",\n            \"address2\": \"NY 10029\",\n            \"zip_code\": \"77058\",\n            \"city_name\": \"Nassau Bay\",\n            \"address_id\": \"01ed51d1-4173-4165-be32-21887da32ffb\",\n            \"state\": {\n                \"name\": \"Texas\",\n                \"abbreviation\": \"TX\",\n                \"state_id\": \"7ff4d81b-18b3-4dc8-a243-6da992b962d2\",\n                \"country\": {\n                    \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                    \"name\": \"United States of America\",\n                    \"abbreviation\": \"US\"\n                }\n            }\n        }\n    },\n    \"case_assignment\": {\n        \"reason\": \"Initial assignment.\",\n        \"created_at\": \"2021-09-01T17:04:47.000000Z\",\n        \"case_assignment_id\": \"122a0251-9bad-4cde-811c-fa17c6c1f694\",\n        \"clinician\": {\n            \"first_name\": \"Madisen\",\n            \"last_name\": \"Schultz\",\n            \"is_online\": true,\n            \"npi\": \"1598738916\",\n            \"specialty\": \"General Practice\",\n            \"dea\": \"RM1234567\",\n            \"clinician_id\": \"fbace403-f846-4411-a7eb-f4067860723e\",\n            \"full_name\": \"Jaclyn Ledner\",\n            \"photo\": null\n        }\n    },\n    \"tags\": [\n        {\n            \"id\": \"7af7618a-5711-4485-8b35-63b65b3f56cc\",\n            \"type\": \"partner\",\n            \"name\": \"My own tag two\",\n            \"key\": \"my-own-tag-two\",\n            \"color\": \"#fff\",\n            \"description\": \"My tag description\",\n            \"notes\": \"Ola esse é um teste editador\",\n            \"removable_role\": null,\n            \"auto_detach_status\": [\n                \"assigned\",\n                \"processing\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"988d8176-fa8c-4bf6-858d-686d93181fe1"},{"name":"Set case as Assigned","id":"9d60addd-1ae7-4fd3-a43d-e545adab9118","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/assigned","description":"<p>Set a given case as assigned.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","assigned"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"a85e991b-3b3b-4278-bcb0-9c71453acf9b","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[{"id":"161466f9-e0bb-4764-8967-4818dbba5b0a","name":"Success","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/assigned","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","assigned"],"variable":[{"key":"case_id","value":"45e1e159-163d-4bba-9fb5-436db4222ac5"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"prioritized_at\": null,\n    \"prioritized_reason\": null,\n    \"prioritized\": false,\n    \"locked_at\": null,\n    \"is_locked\": false,\n    \"is_additional_approval_needed\": true,\n    \"created_at\": \"2021-06-07T17:01:32.000000Z\",\n    \"is_sync\": true,\n    \"metadata\": \"case number 15\",\n    \"patient_exam_id\": null,\n    \"is_chargeable\": true,\n    \"case_type\": \"follow-up\",\n    \"case_id\": \"45e1e159-163d-4bba-9fb5-436db4222ac5\",\n    \"reference_case_id\": \"9b0c4571-f980-4fd4-bf9d-87e88d0c4571\",\n    \"case_status\": {\n        \"name\": \"created\",\n        \"reason\": null,\n        \"updated_at\": \"2021-06-17T17:14:59.000000Z\"\n    },\n    \"case_assignment\": {\n        \"reason\": \"Repellat quisquam sed distinctio sit id et. Unde et doloremque quas ducimus harum perferendis. Officia sapiente velit necessitatibus deleniti. Velit error inventore ut ipsam officia id dolorem.\",\n        \"created_at\": \"2021-02-03T19:30:18.000000Z\",\n        \"case_assignment_id\": \"227ed29c-044a-41d7-bb68-caa2e6c5ee63\",\n        \"clinician\": {\n            \"first_name\": \"Parisian\",\n            \"last_name\": \"Schultz\",\n            \"suffix\": \"M.D\",\n            \"is_online\": true,\n            \"npi\": \"1598738916\",\n            \"specialty\": \"General Practice\",\n            \"dea\": \"RM1234567\",\n            \"photo\": {\n                \"path\": \"clinicians_photos/ba193841-9a21-4bdf-a778-2a1f33e1ea2c.jpeg\",\n                \"name\": \"under_construction.jpg\",\n                \"mime_type\": \"image/jpeg\",\n                \"url\": \"http://api.localhost:8000/v1/file/clinicians_photos/ba193841-9a21-4bdf-a778-2a1f33e1ea2c.jpeg\",\n                \"url_thumbnail\": null,\n                \"file_id\": \"22a03259-b2de-4255-9d2e-48a9dc368633\"\n            },\n            \"clinician_id\": \"65e4f8da-e5f7-44b3-a3d4-c9dc74981f4f\",\n            \"full_name\": \"Seamus Parisian\"\n        }\n    },\n    \"patient\": {\n        \"prefix\": \"Sr\",\n        \"first_name\": \"Valentine\",\n        \"middle_name\": \"Harry\",\n        \"last_name\": \"Blick\",\n        \"email\": \"alverta13@example.org\",\n        \"date_of_birth\": \"1977-07-10\",\n        \"gender\": 0,\n        \"height\": 6,\n        \"metadata\": \"patient number 15\",\n        \"weight\": 170,\n        \"phone_number\": \"468.287.0822\",\n        \"phone_type\": \"2\",\n        \"active\": true,\n        \"dosespot\": {\n            \"patient_dosespot_id\": \"9b0c4571-f980-4fd4-bf9d-6de1ac52dc9d\",\n            \"sync_status\": \"success\"\n        },\n        \"patient_id\": \"b9d75141-b78a-428c-ad41-c7df6307f6db\",\n        \"gender_label\": \"Not known\",\n        \"current_medications\": \"paracetamol and ibuprofen\",\n        \"allergies\": \"peanuts and penicillin\",\n        \"medical_conditions\": \"medical conditions example\",\n        \"pregnancy\": true,\n        \"is_live\": true,\n        \"driver_license\": {\n            \"path\": \"logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n            \"name\": \"Wallpaper_1080p.png\",\n            \"mime_type\": \"image/jpeg\",\n            \"url\": \"http://api.localhost:8000/v1/file/logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n            \"url_thumbnail\": null,\n            \"file_id\": \"862a8e4c-d65a-4d52-8568-49c0d53fa51e\"\n        },\n        \"address\": {\n            \"address\": \"1901 1st Avenue, New York\",\n            \"address2\": \"NY 10029\",\n            \"zip_code\": \"65506-4433\",\n            \"city_name\": \"Pearl River\",\n            \"address_id\": \"31817530-d047-4565-8aa7-e16275b1715d\",\n            \"state\": {\n                \"name\": \"New York\",\n                \"abbreviation\": \"NY\",\n                \"state_id\": \"59bd3d22-8955-44e1-83c0-8556dd16bde4\",\n                \"country\": {\n                    \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                    \"name\": \"United States of America\",\n                    \"abbreviation\": \"US\"\n                }\n            }\n        }\n    },\n    \"partner\": {\n        \"name\": \"Langworth, Heaney and Mills\",\n        \"partner_id\": \"90ee8161-0bb8-4f60-9e66-cdc305ea54cb\",\n        \"support_message_capability\": \"integrated\",\n        \"operations_support_email\": \"testing@email.com\",\n        \"partner_notes\": \"Partner has...\",\n        \"customer_support_email\": \"testing@email.com\",\n        \"patient_message_capability\": \"integrated\",\n        \"provides_medications\": true,\n        \"vouched_integration_type\": \"disabled\",\n        \"customization\": {\n            \"primary_color\": \"#000000\",\n            \"secondary_color\": \"#000000\",\n            \"background_color\": \"#000000\"\n        },\n        \"address\": {\n            \"address_id\": \"31817530-d047-4565-8aa7-e16275b1715d\",\n            \"address\": \"1901 1st Avenue, New York\",\n            \"zip_code\": \"65506-4433\",\n            \"city_name\": \"Pearl River\",\n            \"state\": {\n                \"state_id\": \"59bd3d22-8955-44e1-83c0-8556dd16bde4\",\n                \"name\": \"New York\",\n                \"abbreviation\": \"NY\",\n                \"country\": {\n                    \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                    \"name\": \"United States of America\",\n                    \"abbreviation\": \"US\"\n                }\n            }\n        },\n        \"operation_country\": {\n            \"name\": \"United States of America\",\n            \"abbreviation\": \"US\",\n            \"country_id\": \"535fd3fd-f206-4724-89a9-55289474db8b\"\n        }\n    },\n    \"tags\": [\n        {\n            \"id\": \"7af7618a-5711-4485-8b35-63b65b3f56cc\",\n            \"type\": \"partner\",\n            \"name\": \"My own tag two\",\n            \"key\": \"my-own-tag-two\",\n            \"color\": \"#fff\",\n            \"description\": \"My tag description\",\n            \"notes\": \"Ola esse é um teste editador\",\n            \"removable_role\": null,\n            \"auto_detach_status\": [\n                \"assigned\",\n                \"processing\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"9d60addd-1ae7-4fd3-a43d-e545adab9118"},{"name":"Send an Approved Case to Processing","id":"7186afcf-054e-4384-8f37-933dce797daf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/processing","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","processing"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"0fd2b80b-0933-40a6-9030-0c6898ca4bcc","type":"any","value":"","key":"case_id"}]}},"response":[],"_postman_id":"7186afcf-054e-4384-8f37-933dce797daf"},{"name":"Get Case Statuses","id":"62656a2c-78e0-496d-b4d8-7c4ebaa49273","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/statuses","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","statuses"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"9f01651b-bf0c-4600-9709-2794fe676334","type":"any","value":"","key":"case_id"}]}},"response":[{"id":"b3044bdd-19f7-4b67-a67d-bbb6bf3bf23a","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/statuses","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","statuses"],"variable":[{"key":"case_id","value":""}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"name\": \"created\",\n            \"reason\": null,\n            \"hold_status\": false,\n            \"user_id\": \"1eca1ff2-a51d-4f90-9cfe-ebb4b2e83a49\",\n            \"user_type\": \"App\\\\Models\\\\Partner\",\n            \"updated_at\": \"1990-04-16T00:00:00.000000Z\",\n            \"created_at\": \"2026-01-22T20:29:40.000000Z\"\n        },\n        {\n            \"name\": \"support\",\n            \"reason\": \"Cupiditate qui quia ut at nobis nemo culpa sunt.\",\n            \"hold_status\": false,\n            \"user_id\": \"b4d17dab-11c0-474f-a3dd-f7b612542ca5\",\n            \"user_type\": \"App\\\\Models\\\\Clinician\",\n            \"updated_at\": \"2026-01-22T20:29:40.000000Z\",\n            \"created_at\": \"2026-01-22T20:29:40.000000Z\"\n        },\n        {\n            \"name\": \"assigned\",\n            \"reason\": null,\n            \"hold_status\": false,\n            \"user_id\": null,\n            \"user_type\": null,\n            \"updated_at\": \"1990-04-16T00:00:00.000000Z\",\n            \"created_at\": \"2026-01-22T20:29:40.000000Z\"\n        },\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/api/cases/e641955c-f114-421a-bc51-7c5eeb801402/statuses?page=1\",\n        \"last\": \"http://localhost/api/cases/e641955c-f114-421a-bc51-7c5eeb801402/statuses?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"page\": null,\n                \"active\": false\n            },\n            {\n                \"url\": \"http://localhost/api/cases/e641955c-f114-421a-bc51-7c5eeb801402/statuses?page=1\",\n                \"label\": \"1\",\n                \"page\": 1,\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"page\": null,\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://localhost/api/cases/e641955c-f114-421a-bc51-7c5eeb801402/statuses\",\n        \"per_page\": 15,\n        \"to\": 2,\n        \"total\": 2\n    }\n}"}],"_postman_id":"62656a2c-78e0-496d-b4d8-7c4ebaa49273"}],"id":"5e871ee0-e3fe-4205-91a3-6d2d58a10c54","_postman_id":"5e871ee0-e3fe-4205-91a3-6d2d58a10c54","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Clinical Notes","item":[{"name":"Get notes","id":"39a2cd75-239a-495c-9a99-7d5792015b40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/notes","description":"<p>Return all the clinical notes for a given case.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","notes"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"ca649d3d-9ecc-4ee7-8485-9083e284036e","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"45c05b82-e045-4892-810f-581d8a97f7d6","key":"case_id"}]}},"response":[{"id":"1b18f5f1-b5e9-4924-aed3-635e0e7f4525","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/notes","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","notes"],"variable":[{"key":"case_id","value":"45c05b82-e045-4892-810f-581d8a97f7d6","description":"Case ID"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"case_note_id\": \"9b12e8ca-ee58-41e0-ac49-44d541194d47\",\n        \"text\": \"This is an example of a clinical note.\",\n        \"case_id\": \"82f194ab-e400-4719-86d5-a734eed02841\",\n        \"model_id\": \"82f194ab-e400-4719-86d5-a734eed02841\",\n        \"model_type\": \"App\\\\Models\\\\Clinician\",\n        \"clinician\": {\n            \"clinician_id\": \"682d152c-6f94-4955-9b30-1ca976817e63\",\n            \"is_online\": false,\n            \"specialty\": \"General Practice\",\n            \"full_name\": \"John Snow\",\n            \"first_name\": \"John\",\n            \"last_name\": \"Snow\",\n            \"suffix\": null,\n            \"email\": \"snow@mail.com\",\n            \"date_of_birth\": \"1990-12-31\",\n            \"phone_number\": \"541-754-3010\",\n            \"phone_type\": \"2\",\n            \"fax_number\": \"212-9876543\",\n            \"profile_url\": \"http://profileurlexample.com\",\n            \"active\": true,\n            \"case_assignment_availability\": true,\n            \"photo\": {\n                \"file_id\": \"6f54001f-86b7-439e-9979-029046ebd457\",\n                \"path\": \"partners/WhjBMtAw7SkjHlW08XHyHcU49e2pYyQPkPDnoUYZ.jpg\",\n                \"name\": \"e11797_791981497f454e0098365e642f710343_mv2_d_2000_1333_s_2.jpg\",\n                \"mime_type\": \"image/jpeg\",\n                \"url\": \"https://api.mdintegrations.com/s3/files/6f54001f-86b7-439e-9979-029046ebd457/file?signature=f226677487404233f0475c801feea2f1bc6af10909d6441ace3c23ce94fe7049\",\n                \"url_thumbnail\": \"https://api.mdintegrations.com/s3/files/6f54001f-86b7-439e-9979-029046ebd457/thumbnail?signature=1dae991082051402d96095d2bc06431c8d2a346a841024f32e98e173776952ac\",\n                \"created_at\": \"2022-11-08T20:56:55.000000Z\"\n            },\n            \"bio_details\": null\n        },\n        \"created_at\": \"2021-08-19T13:08:33.000000Z\",\n        \"updated_at\": \"2021-08-19T13:08:33.000000Z\"\n    }\n]"}],"_postman_id":"39a2cd75-239a-495c-9a99-7d5792015b40"},{"name":"Create Note","id":"4ba04c00-8a24-48b1-9dfd-31a5d6126766","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"text\": \"A clinical note example\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/notes","description":"<p>It creates a clinical note for the given case.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>text*</td>\n<td>varchar(1000)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","notes"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"06694ead-6c1f-4d05-9467-9e67004d9da1","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"45c05b82-e045-4892-810f-581d8a97f7d6","key":"case_id"}]}},"response":[{"id":"0ceff3b1-91c8-4358-825a-25fb8f565952","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/notes","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","notes"],"variable":[{"key":"case_id","value":"45c05b82-e045-4892-810f-581d8a97f7d6","description":"Case ID"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"case_note_id\": \"9b12e8ca-ee58-41e0-ac49-44d541194d47\",\n    \"case_id\": \"82f194ab-e400-4719-86d5-a734eed02841\",\n    \"text\": \"This is an example of a clinical note.\",\n    \"model_id\": \"82f194ab-e400-4719-86d5-a734eed02841\",\n    \"model_type\": \"App\\\\Models\\\\Partner\",\n    \"model\": {\n        \"partner_id\": \"82f194ab-e400-4719-86d5-a734eed02841\",\n        \"name\": \"Partner Afton Ruther\"\n    },\n    \"created_at\": \"2021-08-19T13:08:33.000000Z\",\n    \"updated_at\": \"2021-08-19T13:08:33.000000Z\"\n}"}],"_postman_id":"4ba04c00-8a24-48b1-9dfd-31a5d6126766"}],"id":"4a4ac83d-484f-4b7a-90fb-9f741c972095","_postman_id":"4a4ac83d-484f-4b7a-90fb-9f741c972095","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Tags","item":[{"name":"Attach tag","id":"2a51b42f-e283-4d1b-b85a-4c452068d31b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"Notes to add to tag\"\n}"},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/tags/:tag_id","description":"<p>Attach a tag to case.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notes</td>\n<td>string</td>\n<td>Allow to add a note when attaching tags</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","tags",":tag_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"6f8c61bf-2d25-41ae-8597-7c8bd4afbc23","type":"any","value":"2df99685-5cfd-49ae-83fa-79d5ff014813","key":"case_id"},{"id":"6b5f47f2-1cd2-4eb8-ba0b-f89dd75ea672","type":"any","value":"db15a5b7-853a-4a45-aee9-6085bc32b7fc","key":"tag_id"}]}},"response":[],"_postman_id":"2a51b42f-e283-4d1b-b85a-4c452068d31b"},{"name":"Detach tag","id":"dffa00ff-0475-4754-a587-346a2fa6a96b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/tags/:tag_id","description":"<p>Detach a tag from case.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","tags",":tag_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"0071afc7-7612-4cbe-ba85-6d38b897f994","type":"any","value":"2df99685-5cfd-49ae-83fa-79d5ff014813","key":"case_id"},{"id":"cb640232-4489-4b4d-8709-6df6064da129","type":"any","value":"db15a5b7-853a-4a45-aee9-6085bc32b7fc","key":"tag_id"}]}},"response":[],"_postman_id":"dffa00ff-0475-4754-a587-346a2fa6a96b"},{"name":"Update tag note","id":"804a9d51-a458-44ae-87bc-7b3f8287da1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"Notes to add to tag\"\n}"},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/tags/:tag_id","description":"<p>Allow to update the tag note related to case.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notes</td>\n<td>string*</td>\n<td>Allow to add a note when attaching tags</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","tags",":tag_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"41e932b1-f9e9-477e-993f-b8ada3762ef2","type":"any","value":"2df99685-5cfd-49ae-83fa-79d5ff014813","key":"case_id"},{"id":"d6327a98-e1ca-4d32-9a60-7d08e94a8eea","type":"any","value":"db15a5b7-853a-4a45-aee9-6085bc32b7fc","key":"tag_id"}]}},"response":[],"_postman_id":"804a9d51-a458-44ae-87bc-7b3f8287da1c"},{"name":"Get Historical Case Tags","id":"2ef5fe8f-2b48-44b5-8d09-d0e47f1734a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"Notes to add to tag\"\n}"},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/tags/historical","description":"<p>Allow to update the tag note related to case.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notes</td>\n<td>string*</td>\n<td>Allow to add a note when attaching tags</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","tags","historical"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"4bc122c6-72bf-41a3-a99a-5e321d816544","type":"any","value":"2df99685-5cfd-49ae-83fa-79d5ff014813","key":"case_id"}]}},"response":[{"id":"a3426530-6c27-4265-9c47-5bd3c75ba7cb","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"Notes to add to tag\"\n}"},"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/tags/historical?with_relationships=tags","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","tags","historical"],"query":[{"key":"with_relationships","value":"tags"}],"variable":[{"key":"case_id","value":"2df99685-5cfd-49ae-83fa-79d5ff014813"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        \n        {\n            \"event\": \"added\",\n            \"case_id\": \"ec6ffbc7-60ae-436e-b37a-f0f3736f12ea\",\n            \"tag_id\": \"ca37955c-3a9e-4ee3-93c9-1b2339b15902\",\n            \"reason\": \"New Tag\",\n            \"user_id\": \"88edb9bb-f42c-4d0e-95cc-831851f47c85\",\n            \"user_type\": \"App\\\\Models\\\\Clinician\",\n            \"created_at\": \"2026-01-22T20:32:05.000000Z\",\n            \"updated_at\": \"2026-01-22T20:32:05.000000Z\",\n            \"deleted_at\": null,\n            \"tag\": {\n                \"id\": \"ca37955c-3a9e-4ee3-93c9-1b2339b15902\",\n                \"name\": \"Tag iste molestiae voluptas\",\n                \"key\": \"partner-tag\",\n                \"description\": \"\",\n                \"color\": \"#845EC2\",\n                \"type\": \"global\",\n                \"removable_role\": null,\n                \"auto_detach_status\": null,\n                \"created_at\": \"2026-01-22T20:32:05.000000Z\",\n                \"updated_at\": \"2026-01-22T20:32:05.000000Z\",\n                \"deleted_at\": null,\n                \"notes\": null\n            }\n        },\n        {\n            \"event\": \"updated\",\n            \"case_id\": \"ec6ffbc7-60ae-436e-b37a-f0f3736f12ea\",\n            \"tag_id\": \"ca37955c-3a9e-4ee3-93c9-1b2339b15902\",\n            \"reason\": \"Update Tag notes\",\n            \"user_id\": \"88edb9bb-f42c-4d0e-95cc-831851f47c85\",\n            \"user_type\": \"App\\\\Models\\\\Clinician\",\n            \"created_at\": \"2026-01-22T20:32:06.000000Z\",\n            \"updated_at\": \"2026-01-22T20:32:06.000000Z\",\n            \"deleted_at\": null,\n            \"tag\": {\n                \"id\": \"ca37955c-3a9e-4ee3-93c9-1b2339b15902\",\n                \"name\": \"Tag iste molestiae voluptas\",\n                \"key\": \"partner-tag\",\n                \"description\": \"\",\n                \"color\": \"#845EC2\",\n                \"type\": \"global\",\n                \"removable_role\": null,\n                \"auto_detach_status\": null,\n                \"created_at\": \"2026-01-22T20:32:05.000000Z\",\n                \"updated_at\": \"2026-01-22T20:32:05.000000Z\",\n                \"deleted_at\": null,\n                \"notes\": null\n            }\n        },\n        {\n            \"event\": \"added\",\n            \"case_id\": \"ec6ffbc7-60ae-436e-b37a-f0f3736f12ea\",\n            \"tag_id\": \"22baa7a2-dfe4-43b4-9680-27ec6edd5bb3\",\n            \"reason\": \"System added tag\",\n            \"user_id\": null,\n            \"user_type\": null,\n            \"created_at\": \"2026-01-22T20:32:07.000000Z\",\n            \"updated_at\": \"2026-01-22T20:32:07.000000Z\",\n            \"deleted_at\": null,\n            \"tag\": {\n                \"id\": \"22baa7a2-dfe4-43b4-9680-27ec6edd5bb3\",\n                \"name\": \"Tag quis a similique\",\n                \"key\": \"system-tag\",\n                \"description\": \"\",\n                \"color\": \"#845EC2\",\n                \"type\": \"system\",\n                \"removable_role\": null,\n                \"auto_detach_status\": null,\n                \"created_at\": \"2026-01-22T20:32:07.000000Z\",\n                \"updated_at\": \"2026-01-22T20:32:07.000000Z\",\n                \"deleted_at\": null,\n                \"notes\": null\n            }\n        }\n    ],\n    \"links\": {\n        \"first\": \"https://localhost/v1/clinician/cases/ec6ffbc7-60ae-436e-b37a-f0f3736f12ea/tags/historical?page=1\",\n        \"last\": \"https://localhost/v1/clinician/cases/ec6ffbc7-60ae-436e-b37a-f0f3736f12ea/tags/historical?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"page\": null,\n                \"active\": false\n            },\n            {\n                \"url\": \"https://localhost/v1/clinician/cases/ec6ffbc7-60ae-436e-b37a-f0f3736f12ea/tags/historical?page=1\",\n                \"label\": \"1\",\n                \"page\": 1,\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"page\": null,\n                \"active\": false\n            }\n        ],\n        \"path\": \"https://localhost/v1/clinician/cases/ec6ffbc7-60ae-436e-b37a-f0f3736f12ea/tags/historical\",\n        \"per_page\": 15,\n        \"to\": 3,\n        \"total\": 3\n    }\n}"}],"_postman_id":"2ef5fe8f-2b48-44b5-8d09-d0e47f1734a5"}],"id":"fdb6c60f-a1fa-4dca-8d81-934f41d6a892","_postman_id":"fdb6c60f-a1fa-4dca-8d81-934f41d6a892","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Orders","item":[{"name":"Get Case Orders","id":"69195544-8fcc-4089-9aa5-f087d3e8bd6f","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/orders","description":"<p>Return a list of case's orders.</p>\n","urlObject":{"path":["partner","cases",":case_id","orders"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"6b4f400e-95b0-40b8-91a5-4d1371099cf3","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"case_id"}]}},"response":[{"id":"3b1d74fc-63e6-4311-88ff-5ff7e83c3d85","name":"Get Case Orders","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/orders","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","orders"],"variable":[{"key":"case_id","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","description":"Case ID"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"sequence_order_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n        \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n        \"pharmacy_name\": \"Honeybee Health\",\n        \"sequence_total\": 4,\n        \"orders\": [\n            {\n                \"id\": \"4f563371-a18a-4210-8b3e-eb6c4f77967c\",\n                \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                \"external_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n                \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n                \"prescriptions_id\": [\n                    {\n                        \"id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\"\n                    }\n                ],\n                \"status\": \"failed\",\n                \"details\": \"Invalid Address Zip; Address zip does not exist in the state provided\",\n                \"status_details\": \"Invalid Address Zip; Address zip does not exist in the state provided\",\n                \"status_metadata\": \"{\\\"errors\\\":[{\\\"code\\\":42227,\\\"message\\\":\\\"Invalid Address Zip\\\",\\\"error_detail\\\":[{\\\"field\\\":\\\"address.zip\\\",\\\"message\\\":\\\"does not exist in the state provided\\\"}]}]}\",\n                \"number\": \"01KGHYZF9NJ243KMP5R870NPS5\",\n                \"date\": \"2026-02-03\",\n                \"sequence_number\": 1,\n                \"sequence_total\": 4,\n                \"sequence_order_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n                \"acknowledged_at\": null,\n                \"acknowledged_id\": null,\n                \"acknowledged_metadata\": null,\n                \"payment_date\": null,\n                \"payment_status\": null,\n                \"pharmacy_name\": \"Honeybee Health\",\n                \"case\": {\n                    \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                    \"is_additional_approval_needed\": false,\n                    \"prioritized_at\": null,\n                    \"programs\": [],\n                    \"prioritized_reason\": null,\n                    \"prioritized\": false,\n                    \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n                    \"reference_case_id\": null,\n                    \"patient_exam_id\": \"115a68d9-a412-4bd0-824c-dac069651f1f\",\n                    \"service_pdf_exported\": false,\n                    \"case_type\": \"follow-up\",\n                    \"is_chargeable\": true,\n                    \"is_upsell_generated\": false,\n                    \"charged_by\": \"mdi\",\n                    \"is_sync\": false,\n                    \"case_status\": {\n                        \"name\": \"completed\",\n                        \"reason\": null,\n                        \"updated_at\": \"2026-02-03T14:37:14.000000Z\",\n                        \"created_at\": \"2026-02-03T14:37:14.000000Z\"\n                    },\n                    \"created_at\": \"2026-02-03T14:33:49.000000Z\",\n                    \"patient\": {\n                        \"patient_id\": \"02d140e6-89ef-4713-a2a2-3d96a0915525\",\n                        \"date_of_birth\": \"1983-10-17\",\n                        \"first_name\": \"Jess\",\n                        \"last_name\": \"Bradshaw\",\n                        \"gender\": 2,\n                        \"gender_label\": \"Female\",\n                        \"email\": \"test@mdintegrations.com\",\n                        \"phone_number\": \"(816) 679-2211\",\n                        \"pregnancy\": false,\n                        \"address\": {\n                            \"address_id\": \"933f7654-3385-4d14-9d95-510d5d76a86c\",\n                            \"address\": \"9071 E. Mississippi Ave\",\n                            \"address2\": \"Apt 6C\",\n                            \"city_name\": \"Downtown\",\n                            \"zip_code\": \"80247\",\n                            \"state\": {\n                                \"state_id\": \"95e0aca0-6d59-482f-9f4d-b0af33aabc1a\",\n                                \"abbreviation\": \"FL\",\n                                \"name\": \"Florida\",\n                                \"is_sync\": false,\n                                \"country\": {\n                                    \"state_id\": \"bf511938-8c04-47cf-ac41-6a9aeea376ad\",\n                                    \"abbreviation\": \"US\"\n                                }\n                            }\n                        }\n                    },\n                    \"case_assignment\": {\n                        \"created_at\": \"2026-02-03T14:34:22.000000Z\",\n                        \"reason\": \"New clinician reassigned to the case after the random reassignment functionality was triggered by ivanaga clinician admin\",\n                        \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n                        \"clinician\": {\n                            \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n                            \"clinician_specialty\": \"Endocrinologist\",\n                            \"first_name\": \"First\",\n                            \"last_name\": \"Name\",\n                            \"full_name\": \"First Name\",\n                            \"is_online\": true,\n                            \"photo\": {\n                                \"url_thumbnail\": \"https://mdintegrations-public.s3.us-east-2.amazonaws.com/development/thumbnails/2025_03_25/CEIGz7RZlP2VPxLCrs2D.png\"\n                            }\n                        }\n                    },\n                    \"case_prescriptions\": [],\n                    \"case_offerings\": [\n                        {\n                            \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                            \"case_prescription_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                            \"is_important\": false,\n                            \"order\": 1,\n                            \"name\": \"Aygestin\",\n                            \"title\": \"Aygestin DTP Test\"\n                        }\n                    ],\n                    \"case_services\": [],\n                    \"diseases\": [],\n                    \"tags\": [\n                        {\n                            \"id\": \"ddb470f6-a715-4c5c-88ab-df1074508588\",\n                            \"type\": \"global\",\n                            \"name\": \"No Valid ID\",\n                            \"key\": \"mdi.missing.id\",\n                            \"color\": \"#5a21e0\",\n                            \"description\": null,\n                            \"notes\": null,\n                            \"removable_role\": \"admin\",\n                            \"auto_detach_status\": null\n                        }\n                    ],\n                    \"orders\": [\n                        {\n                            \"id\": \"0be25597-69b1-4ec7-a4dd-eff93ed60e1b\",\n                            \"external_id\": \"019c23ef-bd8d-73e6-aff9-6d7370c9037e\",\n                            \"status\": \"scheduled\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n                        },\n                        {\n                            \"id\": \"f2ce6290-1cec-4fca-b238-4ec0ef18d6d1\",\n                            \"external_id\": \"019c23ef-bdbb-713a-b8d1-82e728979f4f\",\n                            \"status\": \"scheduled\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n                        },\n                        {\n                            \"id\": \"4f563371-a18a-4210-8b3e-eb6c4f77967c\",\n                            \"external_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n                            \"status\": \"failed\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-03T14:45:13.000000Z\"\n                        },\n                        {\n                            \"id\": \"47e70128-6659-44f9-a2f0-a5eba610b3d0\",\n                            \"external_id\": \"019c23ef-bd6a-7399-9f87-e8872301ff99\",\n                            \"status\": \"failed\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-08T20:44:16.000000Z\"\n                        }\n                    ]\n                },\n                \"offerings\": [\n                    {\n                        \"id\": \"68670283-950c-4950-9432-20c16725a960\",\n                        \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                        \"title\": \"Aygestin DTP Test\",\n                        \"name\": \"Aygestin\",\n                        \"directions\": \"Hello Jess! Take 2 pills per day\",\n                        \"is_additional_approval_needed\": false,\n                        \"thank_you_note\": null,\n                        \"clinical_note\": \"PMH: [patient_name] is a [patient_age] year old [patient_gender] located in [patient_state] who presents via [partner_name] for a virtual interactive telemedicine evaluation as above.\\n\\nPt listed current medications taken as: [patient_reported_medications]\\n\\nEXAM: I have performed my clinical evaluation through review of the patient’s current symptoms, past medical history, clinical photos, allergies and all other chart information.\\n\\nDIAGNOSIS: [icd_10]\\n\\nTREATMENT: I have prescribed treatment with [prescriptions]\\n\\nPatient has been educated on the treatment plan including diagnosis, instructions for use, risks/benefits/side effects/alternatives to therapy. No contraindications, red flags, or dangerous polypharmacy interactions identified. If any side effects occur they should discontinue use and contact me for further instruction, except in the case of severe side effects in which case they should seek urgent care in an emergency room.\\n\\nFOLLOW UP: The patient has been provided information on how to contact me directly to follow up if any medical concerns or reactions to treatment arise at any time. The patient is recommended to follow up with myself or the support team if additional concerns arise or the treatment plan needs to be adjusted. I am and will remain immediately available through chat, phone, and video communication throughout the treatment course. Patient encouraged to notify PCP of today's telemedicine visit/treatment plan, and to continue to follow up with routine visits for their general health including annual exams. Patient provided information on how to find a local PCP if they do not already have one. Patient has been educated that there are limitations to telemedicine care, and in-person care may be necessary in certain situations (ER if severe side effects develop or through an in person physician if signs/symptoms develop that warrant additional work up/evaluation/alternative treatments).\\nTo the extent that I have been made aware by the company with which I contract to provide medical services, the patient has signed relevant attestations prior to being assigned to me as a clinician that state that the patient is aware of any limitations in a virtual health encounter, and understands that urgent or emergent care must be pursued in person). I have confirmed the patient's identity via review of a legally recognized form of ID or through Vouched (a second party identity verification service). The patient is over 18 and able to consent for their own care.\\nPlease see doctor/patient messaging thread for any relevant dialogue which, in addition to providing supplemental medical information as needed, secures and meets the legally-defined doctor-patient relationship. Telemedicine is appropriate for this patient encounter because it can meet the same standard of care for this patient’s chief complaint and can improve access to care /the speed of care which remains limited in many parts of the United States.\",\n                        \"status\": \"completed\",\n                        \"status_details\": null,\n                        \"has_recommendations\": true,\n                        \"recommendation_message\": null,\n                        \"store_url\": null,\n                        \"image_file_id\": null,\n                        \"order\": 1,\n                        \"upcharged\": null,\n                        \"offering_cost\": null,\n                        \"clinician_extra_fee\": null,\n                        \"is_important\": false,\n                        \"offerable_type\": \"App\\\\Models\\\\Offering\",\n                        \"offerable_id\": \"73ea34cf-c9ec-4094-9ed8-2949af9d0952\",\n                        \"order_status\": \"not-applicable\",\n                        \"order_date\": null,\n                        \"order_details\": null,\n                        \"order_updated\": null,\n                        \"programs\": null,\n                        \"external_id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\",\n                        \"created_at\": \"2026-02-03T14:34:03.000000Z\",\n                        \"updated_at\": \"2026-02-03T14:36:59.000000Z\",\n                        \"deleted_at\": null,\n                        \"product\": {\n                            \"id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n                            \"ndc\": \"68462030450\",\n                            \"name\": \"Aygestin\",\n                            \"refills\": 3,\n                            \"quantity\": \"30.00\",\n                            \"strength\": \"5 mg\",\n                            \"created_at\": \"2026-01-29T20:48:02.000000Z\",\n                            \"deleted_at\": null,\n                            \"directions\": \"Hello Jess! Take 2 pills per day\",\n                            \"updated_at\": \"2026-01-29T20:48:02.000000Z\",\n                            \"days_before\": 20,\n                            \"days_supply\": 90,\n                            \"description\": \"Norethindrone Acetate (Aygestin) | Glenmark - Tablet - 5 mg\",\n                            \"external_id\": \"019abc50-ca9b-71e3-a7a4-69a22c579ed2\",\n                            \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n                            \"dispense_unit\": \"Capsule\",\n                            \"pharmacy_name\": \"Honeybee Health\",\n                            \"effective_date\": null,\n                            \"force_pharmacy\": true,\n                            \"pharmacy_notes\": \"Company: MDI USA Partner \\nPatient ID: test@mdintegrations.com \\nCase ID: 8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                            \"no_substitutions\": true,\n                            \"allow_substitutions\": false,\n                            \"dosespot_prescription_id\": null\n                        },\n                        \"product_id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n                        \"product_type\": \"App\\\\Models\\\\PharmacyApiProduct\",\n                        \"diseases\": []\n                    }\n                ],\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-03T14:45:13.000000Z\",\n                \"deleted_at\": null\n            },\n            {\n                \"id\": \"47e70128-6659-44f9-a2f0-a5eba610b3d0\",\n                \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                \"external_id\": \"019c23ef-bd6a-7399-9f87-e8872301ff99\",\n                \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n                \"prescriptions_id\": [\n                    {\n                        \"id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\"\n                    }\n                ],\n                \"status\": \"failed\",\n                \"details\": \"The order.acknowledged id field is missing; validation failed in the system.\",\n                \"status_details\": \"The order.acknowledged id field is missing; validation failed in the system.\",\n                \"status_metadata\": \"{\\\"code\\\":0,\\\"file\\\":\\\"\\\\/var\\\\/www\\\\/html\\\\/vendor\\\\/laravel\\\\/framework\\\\/src\\\\/Illuminate\\\\/Support\\\\/helpers.php\\\",\\\"line\\\":420,\\\"class\\\":\\\"Illuminate\\\\\\\\Validation\\\\\\\\ValidationException\\\",\\\"message\\\":\\\"The order.acknowledged id field is required.\\\"}\",\n                \"number\": \"01KGHYZFB96553Y02D4ZMPSPZW\",\n                \"date\": \"2026-01-01\",\n                \"sequence_number\": 2,\n                \"sequence_total\": 4,\n                \"sequence_order_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n                \"acknowledged_at\": null,\n                \"acknowledged_id\": null,\n                \"acknowledged_metadata\": null,\n                \"payment_date\": \"2026-01-01\",\n                \"payment_status\": \"paid\",\n                \"pharmacy_name\": \"Honeybee Health\",\n                \"case\": {\n                    \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                    \"is_additional_approval_needed\": false,\n                    \"prioritized_at\": null,\n                    \"programs\": [],\n                    \"prioritized_reason\": null,\n                    \"prioritized\": false,\n                    \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n                    \"reference_case_id\": null,\n                    \"patient_exam_id\": \"115a68d9-a412-4bd0-824c-dac069651f1f\",\n                    \"service_pdf_exported\": false,\n                    \"case_type\": \"follow-up\",\n                    \"is_chargeable\": true,\n                    \"is_upsell_generated\": false,\n                    \"charged_by\": \"mdi\",\n                    \"is_sync\": false,\n                    \"case_status\": {\n                        \"name\": \"completed\",\n                        \"reason\": null,\n                        \"updated_at\": \"2026-02-03T14:37:14.000000Z\",\n                        \"created_at\": \"2026-02-03T14:37:14.000000Z\"\n                    },\n                    \"created_at\": \"2026-02-03T14:33:49.000000Z\",\n                    \"patient\": {\n                        \"patient_id\": \"02d140e6-89ef-4713-a2a2-3d96a0915525\",\n                        \"date_of_birth\": \"1983-10-17\",\n                        \"first_name\": \"Jess\",\n                        \"last_name\": \"Bradshaw\",\n                        \"gender\": 2,\n                        \"gender_label\": \"Female\",\n                        \"email\": \"test@mdintegrations.com\",\n                        \"phone_number\": \"(816) 679-2211\",\n                        \"pregnancy\": false,\n                        \"address\": {\n                            \"address_id\": \"933f7654-3385-4d14-9d95-510d5d76a86c\",\n                            \"address\": \"9071 E. Mississippi Ave\",\n                            \"address2\": \"Apt 6C\",\n                            \"city_name\": \"Downtown\",\n                            \"zip_code\": \"80247\",\n                            \"state\": {\n                                \"state_id\": \"95e0aca0-6d59-482f-9f4d-b0af33aabc1a\",\n                                \"abbreviation\": \"FL\",\n                                \"name\": \"Florida\",\n                                \"is_sync\": false,\n                                \"country\": {\n                                    \"state_id\": \"bf511938-8c04-47cf-ac41-6a9aeea376ad\",\n                                    \"abbreviation\": \"US\"\n                                }\n                            }\n                        }\n                    },\n                    \"case_assignment\": {\n                        \"created_at\": \"2026-02-03T14:34:22.000000Z\",\n                        \"reason\": \"New clinician reassigned to the case after the random reassignment functionality was triggered by ivanaga clinician admin\",\n                        \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n                        \"clinician\": {\n                            \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n                            \"clinician_specialty\": \"Endocrinologist\",\n                            \"first_name\": \"First\",\n                            \"last_name\": \"Name\",\n                            \"full_name\": \"First Name\",\n                            \"is_online\": true,\n                            \"photo\": {\n                                \"url_thumbnail\": \"https://mdintegrations-public.s3.us-east-2.amazonaws.com/development/thumbnails/2025_03_25/CEIGz7RZlP2VPxLCrs2D.png\"\n                            }\n                        }\n                    },\n                    \"case_prescriptions\": [],\n                    \"case_offerings\": [\n                        {\n                            \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                            \"case_prescription_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                            \"is_important\": false,\n                            \"order\": 1,\n                            \"name\": \"Aygestin\",\n                            \"title\": \"Aygestin DTP Test\"\n                        }\n                    ],\n                    \"case_services\": [],\n                    \"diseases\": [],\n                    \"tags\": [\n                        {\n                            \"id\": \"ddb470f6-a715-4c5c-88ab-df1074508588\",\n                            \"type\": \"global\",\n                            \"name\": \"No Valid ID\",\n                            \"key\": \"mdi.missing.id\",\n                            \"color\": \"#5a21e0\",\n                            \"description\": null,\n                            \"notes\": null,\n                            \"removable_role\": \"admin\",\n                            \"auto_detach_status\": null\n                        }\n                    ],\n                    \"orders\": [\n                        {\n                            \"id\": \"0be25597-69b1-4ec7-a4dd-eff93ed60e1b\",\n                            \"external_id\": \"019c23ef-bd8d-73e6-aff9-6d7370c9037e\",\n                            \"status\": \"scheduled\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n                        },\n                        {\n                            \"id\": \"f2ce6290-1cec-4fca-b238-4ec0ef18d6d1\",\n                            \"external_id\": \"019c23ef-bdbb-713a-b8d1-82e728979f4f\",\n                            \"status\": \"scheduled\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n                        },\n                        {\n                            \"id\": \"4f563371-a18a-4210-8b3e-eb6c4f77967c\",\n                            \"external_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n                            \"status\": \"failed\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-03T14:45:13.000000Z\"\n                        },\n                        {\n                            \"id\": \"47e70128-6659-44f9-a2f0-a5eba610b3d0\",\n                            \"external_id\": \"019c23ef-bd6a-7399-9f87-e8872301ff99\",\n                            \"status\": \"failed\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-08T20:44:16.000000Z\"\n                        }\n                    ]\n                },\n                \"offerings\": [\n                    {\n                        \"id\": \"68670283-950c-4950-9432-20c16725a960\",\n                        \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                        \"title\": \"Aygestin DTP Test\",\n                        \"name\": \"Aygestin\",\n                        \"directions\": \"Hello Jess! Take 2 pills per day\",\n                        \"is_additional_approval_needed\": false,\n                        \"thank_you_note\": null,\n                        \"clinical_note\": \"PMH: [patient_name] is a [patient_age] year old [patient_gender] located in [patient_state] who presents via [partner_name] for a virtual interactive telemedicine evaluation as above.\\n\\nPt listed current medications taken as: [patient_reported_medications]\\n\\nEXAM: I have performed my clinical evaluation through review of the patient’s current symptoms, past medical history, clinical photos, allergies and all other chart information.\\n\\nDIAGNOSIS: [icd_10]\\n\\nTREATMENT: I have prescribed treatment with [prescriptions]\\n\\nPatient has been educated on the treatment plan including diagnosis, instructions for use, risks/benefits/side effects/alternatives to therapy. No contraindications, red flags, or dangerous polypharmacy interactions identified. If any side effects occur they should discontinue use and contact me for further instruction, except in the case of severe side effects in which case they should seek urgent care in an emergency room.\\n\\nFOLLOW UP: The patient has been provided information on how to contact me directly to follow up if any medical concerns or reactions to treatment arise at any time. The patient is recommended to follow up with myself or the support team if additional concerns arise or the treatment plan needs to be adjusted. I am and will remain immediately available through chat, phone, and video communication throughout the treatment course. Patient encouraged to notify PCP of today's telemedicine visit/treatment plan, and to continue to follow up with routine visits for their general health including annual exams. Patient provided information on how to find a local PCP if they do not already have one. Patient has been educated that there are limitations to telemedicine care, and in-person care may be necessary in certain situations (ER if severe side effects develop or through an in person physician if signs/symptoms develop that warrant additional work up/evaluation/alternative treatments).\\nTo the extent that I have been made aware by the company with which I contract to provide medical services, the patient has signed relevant attestations prior to being assigned to me as a clinician that state that the patient is aware of any limitations in a virtual health encounter, and understands that urgent or emergent care must be pursued in person). I have confirmed the patient's identity via review of a legally recognized form of ID or through Vouched (a second party identity verification service). The patient is over 18 and able to consent for their own care.\\nPlease see doctor/patient messaging thread for any relevant dialogue which, in addition to providing supplemental medical information as needed, secures and meets the legally-defined doctor-patient relationship. Telemedicine is appropriate for this patient encounter because it can meet the same standard of care for this patient’s chief complaint and can improve access to care /the speed of care which remains limited in many parts of the United States.\",\n                        \"status\": \"completed\",\n                        \"status_details\": null,\n                        \"has_recommendations\": true,\n                        \"recommendation_message\": null,\n                        \"store_url\": null,\n                        \"image_file_id\": null,\n                        \"order\": 1,\n                        \"upcharged\": null,\n                        \"offering_cost\": null,\n                        \"clinician_extra_fee\": null,\n                        \"is_important\": false,\n                        \"offerable_type\": \"App\\\\Models\\\\Offering\",\n                        \"offerable_id\": \"73ea34cf-c9ec-4094-9ed8-2949af9d0952\",\n                        \"order_status\": \"not-applicable\",\n                        \"order_date\": null,\n                        \"order_details\": null,\n                        \"order_updated\": null,\n                        \"programs\": null,\n                        \"external_id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\",\n                        \"created_at\": \"2026-02-03T14:34:03.000000Z\",\n                        \"updated_at\": \"2026-02-03T14:36:59.000000Z\",\n                        \"deleted_at\": null,\n                        \"product\": {\n                            \"id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n                            \"ndc\": \"68462030450\",\n                            \"name\": \"Aygestin\",\n                            \"refills\": 3,\n                            \"quantity\": \"30.00\",\n                            \"strength\": \"5 mg\",\n                            \"created_at\": \"2026-01-29T20:48:02.000000Z\",\n                            \"deleted_at\": null,\n                            \"directions\": \"Hello Jess! Take 2 pills per day\",\n                            \"updated_at\": \"2026-01-29T20:48:02.000000Z\",\n                            \"days_before\": 20,\n                            \"days_supply\": 90,\n                            \"description\": \"Norethindrone Acetate (Aygestin) | Glenmark - Tablet - 5 mg\",\n                            \"external_id\": \"019abc50-ca9b-71e3-a7a4-69a22c579ed2\",\n                            \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n                            \"dispense_unit\": \"Capsule\",\n                            \"pharmacy_name\": \"Honeybee Health\",\n                            \"effective_date\": null,\n                            \"force_pharmacy\": true,\n                            \"pharmacy_notes\": \"Company: MDI USA Partner \\nPatient ID: test@mdintegrations.com \\nCase ID: 8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                            \"no_substitutions\": true,\n                            \"allow_substitutions\": false,\n                            \"dosespot_prescription_id\": null\n                        },\n                        \"product_id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n                        \"product_type\": \"App\\\\Models\\\\PharmacyApiProduct\",\n                        \"diseases\": []\n                    }\n                ],\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-08T20:44:16.000000Z\",\n                \"deleted_at\": null\n            },\n            {\n                \"id\": \"0be25597-69b1-4ec7-a4dd-eff93ed60e1b\",\n                \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                \"external_id\": \"019c23ef-bd8d-73e6-aff9-6d7370c9037e\",\n                \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n                \"prescriptions_id\": [\n                    {\n                        \"id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\"\n                    }\n                ],\n                \"status\": \"scheduled\",\n                \"details\": null,\n                \"status_details\": null,\n                \"status_metadata\": null,\n                \"number\": \"01KGHYZFCC2HF9PC0ZM6R45RCP\",\n                \"date\": \"2026-07-13\",\n                \"sequence_number\": 3,\n                \"sequence_total\": 4,\n                \"sequence_order_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n                \"acknowledged_at\": null,\n                \"acknowledged_id\": null,\n                \"acknowledged_metadata\": null,\n                \"payment_date\": null,\n                \"payment_status\": null,\n                \"pharmacy_name\": \"Honeybee Health\",\n                \"case\": {\n                    \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                    \"is_additional_approval_needed\": false,\n                    \"prioritized_at\": null,\n                    \"programs\": [],\n                    \"prioritized_reason\": null,\n                    \"prioritized\": false,\n                    \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n                    \"reference_case_id\": null,\n                    \"patient_exam_id\": \"115a68d9-a412-4bd0-824c-dac069651f1f\",\n                    \"service_pdf_exported\": false,\n                    \"case_type\": \"follow-up\",\n                    \"is_chargeable\": true,\n                    \"is_upsell_generated\": false,\n                    \"charged_by\": \"mdi\",\n                    \"is_sync\": false,\n                    \"case_status\": {\n                        \"name\": \"completed\",\n                        \"reason\": null,\n                        \"updated_at\": \"2026-02-03T14:37:14.000000Z\",\n                        \"created_at\": \"2026-02-03T14:37:14.000000Z\"\n                    },\n                    \"created_at\": \"2026-02-03T14:33:49.000000Z\",\n                    \"patient\": {\n                        \"patient_id\": \"02d140e6-89ef-4713-a2a2-3d96a0915525\",\n                        \"date_of_birth\": \"1983-10-17\",\n                        \"first_name\": \"Jess\",\n                        \"last_name\": \"Bradshaw\",\n                        \"gender\": 2,\n                        \"gender_label\": \"Female\",\n                        \"email\": \"test@mdintegrations.com\",\n                        \"phone_number\": \"(816) 679-2211\",\n                        \"pregnancy\": false,\n                        \"address\": {\n                            \"address_id\": \"933f7654-3385-4d14-9d95-510d5d76a86c\",\n                            \"address\": \"9071 E. Mississippi Ave\",\n                            \"address2\": \"Apt 6C\",\n                            \"city_name\": \"Downtown\",\n                            \"zip_code\": \"80247\",\n                            \"state\": {\n                                \"state_id\": \"95e0aca0-6d59-482f-9f4d-b0af33aabc1a\",\n                                \"abbreviation\": \"FL\",\n                                \"name\": \"Florida\",\n                                \"is_sync\": false,\n                                \"country\": {\n                                    \"state_id\": \"bf511938-8c04-47cf-ac41-6a9aeea376ad\",\n                                    \"abbreviation\": \"US\"\n                                }\n                            }\n                        }\n                    },\n                    \"case_assignment\": {\n                        \"created_at\": \"2026-02-03T14:34:22.000000Z\",\n                        \"reason\": \"New clinician reassigned to the case after the random reassignment functionality was triggered by ivanaga clinician admin\",\n                        \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n                        \"clinician\": {\n                            \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n                            \"clinician_specialty\": \"Endocrinologist\",\n                            \"first_name\": \"First\",\n                            \"last_name\": \"Name\",\n                            \"full_name\": \"First Name\",\n                            \"is_online\": true,\n                            \"photo\": {\n                                \"url_thumbnail\": \"https://mdintegrations-public.s3.us-east-2.amazonaws.com/development/thumbnails/2025_03_25/CEIGz7RZlP2VPxLCrs2D.png\"\n                            }\n                        }\n                    },\n                    \"case_prescriptions\": [],\n                    \"case_offerings\": [\n                        {\n                            \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                            \"case_prescription_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                            \"is_important\": false,\n                            \"order\": 1,\n                            \"name\": \"Aygestin\",\n                            \"title\": \"Aygestin DTP Test\"\n                        }\n                    ],\n                    \"case_services\": [],\n                    \"diseases\": [],\n                    \"tags\": [\n                        {\n                            \"id\": \"ddb470f6-a715-4c5c-88ab-df1074508588\",\n                            \"type\": \"global\",\n                            \"name\": \"No Valid ID\",\n                            \"key\": \"mdi.missing.id\",\n                            \"color\": \"#5a21e0\",\n                            \"description\": null,\n                            \"notes\": null,\n                            \"removable_role\": \"admin\",\n                            \"auto_detach_status\": null\n                        }\n                    ],\n                    \"orders\": [\n                        {\n                            \"id\": \"0be25597-69b1-4ec7-a4dd-eff93ed60e1b\",\n                            \"external_id\": \"019c23ef-bd8d-73e6-aff9-6d7370c9037e\",\n                            \"status\": \"scheduled\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n                        },\n                        {\n                            \"id\": \"f2ce6290-1cec-4fca-b238-4ec0ef18d6d1\",\n                            \"external_id\": \"019c23ef-bdbb-713a-b8d1-82e728979f4f\",\n                            \"status\": \"scheduled\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n                        },\n                        {\n                            \"id\": \"4f563371-a18a-4210-8b3e-eb6c4f77967c\",\n                            \"external_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n                            \"status\": \"failed\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-03T14:45:13.000000Z\"\n                        },\n                        {\n                            \"id\": \"47e70128-6659-44f9-a2f0-a5eba610b3d0\",\n                            \"external_id\": \"019c23ef-bd6a-7399-9f87-e8872301ff99\",\n                            \"status\": \"failed\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-08T20:44:16.000000Z\"\n                        }\n                    ]\n                },\n                \"offerings\": [\n                    {\n                        \"id\": \"68670283-950c-4950-9432-20c16725a960\",\n                        \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                        \"title\": \"Aygestin DTP Test\",\n                        \"name\": \"Aygestin\",\n                        \"directions\": \"Hello Jess! Take 2 pills per day\",\n                        \"is_additional_approval_needed\": false,\n                        \"thank_you_note\": null,\n                        \"clinical_note\": \"PMH: [patient_name] is a [patient_age] year old [patient_gender] located in [patient_state] who presents via [partner_name] for a virtual interactive telemedicine evaluation as above.\\n\\nPt listed current medications taken as: [patient_reported_medications]\\n\\nEXAM: I have performed my clinical evaluation through review of the patient’s current symptoms, past medical history, clinical photos, allergies and all other chart information.\\n\\nDIAGNOSIS: [icd_10]\\n\\nTREATMENT: I have prescribed treatment with [prescriptions]\\n\\nPatient has been educated on the treatment plan including diagnosis, instructions for use, risks/benefits/side effects/alternatives to therapy. No contraindications, red flags, or dangerous polypharmacy interactions identified. If any side effects occur they should discontinue use and contact me for further instruction, except in the case of severe side effects in which case they should seek urgent care in an emergency room.\\n\\nFOLLOW UP: The patient has been provided information on how to contact me directly to follow up if any medical concerns or reactions to treatment arise at any time. The patient is recommended to follow up with myself or the support team if additional concerns arise or the treatment plan needs to be adjusted. I am and will remain immediately available through chat, phone, and video communication throughout the treatment course. Patient encouraged to notify PCP of today's telemedicine visit/treatment plan, and to continue to follow up with routine visits for their general health including annual exams. Patient provided information on how to find a local PCP if they do not already have one. Patient has been educated that there are limitations to telemedicine care, and in-person care may be necessary in certain situations (ER if severe side effects develop or through an in person physician if signs/symptoms develop that warrant additional work up/evaluation/alternative treatments).\\nTo the extent that I have been made aware by the company with which I contract to provide medical services, the patient has signed relevant attestations prior to being assigned to me as a clinician that state that the patient is aware of any limitations in a virtual health encounter, and understands that urgent or emergent care must be pursued in person). I have confirmed the patient's identity via review of a legally recognized form of ID or through Vouched (a second party identity verification service). The patient is over 18 and able to consent for their own care.\\nPlease see doctor/patient messaging thread for any relevant dialogue which, in addition to providing supplemental medical information as needed, secures and meets the legally-defined doctor-patient relationship. Telemedicine is appropriate for this patient encounter because it can meet the same standard of care for this patient’s chief complaint and can improve access to care /the speed of care which remains limited in many parts of the United States.\",\n                        \"status\": \"completed\",\n                        \"status_details\": null,\n                        \"has_recommendations\": true,\n                        \"recommendation_message\": null,\n                        \"store_url\": null,\n                        \"image_file_id\": null,\n                        \"order\": 1,\n                        \"upcharged\": null,\n                        \"offering_cost\": null,\n                        \"clinician_extra_fee\": null,\n                        \"is_important\": false,\n                        \"offerable_type\": \"App\\\\Models\\\\Offering\",\n                        \"offerable_id\": \"73ea34cf-c9ec-4094-9ed8-2949af9d0952\",\n                        \"order_status\": \"not-applicable\",\n                        \"order_date\": null,\n                        \"order_details\": null,\n                        \"order_updated\": null,\n                        \"programs\": null,\n                        \"external_id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\",\n                        \"created_at\": \"2026-02-03T14:34:03.000000Z\",\n                        \"updated_at\": \"2026-02-03T14:36:59.000000Z\",\n                        \"deleted_at\": null,\n                        \"product\": {\n                            \"id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n                            \"ndc\": \"68462030450\",\n                            \"name\": \"Aygestin\",\n                            \"refills\": 3,\n                            \"quantity\": \"30.00\",\n                            \"strength\": \"5 mg\",\n                            \"created_at\": \"2026-01-29T20:48:02.000000Z\",\n                            \"deleted_at\": null,\n                            \"directions\": \"Hello Jess! Take 2 pills per day\",\n                            \"updated_at\": \"2026-01-29T20:48:02.000000Z\",\n                            \"days_before\": 20,\n                            \"days_supply\": 90,\n                            \"description\": \"Norethindrone Acetate (Aygestin) | Glenmark - Tablet - 5 mg\",\n                            \"external_id\": \"019abc50-ca9b-71e3-a7a4-69a22c579ed2\",\n                            \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n                            \"dispense_unit\": \"Capsule\",\n                            \"pharmacy_name\": \"Honeybee Health\",\n                            \"effective_date\": null,\n                            \"force_pharmacy\": true,\n                            \"pharmacy_notes\": \"Company: MDI USA Partner \\nPatient ID: test@mdintegrations.com \\nCase ID: 8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                            \"no_substitutions\": true,\n                            \"allow_substitutions\": false,\n                            \"dosespot_prescription_id\": null\n                        },\n                        \"product_id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n                        \"product_type\": \"App\\\\Models\\\\PharmacyApiProduct\",\n                        \"diseases\": []\n                    }\n                ],\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"deleted_at\": null\n            },\n            {\n                \"id\": \"f2ce6290-1cec-4fca-b238-4ec0ef18d6d1\",\n                \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                \"external_id\": \"019c23ef-bdbb-713a-b8d1-82e728979f4f\",\n                \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n                \"prescriptions_id\": [\n                    {\n                        \"id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\"\n                    }\n                ],\n                \"status\": \"scheduled\",\n                \"details\": null,\n                \"status_details\": null,\n                \"status_metadata\": null,\n                \"number\": \"01KGHYZFDTMJ4YDT4GA6CX8PVZ\",\n                \"date\": \"2026-10-11\",\n                \"sequence_number\": 4,\n                \"sequence_total\": 4,\n                \"sequence_order_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n                \"acknowledged_at\": null,\n                \"acknowledged_id\": null,\n                \"acknowledged_metadata\": null,\n                \"payment_date\": null,\n                \"payment_status\": null,\n                \"pharmacy_name\": \"Honeybee Health\",\n                \"case\": {\n                    \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                    \"is_additional_approval_needed\": false,\n                    \"prioritized_at\": null,\n                    \"programs\": [],\n                    \"prioritized_reason\": null,\n                    \"prioritized\": false,\n                    \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n                    \"reference_case_id\": null,\n                    \"patient_exam_id\": \"115a68d9-a412-4bd0-824c-dac069651f1f\",\n                    \"service_pdf_exported\": false,\n                    \"case_type\": \"follow-up\",\n                    \"is_chargeable\": true,\n                    \"is_upsell_generated\": false,\n                    \"charged_by\": \"mdi\",\n                    \"is_sync\": false,\n                    \"case_status\": {\n                        \"name\": \"completed\",\n                        \"reason\": null,\n                        \"updated_at\": \"2026-02-03T14:37:14.000000Z\",\n                        \"created_at\": \"2026-02-03T14:37:14.000000Z\"\n                    },\n                    \"created_at\": \"2026-02-03T14:33:49.000000Z\",\n                    \"patient\": {\n                        \"patient_id\": \"02d140e6-89ef-4713-a2a2-3d96a0915525\",\n                        \"date_of_birth\": \"1983-10-17\",\n                        \"first_name\": \"Jess\",\n                        \"last_name\": \"Bradshaw\",\n                        \"gender\": 2,\n                        \"gender_label\": \"Female\",\n                        \"email\": \"test@mdintegrations.com\",\n                        \"phone_number\": \"(816) 679-2211\",\n                        \"pregnancy\": false,\n                        \"address\": {\n                            \"address_id\": \"933f7654-3385-4d14-9d95-510d5d76a86c\",\n                            \"address\": \"9071 E. Mississippi Ave\",\n                            \"address2\": \"Apt 6C\",\n                            \"city_name\": \"Downtown\",\n                            \"zip_code\": \"80247\",\n                            \"state\": {\n                                \"state_id\": \"95e0aca0-6d59-482f-9f4d-b0af33aabc1a\",\n                                \"abbreviation\": \"FL\",\n                                \"name\": \"Florida\",\n                                \"is_sync\": false,\n                                \"country\": {\n                                    \"state_id\": \"bf511938-8c04-47cf-ac41-6a9aeea376ad\",\n                                    \"abbreviation\": \"US\"\n                                }\n                            }\n                        }\n                    },\n                    \"case_assignment\": {\n                        \"created_at\": \"2026-02-03T14:34:22.000000Z\",\n                        \"reason\": \"New clinician reassigned to the case after the random reassignment functionality was triggered by ivanaga clinician admin\",\n                        \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n                        \"clinician\": {\n                            \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n                            \"clinician_specialty\": \"Endocrinologist\",\n                            \"first_name\": \"First\",\n                            \"last_name\": \"Name\",\n                            \"full_name\": \"First Name\",\n                            \"is_online\": true,\n                            \"photo\": {\n                                \"url_thumbnail\": \"https://mdintegrations-public.s3.us-east-2.amazonaws.com/development/thumbnails/2025_03_25/CEIGz7RZlP2VPxLCrs2D.png\"\n                            }\n                        }\n                    },\n                    \"case_prescriptions\": [],\n                    \"case_offerings\": [\n                        {\n                            \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                            \"case_prescription_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                            \"is_important\": false,\n                            \"order\": 1,\n                            \"name\": \"Aygestin\",\n                            \"title\": \"Aygestin DTP Test\"\n                        }\n                    ],\n                    \"case_services\": [],\n                    \"diseases\": [],\n                    \"tags\": [\n                        {\n                            \"id\": \"ddb470f6-a715-4c5c-88ab-df1074508588\",\n                            \"type\": \"global\",\n                            \"name\": \"No Valid ID\",\n                            \"key\": \"mdi.missing.id\",\n                            \"color\": \"#5a21e0\",\n                            \"description\": null,\n                            \"notes\": null,\n                            \"removable_role\": \"admin\",\n                            \"auto_detach_status\": null\n                        }\n                    ],\n                    \"orders\": [\n                        {\n                            \"id\": \"0be25597-69b1-4ec7-a4dd-eff93ed60e1b\",\n                            \"external_id\": \"019c23ef-bd8d-73e6-aff9-6d7370c9037e\",\n                            \"status\": \"scheduled\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n                        },\n                        {\n                            \"id\": \"f2ce6290-1cec-4fca-b238-4ec0ef18d6d1\",\n                            \"external_id\": \"019c23ef-bdbb-713a-b8d1-82e728979f4f\",\n                            \"status\": \"scheduled\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n                        },\n                        {\n                            \"id\": \"4f563371-a18a-4210-8b3e-eb6c4f77967c\",\n                            \"external_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n                            \"status\": \"failed\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-03T14:45:13.000000Z\"\n                        },\n                        {\n                            \"id\": \"47e70128-6659-44f9-a2f0-a5eba610b3d0\",\n                            \"external_id\": \"019c23ef-bd6a-7399-9f87-e8872301ff99\",\n                            \"status\": \"failed\",\n                            \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                            \"updated_at\": \"2026-02-08T20:44:16.000000Z\"\n                        }\n                    ]\n                },\n                \"offerings\": [\n                    {\n                        \"id\": \"68670283-950c-4950-9432-20c16725a960\",\n                        \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                        \"title\": \"Aygestin DTP Test\",\n                        \"name\": \"Aygestin\",\n                        \"directions\": \"Hello Jess! Take 2 pills per day\",\n                        \"is_additional_approval_needed\": false,\n                        \"thank_you_note\": null,\n                        \"clinical_note\": \"PMH: [patient_name] is a [patient_age] year old [patient_gender] located in [patient_state] who presents via [partner_name] for a virtual interactive telemedicine evaluation as above.\\n\\nPt listed current medications taken as: [patient_reported_medications]\\n\\nEXAM: I have performed my clinical evaluation through review of the patient’s current symptoms, past medical history, clinical photos, allergies and all other chart information.\\n\\nDIAGNOSIS: [icd_10]\\n\\nTREATMENT: I have prescribed treatment with [prescriptions]\\n\\nPatient has been educated on the treatment plan including diagnosis, instructions for use, risks/benefits/side effects/alternatives to therapy. No contraindications, red flags, or dangerous polypharmacy interactions identified. If any side effects occur they should discontinue use and contact me for further instruction, except in the case of severe side effects in which case they should seek urgent care in an emergency room.\\n\\nFOLLOW UP: The patient has been provided information on how to contact me directly to follow up if any medical concerns or reactions to treatment arise at any time. The patient is recommended to follow up with myself or the support team if additional concerns arise or the treatment plan needs to be adjusted. I am and will remain immediately available through chat, phone, and video communication throughout the treatment course. Patient encouraged to notify PCP of today's telemedicine visit/treatment plan, and to continue to follow up with routine visits for their general health including annual exams. Patient provided information on how to find a local PCP if they do not already have one. Patient has been educated that there are limitations to telemedicine care, and in-person care may be necessary in certain situations (ER if severe side effects develop or through an in person physician if signs/symptoms develop that warrant additional work up/evaluation/alternative treatments).\\nTo the extent that I have been made aware by the company with which I contract to provide medical services, the patient has signed relevant attestations prior to being assigned to me as a clinician that state that the patient is aware of any limitations in a virtual health encounter, and understands that urgent or emergent care must be pursued in person). I have confirmed the patient's identity via review of a legally recognized form of ID or through Vouched (a second party identity verification service). The patient is over 18 and able to consent for their own care.\\nPlease see doctor/patient messaging thread for any relevant dialogue which, in addition to providing supplemental medical information as needed, secures and meets the legally-defined doctor-patient relationship. Telemedicine is appropriate for this patient encounter because it can meet the same standard of care for this patient’s chief complaint and can improve access to care /the speed of care which remains limited in many parts of the United States.\",\n                        \"status\": \"completed\",\n                        \"status_details\": null,\n                        \"has_recommendations\": true,\n                        \"recommendation_message\": null,\n                        \"store_url\": null,\n                        \"image_file_id\": null,\n                        \"order\": 1,\n                        \"upcharged\": null,\n                        \"offering_cost\": null,\n                        \"clinician_extra_fee\": null,\n                        \"is_important\": false,\n                        \"offerable_type\": \"App\\\\Models\\\\Offering\",\n                        \"offerable_id\": \"73ea34cf-c9ec-4094-9ed8-2949af9d0952\",\n                        \"order_status\": \"not-applicable\",\n                        \"order_date\": null,\n                        \"order_details\": null,\n                        \"order_updated\": null,\n                        \"programs\": null,\n                        \"external_id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\",\n                        \"created_at\": \"2026-02-03T14:34:03.000000Z\",\n                        \"updated_at\": \"2026-02-03T14:36:59.000000Z\",\n                        \"deleted_at\": null,\n                        \"product\": {\n                            \"id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n                            \"ndc\": \"68462030450\",\n                            \"name\": \"Aygestin\",\n                            \"refills\": 3,\n                            \"quantity\": \"30.00\",\n                            \"strength\": \"5 mg\",\n                            \"created_at\": \"2026-01-29T20:48:02.000000Z\",\n                            \"deleted_at\": null,\n                            \"directions\": \"Hello Jess! Take 2 pills per day\",\n                            \"updated_at\": \"2026-01-29T20:48:02.000000Z\",\n                            \"days_before\": 20,\n                            \"days_supply\": 90,\n                            \"description\": \"Norethindrone Acetate (Aygestin) | Glenmark - Tablet - 5 mg\",\n                            \"external_id\": \"019abc50-ca9b-71e3-a7a4-69a22c579ed2\",\n                            \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n                            \"dispense_unit\": \"Capsule\",\n                            \"pharmacy_name\": \"Honeybee Health\",\n                            \"effective_date\": null,\n                            \"force_pharmacy\": true,\n                            \"pharmacy_notes\": \"Company: MDI USA Partner \\nPatient ID: test@mdintegrations.com \\nCase ID: 8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                            \"no_substitutions\": true,\n                            \"allow_substitutions\": false,\n                            \"dosespot_prescription_id\": null\n                        },\n                        \"product_id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n                        \"product_type\": \"App\\\\Models\\\\PharmacyApiProduct\",\n                        \"diseases\": []\n                    }\n                ],\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"deleted_at\": null\n            }\n        ],\n        \"case\": {\n            \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n            \"is_additional_approval_needed\": false,\n            \"prioritized_at\": null,\n            \"programs\": [],\n            \"prioritized_reason\": null,\n            \"prioritized\": false,\n            \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n            \"reference_case_id\": null,\n            \"patient_exam_id\": \"115a68d9-a412-4bd0-824c-dac069651f1f\",\n            \"service_pdf_exported\": false,\n            \"case_type\": \"follow-up\",\n            \"is_chargeable\": true,\n            \"is_upsell_generated\": false,\n            \"charged_by\": \"mdi\",\n            \"is_sync\": false,\n            \"case_status\": {\n                \"name\": \"completed\",\n                \"reason\": null,\n                \"updated_at\": \"2026-02-03T14:37:14.000000Z\",\n                \"created_at\": \"2026-02-03T14:37:14.000000Z\"\n            },\n            \"created_at\": \"2026-02-03T14:33:49.000000Z\",\n            \"patient\": {\n                \"patient_id\": \"02d140e6-89ef-4713-a2a2-3d96a0915525\",\n                \"date_of_birth\": \"1983-10-17\",\n                \"first_name\": \"Jess\",\n                \"last_name\": \"Bradshaw\",\n                \"gender\": 2,\n                \"gender_label\": \"Female\",\n                \"email\": \"test@mdintegrations.com\",\n                \"phone_number\": \"(816) 679-2211\",\n                \"pregnancy\": false,\n                \"address\": {\n                    \"address_id\": \"933f7654-3385-4d14-9d95-510d5d76a86c\",\n                    \"address\": \"9071 E. Mississippi Ave\",\n                    \"address2\": \"Apt 6C\",\n                    \"city_name\": \"Downtown\",\n                    \"zip_code\": \"80247\",\n                    \"state\": {\n                        \"state_id\": \"95e0aca0-6d59-482f-9f4d-b0af33aabc1a\",\n                        \"abbreviation\": \"FL\",\n                        \"name\": \"Florida\",\n                        \"is_sync\": false,\n                        \"country\": {\n                            \"state_id\": \"bf511938-8c04-47cf-ac41-6a9aeea376ad\",\n                            \"abbreviation\": \"US\"\n                        }\n                    }\n                }\n            },\n            \"case_assignment\": {\n                \"created_at\": \"2026-02-03T14:34:22.000000Z\",\n                \"reason\": \"New clinician reassigned to the case after the random reassignment functionality was triggered by ivanaga clinician admin\",\n                \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n                \"clinician\": {\n                    \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n                    \"clinician_specialty\": \"Endocrinologist\",\n                    \"first_name\": \"First\",\n                    \"last_name\": \"Name\",\n                    \"full_name\": \"First Name\",\n                    \"is_online\": true,\n                    \"photo\": {\n                        \"url_thumbnail\": \"https://mdintegrations-public.s3.us-east-2.amazonaws.com/development/thumbnails/2025_03_25/CEIGz7RZlP2VPxLCrs2D.png\"\n                    }\n                }\n            },\n            \"case_prescriptions\": [],\n            \"case_offerings\": [\n                {\n                    \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                    \"case_prescription_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                    \"is_important\": false,\n                    \"order\": 1,\n                    \"name\": \"Aygestin\",\n                    \"title\": \"Aygestin DTP Test\"\n                }\n            ],\n            \"case_services\": [],\n            \"diseases\": [],\n            \"tags\": [\n                {\n                    \"id\": \"ddb470f6-a715-4c5c-88ab-df1074508588\",\n                    \"type\": \"global\",\n                    \"name\": \"No Valid ID\",\n                    \"key\": \"mdi.missing.id\",\n                    \"color\": \"#5a21e0\",\n                    \"description\": null,\n                    \"notes\": null,\n                    \"removable_role\": \"admin\",\n                    \"auto_detach_status\": null\n                }\n            ],\n            \"orders\": [\n                {\n                    \"id\": \"0be25597-69b1-4ec7-a4dd-eff93ed60e1b\",\n                    \"external_id\": \"019c23ef-bd8d-73e6-aff9-6d7370c9037e\",\n                    \"status\": \"scheduled\",\n                    \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                    \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n                },\n                {\n                    \"id\": \"f2ce6290-1cec-4fca-b238-4ec0ef18d6d1\",\n                    \"external_id\": \"019c23ef-bdbb-713a-b8d1-82e728979f4f\",\n                    \"status\": \"scheduled\",\n                    \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                    \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n                },\n                {\n                    \"id\": \"4f563371-a18a-4210-8b3e-eb6c4f77967c\",\n                    \"external_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n                    \"status\": \"failed\",\n                    \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                    \"updated_at\": \"2026-02-03T14:45:13.000000Z\"\n                },\n                {\n                    \"id\": \"47e70128-6659-44f9-a2f0-a5eba610b3d0\",\n                    \"external_id\": \"019c23ef-bd6a-7399-9f87-e8872301ff99\",\n                    \"status\": \"failed\",\n                    \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                    \"updated_at\": \"2026-02-08T20:44:16.000000Z\"\n                }\n            ]\n        },\n        \"offerings\": [\n            {\n                \"id\": \"68670283-950c-4950-9432-20c16725a960\",\n                \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                \"title\": \"Aygestin DTP Test\",\n                \"name\": \"Aygestin\",\n                \"directions\": \"Hello Jess! Take 2 pills per day\",\n                \"is_additional_approval_needed\": false,\n                \"thank_you_note\": null,\n                \"clinical_note\": \"PMH: [patient_name] is a [patient_age] year old [patient_gender] located in [patient_state] who presents via [partner_name] for a virtual interactive telemedicine evaluation as above.\\n\\nPt listed current medications taken as: [patient_reported_medications]\\n\\nEXAM: I have performed my clinical evaluation through review of the patient’s current symptoms, past medical history, clinical photos, allergies and all other chart information.\\n\\nDIAGNOSIS: [icd_10]\\n\\nTREATMENT: I have prescribed treatment with [prescriptions]\\n\\nPatient has been educated on the treatment plan including diagnosis, instructions for use, risks/benefits/side effects/alternatives to therapy. No contraindications, red flags, or dangerous polypharmacy interactions identified. If any side effects occur they should discontinue use and contact me for further instruction, except in the case of severe side effects in which case they should seek urgent care in an emergency room.\\n\\nFOLLOW UP: The patient has been provided information on how to contact me directly to follow up if any medical concerns or reactions to treatment arise at any time. The patient is recommended to follow up with myself or the support team if additional concerns arise or the treatment plan needs to be adjusted. I am and will remain immediately available through chat, phone, and video communication throughout the treatment course. Patient encouraged to notify PCP of today's telemedicine visit/treatment plan, and to continue to follow up with routine visits for their general health including annual exams. Patient provided information on how to find a local PCP if they do not already have one. Patient has been educated that there are limitations to telemedicine care, and in-person care may be necessary in certain situations (ER if severe side effects develop or through an in person physician if signs/symptoms develop that warrant additional work up/evaluation/alternative treatments).\\nTo the extent that I have been made aware by the company with which I contract to provide medical services, the patient has signed relevant attestations prior to being assigned to me as a clinician that state that the patient is aware of any limitations in a virtual health encounter, and understands that urgent or emergent care must be pursued in person). I have confirmed the patient's identity via review of a legally recognized form of ID or through Vouched (a second party identity verification service). The patient is over 18 and able to consent for their own care.\\nPlease see doctor/patient messaging thread for any relevant dialogue which, in addition to providing supplemental medical information as needed, secures and meets the legally-defined doctor-patient relationship. Telemedicine is appropriate for this patient encounter because it can meet the same standard of care for this patient’s chief complaint and can improve access to care /the speed of care which remains limited in many parts of the United States.\",\n                \"status\": \"completed\",\n                \"status_details\": null,\n                \"has_recommendations\": true,\n                \"recommendation_message\": null,\n                \"store_url\": null,\n                \"image_file_id\": null,\n                \"order\": 1,\n                \"upcharged\": null,\n                \"offering_cost\": null,\n                \"clinician_extra_fee\": null,\n                \"is_important\": false,\n                \"offerable_type\": \"App\\\\Models\\\\Offering\",\n                \"offerable_id\": \"73ea34cf-c9ec-4094-9ed8-2949af9d0952\",\n                \"order_status\": \"not-applicable\",\n                \"order_date\": null,\n                \"order_details\": null,\n                \"order_updated\": null,\n                \"programs\": null,\n                \"external_id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\",\n                \"created_at\": \"2026-02-03T14:34:03.000000Z\",\n                \"updated_at\": \"2026-02-03T14:36:59.000000Z\",\n                \"deleted_at\": null,\n                \"product\": {\n                    \"id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n                    \"ndc\": \"68462030450\",\n                    \"name\": \"Aygestin\",\n                    \"refills\": 3,\n                    \"quantity\": \"30.00\",\n                    \"strength\": \"5 mg\",\n                    \"created_at\": \"2026-01-29T20:48:02.000000Z\",\n                    \"deleted_at\": null,\n                    \"directions\": \"Hello Jess! Take 2 pills per day\",\n                    \"updated_at\": \"2026-01-29T20:48:02.000000Z\",\n                    \"days_before\": 20,\n                    \"days_supply\": 90,\n                    \"description\": \"Norethindrone Acetate (Aygestin) | Glenmark - Tablet - 5 mg\",\n                    \"external_id\": \"019abc50-ca9b-71e3-a7a4-69a22c579ed2\",\n                    \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n                    \"dispense_unit\": \"Capsule\",\n                    \"pharmacy_name\": \"Honeybee Health\",\n                    \"effective_date\": null,\n                    \"force_pharmacy\": true,\n                    \"pharmacy_notes\": \"Company: MDI USA Partner \\nPatient ID: test@mdintegrations.com \\nCase ID: 8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                    \"no_substitutions\": true,\n                    \"allow_substitutions\": false,\n                    \"dosespot_prescription_id\": null\n                },\n                \"product_id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n                \"product_type\": \"App\\\\Models\\\\PharmacyApiProduct\",\n                \"diseases\": []\n            }\n        ]\n    }\n]"}],"_postman_id":"69195544-8fcc-4089-9aa5-f087d3e8bd6f"},{"name":"Get Case Order Events","id":"a3e04289-7ba7-4395-a60d-44c14a36be47","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/orders/:order/events?page=1&per_page=15","description":"<p>Return a list of order's events.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>page</td>\n<td>integer*</td>\n</tr>\n<tr>\n<td>per_page</td>\n<td>integer</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["partner","cases",":case_id","orders",":order","events"],"host":["https://api.mdintegrations.com/v1"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"}],"variable":[{"id":"acb0e9c4-2f8f-46b3-a1d7-df250df570b5","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"case_id"},{"id":"2d1a9152-089a-4a25-bf22-e5516fb09d07","type":"any","value":"9b6f16f8-8a4f-4168-933a-4f2c0f8a5628","key":"order"}]}},"response":[{"id":"982fbb08-e64b-4047-894b-41adb6e1ba3a","name":"Success Copy","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/orders/:order/events?page=1&per_page=15","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","orders",":order","events"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"}],"variable":[{"key":"case_id","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf"},{"key":"order","value":"9b6f16f8-8a4f-4168-933a-4f2c0f8a5628"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"019b2372-59e5-732e-a7f5-783524654a8a\",\n        \"user_type\": null,\n        \"user_id\": null,\n        \"event\": \"created\",\n        \"auditable_type\": \"App\\\\Models\\\\CaseOrder\",\n        \"auditable_id\": \"18d4b4b3-d0b5-4273-8335-d013fb33c1bc\",\n        \"old_values\": [],\n        \"new_values\": {\n            \"case_id\": \"e2317d9f-a79d-41ef-a7b1-ffbc57c12bd1\",\n            \"external_id\": \"019b2372-594f-71d3-9ecd-bb6f49ec3de1\",\n            \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n            \"status\": \"new\",\n            \"prescriptions_id\": \"[{\\\"id\\\":\\\"019b2372-54f3-72da-9c2b-26cd91e54947\\\"}]\",\n            \"number\": \"01KCHQ4PADT4KQ20SXEPYGSG3H\",\n            \"date\": \"2025-12-15\",\n            \"details\": null,\n            \"id\": \"18d4b4b3-d0b5-4273-8335-d013fb33c1bc\"\n        },\n        \"url\": \"console - /var/www/vendor/bin/rr-worker start\",\n        \"ip_address\": \"3.145.81.6\",\n        \"user_agent\": \"python-urllib3/1.26.19\",\n        \"tags\": null,\n        \"created_at\": \"2025-12-15T19:17:35.000000Z\",\n        \"updated_at\": \"2025-12-15T19:17:35.000000Z\",\n        \"is_acknowledged\": false,\n        \"inserted_id\": null,\n        \"event_id\": \"019b2372-59e5-732e-a7f5-783524654a8a\",\n        \"date_time\": \"2025-12-15T19:17:35.000000Z\",\n        \"model\": \"caseorder\",\n        \"type\": \"created\",\n        \"by_model\": \"system\",\n        \"by\": \"System\",\n        \"title\": \"Added prescription\",\n        \"user\": null\n    }\n]"}],"_postman_id":"a3e04289-7ba7-4395-a60d-44c14a36be47"},{"name":"Submit Case Order","id":"083c6d91-ae19-49a1-a190-164e3f6309d0","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/orders/:order_id/submit","description":"<p>Submit the order to be created in the PharmacyApi.</p>\n","urlObject":{"path":["partner","cases",":case_id","orders",":order_id","submit"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"9823dc6c-eeca-4067-8959-c3bb3e983943","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"case_id"},{"id":"e700e075-f65b-43ac-8675-460937efced9","type":"any","value":"9b6f16f8-8a4f-4168-933a-4f2c0f8a5628","key":"order_id"}]}},"response":[{"id":"74112489-44d9-4b09-9ef9-0f4fa8d9ac3c","name":"Submit Case Order","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/orders/:order_id/submit","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","orders",":order_id","submit"],"variable":[{"key":"case_id","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","description":"Case ID"},{"key":"order_id","value":"9b6f16f8-8a4f-4168-933a-4f2c0f8a5628"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"47e70128-6659-44f9-a2f0-a5eba610b3d0\",\n    \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n    \"external_id\": \"019c23ef-bd6a-7399-9f87-e8872301ff99\",\n    \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n    \"prescriptions_id\": [\n        {\n            \"id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\"\n        }\n    ],\n    \"status\": \"ready\",\n    \"details\": null,\n    \"status_details\": null,\n    \"status_metadata\": null,\n    \"number\": \"01KGHYZFB96553Y02D4ZMPSPZW\",\n    \"date\": \"2026-04-14\",\n    \"sequence_number\": 2,\n    \"sequence_total\": 4,\n    \"sequence_order_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n    \"acknowledged_at\": null,\n    \"acknowledged_id\": null,\n    \"acknowledged_metadata\": null,\n    \"payment_date\": null,\n    \"payment_status\": null,\n    \"pharmacy_name\": \"Honeybee Health\",\n    \"case\": {\n        \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n        \"is_additional_approval_needed\": false,\n        \"prioritized_at\": null,\n        \"programs\": [],\n        \"prioritized_reason\": null,\n        \"prioritized\": false,\n        \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n        \"reference_case_id\": null,\n        \"patient_exam_id\": \"115a68d9-a412-4bd0-824c-dac069651f1f\",\n        \"service_pdf_exported\": false,\n        \"case_type\": \"follow-up\",\n        \"is_chargeable\": true,\n        \"is_upsell_generated\": false,\n        \"charged_by\": \"mdi\",\n        \"is_sync\": false,\n        \"case_status\": {\n            \"name\": \"completed\",\n            \"reason\": null,\n            \"updated_at\": \"2026-02-03T14:37:14.000000Z\",\n            \"created_at\": \"2026-02-03T14:37:14.000000Z\"\n        },\n        \"created_at\": \"2026-02-03T14:33:49.000000Z\",\n        \"patient\": {\n            \"patient_id\": \"02d140e6-89ef-4713-a2a2-3d96a0915525\",\n            \"date_of_birth\": \"1983-10-17\",\n            \"first_name\": \"Jess\",\n            \"last_name\": \"Bradshaw\",\n            \"gender\": 2,\n            \"gender_label\": \"Female\",\n            \"email\": \"test@mdintegrations.com\",\n            \"phone_number\": \"(816) 679-2211\",\n            \"pregnancy\": false,\n            \"address\": {\n                \"address_id\": \"933f7654-3385-4d14-9d95-510d5d76a86c\",\n                \"address\": \"9071 E. Mississippi Ave\",\n                \"address2\": \"Apt 6C\",\n                \"city_name\": \"Downtown\",\n                \"zip_code\": \"80247\",\n                \"state\": {\n                    \"state_id\": \"95e0aca0-6d59-482f-9f4d-b0af33aabc1a\",\n                    \"abbreviation\": \"FL\",\n                    \"name\": \"Florida\",\n                    \"is_sync\": false,\n                    \"country\": {\n                        \"state_id\": \"bf511938-8c04-47cf-ac41-6a9aeea376ad\",\n                        \"abbreviation\": \"US\"\n                    }\n                }\n            }\n        },\n        \"case_assignment\": {\n            \"created_at\": \"2026-02-03T14:34:22.000000Z\",\n            \"reason\": \"New clinician reassigned to the case after the random reassignment functionality was triggered by ivanaga clinician admin\",\n            \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n            \"clinician\": {\n                \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n                \"clinician_specialty\": \"Endocrinologist\",\n                \"first_name\": \"First\",\n                \"last_name\": \"Name\",\n                \"full_name\": \"First Name\",\n                \"is_online\": true,\n                \"photo\": {\n                    \"url_thumbnail\": \"https://mdintegrations-public.s3.us-east-2.amazonaws.com/development/thumbnails/2025_03_25/CEIGz7RZlP2VPxLCrs2D.png\"\n                }\n            }\n        },\n        \"case_prescriptions\": [],\n        \"case_offerings\": [\n            {\n                \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                \"case_prescription_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                \"is_important\": false,\n                \"order\": 1,\n                \"name\": \"Aygestin\",\n                \"title\": \"Aygestin DTP Test\"\n            }\n        ],\n        \"case_services\": [],\n        \"diseases\": [],\n        \"tags\": [\n            {\n                \"id\": \"ddb470f6-a715-4c5c-88ab-df1074508588\",\n                \"type\": \"global\",\n                \"name\": \"No Valid ID\",\n                \"key\": \"mdi.missing.id\",\n                \"color\": \"#5a21e0\",\n                \"description\": null,\n                \"notes\": null,\n                \"removable_role\": \"admin\",\n                \"auto_detach_status\": null\n            }\n        ],\n        \"orders\": [\n            {\n                \"id\": \"0be25597-69b1-4ec7-a4dd-eff93ed60e1b\",\n                \"external_id\": \"019c23ef-bd8d-73e6-aff9-6d7370c9037e\",\n                \"status\": \"scheduled\",\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n            },\n            {\n                \"id\": \"f2ce6290-1cec-4fca-b238-4ec0ef18d6d1\",\n                \"external_id\": \"019c23ef-bdbb-713a-b8d1-82e728979f4f\",\n                \"status\": \"scheduled\",\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n            },\n            {\n                \"id\": \"4f563371-a18a-4210-8b3e-eb6c4f77967c\",\n                \"external_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n                \"status\": \"failed\",\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-03T14:45:13.000000Z\"\n            },\n            {\n                \"id\": \"47e70128-6659-44f9-a2f0-a5eba610b3d0\",\n                \"external_id\": \"019c23ef-bd6a-7399-9f87-e8872301ff99\",\n                \"status\": \"ready\",\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-08T20:42:28.000000Z\"\n            }\n        ]\n    },\n    \"offerings\": [\n        {\n            \"id\": \"68670283-950c-4950-9432-20c16725a960\",\n            \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n            \"title\": \"Aygestin DTP Test\",\n            \"name\": \"Aygestin\",\n            \"directions\": \"Hello Jess! Take 2 pills per day\",\n            \"is_additional_approval_needed\": false,\n            \"thank_you_note\": null,\n            \"clinical_note\": \"PMH: [patient_name] is a [patient_age] year old [patient_gender] located in [patient_state] who presents via [partner_name] for a virtual interactive telemedicine evaluation as above.\\n\\nPt listed current medications taken as: [patient_reported_medications]\\n\\nEXAM: I have performed my clinical evaluation through review of the patient’s current symptoms, past medical history, clinical photos, allergies and all other chart information.\\n\\nDIAGNOSIS: [icd_10]\\n\\nTREATMENT: I have prescribed treatment with [prescriptions]\\n\\nPatient has been educated on the treatment plan including diagnosis, instructions for use, risks/benefits/side effects/alternatives to therapy. No contraindications, red flags, or dangerous polypharmacy interactions identified. If any side effects occur they should discontinue use and contact me for further instruction, except in the case of severe side effects in which case they should seek urgent care in an emergency room.\\n\\nFOLLOW UP: The patient has been provided information on how to contact me directly to follow up if any medical concerns or reactions to treatment arise at any time. The patient is recommended to follow up with myself or the support team if additional concerns arise or the treatment plan needs to be adjusted. I am and will remain immediately available through chat, phone, and video communication throughout the treatment course. Patient encouraged to notify PCP of today's telemedicine visit/treatment plan, and to continue to follow up with routine visits for their general health including annual exams. Patient provided information on how to find a local PCP if they do not already have one. Patient has been educated that there are limitations to telemedicine care, and in-person care may be necessary in certain situations (ER if severe side effects develop or through an in person physician if signs/symptoms develop that warrant additional work up/evaluation/alternative treatments).\\nTo the extent that I have been made aware by the company with which I contract to provide medical services, the patient has signed relevant attestations prior to being assigned to me as a clinician that state that the patient is aware of any limitations in a virtual health encounter, and understands that urgent or emergent care must be pursued in person). I have confirmed the patient's identity via review of a legally recognized form of ID or through Vouched (a second party identity verification service). The patient is over 18 and able to consent for their own care.\\nPlease see doctor/patient messaging thread for any relevant dialogue which, in addition to providing supplemental medical information as needed, secures and meets the legally-defined doctor-patient relationship. Telemedicine is appropriate for this patient encounter because it can meet the same standard of care for this patient’s chief complaint and can improve access to care /the speed of care which remains limited in many parts of the United States.\",\n            \"status\": \"completed\",\n            \"status_details\": null,\n            \"has_recommendations\": true,\n            \"recommendation_message\": null,\n            \"store_url\": null,\n            \"image_file_id\": null,\n            \"order\": 1,\n            \"upcharged\": null,\n            \"offering_cost\": null,\n            \"clinician_extra_fee\": null,\n            \"is_important\": false,\n            \"offerable_type\": \"App\\\\Models\\\\Offering\",\n            \"offerable_id\": \"73ea34cf-c9ec-4094-9ed8-2949af9d0952\",\n            \"order_status\": \"not-applicable\",\n            \"order_date\": null,\n            \"order_details\": null,\n            \"order_updated\": null,\n            \"programs\": null,\n            \"external_id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\",\n            \"created_at\": \"2026-02-03T14:34:03.000000Z\",\n            \"updated_at\": \"2026-02-03T14:36:59.000000Z\",\n            \"deleted_at\": null,\n            \"product\": {\n                \"id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n                \"ndc\": \"68462030450\",\n                \"name\": \"Aygestin\",\n                \"refills\": 3,\n                \"quantity\": \"30.00\",\n                \"strength\": \"5 mg\",\n                \"created_at\": \"2026-01-29T20:48:02.000000Z\",\n                \"deleted_at\": null,\n                \"directions\": \"Hello Jess! Take 2 pills per day\",\n                \"updated_at\": \"2026-01-29T20:48:02.000000Z\",\n                \"days_before\": 20,\n                \"days_supply\": 90,\n                \"description\": \"Norethindrone Acetate (Aygestin) | Glenmark - Tablet - 5 mg\",\n                \"external_id\": \"019abc50-ca9b-71e3-a7a4-69a22c579ed2\",\n                \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n                \"dispense_unit\": \"Capsule\",\n                \"pharmacy_name\": \"Honeybee Health\",\n                \"effective_date\": null,\n                \"force_pharmacy\": true,\n                \"pharmacy_notes\": \"Company: MDI USA Partner \\nPatient ID: test@mdintegrations.com \\nCase ID: 8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                \"no_substitutions\": true,\n                \"allow_substitutions\": false,\n                \"dosespot_prescription_id\": null\n            },\n            \"product_id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n            \"product_type\": \"App\\\\Models\\\\PharmacyApiProduct\",\n            \"diseases\": []\n        }\n    ],\n    \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n    \"updated_at\": \"2026-02-08T20:42:28.000000Z\",\n    \"deleted_at\": null\n}"}],"_postman_id":"083c6d91-ae19-49a1-a190-164e3f6309d0"},{"name":"Cancel Case Order","id":"cb48ae28-4f33-466c-bc55-04ac5f1300b5","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/orders/:order_id/cancel","description":"<p>Submit the order to be created in the PharmacyApi.</p>\n","urlObject":{"path":["partner","cases",":case_id","orders",":order_id","cancel"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"6526b77b-04d9-44e0-acb3-ad2611dcf756","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"case_id"},{"id":"1faea361-b735-41f0-9682-3a7b2e9f28a8","type":"any","value":"9b6f16f8-8a4f-4168-933a-4f2c0f8a5628","key":"order_id"}]}},"response":[{"id":"01204627-9452-4ed2-bf6b-12f74b63ab70","name":"Cancel Case Order","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/orders/:order_id/cancel","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","orders",":order_id","cancel"],"variable":[{"key":"case_id","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","description":"Case ID"},{"key":"order_id","value":"9b6f16f8-8a4f-4168-933a-4f2c0f8a5628"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"47e70128-6659-44f9-a2f0-a5eba610b3d0\",\n    \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n    \"external_id\": \"019c23ef-bd6a-7399-9f87-e8872301ff99\",\n    \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n    \"prescriptions_id\": [\n        {\n            \"id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\"\n        }\n    ],\n    \"status\": \"cancelling\",\n    \"details\": null,\n    \"status_details\": null,\n    \"status_metadata\": null,\n    \"number\": \"01KGHYZFB96553Y02D4ZMPSPZW\",\n    \"date\": \"2026-04-14\",\n    \"sequence_number\": 2,\n    \"sequence_total\": 4,\n    \"sequence_order_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n    \"acknowledged_at\": null,\n    \"acknowledged_id\": null,\n    \"acknowledged_metadata\": null,\n    \"payment_date\": null,\n    \"payment_status\": null,\n    \"pharmacy_name\": \"Honeybee Health\",\n    \"case\": {\n        \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n        \"is_additional_approval_needed\": false,\n        \"prioritized_at\": null,\n        \"programs\": [],\n        \"prioritized_reason\": null,\n        \"prioritized\": false,\n        \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n        \"reference_case_id\": null,\n        \"patient_exam_id\": \"115a68d9-a412-4bd0-824c-dac069651f1f\",\n        \"service_pdf_exported\": false,\n        \"case_type\": \"follow-up\",\n        \"is_chargeable\": true,\n        \"is_upsell_generated\": false,\n        \"charged_by\": \"mdi\",\n        \"is_sync\": false,\n        \"case_status\": {\n            \"name\": \"completed\",\n            \"reason\": null,\n            \"updated_at\": \"2026-02-03T14:37:14.000000Z\",\n            \"created_at\": \"2026-02-03T14:37:14.000000Z\"\n        },\n        \"created_at\": \"2026-02-03T14:33:49.000000Z\",\n        \"patient\": {\n            \"patient_id\": \"02d140e6-89ef-4713-a2a2-3d96a0915525\",\n            \"date_of_birth\": \"1983-10-17\",\n            \"first_name\": \"Jess\",\n            \"last_name\": \"Bradshaw\",\n            \"gender\": 2,\n            \"gender_label\": \"Female\",\n            \"email\": \"test@mdintegrations.com\",\n            \"phone_number\": \"(816) 679-2211\",\n            \"pregnancy\": false,\n            \"address\": {\n                \"address_id\": \"933f7654-3385-4d14-9d95-510d5d76a86c\",\n                \"address\": \"9071 E. Mississippi Ave\",\n                \"address2\": \"Apt 6C\",\n                \"city_name\": \"Downtown\",\n                \"zip_code\": \"80247\",\n                \"state\": {\n                    \"state_id\": \"95e0aca0-6d59-482f-9f4d-b0af33aabc1a\",\n                    \"abbreviation\": \"FL\",\n                    \"name\": \"Florida\",\n                    \"is_sync\": false,\n                    \"country\": {\n                        \"state_id\": \"bf511938-8c04-47cf-ac41-6a9aeea376ad\",\n                        \"abbreviation\": \"US\"\n                    }\n                }\n            }\n        },\n        \"case_assignment\": {\n            \"created_at\": \"2026-02-03T14:34:22.000000Z\",\n            \"reason\": \"New clinician reassigned to the case after the random reassignment functionality was triggered by ivanaga clinician admin\",\n            \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n            \"clinician\": {\n                \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n                \"clinician_specialty\": \"Endocrinologist\",\n                \"first_name\": \"First\",\n                \"last_name\": \"Name\",\n                \"full_name\": \"First Name\",\n                \"is_online\": true,\n                \"photo\": {\n                    \"url_thumbnail\": \"https://mdintegrations-public.s3.us-east-2.amazonaws.com/development/thumbnails/2025_03_25/CEIGz7RZlP2VPxLCrs2D.png\"\n                }\n            }\n        },\n        \"case_prescriptions\": [],\n        \"case_offerings\": [\n            {\n                \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                \"case_prescription_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                \"is_important\": false,\n                \"order\": 1,\n                \"name\": \"Aygestin\",\n                \"title\": \"Aygestin DTP Test\"\n            }\n        ],\n        \"case_services\": [],\n        \"diseases\": [],\n        \"tags\": [\n            {\n                \"id\": \"ddb470f6-a715-4c5c-88ab-df1074508588\",\n                \"type\": \"global\",\n                \"name\": \"No Valid ID\",\n                \"key\": \"mdi.missing.id\",\n                \"color\": \"#5a21e0\",\n                \"description\": null,\n                \"notes\": null,\n                \"removable_role\": \"admin\",\n                \"auto_detach_status\": null\n            }\n        ],\n        \"orders\": [\n            {\n                \"id\": \"0be25597-69b1-4ec7-a4dd-eff93ed60e1b\",\n                \"external_id\": \"019c23ef-bd8d-73e6-aff9-6d7370c9037e\",\n                \"status\": \"scheduled\",\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n            },\n            {\n                \"id\": \"f2ce6290-1cec-4fca-b238-4ec0ef18d6d1\",\n                \"external_id\": \"019c23ef-bdbb-713a-b8d1-82e728979f4f\",\n                \"status\": \"scheduled\",\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n            },\n            {\n                \"id\": \"4f563371-a18a-4210-8b3e-eb6c4f77967c\",\n                \"external_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n                \"status\": \"failed\",\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-03T14:45:13.000000Z\"\n            },\n            {\n                \"id\": \"47e70128-6659-44f9-a2f0-a5eba610b3d0\",\n                \"external_id\": \"019c23ef-bd6a-7399-9f87-e8872301ff99\",\n                \"status\": \"cancelling\",\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-08T20:43:04.000000Z\"\n            }\n        ]\n    },\n    \"offerings\": [\n        {\n            \"id\": \"68670283-950c-4950-9432-20c16725a960\",\n            \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n            \"title\": \"Aygestin DTP Test\",\n            \"name\": \"Aygestin\",\n            \"directions\": \"Hello Jess! Take 2 pills per day\",\n            \"is_additional_approval_needed\": false,\n            \"thank_you_note\": null,\n            \"clinical_note\": \"PMH: [patient_name] is a [patient_age] year old [patient_gender] located in [patient_state] who presents via [partner_name] for a virtual interactive telemedicine evaluation as above.\\n\\nPt listed current medications taken as: [patient_reported_medications]\\n\\nEXAM: I have performed my clinical evaluation through review of the patient’s current symptoms, past medical history, clinical photos, allergies and all other chart information.\\n\\nDIAGNOSIS: [icd_10]\\n\\nTREATMENT: I have prescribed treatment with [prescriptions]\\n\\nPatient has been educated on the treatment plan including diagnosis, instructions for use, risks/benefits/side effects/alternatives to therapy. No contraindications, red flags, or dangerous polypharmacy interactions identified. If any side effects occur they should discontinue use and contact me for further instruction, except in the case of severe side effects in which case they should seek urgent care in an emergency room.\\n\\nFOLLOW UP: The patient has been provided information on how to contact me directly to follow up if any medical concerns or reactions to treatment arise at any time. The patient is recommended to follow up with myself or the support team if additional concerns arise or the treatment plan needs to be adjusted. I am and will remain immediately available through chat, phone, and video communication throughout the treatment course. Patient encouraged to notify PCP of today's telemedicine visit/treatment plan, and to continue to follow up with routine visits for their general health including annual exams. Patient provided information on how to find a local PCP if they do not already have one. Patient has been educated that there are limitations to telemedicine care, and in-person care may be necessary in certain situations (ER if severe side effects develop or through an in person physician if signs/symptoms develop that warrant additional work up/evaluation/alternative treatments).\\nTo the extent that I have been made aware by the company with which I contract to provide medical services, the patient has signed relevant attestations prior to being assigned to me as a clinician that state that the patient is aware of any limitations in a virtual health encounter, and understands that urgent or emergent care must be pursued in person). I have confirmed the patient's identity via review of a legally recognized form of ID or through Vouched (a second party identity verification service). The patient is over 18 and able to consent for their own care.\\nPlease see doctor/patient messaging thread for any relevant dialogue which, in addition to providing supplemental medical information as needed, secures and meets the legally-defined doctor-patient relationship. Telemedicine is appropriate for this patient encounter because it can meet the same standard of care for this patient’s chief complaint and can improve access to care /the speed of care which remains limited in many parts of the United States.\",\n            \"status\": \"completed\",\n            \"status_details\": null,\n            \"has_recommendations\": true,\n            \"recommendation_message\": null,\n            \"store_url\": null,\n            \"image_file_id\": null,\n            \"order\": 1,\n            \"upcharged\": null,\n            \"offering_cost\": null,\n            \"clinician_extra_fee\": null,\n            \"is_important\": false,\n            \"offerable_type\": \"App\\\\Models\\\\Offering\",\n            \"offerable_id\": \"73ea34cf-c9ec-4094-9ed8-2949af9d0952\",\n            \"order_status\": \"not-applicable\",\n            \"order_date\": null,\n            \"order_details\": null,\n            \"order_updated\": null,\n            \"programs\": null,\n            \"external_id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\",\n            \"created_at\": \"2026-02-03T14:34:03.000000Z\",\n            \"updated_at\": \"2026-02-03T14:36:59.000000Z\",\n            \"deleted_at\": null,\n            \"product\": {\n                \"id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n                \"ndc\": \"68462030450\",\n                \"name\": \"Aygestin\",\n                \"refills\": 3,\n                \"quantity\": \"30.00\",\n                \"strength\": \"5 mg\",\n                \"created_at\": \"2026-01-29T20:48:02.000000Z\",\n                \"deleted_at\": null,\n                \"directions\": \"Hello Jess! Take 2 pills per day\",\n                \"updated_at\": \"2026-01-29T20:48:02.000000Z\",\n                \"days_before\": 20,\n                \"days_supply\": 90,\n                \"description\": \"Norethindrone Acetate (Aygestin) | Glenmark - Tablet - 5 mg\",\n                \"external_id\": \"019abc50-ca9b-71e3-a7a4-69a22c579ed2\",\n                \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n                \"dispense_unit\": \"Capsule\",\n                \"pharmacy_name\": \"Honeybee Health\",\n                \"effective_date\": null,\n                \"force_pharmacy\": true,\n                \"pharmacy_notes\": \"Company: MDI USA Partner \\nPatient ID: test@mdintegrations.com \\nCase ID: 8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                \"no_substitutions\": true,\n                \"allow_substitutions\": false,\n                \"dosespot_prescription_id\": null\n            },\n            \"product_id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n            \"product_type\": \"App\\\\Models\\\\PharmacyApiProduct\",\n            \"diseases\": []\n        }\n    ],\n    \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n    \"updated_at\": \"2026-02-08T20:43:04.000000Z\",\n    \"deleted_at\": null\n}"}],"_postman_id":"cb48ae28-4f33-466c-bc55-04ac5f1300b5"},{"name":"Update Case Order","id":"a1d21e66-b3fd-4288-b4e6-6138ca8a3d19","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"date\": \"2026-01-01\",\n    \"payment_status\": \"paid\",\n    \"payment_date\": \"2026-01-01\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/orders/:order_id","description":"<p>Updates the case order.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date</td>\n<td>date</td>\n</tr>\n<tr>\n<td>payment_status</td>\n<td>string</td>\n</tr>\n<tr>\n<td>payment_date</td>\n<td>date</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["partner","cases",":case_id","orders",":order_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"0fcb1b22-51c8-43db-801c-c3b9ab5443ef","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"case_id"},{"id":"c64df100-5896-40db-8982-5da91171a530","type":"any","value":"9b6f16f8-8a4f-4168-933a-4f2c0f8a5628","key":"order_id"}]}},"response":[{"id":"67d788be-cc50-4e35-8241-d371f2453241","name":"Update Case Order","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"date\": \"2026-01-01\",\n    \"payment_status\": \"paid\",\n    \"payment_date\": \"2026-01-01\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/orders/:order_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","orders",":order_id"],"variable":[{"key":"case_id","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","description":"Case ID"},{"key":"order_id","value":"9b6f16f8-8a4f-4168-933a-4f2c0f8a5628"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"47e70128-6659-44f9-a2f0-a5eba610b3d0\",\n    \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n    \"external_id\": \"019c23ef-bd6a-7399-9f87-e8872301ff99\",\n    \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n    \"prescriptions_id\": [\n        {\n            \"id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\"\n        }\n    ],\n    \"status\": \"failed\",\n    \"details\": \"Invalid Address Zip; Zip code does not exist in the provided state\",\n    \"status_details\": \"Invalid Address Zip; Zip code does not exist in the provided state\",\n    \"status_metadata\": \"{\\\"errors\\\":[{\\\"code\\\":42227,\\\"message\\\":\\\"Invalid Address Zip\\\",\\\"error_detail\\\":[{\\\"field\\\":\\\"address.zip\\\",\\\"message\\\":\\\"does not exist in the state provided\\\"}]}]}\",\n    \"number\": \"01KGHYZFB96553Y02D4ZMPSPZW\",\n    \"date\": \"2026-01-01\",\n    \"sequence_number\": 2,\n    \"sequence_total\": 4,\n    \"sequence_order_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n    \"acknowledged_at\": null,\n    \"acknowledged_id\": null,\n    \"acknowledged_metadata\": null,\n    \"payment_date\": \"2026-01-01\",\n    \"payment_status\": \"paid\",\n    \"pharmacy_name\": \"Honeybee Health\",\n    \"case\": {\n        \"case_id\": \"8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n        \"is_additional_approval_needed\": false,\n        \"prioritized_at\": null,\n        \"programs\": [],\n        \"prioritized_reason\": null,\n        \"prioritized\": false,\n        \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n        \"reference_case_id\": null,\n        \"patient_exam_id\": \"115a68d9-a412-4bd0-824c-dac069651f1f\",\n        \"service_pdf_exported\": false,\n        \"case_type\": \"follow-up\",\n        \"is_chargeable\": true,\n        \"is_upsell_generated\": false,\n        \"charged_by\": \"mdi\",\n        \"is_sync\": false,\n        \"case_status\": {\n            \"name\": \"completed\",\n            \"reason\": null,\n            \"updated_at\": \"2026-02-03T14:37:14.000000Z\",\n            \"created_at\": \"2026-02-03T14:37:14.000000Z\"\n        },\n        \"created_at\": \"2026-02-03T14:33:49.000000Z\",\n        \"patient\": {\n            \"patient_id\": \"02d140e6-89ef-4713-a2a2-3d96a0915525\",\n            \"date_of_birth\": \"1983-10-17\",\n            \"first_name\": \"Jess\",\n            \"last_name\": \"Bradshaw\",\n            \"gender\": 2,\n            \"gender_label\": \"Female\",\n            \"email\": \"test@mdintegrations.com\",\n            \"phone_number\": \"(816) 679-2211\",\n            \"pregnancy\": false,\n            \"address\": {\n                \"address_id\": \"933f7654-3385-4d14-9d95-510d5d76a86c\",\n                \"address\": \"9071 E. Mississippi Ave\",\n                \"address2\": \"Apt 6C\",\n                \"city_name\": \"Downtown\",\n                \"zip_code\": \"80247\",\n                \"state\": {\n                    \"state_id\": \"95e0aca0-6d59-482f-9f4d-b0af33aabc1a\",\n                    \"abbreviation\": \"FL\",\n                    \"name\": \"Florida\",\n                    \"is_sync\": false,\n                    \"country\": {\n                        \"state_id\": \"bf511938-8c04-47cf-ac41-6a9aeea376ad\",\n                        \"abbreviation\": \"US\"\n                    }\n                }\n            }\n        },\n        \"case_assignment\": {\n            \"created_at\": \"2026-02-03T14:34:22.000000Z\",\n            \"reason\": \"New clinician reassigned to the case after the random reassignment functionality was triggered by ivanaga clinician admin\",\n            \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n            \"clinician\": {\n                \"clinician_id\": \"ecbc39ea-d2c1-4062-a107-961f7829c3d7\",\n                \"clinician_specialty\": \"Endocrinologist\",\n                \"first_name\": \"First\",\n                \"last_name\": \"Name\",\n                \"full_name\": \"First Name\",\n                \"is_online\": true,\n                \"photo\": {\n                    \"url_thumbnail\": \"https://mdintegrations-public.s3.us-east-2.amazonaws.com/development/thumbnails/2025_03_25/CEIGz7RZlP2VPxLCrs2D.png\"\n                }\n            }\n        },\n        \"case_prescriptions\": [],\n        \"case_offerings\": [\n            {\n                \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                \"case_prescription_id\": \"68670283-950c-4950-9432-20c16725a960\",\n                \"is_important\": false,\n                \"order\": 1,\n                \"name\": \"Aygestin\",\n                \"title\": \"Aygestin DTP Test\"\n            }\n        ],\n        \"case_services\": [],\n        \"diseases\": [],\n        \"tags\": [\n            {\n                \"id\": \"ddb470f6-a715-4c5c-88ab-df1074508588\",\n                \"type\": \"global\",\n                \"name\": \"No Valid ID\",\n                \"key\": \"mdi.missing.id\",\n                \"color\": \"#5a21e0\",\n                \"description\": null,\n                \"notes\": null,\n                \"removable_role\": \"admin\",\n                \"auto_detach_status\": null\n            }\n        ],\n        \"orders\": [\n            {\n                \"id\": \"0be25597-69b1-4ec7-a4dd-eff93ed60e1b\",\n                \"external_id\": \"019c23ef-bd8d-73e6-aff9-6d7370c9037e\",\n                \"status\": \"scheduled\",\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n            },\n            {\n                \"id\": \"f2ce6290-1cec-4fca-b238-4ec0ef18d6d1\",\n                \"external_id\": \"019c23ef-bdbb-713a-b8d1-82e728979f4f\",\n                \"status\": \"scheduled\",\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-03T14:37:20.000000Z\"\n            },\n            {\n                \"id\": \"4f563371-a18a-4210-8b3e-eb6c4f77967c\",\n                \"external_id\": \"019c23ef-bd38-72eb-9e0e-c07aaa2d2091\",\n                \"status\": \"failed\",\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-03T14:45:13.000000Z\"\n            },\n            {\n                \"id\": \"47e70128-6659-44f9-a2f0-a5eba610b3d0\",\n                \"external_id\": \"019c23ef-bd6a-7399-9f87-e8872301ff99\",\n                \"status\": \"failed\",\n                \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n                \"updated_at\": \"2026-02-08T20:43:51.000000Z\"\n            }\n        ]\n    },\n    \"offerings\": [\n        {\n            \"id\": \"68670283-950c-4950-9432-20c16725a960\",\n            \"case_offering_id\": \"68670283-950c-4950-9432-20c16725a960\",\n            \"title\": \"Aygestin DTP Test\",\n            \"name\": \"Aygestin\",\n            \"directions\": \"Hello Jess! Take 2 pills per day\",\n            \"is_additional_approval_needed\": false,\n            \"thank_you_note\": null,\n            \"clinical_note\": \"PMH: [patient_name] is a [patient_age] year old [patient_gender] located in [patient_state] who presents via [partner_name] for a virtual interactive telemedicine evaluation as above.\\n\\nPt listed current medications taken as: [patient_reported_medications]\\n\\nEXAM: I have performed my clinical evaluation through review of the patient’s current symptoms, past medical history, clinical photos, allergies and all other chart information.\\n\\nDIAGNOSIS: [icd_10]\\n\\nTREATMENT: I have prescribed treatment with [prescriptions]\\n\\nPatient has been educated on the treatment plan including diagnosis, instructions for use, risks/benefits/side effects/alternatives to therapy. No contraindications, red flags, or dangerous polypharmacy interactions identified. If any side effects occur they should discontinue use and contact me for further instruction, except in the case of severe side effects in which case they should seek urgent care in an emergency room.\\n\\nFOLLOW UP: The patient has been provided information on how to contact me directly to follow up if any medical concerns or reactions to treatment arise at any time. The patient is recommended to follow up with myself or the support team if additional concerns arise or the treatment plan needs to be adjusted. I am and will remain immediately available through chat, phone, and video communication throughout the treatment course. Patient encouraged to notify PCP of today's telemedicine visit/treatment plan, and to continue to follow up with routine visits for their general health including annual exams. Patient provided information on how to find a local PCP if they do not already have one. Patient has been educated that there are limitations to telemedicine care, and in-person care may be necessary in certain situations (ER if severe side effects develop or through an in person physician if signs/symptoms develop that warrant additional work up/evaluation/alternative treatments).\\nTo the extent that I have been made aware by the company with which I contract to provide medical services, the patient has signed relevant attestations prior to being assigned to me as a clinician that state that the patient is aware of any limitations in a virtual health encounter, and understands that urgent or emergent care must be pursued in person). I have confirmed the patient's identity via review of a legally recognized form of ID or through Vouched (a second party identity verification service). The patient is over 18 and able to consent for their own care.\\nPlease see doctor/patient messaging thread for any relevant dialogue which, in addition to providing supplemental medical information as needed, secures and meets the legally-defined doctor-patient relationship. Telemedicine is appropriate for this patient encounter because it can meet the same standard of care for this patient’s chief complaint and can improve access to care /the speed of care which remains limited in many parts of the United States.\",\n            \"status\": \"completed\",\n            \"status_details\": null,\n            \"has_recommendations\": true,\n            \"recommendation_message\": null,\n            \"store_url\": null,\n            \"image_file_id\": null,\n            \"order\": 1,\n            \"upcharged\": null,\n            \"offering_cost\": null,\n            \"clinician_extra_fee\": null,\n            \"is_important\": false,\n            \"offerable_type\": \"App\\\\Models\\\\Offering\",\n            \"offerable_id\": \"73ea34cf-c9ec-4094-9ed8-2949af9d0952\",\n            \"order_status\": \"not-applicable\",\n            \"order_date\": null,\n            \"order_details\": null,\n            \"order_updated\": null,\n            \"programs\": null,\n            \"external_id\": \"019c23ed-b123-72d6-8631-36c0cbe74f51\",\n            \"created_at\": \"2026-02-03T14:34:03.000000Z\",\n            \"updated_at\": \"2026-02-03T14:36:59.000000Z\",\n            \"deleted_at\": null,\n            \"product\": {\n                \"id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n                \"ndc\": \"68462030450\",\n                \"name\": \"Aygestin\",\n                \"refills\": 3,\n                \"quantity\": \"30.00\",\n                \"strength\": \"5 mg\",\n                \"created_at\": \"2026-01-29T20:48:02.000000Z\",\n                \"deleted_at\": null,\n                \"directions\": \"Hello Jess! Take 2 pills per day\",\n                \"updated_at\": \"2026-01-29T20:48:02.000000Z\",\n                \"days_before\": 20,\n                \"days_supply\": 90,\n                \"description\": \"Norethindrone Acetate (Aygestin) | Glenmark - Tablet - 5 mg\",\n                \"external_id\": \"019abc50-ca9b-71e3-a7a4-69a22c579ed2\",\n                \"pharmacy_id\": \"019a11ed-423d-7009-9076-cca01b3b88d2\",\n                \"dispense_unit\": \"Capsule\",\n                \"pharmacy_name\": \"Honeybee Health\",\n                \"effective_date\": null,\n                \"force_pharmacy\": true,\n                \"pharmacy_notes\": \"Company: MDI USA Partner \\nPatient ID: test@mdintegrations.com \\nCase ID: 8c38fe4b-7dad-4eb3-84e2-9ef49dca8e4d\",\n                \"no_substitutions\": true,\n                \"allow_substitutions\": false,\n                \"dosespot_prescription_id\": null\n            },\n            \"product_id\": \"c30eebfe-e71e-4e11-a429-1d88b407a54d\",\n            \"product_type\": \"App\\\\Models\\\\PharmacyApiProduct\",\n            \"diseases\": []\n        }\n    ],\n    \"created_at\": \"2026-02-03T14:37:20.000000Z\",\n    \"updated_at\": \"2026-02-08T20:43:51.000000Z\",\n    \"deleted_at\": null\n}"}],"_postman_id":"a1d21e66-b3fd-4288-b4e6-6138ca8a3d19"}],"id":"18244c1f-d219-4307-bce5-d83905f68574","_postman_id":"18244c1f-d219-4307-bce5-d83905f68574","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Get case","id":"e52dacfd-8052-472c-9b48-84030f13b976","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id","description":"<p>Get the following case details:</p>\n<ul>\n<li>Patient</li>\n<li>Partner</li>\n<li>Priority status and reason</li>\n<li>Status (if is cancelled or not)</li>\n</ul>\n<p>To get details from <code>prescriptions</code>, <code>files</code> and <code>questions</code> you must use specific API endpoints:</p>\n<ul>\n<li>Files: check <strong>\"Partners &gt; Cases &gt; Files\"</strong></li>\n<li>Prescriptions: check <strong>\"Partners &gt; Cases &gt; Prescriptions\"</strong></li>\n<li>Questions: check <strong>\"Partners &gt; Cases &gt; Questions\"</strong></li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"9e6dfd34-80a1-4ce7-beb4-c7c5d2c0423d","key":"case_id"}]}},"response":[{"id":"594e82c9-bbed-4585-b73c-793829983c39","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseURL}}/partner/cases/:case_id","host":["{{baseURL}}"],"path":["partner","cases",":case_id"],"variable":[{"key":"case_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","enabled":true,"type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \n    \"case_cost\": 99.99,\n    \"prioritized_at\": null,\n    \"prioritized_reason\": null,\n    \"prioritized\": false,\n    \"locked_at\": null,\n    \"is_locked\": false,\n    \"is_additional_approval_needed\": false,\n    \"created_at\": \"2021-06-10T16:34:40.000000Z\",\n    \"metadata\": \"case number 15\",\n    \"patient_exam_id\": \"8cc8e948-1578-409b-9e18-0a771d349355\",\n    \"is_chargeable\": true,\n    \"is_sync\": true,\n    \"case_type\": \"follow-up\",\n    \"case_id\": \"e02ebf38-147a-419b-bfc8-87e88d29f161\",\n    \"reference_case_id\": \"9b0c4571-f980-4fd4-bf9d-87e88d0c4571\",\n    \"case_status\": {\n        \"name\": \"created\",\n        \"hold_status\": false,\n        \"reason\": null,\n        \"updated_at\": \"2021-06-17T17:14:59.000000Z\"\n    },\n    \"patient\": {\n        \"prefix\": \"Sr\",\n        \"first_name\": \"John\",\n        \"middle_name\": \"Harry\",\n        \"last_name\": \"Snow\",\n        \"email\": \"johnsnow@doe.com\",\n        \"date_of_birth\": \"2000-12-31\",\n        \"gender\": 1,\n        \"phone_number\": \"(415) 555-2671\",\n        \"phone_type\": \"2\",\n        \"active\": true,\n        \"metadata\": \"patient number 200\",\n        \"weight\": \"50.000\",\n        \"height\": 180,\n        \"dosespot\": {\n            \"patient_dosespot_id\": \"9b0c4571-f980-4fd4-bf9d-6de1ac52dc9d\",\n            \"sync_status\": \"success\"\n        },\n        \"current_medications\": \"paracetamol\",\n        \"allergies\": \"polen\",\n        \"medical_conditions\": \"medical conditions example\",\n        \"patient_id\": \"9b0c4571-f980-4fd4-bf9d-6de1ac52dc9d\",\n        \"gender_label\": \"Male\",\n        \"pregnancy\": false,\n        \"is_live\": true,\n        \"driver_license\": {\n            \"path\": \"logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n            \"name\": \"Wallpaper_1080p.png\",\n            \"mime_type\": \"image/jpeg\",\n            \"url\": \"http://api.localhost:8000/v1/file/logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n            \"url_thumbnail\": null,\n            \"file_id\": \"862a8e4c-d65a-4d52-8568-49c0d53fa51e\"\n        },\n        \"intro_video\": {\n            \"file_id\": \"ac0c921d-8526-477d-a00d-3fb0c4c8e3a8\",\n            \"path\": \"6v8Ndd8Tpg1uCCik19G8ErJ4jxNiF5kgv1l1DqqE.mov\",\n            \"name\": \"intro_video.mov\",\n            \"mime_type\": \"video/quicktime\",\n            \"url\": \"http://api.localhost:8000/v1/file/intro_video.mov\",\n            \"url_thumbnail\": null,\n            \"created_at\": \"2023-07-04T22:35:11.000000Z\"\n        },\n        \"address\": {\n            \"address\": \"1901 1st Avenue, New York\",\n            \"address2\": \"NY 10029\",\n            \"zip_code\": \"65506-4433\",\n            \"city_name\": \"Pearl River\",\n            \"address_id\": \"31817530-d047-4565-8aa7-e16275b1715d\",\n            \"state\": {\n                \"name\": \"New York\",\n                \"abbreviation\": \"NY\",\n                \"is_av_flow\": false,\n                \"state_id\": \"59bd3d22-8955-44e1-83c0-8556dd16bde4\",\n                \"country\": {\n                    \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                    \"name\": \"United States of America\",\n                    \"abbreviation\": \"US\"\n                }\n            }\n        }\n    },\n    \"partner\": {\n        \"name\": \"Langworth, Heaney and Mills\",\n        \"partner_id\": \"b9c80740-cf71-4a34-8523-987edf221f75\",\n        \"support_message_capability\": \"integrated\",\n        \"partner_notes\": \"Partner has...\",\n        \"operations_support_email\": \"testing@email.com\",\n        \"customer_support_email\": \"testing@email.com\",\n        \"patient_message_capability\": \"integrated\",\n        \"provides_medications\": true,\n        \"thank_you_note_header\": \"Header Thank you note example\",\n        \"thank_you_note_footer\": \"Footer Thank you note example\",\n        \"vouched_integration_type\": \"disabled\",\n        \"business_model\": \"regular\",\n        \"enable_av_flow\": true,\n        \"enable_icd_bmi\": false,\n        \"is_auto_dl_flow\": true,\n        \"slack_channel_id\": \"C05QP6YD8K0\",\n        \"customization\": {\n            \"primary_color\": \"#000000\",\n            \"secondary_color\": \"#000000\",\n            \"background_color\": \"#000000\"\n        },\n        \"address\": {\n            \"address_id\": \"31817530-d047-4565-8aa7-e16275b1715d\",\n            \"address\": \"1901 1st Avenue, New York\",\n            \"zip_code\": \"65506-4433\",\n            \"city_name\": \"Pearl River\",\n            \"state\": {\n                \"state_id\": \"59bd3d22-8955-44e1-83c0-8556dd16bde4\",\n                \"name\": \"New York\",\n                \"abbreviation\": \"NY\",\n                \"av_flow\": false,\n                \"country\": {\n                    \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                    \"name\": \"United States of America\",\n                    \"abbreviation\": \"US\"\n                }\n            },\n            \"operation_country\": {\n                \"name\": \"United States of America\",\n                \"abbreviation\": \"US\",\n                \"country_id\": \"535fd3fd-f206-4724-89a9-55289474db8b\"\n            }\n        }\n    },\n    \"case_assignment\": {\n        \"reason\": \"Repellat quisquam sed distinctio sit id et. Unde et doloremque quas ducimus harum perferendis. Officia sapiente velit necessitatibus deleniti. Velit error inventore ut ipsam officia id dolorem.\",\n        \"created_at\": \"2021-02-03T19:30:18.000000Z\",\n        \"case_assignment_id\": \"227ed29c-044a-41d7-bb68-caa2e6c5ee63\",\n        \"clinician\": {\n            \"first_name\": \"Parisian\",\n            \"last_name\": \"Schultz\",\n            \"suffix\": \"M.D\",\n            \"profile_url\": \"http://profileurlexample.com\",\n            \"is_online\": true,\n            \"clinician_id\": \"65e4f8da-e5f7-44b3-a3d4-c9dc74981f4f\",\n            \"full_name\": \"Seamus Parisian\",\n            \"specialty\": \"General Practice\",\n            \"licenses\": [\n                {\n                    \"license_id\": \"14212272-251550e0-5af7-433d-a14b-1d3c51361fc3\",\n                    \"type\": \"dea\",\n                    \"value\": \"RM1234567\"\n                },\n                {\n                    \"license_id\": \"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6\",\n                    \"type\": \"npi\",\n                    \"value\": \"1598738916\"\n                }\n            ],\n            \"photo\": {\n                \"path\": \"clinicians_photos/ba193841-9a21-4bdf-a778-2a1f33e1ea2c.jpeg\",\n                \"name\": \"under_construction.jpg\",\n                \"mime_type\": \"image/jpeg\",\n                \"url\": \"http://api.localhost:8000/v1/file/clinicians_photos/ba193841-9a21-4bdf-a778-2a1f33e1ea2c.jpeg\",\n                \"url_thumbnail\": null,\n                \"file_id\": \"22a03259-b2de-4255-9d2e-48a9dc368633\"\n            }\n        }\n    },\n    \"tags\": [\n        {\n            \"id\": \"7af7618a-5711-4485-8b35-63b65b3f56cc\",\n            \"type\": \"partner\",\n            \"name\": \"My own tag two\",\n            \"key\": \"my-own-tag-two\",\n            \"color\": \"#fff\",\n            \"description\": \"My tag description\",\n            \"notes\": \"Ola esse é um teste editador\",\n            \"removable_role\": null,\n            \"auto_detach_status\": [\n                \"assigned\",\n                \"processing\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"e52dacfd-8052-472c-9b48-84030f13b976"},{"name":"Get Case Services/Precriptions PDF","id":"9b39134b-40a2-476c-b7fc-1a4e0566341d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/pdf","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","pdf"],"host":["https://api.mdintegrations.com/v1"],"query":[{"disabled":true,"key":"create_as_file","value":"true"},{"disabled":true,"key":"automatic_only","value":"false"},{"disabled":true,"key":"is_only_prescriptions","value":"false"},{"disabled":true,"key":"is_create_as_base64","value":"false"}],"variable":[{"description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"ff206ab6-88f2-45cc-acb3-a444782aa8e3","key":"case_id"}]}},"response":[{"id":"f1e887e1-fd05-4533-82d8-794f36f6a607","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/pdf","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","pdf"],"variable":[{"key":"case_id","value":"ff206ab6-88f2-45cc-acb3-a444782aa8e3","description":"Case ID"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"file\": \"https://mdintegrations-api-temp.s3.us-east-2.amazonaws.com/rushi-k-ff206ab688f245ccacb3a444782aa8e3.zip?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAV2X27B62BDA72DWM%2F20220331%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20220331T174244Z&X-Amz-SignedHeaders=host&X-Amz-Expires=180&X-Amz-Signature=444ecbf1c4ddd04ceecc9314c2b30c2528e07f4e716a8d5540b6b51384df2146\"\n}"}],"_postman_id":"9b39134b-40a2-476c-b7fc-1a4e0566341d"},{"name":"Get cases by status","id":"19cafd4d-75fd-499c-94b9-386ba8172f1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"sort\": \"desc\",\r\n    \"is_assigned_to_me\": false,\r\n    \"is_sync\": false,\r\n    \"is_additional_approval_needed\": false,\r\n    \"tags\": [],\r\n    \"partners\": [],\r\n    \"clinicians\": [],\r\n    \"states\": [],\r\n    \"diseases\": [],\r\n    \"case_type\": \"New\",\r\n    \"is_live\": true,\r\n    \"is_sandbox\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/partner/cases/status/:status","description":"<p>Return a list of cases according to a given status.</p>\n<p>The following statuses are available:</p>\n<ul>\n<li><p><strong>Created</strong>: a list of cases create and not assigned yet;</p>\n</li>\n<li><p><strong>Assigned</strong>: a list of cases assigned to the clinician waiting for review;</p>\n</li>\n<li><p><strong>Waiting</strong>: a list of cases assigned to the clinician, waiting for the patient information or review;</p>\n</li>\n<li><p><strong>Cancelled</strong>: a list of cases assigned to the clinician and canceled by the partner;</p>\n</li>\n<li><p><strong>Support</strong>: a list of cases assigned to the clinician and transferred to support;</p>\n</li>\n<li><p><strong>Processing</strong>: a list of cases assigned to the clinician that were already reviewed and finished by the clinician, but with one or more prescriptions waiting for DoseSpot confirmation;</p>\n</li>\n<li><p><strong>Completed</strong>: a list of cases assigned to the clinician with all its prescriptions already confirmed by DoseSpot (prescriptions already verified by the pharmacies).</p>\n</li>\n</ul>\n<h2 id=\"payload\">Payload</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partners</td>\n<td>array(uuid)</td>\n<td>If passed, all cases will belong to this partner.</td>\n</tr>\n<tr>\n<td>clinicians</td>\n<td>array(uuid)</td>\n<td>If passed, all cases assigned to this clinician will be displayed.</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>string</td>\n<td>Sorts by created_at from the Case Status, desc or asc.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array(uuid)</td>\n<td>Filter by an array of Tag UUID.</td>\n</tr>\n<tr>\n<td>diseases</td>\n<td>array(uuid)</td>\n<td>Filter by an array of Diseases UUID</td>\n</tr>\n<tr>\n<td>states</td>\n<td>array(uuid)</td>\n<td>Filter by an array of State UUID</td>\n</tr>\n<tr>\n<td>case_type</td>\n<td>string</td>\n<td>Case Type can by New or Follow-up</td>\n</tr>\n<tr>\n<td>is_sync</td>\n<td>boolean</td>\n<td>Searchs for Routine or Extended Care encounters. If missing, returns both.</td>\n</tr>\n<tr>\n<td>is_live</td>\n<td>boolean</td>\n<td>Defines if the cases from live patients should be returned (defaults to true)</td>\n</tr>\n<tr>\n<td>is_sandbox</td>\n<td>boolean</td>\n<td>Defines if the cases from sandbox patients should be returned (defaults to false)</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolan</td>\n<td>Search for cases that needs an additional approvel</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases","status",":status"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"type":"any","value":"completed","key":"status"}]}},"response":[{"id":"26f9dd2e-38ce-4862-a5a0-60fe48916332","name":"Success","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/status/:status","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases","status",":status"],"variable":[{"key":"status","value":"completed"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"case_id\": \"e0ff60f4-40ae-4d7a-a1e6-03954b12b361\",\n            \"is_additional_approval_needed\": false,\n            \"prioritized_at\": null,\n            \"programs\": [\"weight-loss\"],\n            \"prioritized_reason\": null,\n            \"prioritized\": false,\n            \"partner_id\": \"06ef620c-0bdc-4df8-8b19-d7cdf1709ee6\",\n            \"reference_case_id\": null,\n            \"patient_exam_id\": null,\n            \"service_pdf_exported\": false,\n            \"case_type\": \"virtual_visit\",\n            \"is_chargeable\": true,\n            \"is_upsell_generated\": false,\n            \"charged_by\": null,\n            \"is_sync\": true,\n            \"case_status\": {\n            \"name\": \"Pending\",\n            \"reason\": null,\n            \"updated_at\": \"2026-02-10T20:46:34.685Z\",\n            \"created_at\": \"2026-02-10T18:10:12.120Z\"\n            },\n            \"created_at\": \"2026-02-10T18:10:12.120Z\",\n            \"patient\": {\n            \"patient_id\": \"306dad2d-c261-4974-a496-5ccffdcfb34b\",\n            \"date_of_birth\": \"1989-04-12\",\n            \"first_name\": \"Rachel\",\n            \"last_name\": \"Wilson\",\n            \"gender\": \"female\",\n            \"gender_label\": \"Female\",\n            \"email\": \"rachel_ezrati@hotmail.com\",\n            \"phone_number\": \"6297775752\",\n            \"pregnancy\": \"not_applicable\",\n            \"address\": {\n                \"address_id\": \"f5e92aa3-2a58-4d8d-8a34-19a9e95cfe02\",\n                \"address\": \"12 West 96th Street\",\n                \"address2\": \"Apt 8C\",\n                \"city_name\": \"New York\",\n                \"zip_code\": \"10025\",\n                \"state\": {\n                \"state_id\": \"a26fd3ef-7f16-4e0f-83b5-3c9a2d7cb9c0\",\n                \"abbreviation\": \"NY\",\n                \"name\": \"New York\",\n                \"is_sync\": true,\n                \"country\": {\n                    \"state_id\": \"c1e5a7d2-9b2a-4a7e-bb2f-7f1f1d2a0001\",\n                    \"abbreviation\": \"US\"\n                }\n                }\n            }\n            },\n            \"case_assignment\": {\n            \"created_at\": \"2026-02-10T18:11:02.000Z\",\n            \"reason\": \"Auto-assigned\",\n            \"clinician_id\": \"1740410463\",\n            \"clinician\": {\n                \"clinician_id\": \"1740410463\",\n                \"clinician_specialty\": \"Family Medicine\",\n                \"first_name\": \"Victoria\",\n                \"last_name\": \"Williams\",\n                \"full_name\": \"Victoria Williams\",\n                \"is_online\": true,\n                \"photo\": {\n                \"url_thumbnail\": \"https://cdn.mdintegrations.com/clinicians/1740410463/thumb.jpg\"\n                }\n            }\n            },\n            \"case_prescriptions\": [],\n            \"case_offerings\": [\n                {\n                    \"case_offering_id\": \"d553173c-6a25-49f6-810b-47d346a3173b\",\n                    \"case_prescription_id\": \"d553173c-6a25-49f6-810b-47d346a3173b\",\n                    \"is_important\": true,\n                    \"order\": 1,\n                    \"name\": \"Semaglutide\",\n                    \"title\": \"Semaglutide (Weekly)\"\n                }\n            ],\n            \"case_services\": [\n                {\n                    \"case_service_id\": \"b5d0d97a-3cbe-4c12-9f0f-0c8b4fd6c011\",\n                    \"title\": \"Medical Review\",\n                    \"order\": 1,\n                    \"is_important\": true\n                }\n            ],\n            \"diseases\": [\n                {\n                    \"id\": \"e9d2b516-2f56-4e0a-9e90-8b9d1f4b12a1\",\n                    \"is_primary\": true,\n                    \"icd\": \"E66.9\",\n                    \"description\": \"Obesity, unspecified\"\n                }\n            ],\n            \"tags\": [\n                {\n                    \"id\": \"e2f2bd01-7d53-4d5a-aef6-0c1b8d1c9a11\",\n                    \"type\": \"case\",\n                    \"name\": \"MDI Pending\",\n                    \"key\": \"mdi_pending\",\n                    \"color\": \"#F59E0B\",\n                    \"description\": null,\n                    \"notes\": null,\n                    \"removable_role\": \"admin\",\n                    \"auto_detach_status\": null\n                }\n            ],\n            \"orders\": [\n                {\n                    \"id\": \"2b2e259d-e802-4a3a-a580-82c502a0740f\",\n                    \"external_id\": \"6809283297568\",\n                    \"status\": \"created\",\n                    \"created_at\": \"2026-02-09T19:16:42Z\",\n                    \"updated_at\": \"2026-02-10T20:46:34Z\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"19cafd4d-75fd-499c-94b9-386ba8172f1e"},{"name":"Get Offerings PDF","id":"288189c9-5511-4dbc-afa6-efff3eb62a3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/cases/:case_id/offerings/pdf","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","cases",":case_id","offerings","pdf"],"host":["https://api.mdintegrations.com/v1"],"query":[{"disabled":true,"key":"is_automatic_only","value":"false"},{"disabled":true,"key":"export_type","value":"file/base64/temporary_link"},{"disabled":true,"key":"scope","value":"all/prescriptions/services"}],"variable":[{"id":"21ef1811-59cc-4154-9b27-ab762439fade","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"ff206ab6-88f2-45cc-acb3-a444782aa8e3","key":"case_id"}]}},"response":[{"id":"89584a00-468a-4a4d-85ae-20167606bb74","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/partner/cases/:case_id/offerings/pdf","host":["https://api.mdintegrations.com/v1"],"path":["partner","cases",":case_id","offerings","pdf"],"variable":[{"key":"case_id","value":"ff206ab6-88f2-45cc-acb3-a444782aa8e3","description":"Case ID"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"file\": \"https://mdintegrations-api-temp.s3.us-east-2.amazonaws.com/rushi-k-ff206ab688f245ccacb3a444782aa8e3.zip?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAV2X27B62BDA72DWM%2F20220331%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20220331T174244Z&X-Amz-SignedHeaders=host&X-Amz-Expires=180&X-Amz-Signature=444ecbf1c4ddd04ceecc9314c2b30c2528e07f4e716a8d5540b6b51384df2146\"\n}"}],"_postman_id":"288189c9-5511-4dbc-afa6-efff3eb62a3c"},{"name":"Create case","id":"1d624acb-4d63-4d7d-a380-73bae6c308c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"hold_status\": false,\n    \"patient_id\": \"a0299125-9d2e-4d73-831f-9f94d5950e86\",\n    \"metadata\": \"case number 15\",\n    \"is_chargeable\": true,\n    \"is_additional_approval_needed\": true,\n    \"case_files\": [],\n    \"case_offerings\": [\n        {\n            \"offering_id\": \"dbcc21c5-53d4-4da2-8cf6-7156563a035c\",\n            \"product\": {\n                \"dispense_unit\": \"tablet\",\n                \"pharmacy_notes\": \"Notes for the parmacy.\",\n                \"quantity\": 4,\n                \"days_supply\": 2,\n                \"directions\": \"One per day.\"\n            }\n        }\n    ],\n    \"case_questions\": [\n        {\n            \"question\": \"Are you pregnant?\",\n            \"answer\": \"false\",\n            \"type\": \"boolean\",\n            \"important\": true,\n            \"is_critical\": true,\n            \"display_in_pdf\": true,\n            \"description\": \"Here is the question description\",\n            \"label\": \"Question Label Example\",\n            \"metadata\": \"example of metatada #123 for question\",\n            \"displayed_options\": [\n                \"yes\",\n                \"no\"\n            ]\n        }\n    ],\n    \"diseases\": [\n        {\n            \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\"\n        }\n    ],\n    \"tags\": [\n        {\n            \"tag_id\": \"7366f5c7-9ec4-48c6-a377-f5b4fb3ca6b8\"\n        }\n    ]\n}"},"url":"https://api.mdintegrations.com/v1/partner/cases","description":"<p>Create a new case for a given patient.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>hold_status</td>\n<td>boolean</td>\n<td>Flag to hold the status to not enter into the MDI flow. It will be <strong>false</strong> by default.</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolean</td>\n<td>It defines if the case needs an additional approve,</td>\n</tr>\n<tr>\n<td>reference_case_id</td>\n<td>uuid</td>\n<td>The referenced case UUID</td>\n</tr>\n<tr>\n<td>patient_id</td>\n<td>uuid*</td>\n<td>Patient ID. Check <strong>Partners &gt; Cases &gt; Patients</strong> to create new patients</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the case. (e.g., an ID that will be used to identify this case in another database)</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n<td>Clinician to assign the case to, in case there is a preference for a specific clinician in a specific case. If the field is not sent, a clinician will be assigned according to MDIntegrations algorithm.</td>\n</tr>\n<tr>\n<td>case_offerings</td>\n<td>array(Offering)</td>\n<td>List of offerings to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>diseases</td>\n<td>array(Disease)</td>\n<td>List of diseases to be attached to the case (ICD).</td>\n</tr>\n<tr>\n<td>case_files</td>\n<td>array(uuid)</td>\n<td>Files ID to be attached to the case. The files must be uploaded before creating a case. To upload files check <strong>Partners &gt; Files</strong></td>\n</tr>\n<tr>\n<td>case_questions</td>\n<td>array(Question)</td>\n<td>Questions and answers list</td>\n</tr>\n<tr>\n<td>is_chargeable</td>\n<td>boolean</td>\n<td>Whether or not the case should be charged</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array(Tag)</td>\n<td>List of Tags to be attached to the case.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"diseases-properties\">Diseases Properties</h2>\n<p><strong>Important</strong>: Every disease object will add the disease with the ICD (International Classification of Disease) to the case.</p>\n<p><code>[{disease_id}, {disease_id}]</code></p>\n<p><strong>Note</strong>: Use the \"Get all Disease Codes\" endpoint under the metadata folder to find a list of all availables UUID to be used. Once you know a disease id, you can also retrieve its information through the API using the Get Disease route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>disease_id</td>\n<td>UUID</td>\n<td>Disease ID. It can be found through the diseases endpoints.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"tag-properties\">Tag Properties</h2>\n<p><code>[{tag_id}, {tag_id}]</code></p>\n<p><strong>Note</strong>: Use the \"Get Tags\" endpoint to find a list of all availables UUID to be used. Once you know a tag id, you can also retrieve its information through the API using the Get Tag route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>tag_id</td>\n<td>UUID</td>\n<td>Tag UUID. It can be found through the tags endpoints.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"offering-properties\">Offering Properties</h2>\n<p><strong>Note</strong>: Please ask our medical team to add medications to your company's dashboard so it's easier to manage prescriptions details from there.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>offering_id</td>\n<td>uuid</td>\n<td>The offering ID. Check <strong>Partners &gt; Offerings</strong> to get an <code>offering_id</code> for a given offering. <strong>Required.</strong></td>\n</tr>\n<tr>\n<td>product</td>\n<td>object</td>\n<td>Specific offering fields to be overwritten when provided. Not required. Note each offering type has specific fields that can be overwritten with this payload.</td>\n</tr>\n<tr>\n<td>product.refills</td>\n<td>integer (from 0 to 99)</td>\n<td>Total of amount refills for the given offering</td>\n</tr>\n<tr>\n<td>product.quantity</td>\n<td>string</td>\n<td>Offering quantity string representing a float number (from 0 to 9999999999)</td>\n</tr>\n<tr>\n<td>product.days_supply</td>\n<td>integer (from 0 to 365)</td>\n<td>Number of days of supply of the offering provided - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>product.directions</td>\n<td>string(140)</td>\n<td>Instructions about how the offering is administered</td>\n</tr>\n<tr>\n<td>product.pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the offering</td>\n</tr>\n<tr>\n<td>product.no_substitutions</td>\n<td>boolean</td>\n<td>Whether or not an offering can be replaced to a similar formula/compound if needed.</td>\n</tr>\n<tr>\n<td>product.dispense_unit_id</td>\n<td>integer</td>\n<td>The dispense unit ID. For a list of all available dispense units check <strong>Partners &gt; Dispense Units</strong>. *</td>\n</tr>\n<tr>\n<td>product.pharmacy_id</td>\n<td>integer</td>\n<td>Pharmacy where the prescription must be sent to. Check <strong>Partners &gt; Pharmacies &gt; Get pharmacies</strong> to get a list of all pharmacies available.  <br />  <br /><strong>Important note</strong>:  <br />Dosespot works with <strong>different IDs</strong> for pharmacies according to the environment.  <br />Example:  <br />- Curexa pharmacy ID in <strong>staging</strong> environment: 133012  <br />- Curexa pharmacy ID in <strong>production</strong> environment: 29992</td>\n</tr>\n<tr>\n<td>product.effective_date</td>\n<td>string</td>\n<td>Date from which the offering will become fulfillable (time will always be 00:00:00). Format: <code>Y-m-d</code></td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n<td>Offering title</td>\n</tr>\n<tr>\n<td>product.name</td>\n<td>string</td>\n<td>Offering name</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td>The offering ordering</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"prescription-status-flow\">Prescription Status Flow</h3>\n<p><code>pending</code>: When an offering is created on MDI side and not synced with Dosespot yet;<br /><code>processing</code>: When MDI receives the Dosespot ID and send through the Dosespot the prescription to Pharmacy;<br /><code>completed</code>: When Dosespot responds to the MDI that this prescription has been verified by the pharmacy;<br /><code>cancelled</code>: When a doctor cancel the prescription (<em>when it was synced with Dosespot we try to cancel it there too</em>)</p>\n<img src=\"https://content.pstmn.io/16c57564-952c-4c9d-ad95-21993b06116b/aW1hZ2UucG5n\" width=\"1637\" height=\"421\" />\n\n<h1 id=\"question-properties\">Question Properties</h1>\n<p>For more information about <code>questions</code> and how they affect prescriptions, contact us via Slack or send an email to:<br /><a href=\"https://mailto:mserota@mdintegrations.com\">mserota@mdintegrations.com</a> and <a href=\"https://mailto:jeff@mdintegrations.com\">jeff@mdintegrations.com</a></p>\n<p>We are also available through Slack (partner's channel).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>question</td>\n<td>string(255)*</td>\n<td>Question</td>\n</tr>\n<tr>\n<td>answer</td>\n<td>text*</td>\n<td>Answer</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string*</td>\n<td>Question type. Available options: <code>boolean</code>, <code>number</code> or <code>string</code></td>\n</tr>\n<tr>\n<td>important</td>\n<td>boolean</td>\n<td>Flag to set a question as <code>important</code>.  <br />  <br /><strong>Important Note</strong>:  <br />This flag is used to identify which questions could affect the final prescription. You could also implement custom logic to set this flag only when specific answers are selected.</td>\n</tr>\n<tr>\n<td>display_in_pdf</td>\n<td>boolean</td>\n<td>Flag to set if this question will be displayed in the case PDF file</td>\n</tr>\n<tr>\n<td>description</td>\n<td>text</td>\n<td>A description for your question</td>\n</tr>\n<tr>\n<td>label</td>\n<td>string(50)</td>\n<td>The question label</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>text</td>\n<td>A metadata field</td>\n</tr>\n<tr>\n<td>displayed_options</td>\n<td>array</td>\n<td>An array of options that were displayed to the patient</td>\n</tr>\n<tr>\n<td>is_critical</td>\n<td>boolean</td>\n<td>Mark question as critical</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["partner","cases"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"a6cbf173-2dbf-4ed6-8707-d16452ad6c67","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"{{baseURL}}/partner/cases"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"prioritized_at\": null,\n    \"prioritized_reason\": null,\n    \"prioritized\": false,\n    \"locked_at\": null,\n    \"is_locked\": false,\n    \"is_additional_approval_needed\": false,\n    \"metadata\": \"case number 15\",\n    \"patient_exam_id\": null,\n    \"created_at\": \"2021-06-10T16:34:40.000000Z\",\n    \"is_sync\": false,\n    \"is_chargeable\": true,\n    \"case_type\": \"follow-up\",\n    \"case_id\": \"e02ebf38-147a-419b-bfc8-87e88d29f161\",\n    \"reference_case_id\": \"9b0c4571-f980-4fd4-bf9d-87e88d0c4571\",\n    \"case_status\": {\n        \"name\": \"created\",\n        \"reason\": null,\n        \"updated_at\": \"2021-06-17T17:14:59.000000Z\"\n    },\n    \"patient\": {\n        \"prefix\": \"Sr\",\n        \"first_name\": \"John\",\n        \"middle_name\": \"Harry\",\n        \"last_name\": \"Snow\",\n        \"email\": \"johnsnow@doe.com\",\n        \"date_of_birth\": \"2000-12-31\",\n        \"gender\": 1,\n        \"phone_number\": \"(415) 555-2671\",\n        \"phone_type\": \"2\",\n        \"active\": true,\n        \"metadata\": \"patient number 200\",\n        \"weight\": \"50.000\",\n        \"height\": 180,\n        \"dosespot\": {\n            \"patient_dosespot_id\": \"9b0c4571-f980-4fd4-bf9d-6de1ac52dc9d\",\n            \"sync_status\": \"success\"\n        },\n        \"current_medications\": \"paracetamol\",\n        \"allergies\": \"polen\",\n        \"medical_conditions\": \"medical conditions example\",\n        \"patient_id\": \"9b0c4571-f980-4fd4-bf9d-6de1ac52dc9d\",\n        \"gender_label\": \"Male\",\n        \"pregnancy\": false,\n        \"is_live\": true,\n        \"driver_license\": {\n            \"path\": \"logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n            \"name\": \"Wallpaper_1080p.png\",\n            \"mime_type\": \"image/jpeg\",\n            \"url\": \"http://api.localhost:8000/v1/file/logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n            \"url_thumbnail\": null,\n            \"file_id\": \"862a8e4c-d65a-4d52-8568-49c0d53fa51e\"\n        },\n        \"address\": {\n            \"address\": \"1901 1st Avenue, New York\",\n            \"address2\": \"NY 10029\",\n            \"zip_code\": \"65506-4433\",\n            \"city_name\": \"Pearl River\",\n            \"address_id\": \"31817530-d047-4565-8aa7-e16275b1715d\",\n            \"state\": {\n                \"name\": \"New York\",\n                \"abbreviation\": \"NY\",\n                \"is_av_flow\": false,\n                \"state_id\": \"59bd3d22-8955-44e1-83c0-8556dd16bde4\",\n                \"country\": {\n                    \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                    \"name\": \"United States of America\",\n                    \"abbreviation\": \"US\"\n                }\n            }\n        },\n        \"intro_video\": {\n            \"file_id\": \"ac0c921d-8526-477d-a00d-3fb0c4c8e3a8\",\n            \"path\": \"6v8Ndd8Tpg1uCCik19G8ErJ4jxNiF5kgv1l1DqqE.mov\",\n            \"name\": \"intro_video.mov\",\n            \"mime_type\": \"video/quicktime\",\n            \"url\": \"http://api.localhost:8000/v1/file/intro_video.mov\",\n            \"url_thumbnail\": null,\n            \"created_at\": \"2023-07-04T22:35:11.000000Z\"\n        }\n    },\n    \"partner\": {\n        \"name\": \"Langworth, Heaney and Mills\",\n        \"partner_id\": \"b9c80740-cf71-4a34-8523-987edf221f75\",\n        \"support_message_capability\": \"integrated\",\n        \"partner_notes\": \"Partner has...\",\n        \"operations_support_email\": \"testing@email.com\",\n        \"customer_support_email\": \"testing@email.com\",\n        \"patient_message_capability\": \"integrated\",\n        \"provides_medications\": true,\n        \"thank_you_note_header\": \"Header Thank you note example\",\n        \"thank_you_note_footer\": \"Footer Thank you note example\",\n        \"vouched_integration_type\": \"disabled\",\n        \"business_model\": \"regular\",\n        \"enable_av_flow\": true,\n        \"enable_icd_bmi\": false,\n        \"is_auto_dl_flow\": true,\n        \"slack_channel_id\": \"C05QP6YD8K0\",\n        \"customization\": {\n            \"primary_color\": \"#000000\",\n            \"secondary_color\": \"#000000\",\n            \"background_color\": \"#000000\"\n        },\n        \"address\": {\n            \"address_id\": \"31817530-d047-4565-8aa7-e16275b1715d\",\n            \"address\": \"1901 1st Avenue, New York\",\n            \"zip_code\": \"65506-4433\",\n            \"city_name\": \"Pearl River\",\n            \"state\": {\n                \"state_id\": \"59bd3d22-8955-44e1-83c0-8556dd16bde4\",\n                \"name\": \"New York\",\n                \"abbreviation\": \"NY\",\n                \"is_av_flow\": false,\n                \"country\": {\n                    \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                    \"name\": \"United States of America\",\n                    \"abbreviation\": \"US\"\n                }\n            }\n        },\n        \"operation_country\": {\n            \"name\": \"United States of America\",\n            \"abbreviation\": \"US\",\n            \"country_id\": \"535fd3fd-f206-4724-89a9-55289474db8b\"\n        }\n    },\n    \"case_assignment\": {\n        \"reason\": \"Repellat quisquam sed distinctio sit id et. Unde et doloremque quas ducimus harum perferendis. Officia sapiente velit necessitatibus deleniti. Velit error inventore ut ipsam officia id dolorem.\",\n        \"created_at\": \"2021-02-03T19:30:18.000000Z\",\n        \"case_assignment_id\": \"227ed29c-044a-41d7-bb68-caa2e6c5ee63\",\n        \"clinician\": {\n            \"first_name\": \"Parisian\",\n            \"last_name\": \"Schultz\",\n            \"suffix\": \"M.D\",\n            \"is_online\": true,\n            \"npi\": \"1598738916\",\n            \"clinician_id\": \"65e4f8da-e5f7-44b3-a3d4-c9dc74981f4f\",\n            \"full_name\": \"Seamus Parisian\",\n            \"specialty\": \"General Practice\",\n            \"dea\": \"RM1234567\",\n            \"photo\": {\n                \"path\": \"clinicians_photos/ba193841-9a21-4bdf-a778-2a1f33e1ea2c.jpeg\",\n                \"name\": \"under_construction.jpg\",\n                \"mime_type\": \"image/jpeg\",\n                \"url\": \"http://api.localhost:8000/v1/file/clinicians_photos/ba193841-9a21-4bdf-a778-2a1f33e1ea2c.jpeg\",\n                \"url_thumbnail\": null,\n                \"file_id\": \"22a03259-b2de-4255-9d2e-48a9dc368633\"\n            }\n        }\n    },\n    \"tags\": [\n        {\n            \"id\": \"7af7618a-5711-4485-8b35-63b65b3f56cc\",\n            \"type\": \"partner\",\n            \"name\": \"My own tag two\",\n            \"key\": \"my-own-tag-two\",\n            \"color\": \"#fff\",\n            \"description\": \"My tag description\",\n            \"notes\": \"Ola esse é um teste editador\",\n            \"removable_role\": null,\n            \"auto_detach_status\": [\n                \"assigned\",\n                \"processing\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"1d624acb-4d63-4d7d-a380-73bae6c308c0"}],"id":"b5fd0b6b-f61d-4ef3-a4b1-f6daa0f49a9b","description":"<p>A <strong>case</strong> is as a set of medication prescriptions requests that the partner sends to MD-Integrations on behalf of a patient.</p>\n<p>Once a case is created on MD Integrations side, it will be automatically assigned to a clinician who will be in charge of reviewing the case.</p>\n<p>If everything is in place, the clinician will accept the case. By accepting the case, the requested prescription(s) will be sent to DoseSpot. On DoseSpot side the requested prescriptions will be created on behalf of the patient and sent to the given preferred pharmacy set.</p>\n<h2 id=\"how-to-create-a-patient-case\">How To Create a Patient Case</h2>\n<h4 id=\"1-create-a-patient\">1. Create a patient</h4>\n<p>Before creating a case, make sure the patient who the case will belongs to is registered on MD Integrations side. When a patient is created on MD Integrations an ID is returned. Make sure this ID is saved for later usage. For details about managing patients check <strong>Partners &gt; Patients</strong>.</p>\n<h4 id=\"2-search-medications-to-be-added-to-the-case\">2. Search medications to be added to the case</h4>\n<p>There is no limit of medications to be added to a single case. To search for available medications, check <strong>Partners &gt; Medications &gt; Search for medications</strong>.</p>\n<p>The medications search will only return the name and strength information when a medication is available. To get all the details for a medication, check<br /><strong>Partners &gt; Medications &gt; Get details for medications</strong>.</p>\n<h4 id=\"3-search-compounds-to-be-added-to-the-case\">3. Search compounds to be added to the case</h4>\n<p>There is no limit of compounds to be added to a single case. To search for available compounds, check <strong>Partners &gt; Compounds &gt; Search for compounds</strong>.</p>\n<h4 id=\"4-search-pharmacies-to-add-as-preferred-for-a-given-medication\">4. Search pharmacies to add as preferred for a given medication</h4>\n<p>Each medication added can be associated with a preferred pharmacy. When the medication is prescribed to the patient on MD Integrations, the prescription will be sent to the chosen pharmacy. To search for available pharmacies, check <strong>Partners &gt; Pharmacies</strong>.</p>\n<h4 id=\"5-attach-files-to-the-case\">5. Attach files to the case</h4>\n<p>You can associate files to cases. First, you'll need to upload the files before creating the case. Check <strong>Partners &gt; Files &gt; Create file</strong> for more details.</p>\n<h4 id=\"6-create-case\">6. Create case</h4>\n<p>Now it's time to submit the patient case using all the information gathered from the previous steps. To create a case check <strong>Partners &gt; Cases</strong> for details about the request to be sent.</p>\n<h2 id=\"case-status\">Case Status</h2>\n<p><img src=\"https://i.imgur.com/syqWaVo.png\" alt /></p>\n<p>A case can have one of the following status:</p>\n<ul>\n<li><strong>created</strong>: a case is created using the created status;</li>\n<li><strong>assigned</strong>: indicates a case is ready to be worked by the assigned clinician;</li>\n<li><strong>support</strong>: the MD clinician transferred the case to support;</li>\n<li><strong>waiting</strong>: case is still assigned and waiting for a response from the patient (no staff or clinician action required).</li>\n<li><strong>processing</strong>: indicates that a case has been submitted to Dosespot and is waiting for confirmation</li>\n<li><strong>completed</strong>: a case is completed when all the case prescriptions are created on DoseSpot side and are automatically sent to the pharmacies; or moved manually without prescriptions.</li>\n<li><strong>cancelled</strong>: a case goes to cancelled when manually set by the clinician or support;;</li>\n</ul>\n<h2 id=\"webhooks\">Webhooks</h2>\n<p>The Webhooks API allows you to subscribe to events happening on patient's cases for a specific MD Integrations partner.</p>\n<p>After you've subscribed to a webhook, you can let your app execute code immediately after some specific events. The following events are triggered by MD Integrations:</p>\n<ul>\n<li>Patient case has been assigned to a clinician;</li>\n<li>Patient case has been processing;</li>\n<li>Patient case has been completed;</li>\n<li>Patient case has been transferred to support;</li>\n<li>Patient case has a new message from the clinician.</li>\n<li>Patient case has been cancelled;</li>\n<li>Patient case has been waiting;</li>\n<li>Patient has been modified;</li>\n<li>Patient case prescriptions have been submitted;</li>\n</ul>\n<h4 id=\"webhooks-setup\">Webhooks Setup</h4>\n<p>Using the Webhooks API requires the following:</p>\n<ul>\n<li>Enter MD Integrations Admin Panel and go to <strong>Settings</strong>. There you will be able to specify a URL to send notifications;</li>\n<li>The specified URL must be a publicly available, secure (HTTPS) endpoint.</li>\n</ul>\n<h4 id=\"webhooks-payloads\">Webhooks Payloads</h4>\n<p>The endpoint at the URL you specify in webhooks settings will receive <code>POST</code> requests with content type <code>application/json</code>.</p>\n<p>Depending on the event type triggered, a different payload will be returned. The available events and each corresponding payload are the following:</p>\n<p><strong>Patient case has been assigned to a clinician</strong></p>\n<p>Once a patient case is created on MD Integrations, this case will be automatically assigned to a clinician. Once a case is assigned to a clinician, the case enters the clinician's queue to be reviewed.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"event_type\": \"case_assigned_to_clinician\",\n  \"case_id\": \"08e58832-4ae4-47e4-b9be-43dba87959bc\",\n  \"metadata\": \"this is an example.\"\n}\n\n</code></pre><p><strong>Patient case has been completed</strong></p>\n<p>A case is completed when all the case prescriptions are created on DoseSpot side and are automatically sent to the pharmacies; or moved manually without prescriptions.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"event_type\": \"case_completed\",\n  \"case_id\": \"08e58832-4ae4-47e4-b9be-43dba87959bc\",\n  \"metadata\": \"this is an example.\"\n}\n\n</code></pre><p><strong>Patient case has been transferred to support</strong></p>\n<p>In case the clinician has identified any issues with the patient's case, the clinician can transfer the case to the partner's support. The case then is flagged as sent to support on MD Integrations side and an event is emitted to the partner notifying that a case needs some support assistance.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"event_type\": \"case_transferred_to_support\",\n  \"case_id\": \"08e58832-4ae4-47e4-b9be-43dba87959bc\",\n  \"metadata\": \"this is an example.\"\n}\n\n</code></pre><p><strong>Patient case has a new message from the clinician</strong></p>\n<p>Patients and clinicians can exchange messages while the case is opened. When a clinician sends a message to the patient, this event is emitted.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"event_type\": \"new_case_message\",\n  \"case_id\": \"08e58832-4ae4-47e4-b9be-43dba87959bc\",\n  \"case_message_id\": \"7d6bc4aa-73a1-42bf-bff8-1792d876566d\",\n  \"metadata\": \"this is an example.\"\n}\n\n</code></pre><p><strong>Patient case has been processing</strong></p>\n<p>Indicates that a case has been submitted to Dosespot and is waiting for confirmation.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"event_type\": \"case_processing\",\n  \"case_id\": \"08e58832-4ae4-47e4-b9be-43dba87959bc\",\n  \"metadata\": \"this is an example.\"\n}\n\n</code></pre><p><strong>Patient case has been cancelled</strong></p>\n<p>A case goes to cancelled when manually set by the clinician or support; A cancelled case can't be modified at all.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"event_type\": \"case_cancelled\",\n  \"case_id\": \"08e58832-4ae4-47e4-b9be-43dba87959bc\",\n  \"metadata\": \"this is an example.\"\n}\n\n</code></pre><p><strong>Patient case has been waiting</strong></p>\n<p>Waiting cases indicate that the clinician is waiting for a patient action (reply to a message, attach a blood exam, etc)</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"event_type\": \"case_waiting\",\n  \"case_id\": \"08e58832-4ae4-47e4-b9be-43dba87959bc\",\n  \"metadata\": \"this is an example.\"\n}\n\n</code></pre><p><strong>Patient has been modified</strong></p>\n<p>Waiting cases indicate that the clinician is waiting for a patient action (reply to a message, attach a blood exam, etc)</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"event_type\": \"patient_modified\",\n  \"patient_id\": \"08e58832-4ae4-47e4-b9be-43dba87959bc\",\n  \"metadata\": \"this is an example.\"\n}\n\n</code></pre><p><strong>Patient case prescriptions have been submitted</strong></p>\n<p>When a case is completed shows information about the prescriptions received by dosespot</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  event_type: 'prescription_submitted',\n  case_id: 'be2fc48f-df75-4cd7-a78a-89d51cc46e17',\n  metadata: 'asdadssa',\n  prescriptions: [\n    {\n      dosespot_prescription_id: null,\n      refills: 2,\n      quantity: 99,\n      days_supply: 30,\n      directions: 'Take one at the morning and another before bed...',\n      dosespot_prescription_sync_status: 'pending',\n      dosespot_sent_pharmacy_sync_status: 'pending',\n      no_substitutions: true,\n      pharmacy_notes: 'This medication might not be suitable for people with...',\n      dosespot_confirmation_status: 'pending',\n      dosespot_confirmation_status_details: null,\n      thank_you_note: 'lorem ipsum',\n      clinical_note: 'lorem ipsum',\n      dispense_unit_id: 15,\n      pharmacy_id: 13012,\n      medication: [Object],\n      partner_compound: null\n    }\n  ]\n}\n\n</code></pre>","_postman_id":"b5fd0b6b-f61d-4ef3-a4b1-f6daa0f49a9b","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Patients","item":[{"name":"Messages","item":[{"name":"Get Messages","id":"0e338c50-52c3-4ac0-a7a3-0e6cb7a895a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient/messages?channel=patient","description":"<p>Get the patient's messages (paginated).</p>\n","urlObject":{"path":["partner","patients",":patient","messages"],"host":["https://api.mdintegrations.com/v1"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"per_page","value":"15"},{"key":"channel","value":"patient"}],"variable":[{"id":"3d582744-e650-4acc-bd9c-2c62683cec2c","type":"any","value":"757479af-30a7-4725-a46a-4a31fb2b813a","key":"patient"}]}},"response":[{"id":"946b1ce2-c4cd-4570-9880-a9db0cd6d18d","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient/messages?channel=patient","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient","messages"],"query":[{"key":"channel","value":"patient"}],"variable":[{"key":"patient","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"90e96706-7620-4b3f-b0fc-8f7d520a013b\",\n            \"patient_id\": \"757479af-30a7-4725-a46a-4a31fb2b813a\",\n            \"channel\": \"patient\",\n            \"text\": \"*****\\r\\nFor any non-medical questions (such as account questions, billing, shipping, etc.) please reach out to ScoreBlue support directly at: support@ScoreBlue.com as support would be the ones to handle those questions.  \\r\\n*****\\r\\n\\r\\n\\r\\nHi Mark , I’m Dr. Thomas Bottoni MD , a board certified physician who is licensed in Florida.  I’ve reviewed your health information and I think you likely have ED, which can benefit from the following:   Sildenafil 20mg tablets.  Start with 1-2 tablets and do not exceed a maximum of 100 mg of sildenafil (5 tablets) per day based on how you respond to treatment.\\r\\n\\r\\nThe treatment plan including other important information is below  Please make sure you review it, as it will help you decide if the benefits of the plan outweigh the risks.\\r\\n\\r\\nDon’t forget that there is always a package insert that comes with your prescription which you should review.\\r\\n\\r\\nPlease feel free to contact me here directly if you have any medical questions.\\r\\n\\r\\nSincerely,\\r\\nDr. Thomas Bottoni MD \\r\\nBoard-certified physician licensed in Florida \\r\\n\\r\\nHow to use the medication: Start with two tablets of the medication by mouth for your first time one hour before sex as needed.  You may then go up by 1 tablet each future sexual encounter if you feel you need to.  DO NOT TAKE MORE THAN FIVE TABLETS AT A TIME OR WITHIN A 24 HOUR PERIOD.\\r\\n\\r\\nDo not use this in combination with any illegal drugs. Taking with alcohol may make the medication less effective and increase the chances of side effects such as headache or flushing. Never take erectile dysfunction medication with nitrates for chest pain.\\r\\n\\r\\nSIDE EFFECTS: Here's your reference chart - don't panic if you experience these. They're ultra-normal. Most side effects only last as long as the medication is still in the system. That means it's a shorter duration for Viagra, Sildenafil, and Levitra...but longer for Cialis.\\r\\n \\r\\nSymptom\\t\\t\\t\\tFrequency\\r\\n* Headache                        16-28% vs 7% for placebo                \\r\\n* Upset stomach               10-29% vs 2% for placebo\\r\\n* Flushing                           10-29% vs 2% for placebo\\r\\n* Stuffy nose                       4% vs 2% for placebo\\r\\n* Dizziness.                         3-4% vs 2% for placebo\\r\\n* Muscle aches                   3-4% vs 2% for placebo\\r\\n* Dyspepsia (‘reflux’)         3-17% vs 2% for placebo\\r\\n\\r\\nLess common side effects include:\\r\\n* Rash\\r\\n* Abnormal vision (blue tint, blurry vision light sensitivity)\\r\\n\\r\\nSevere Side Effects (very uncommon)\\r\\n* Erections that last several hours. Tell your doctor right away if you have an erection that lasts more than 4 hours.\\r\\n* Decreased eyesight or loss of sight in one or both eyes.\\r\\n* Sudden decrease or loss of hearing.\\r\\n* Heart attack, stroke, irregular heartbeats, and death. Most of these happened in people who already had heart problems.\\r\\n* Seizures\\r\\n* Low blood pressure causing dizziness\\r\\n* Allergic reaction\\r\\n* Stevens-Johnson syndrome\\r\\n* Anemia\\r\\nIf any of these SEVERE side effects occur, seek medical care immediately.\\r\\n\\r\\nWe require that you continue to follow up regularly (at least once a year) with your primary care doctor for in person check ups. It is important that you inform them of your ED symptoms and treatment so that they can investigate any additional contributors and optimize treatment for any underlying conditions/triggers which may include: heart disease, atherosclerosis, high cholesterol, high blood pressure, diabetes, obesity, metabolic syndrome, Parkinson’s disease, multiple sclerosis, sleep apnea, prostate disease, other GU diseases, low testosterone, psychological conditions, certain medications, smoking, drug and alcohol use.  Please remember to let us know of any changes in your health. If you have any anatomic problems or urology surgeries that could impact erectile dysfunction or if there is any change to your cardiovascular health please always let myself and your primary doctor know as this may impact the treatment recommendations for your ED.\\r\\n\\r\\nFOR OTHER HELPFUL INFORMATION INCLUDING ALTERNATIVES TO THERAPY, please read the following: https://support.scoreblue.com/hc/en-us  \\r\\n\\r\\nIf you do not have a PCP, please click on the following link: https://www.google.com/search?q=primary+care+doctor+near+me\",\n            \"user_type\": \"App\\\\Models\\\\Clinician\",\n            \"user_id\": \"5de2dff4-192c-4b26-bf10-7f65a80161cd\",\n            \"reference_message_id\": null,\n            \"reply_message_id\": null,\n            \"replied_at\": null,\n            \"dismissed_at\": \"2023-02-20 16:02:08\",\n            \"dismissed_by_type\": null,\n            \"dismissed_by_id\": null,\n            \"emailed_at\": null,\n            \"created_at\": \"2023-02-06T19:19:58.000000Z\",\n            \"updated_at\": \"2023-02-20T16:02:08.000000Z\",\n            \"deleted_at\": null,\n            \"read_message_info\": null,\n            \"reference_message\": null,\n            \"user\": {\n                \"id\": \"5de2dff4-192c-4b26-bf10-7f65a80161cd\",\n                \"first_name\": \"Thomas\",\n                \"last_name\": \"Bottoni\",\n                \"suffix\": \"MD\",\n                \"email\": \"tnbottoni@gmail.com\",\n                \"phone_number\": \"6297775752\",\n                \"phone_type\": \"2\",\n                \"photo_id\": \"cc7af83d-a5c1-40a9-873a-c1300ed468a2\",\n                \"active\": true,\n                \"bio_details\": \"I have been a licensed physician since 1994, and Board Certified since 2000. I have trained with and served the US Navy for 21 years, and worked in a variety of settings - academic, urban, and community clincal roles. I have much clinical experience to offer!\",\n                \"date_of_birth\": \"1966-01-16\",\n                \"address_id\": \"8d30781a-a673-4176-b69e-57986e27042a\",\n                \"specialty\": \"M.D.\",\n                \"fax_number\": \"6502540800\",\n                \"profile_url\": null,\n                \"signature_id\": \"2ec8bae2-edf1-4f7e-bd5d-6d9994b2b93b\",\n                \"case_assignment_availability\": true,\n                \"timezone_id\": \"c45fe33d-ec45-49b6-9d08-599ad41946e5\",\n                \"passcode_id\": null,\n                \"is_out_of_office\": false,\n                \"out_of_office_message\": null,\n                \"automatic_sync_message\": null,\n                \"managed_by_partner\": false,\n                \"created_at\": \"2022-11-25T15:49:38.000000Z\",\n                \"updated_at\": \"2023-08-02T23:49:37.000000Z\",\n                \"deleted_at\": null,\n                \"full_name\": \"Thomas Bottoni\",\n                \"is_online\": false,\n                \"priority\": null\n            },\n            \"dismissed_by\": null,\n            \"files\": [],\n            \"readings\": []\n        },\n        {\n            \"id\": \"f5cb6bdf-8aac-4ed6-900e-bc47aaf6091b\",\n            \"patient_id\": \"757479af-30a7-4725-a46a-4a31fb2b813a\",\n            \"channel\": \"patient\",\n            \"text\": null,\n            \"user_type\": \"App\\\\Models\\\\Clinician\",\n            \"user_id\": \"5de2dff4-192c-4b26-bf10-7f65a80161cd\",\n            \"reference_message_id\": null,\n            \"reply_message_id\": null,\n            \"replied_at\": null,\n            \"dismissed_at\": \"2023-02-20 16:02:08\",\n            \"dismissed_by_type\": null,\n            \"dismissed_by_id\": null,\n            \"emailed_at\": null,\n            \"created_at\": \"2023-02-06T19:19:58.000000Z\",\n            \"updated_at\": \"2023-02-20T16:02:08.000000Z\",\n            \"deleted_at\": null,\n            \"read_message_info\": \"Read\",\n            \"reference_message\": null,\n            \"user\": {\n                \"id\": \"5de2dff4-192c-4b26-bf10-7f65a80161cd\",\n                \"first_name\": \"Thomas\",\n                \"last_name\": \"Bottoni\",\n                \"suffix\": \"MD\",\n                \"email\": \"tnbottoni@gmail.com\",\n                \"phone_number\": \"6297775752\",\n                \"phone_type\": \"2\",\n                \"photo_id\": \"cc7af83d-a5c1-40a9-873a-c1300ed468a2\",\n                \"active\": true,\n                \"bio_details\": \"I have been a licensed physician since 1994, and Board Certified since 2000. I have trained with and served the US Navy for 21 years, and worked in a variety of settings - academic, urban, and community clincal roles. I have much clinical experience to offer!\",\n                \"date_of_birth\": \"1966-01-16\",\n                \"address_id\": \"8d30781a-a673-4176-b69e-57986e27042a\",\n                \"specialty\": \"M.D.\",\n                \"fax_number\": \"6502540800\",\n                \"profile_url\": null,\n                \"signature_id\": \"2ec8bae2-edf1-4f7e-bd5d-6d9994b2b93b\",\n                \"case_assignment_availability\": true,\n                \"timezone_id\": \"c45fe33d-ec45-49b6-9d08-599ad41946e5\",\n                \"passcode_id\": null,\n                \"is_out_of_office\": false,\n                \"out_of_office_message\": null,\n                \"automatic_sync_message\": null,\n                \"managed_by_partner\": false,\n                \"created_at\": \"2022-11-25T15:49:38.000000Z\",\n                \"updated_at\": \"2023-08-02T23:49:37.000000Z\",\n                \"deleted_at\": null,\n                \"full_name\": \"Thomas Bottoni\",\n                \"is_online\": false,\n                \"priority\": null\n            },\n            \"dismissed_by\": null,\n            \"files\": [\n                {\n                    \"id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\",\n                    \"name\": \"Score Blue - Message from Dr. Bottoni.mov\",\n                    \"mime_type\": \"video/quicktime\",\n                    \"path\": \"partners/0Wzb1mI0XZsJ5pwyw86M5TcCAja7WeDRjElAnVf6.mov\",\n                    \"thumbnail_path\": null,\n                    \"created_at\": \"2023-01-03T01:02:27.000000Z\",\n                    \"updated_at\": \"2023-01-03T01:02:27.000000Z\",\n                    \"deleted_at\": null,\n                    \"url\": \"http://localhost:8000/s3/files/3f7b155c-c235-476c-9688-3fa7c1d59ed2/file?signature=438d650b10cdf7186eabc888ed71506d68099b6d7bea520c7809a405a5c29fdb\",\n                    \"thumbnail_url\": null,\n                    \"pivot\": {\n                        \"file_id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\",\n                        \"message_id\": \"f5cb6bdf-8aac-4ed6-900e-bc47aaf6091b\",\n                        \"created_at\": \"2023-08-22T03:31:41.000000Z\",\n                        \"updated_at\": \"2023-08-22T03:31:41.000000Z\"\n                    }\n                }\n            ],\n            \"readings\": []\n        },\n        {\n            \"id\": \"07e83f83-382c-4cf1-873b-c783bbd64dac\",\n            \"patient_id\": \"757479af-30a7-4725-a46a-4a31fb2b813a\",\n            \"channel\": \"patient\",\n            \"text\": \"Has my order shipped?\",\n            \"user_type\": \"App\\\\Models\\\\Patient\",\n            \"user_id\": \"757479af-30a7-4725-a46a-4a31fb2b813a\",\n            \"reference_message_id\": null,\n            \"reply_message_id\": null,\n            \"replied_at\": null,\n            \"dismissed_at\": \"2023-02-08 14:35:15\",\n            \"dismissed_by_type\": null,\n            \"dismissed_by_id\": null,\n            \"emailed_at\": null,\n            \"created_at\": \"2023-02-08T14:01:27.000000Z\",\n            \"updated_at\": \"2023-02-08T14:35:15.000000Z\",\n            \"deleted_at\": null,\n            \"read_message_info\": \"Read by Me\",\n            \"reference_message\": null,\n            \"user\": {\n                \"id\": \"757479af-30a7-4725-a46a-4a31fb2b813a\",\n                \"first_name\": \"Mark\",\n                \"last_name\": \"Gilliam\",\n                \"email\": \"gilliammark08@gmail.com\",\n                \"active\": true,\n                \"prefix\": null,\n                \"weight\": null,\n                \"height\": null,\n                \"gender\": 1,\n                \"phone_number\": \"4042176932\",\n                \"phone_type\": \"2\",\n                \"address_id\": \"40d4d631-650c-4e32-b7ab-56073ea9c93c\",\n                \"driver_license_id\": null,\n                \"allergies\": \"No Allergies\",\n                \"current_medications\": \"No Medications\",\n                \"pregnancy\": false,\n                \"partner_id\": \"c6b73433-b756-4dd9-9770-4509e94a5e07\",\n                \"environment_id\": \"5698c890-e79b-4d27-9a92-500dfffb1ae6\",\n                \"clinician_id\": \"5de2dff4-192c-4b26-bf10-7f65a80161cd\",\n                \"metadata\": \"e65385d1-a63e-11ed-8b0b-5d0c55836116\",\n                \"intro_video_file_id\": null,\n                \"created_at\": \"2023-02-06T19:19:01.000000Z\",\n                \"updated_at\": \"2023-08-25T17:28:04.000000Z\",\n                \"deleted_at\": null,\n                \"full_name\": \"Mark Gilliam\",\n                \"abbreviated_name\": \"Mark G.\",\n                \"is_live\": true,\n                \"intro_video_id\": null\n            },\n            \"dismissed_by\": null,\n            \"files\": [],\n            \"readings\": []\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/api/patients/757479af-30a7-4725-a46a-4a31fb2b813a/messages?page=1\",\n        \"last\": \"http://localhost/api/patients/757479af-30a7-4725-a46a-4a31fb2b813a/messages?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://localhost/api/patients/757479af-30a7-4725-a46a-4a31fb2b813a/messages?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://localhost/api/patients/757479af-30a7-4725-a46a-4a31fb2b813a/messages\",\n        \"per_page\": 15,\n        \"to\": 3,\n        \"total\": 3\n    }\n}"}],"_postman_id":"0e338c50-52c3-4ac0-a7a3-0e6cb7a895a0"},{"name":"Create Message","id":"e4d3c9d3-aa5e-49b5-8e28-fbe872f9047a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"channel\": \"patient\",\n    \"text\": \"Message text.\",\n    \"reference_message_id\": \"ce36bba7-3932-4197-9d92-4565a890edf8\",\n    \"files\": [\n        {\n            \"id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\"\n        },\n        {\n            \"id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\"\n        }\n    ],\n    \"sender_type\": \"patient\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/partner/patients/:patient/messages","description":"<p>Creates a patient's message, and attaches its files.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>channel*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>text</td>\n<td>string</td>\n</tr>\n<tr>\n<td>reference_message_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>files</td>\n<td>array</td>\n</tr>\n<tr>\n<td>sender_type</td>\n<td>string (patient/partner/system)</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-files\">Payload (files)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id*</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["partner","patients",":patient","messages"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"}]}},"response":[{"id":"77d14287-0259-4761-bbe0-273d9b88baae","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient/messages","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient","messages"],"variable":[{"key":"patient","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c3f29d8c-0da9-42a9-9eb1-b72ef399a25a\",\n    \"patient_id\": \"8e1cb3f5-23ae-465b-9f5d-929b11f97e98\",\n    \"channel\": \"patient\",\n    \"text\": \"Message text.\",\n    \"user_type\": \"App\\\\Models\\\\Clinician\",\n    \"user_id\": \"cbd247ab-65e9-433f-a1a3-21558299d973\",\n    \"reference_message_id\": \"ce36bba7-3932-4197-9d92-4565a890edf8\",\n    \"reply_message_id\": null,\n    \"replied_at\": null,\n    \"dismissed_at\": null,\n    \"dismissed_by_type\": null,\n    \"dismissed_by_id\": null,\n    \"emailed_at\": \"2023-08-30T15:11:21.422025Z\",\n    \"created_at\": \"2023-08-30T15:11:20.000000Z\",\n    \"updated_at\": \"2023-08-30T15:11:21.000000Z\",\n    \"deleted_at\": null,\n    \"read_at\": null,\n    \"user\": {\n        \"id\": \"cbd247ab-65e9-433f-a1a3-21558299d973\",\n        \"first_name\": \"Guilherme\",\n        \"last_name\": \"Medeiros\",\n        \"suffix\": null,\n        \"email\": \"guilherme+clinician@mdintegrations.com\",\n        \"phone_number\": null,\n        \"phone_type\": null,\n        \"photo_id\": null,\n        \"active\": true,\n        \"bio_details\": null,\n        \"date_of_birth\": \"1991-12-14\",\n        \"address_id\": \"4a24e0f4-92d3-4a66-8184-74d8974677ed\",\n        \"specialty\": null,\n        \"fax_number\": null,\n        \"profile_url\": null,\n        \"signature_id\": null,\n        \"case_assignment_availability\": true,\n        \"timezone_id\": \"c45fe33d-ec45-49b6-9d08-599ad41946e5\",\n        \"passcode_id\": \"58d6f0c5-6bae-4682-b12b-00c98b9b5fa5\",\n        \"is_out_of_office\": false,\n        \"out_of_office_message\": null,\n        \"automatic_sync_message\": null,\n        \"managed_by_partner\": false,\n        \"created_at\": \"2023-02-15T12:27:03.000000Z\",\n        \"updated_at\": \"2023-08-30T14:39:37.000000Z\",\n        \"deleted_at\": null,\n        \"full_name\": \"Guilherme Medeiros\",\n        \"is_online\": false,\n        \"priority\": null\n    },\n    \"patient\": {\n        \"id\": \"8e1cb3f5-23ae-465b-9f5d-929b11f97e98\",\n        \"first_name\": \"Joseph\",\n        \"last_name\": \"Alaban\",\n        \"email\": \"joealaban65@gmail.com\",\n        \"active\": true,\n        \"prefix\": null,\n        \"weight\": null,\n        \"height\": null,\n        \"gender\": 1,\n        \"phone_number\": \"4086554410\",\n        \"phone_type\": \"2\",\n        \"address_id\": \"6e40f8e5-9238-4886-83cc-ef2f59964d29\",\n        \"driver_license_id\": null,\n        \"allergies\": \"No Allergies\",\n        \"current_medications\": \"No Medications\",\n        \"pregnancy\": false,\n        \"partner_id\": \"c6b73433-b756-4dd9-9770-4509e94a5e07\",\n        \"environment_id\": \"5698c890-e79b-4d27-9a92-500dfffb1ae6\",\n        \"clinician_id\": \"4c79229f-cfa1-4808-b97b-f270489d8a99\",\n        \"metadata\": \"f3e78a40-64fb-11ed-8339-6577e8df5042\",\n        \"intro_video_file_id\": null,\n        \"created_at\": \"2023-01-12T00:42:48.000000Z\",\n        \"updated_at\": \"2023-08-25T17:39:05.000000Z\",\n        \"deleted_at\": null,\n        \"full_name\": \"Joseph Alaban\",\n        \"abbreviated_name\": \"Joseph A.\",\n        \"is_live\": true,\n        \"intro_video_id\": null\n    },\n    \"readings\": []\n}"}],"_postman_id":"e4d3c9d3-aa5e-49b5-8e28-fbe872f9047a"},{"name":"Get Message","id":"353c53b2-e66b-4ee5-aa44-1a443ccab2bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient/messages/:message","description":"<p>Get the patient's message details.</p>\n","urlObject":{"path":["partner","patients",":patient","messages",":message"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"0f9c9463-381c-42bf-bb2b-5f16a24ee50b","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"b5fbffaa-1925-4c16-a167-efb959f97485","type":"any","value":"0682c481-dd31-4047-a5ae-38c35ff216ea","key":"message"}]}},"response":[{"id":"ab4c2e1e-14ac-43dc-aa90-757480066de0","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient/messages/:message","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient","messages",":message"],"variable":[{"key":"patient","value":""},{"key":"message","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0682c481-dd31-4047-a5ae-38c35ff216ea\",\n    \"patient_id\": \"8e1cb3f5-23ae-465b-9f5d-929b11f97e98\",\n    \"channel\": \"patient\",\n    \"text\": null,\n    \"user_type\": \"App\\\\Models\\\\Clinician\",\n    \"user_id\": \"4c79229f-cfa1-4808-b97b-f270489d8a99\",\n    \"reference_message_id\": null,\n    \"reply_message_id\": \"8dfe4a90-26e1-47b3-9016-fa31301f2bb5\",\n    \"replied_at\": \"2023-08-30 04:01:30\",\n    \"dismissed_at\": \"2023-08-29 12:14:10\",\n    \"dismissed_by_type\": \"App\\\\Models\\\\Clinician\",\n    \"dismissed_by_id\": \"cbd247ab-65e9-433f-a1a3-21558299d973\",\n    \"emailed_at\": null,\n    \"created_at\": \"2023-01-12T03:11:54.000000Z\",\n    \"updated_at\": \"2023-08-30T04:01:30.000000Z\",\n    \"deleted_at\": null,\n    \"read_at\": \"2023-08-30 03:45:41\",\n    \"reference_message\": null,\n    \"user\": {\n        \"id\": \"4c79229f-cfa1-4808-b97b-f270489d8a99\",\n        \"first_name\": \"Maura\",\n        \"last_name\": \"Holcomb\",\n        \"suffix\": \"MD\",\n        \"email\": \"mauraholcomb@gmail.com\",\n        \"phone_number\": \"6297775752\",\n        \"phone_type\": \"2\",\n        \"photo_id\": \"4ba765cd-c5d6-4818-91f5-070ac7794f2f\",\n        \"active\": true,\n        \"bio_details\": \"Maura J. Holcomb, M.D. is the author of more than 60 papers on clinical interests that include psoriasis, acne, melanoma, tropical dermatology, and photosensitive skin disorders. Her work has been published in the International Journal of Dermatology, Dermatology Online Journal, Journal of Cutaneous Pathology, and other dermatological publications, including numerous Continuing Medical Education articles for ClinicalAdvisor.com’s Dermatology Clinic. Dr. Holcomb has also collaborated on several presentations of dermatological research at conferences of the Texas Dermatological Society, American Society of \\r\\n dermatopathology, and American Academy of Dermatology.\\r\\n\\r\\nA native Texan, Dr. Holcomb graduated at the top of her high school class in East Texas before attending Texas A&M University, where she graduated magna cum laude, obtaining degrees in\\r\\nboth biology and psychology. \\r\\n\\r\\nDr. Holcomb received her M.D. from Baylor College of Medicine on a full scholarship. She completed her medical internship at The Methodist Hospital in Houston and her dermatology residency at Baylor. She conducted clinical research at the Department of Dermatology at The University of Texas M.D. Anderson Cancer Center, Houston, and received the Debra Chester Kalter Award for Outstanding Student Research in Dermatology. Graduating in the top 10% of her class, she was elected into the Alpha Omega Alpha Medical Honor Society.\\r\\n\\r\\nDuring medical school, Dr. Holcomb spent two months volunteering at a leprosy hospital in Nepal. In her spare time, she enjoys hiking, running, camping, travelling off the beaten path, and scuba diving.\",\n        \"date_of_birth\": \"1985-07-25\",\n        \"address_id\": \"5a179d19-d096-4179-8b2a-c80383b53014\",\n        \"specialty\": \"M.D.\",\n        \"fax_number\": \"6502540800\",\n        \"profile_url\": null,\n        \"signature_id\": \"4081ef1e-dbb2-4016-b9ad-d517dbe6e449\",\n        \"case_assignment_availability\": true,\n        \"timezone_id\": \"c45fe33d-ec45-49b6-9d08-599ad41946e5\",\n        \"passcode_id\": null,\n        \"is_out_of_office\": false,\n        \"out_of_office_message\": null,\n        \"automatic_sync_message\": null,\n        \"managed_by_partner\": false,\n        \"created_at\": \"2022-06-25T15:06:23.000000Z\",\n        \"updated_at\": \"2023-08-02T23:49:37.000000Z\",\n        \"deleted_at\": null,\n        \"full_name\": \"Maura Holcomb\",\n        \"is_online\": false,\n        \"priority\": null,\n        \"photo\": {\n            \"id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\",\n            \"name\": \"scorebluefinalWIN_20230104_15_26_54_Pro.jpg\",\n            \"mime_type\": \"image/jpeg\",\n            \"path\": \"partners/R28YbL4PnDKM4pArMo5jdfejUyRyeGpbRxi0RZo6.mp4\",\n            \"thumbnail_path\": null,\n            \"created_at\": \"2023-01-04T14:29:06.000000Z\",\n            \"updated_at\": \"2023-01-04T14:29:06.000000Z\",\n            \"deleted_at\": null\n        }\n    },\n    \"dismissed_by\": {\n        \"id\": \"cbd247ab-65e9-433f-a1a3-21558299d973\",\n        \"first_name\": \"Guilherme\",\n        \"last_name\": \"Medeiros\",\n        \"suffix\": null,\n        \"email\": \"guilherme+clinician@mdintegrations.com\",\n        \"phone_number\": null,\n        \"phone_type\": null,\n        \"photo_id\": null,\n        \"active\": true,\n        \"bio_details\": null,\n        \"date_of_birth\": \"1991-12-14\",\n        \"address_id\": \"4a24e0f4-92d3-4a66-8184-74d8974677ed\",\n        \"specialty\": null,\n        \"fax_number\": null,\n        \"profile_url\": null,\n        \"signature_id\": null,\n        \"case_assignment_availability\": true,\n        \"timezone_id\": \"c45fe33d-ec45-49b6-9d08-599ad41946e5\",\n        \"passcode_id\": \"58d6f0c5-6bae-4682-b12b-00c98b9b5fa5\",\n        \"is_out_of_office\": false,\n        \"out_of_office_message\": null,\n        \"automatic_sync_message\": null,\n        \"managed_by_partner\": false,\n        \"created_at\": \"2023-02-15T12:27:03.000000Z\",\n        \"updated_at\": \"2023-08-30T14:39:37.000000Z\",\n        \"deleted_at\": null,\n        \"full_name\": \"Guilherme Medeiros\",\n        \"is_online\": false,\n        \"priority\": null\n    },\n    \"files\": [\n        {\n            \"id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\",\n            \"name\": \"scorebluefinalWIN_20230104_15_26_54_Pro.mp4\",\n            \"mime_type\": \"video/mp4\",\n            \"path\": \"partners/R28YbL4PnDKM4pArMo5jdfejUyRyeGpbRxi0RZo6.mp4\",\n            \"thumbnail_path\": null,\n            \"created_at\": \"2023-01-04T14:29:06.000000Z\",\n            \"updated_at\": \"2023-01-04T14:29:06.000000Z\",\n            \"deleted_at\": null,\n            \"url\": \"http://localhost:8000/s3/files/e30e5ecb-a543-4877-a483-0a1b065bbc59/file?signature=2680e583bada539d176ed154c3901ce0d18ff90f5652e0ecf419595706ff0a77\",\n            \"thumbnail_url\": null,\n            \"pivot\": {\n                \"file_id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\",\n                \"message_id\": \"0682c481-dd31-4047-a5ae-38c35ff216ea\",\n                \"created_at\": \"2023-08-22T03:31:09.000000Z\",\n                \"updated_at\": \"2023-08-22T03:31:09.000000Z\"\n            }\n        },\n        {\n            \"id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\",\n            \"name\": \"Score Blue - Message from Dr. Bottoni.mov\",\n            \"mime_type\": \"video/quicktime\",\n            \"path\": \"partners/0Wzb1mI0XZsJ5pwyw86M5TcCAja7WeDRjElAnVf6.mov\",\n            \"thumbnail_path\": null,\n            \"created_at\": \"2023-01-03T01:02:27.000000Z\",\n            \"updated_at\": \"2023-01-03T01:02:27.000000Z\",\n            \"deleted_at\": null,\n            \"url\": \"http://localhost:8000/s3/files/3f7b155c-c235-476c-9688-3fa7c1d59ed2/file?signature=438d650b10cdf7186eabc888ed71506d68099b6d7bea520c7809a405a5c29fdb\",\n            \"thumbnail_url\": null,\n            \"pivot\": {\n                \"file_id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\",\n                \"message_id\": \"0682c481-dd31-4047-a5ae-38c35ff216ea\",\n                \"created_at\": \"2023-08-29T15:15:26.000000Z\",\n                \"updated_at\": \"2023-08-29T15:15:26.000000Z\"\n            }\n        }\n    ],\n    \"patient\": {\n        \"id\": \"8e1cb3f5-23ae-465b-9f5d-929b11f97e98\",\n        \"first_name\": \"Joseph\",\n        \"last_name\": \"Alaban\",\n        \"email\": \"joealaban65@gmail.com\",\n        \"active\": true,\n        \"prefix\": null,\n        \"weight\": null,\n        \"height\": null,\n        \"gender\": 1,\n        \"phone_number\": \"4086554410\",\n        \"phone_type\": \"2\",\n        \"address_id\": \"6e40f8e5-9238-4886-83cc-ef2f59964d29\",\n        \"driver_license_id\": null,\n        \"allergies\": \"No Allergies\",\n        \"current_medications\": \"No Medications\",\n        \"pregnancy\": false,\n        \"partner_id\": \"c6b73433-b756-4dd9-9770-4509e94a5e07\",\n        \"environment_id\": \"5698c890-e79b-4d27-9a92-500dfffb1ae6\",\n        \"clinician_id\": \"4c79229f-cfa1-4808-b97b-f270489d8a99\",\n        \"metadata\": \"f3e78a40-64fb-11ed-8339-6577e8df5042\",\n        \"intro_video_file_id\": null,\n        \"created_at\": \"2023-01-12T00:42:48.000000Z\",\n        \"updated_at\": \"2023-08-25T17:39:05.000000Z\",\n        \"deleted_at\": null,\n        \"full_name\": \"Joseph Alaban\",\n        \"abbreviated_name\": \"Joseph A.\",\n        \"is_live\": true,\n        \"intro_video_id\": null\n    },\n    \"readings\": [\n        {\n            \"id\": \"a9b1c2f4-5409-4da6-822d-9ac8ec1dec66\",\n            \"message_id\": \"0682c481-dd31-4047-a5ae-38c35ff216ea\",\n            \"user_type\": \"App\\\\Models\\\\Clinician\",\n            \"user_id\": \"cbd247ab-65e9-433f-a1a3-21558299d973\",\n            \"created_at\": \"2023-08-30T03:45:41.000000Z\",\n            \"updated_at\": \"2023-08-30T03:45:41.000000Z\",\n            \"deleted_at\": null\n        }\n    ]\n}"}],"_postman_id":"353c53b2-e66b-4ee5-aa44-1a443ccab2bb"},{"name":"Read Message","id":"bae67408-c311-485b-8598-1d42071cf690","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient/messages/:message/read","description":"<p>Reads the patient's message.</p>\n","urlObject":{"path":["partner","patients",":patient","messages",":message","read"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"5f7a41cd-3953-41a8-a627-93b41aa20b54","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"bab058ab-61f3-486a-a093-1e4ceb83910d","type":"any","value":"0682c481-dd31-4047-a5ae-38c35ff216ea","key":"message"}]}},"response":[{"id":"407d2c99-1af1-413b-a011-ac38c91adc1d","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient/messages/:message/read","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient","messages",":message","read"],"variable":[{"key":"patient","value":""},{"key":"message","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0682c481-dd31-4047-a5ae-38c35ff216ea\",\n    \"patient_id\": \"8e1cb3f5-23ae-465b-9f5d-929b11f97e98\",\n    \"channel\": \"patient\",\n    \"text\": null,\n    \"user_type\": \"App\\\\Models\\\\Clinician\",\n    \"user_id\": \"4c79229f-cfa1-4808-b97b-f270489d8a99\",\n    \"reference_message_id\": null,\n    \"reply_message_id\": \"8dfe4a90-26e1-47b3-9016-fa31301f2bb5\",\n    \"replied_at\": \"2023-08-30 04:01:30\",\n    \"dismissed_at\": \"2023-08-29 12:14:10\",\n    \"dismissed_by_type\": \"App\\\\Models\\\\Clinician\",\n    \"dismissed_by_id\": \"cbd247ab-65e9-433f-a1a3-21558299d973\",\n    \"emailed_at\": null,\n    \"created_at\": \"2023-01-12T03:11:54.000000Z\",\n    \"updated_at\": \"2023-08-30T04:01:30.000000Z\",\n    \"deleted_at\": null,\n    \"read_at\": \"2023-08-30 03:45:41\",\n    \"reference_message\": null,\n    \"user\": {\n        \"id\": \"4c79229f-cfa1-4808-b97b-f270489d8a99\",\n        \"first_name\": \"Maura\",\n        \"last_name\": \"Holcomb\",\n        \"suffix\": \"MD\",\n        \"email\": \"mauraholcomb@gmail.com\",\n        \"phone_number\": \"6297775752\",\n        \"phone_type\": \"2\",\n        \"photo_id\": \"4ba765cd-c5d6-4818-91f5-070ac7794f2f\",\n        \"active\": true,\n        \"bio_details\": \"Maura J. Holcomb, M.D. is the author of more than 60 papers on clinical interests that include psoriasis, acne, melanoma, tropical dermatology, and photosensitive skin disorders. Her work has been published in the International Journal of Dermatology, Dermatology Online Journal, Journal of Cutaneous Pathology, and other dermatological publications, including numerous Continuing Medical Education articles for ClinicalAdvisor.com’s Dermatology Clinic. Dr. Holcomb has also collaborated on several presentations of dermatological research at conferences of the Texas Dermatological Society, American Society of \\r\\n dermatopathology, and American Academy of Dermatology.\\r\\n\\r\\nA native Texan, Dr. Holcomb graduated at the top of her high school class in East Texas before attending Texas A&M University, where she graduated magna cum laude, obtaining degrees in\\r\\nboth biology and psychology. \\r\\n\\r\\nDr. Holcomb received her M.D. from Baylor College of Medicine on a full scholarship. She completed her medical internship at The Methodist Hospital in Houston and her dermatology residency at Baylor. She conducted clinical research at the Department of Dermatology at The University of Texas M.D. Anderson Cancer Center, Houston, and received the Debra Chester Kalter Award for Outstanding Student Research in Dermatology. Graduating in the top 10% of her class, she was elected into the Alpha Omega Alpha Medical Honor Society.\\r\\n\\r\\nDuring medical school, Dr. Holcomb spent two months volunteering at a leprosy hospital in Nepal. In her spare time, she enjoys hiking, running, camping, travelling off the beaten path, and scuba diving.\",\n        \"date_of_birth\": \"1985-07-25\",\n        \"address_id\": \"5a179d19-d096-4179-8b2a-c80383b53014\",\n        \"specialty\": \"M.D.\",\n        \"fax_number\": \"6502540800\",\n        \"profile_url\": null,\n        \"signature_id\": \"4081ef1e-dbb2-4016-b9ad-d517dbe6e449\",\n        \"case_assignment_availability\": true,\n        \"timezone_id\": \"c45fe33d-ec45-49b6-9d08-599ad41946e5\",\n        \"passcode_id\": null,\n        \"is_out_of_office\": false,\n        \"out_of_office_message\": null,\n        \"automatic_sync_message\": null,\n        \"managed_by_partner\": false,\n        \"created_at\": \"2022-06-25T15:06:23.000000Z\",\n        \"updated_at\": \"2023-08-02T23:49:37.000000Z\",\n        \"deleted_at\": null,\n        \"full_name\": \"Maura Holcomb\",\n        \"is_online\": false,\n        \"priority\": null,\n        \"photo\": {\n            \"id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\",\n            \"name\": \"scorebluefinalWIN_20230104_15_26_54_Pro.jpg\",\n            \"mime_type\": \"image/jpeg\",\n            \"path\": \"partners/R28YbL4PnDKM4pArMo5jdfejUyRyeGpbRxi0RZo6.mp4\",\n            \"thumbnail_path\": null,\n            \"created_at\": \"2023-01-04T14:29:06.000000Z\",\n            \"updated_at\": \"2023-01-04T14:29:06.000000Z\",\n            \"deleted_at\": null\n        }\n    },\n    \"dismissed_by\": {\n        \"id\": \"cbd247ab-65e9-433f-a1a3-21558299d973\",\n        \"first_name\": \"Guilherme\",\n        \"last_name\": \"Medeiros\",\n        \"suffix\": null,\n        \"email\": \"guilherme+clinician@mdintegrations.com\",\n        \"phone_number\": null,\n        \"phone_type\": null,\n        \"photo_id\": null,\n        \"active\": true,\n        \"bio_details\": null,\n        \"date_of_birth\": \"1991-12-14\",\n        \"address_id\": \"4a24e0f4-92d3-4a66-8184-74d8974677ed\",\n        \"specialty\": null,\n        \"fax_number\": null,\n        \"profile_url\": null,\n        \"signature_id\": null,\n        \"case_assignment_availability\": true,\n        \"timezone_id\": \"c45fe33d-ec45-49b6-9d08-599ad41946e5\",\n        \"passcode_id\": \"58d6f0c5-6bae-4682-b12b-00c98b9b5fa5\",\n        \"is_out_of_office\": false,\n        \"out_of_office_message\": null,\n        \"automatic_sync_message\": null,\n        \"managed_by_partner\": false,\n        \"created_at\": \"2023-02-15T12:27:03.000000Z\",\n        \"updated_at\": \"2023-08-30T14:39:37.000000Z\",\n        \"deleted_at\": null,\n        \"full_name\": \"Guilherme Medeiros\",\n        \"is_online\": false,\n        \"priority\": null\n    },\n    \"files\": [\n        {\n            \"id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\",\n            \"name\": \"scorebluefinalWIN_20230104_15_26_54_Pro.mp4\",\n            \"mime_type\": \"video/mp4\",\n            \"path\": \"partners/R28YbL4PnDKM4pArMo5jdfejUyRyeGpbRxi0RZo6.mp4\",\n            \"thumbnail_path\": null,\n            \"created_at\": \"2023-01-04T14:29:06.000000Z\",\n            \"updated_at\": \"2023-01-04T14:29:06.000000Z\",\n            \"deleted_at\": null,\n            \"url\": \"http://localhost:8000/s3/files/e30e5ecb-a543-4877-a483-0a1b065bbc59/file?signature=2680e583bada539d176ed154c3901ce0d18ff90f5652e0ecf419595706ff0a77\",\n            \"thumbnail_url\": null,\n            \"pivot\": {\n                \"file_id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\",\n                \"message_id\": \"0682c481-dd31-4047-a5ae-38c35ff216ea\",\n                \"created_at\": \"2023-08-22T03:31:09.000000Z\",\n                \"updated_at\": \"2023-08-22T03:31:09.000000Z\"\n            }\n        },\n        {\n            \"id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\",\n            \"name\": \"Score Blue - Message from Dr. Bottoni.mov\",\n            \"mime_type\": \"video/quicktime\",\n            \"path\": \"partners/0Wzb1mI0XZsJ5pwyw86M5TcCAja7WeDRjElAnVf6.mov\",\n            \"thumbnail_path\": null,\n            \"created_at\": \"2023-01-03T01:02:27.000000Z\",\n            \"updated_at\": \"2023-01-03T01:02:27.000000Z\",\n            \"deleted_at\": null,\n            \"url\": \"http://localhost:8000/s3/files/3f7b155c-c235-476c-9688-3fa7c1d59ed2/file?signature=438d650b10cdf7186eabc888ed71506d68099b6d7bea520c7809a405a5c29fdb\",\n            \"thumbnail_url\": null,\n            \"pivot\": {\n                \"file_id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\",\n                \"message_id\": \"0682c481-dd31-4047-a5ae-38c35ff216ea\",\n                \"created_at\": \"2023-08-29T15:15:26.000000Z\",\n                \"updated_at\": \"2023-08-29T15:15:26.000000Z\"\n            }\n        }\n    ],\n    \"patient\": {\n        \"id\": \"8e1cb3f5-23ae-465b-9f5d-929b11f97e98\",\n        \"first_name\": \"Joseph\",\n        \"last_name\": \"Alaban\",\n        \"email\": \"joealaban65@gmail.com\",\n        \"active\": true,\n        \"prefix\": null,\n        \"weight\": null,\n        \"height\": null,\n        \"gender\": 1,\n        \"phone_number\": \"4086554410\",\n        \"phone_type\": \"2\",\n        \"address_id\": \"6e40f8e5-9238-4886-83cc-ef2f59964d29\",\n        \"driver_license_id\": null,\n        \"allergies\": \"No Allergies\",\n        \"current_medications\": \"No Medications\",\n        \"pregnancy\": false,\n        \"partner_id\": \"c6b73433-b756-4dd9-9770-4509e94a5e07\",\n        \"environment_id\": \"5698c890-e79b-4d27-9a92-500dfffb1ae6\",\n        \"clinician_id\": \"4c79229f-cfa1-4808-b97b-f270489d8a99\",\n        \"metadata\": \"f3e78a40-64fb-11ed-8339-6577e8df5042\",\n        \"intro_video_file_id\": null,\n        \"created_at\": \"2023-01-12T00:42:48.000000Z\",\n        \"updated_at\": \"2023-08-25T17:39:05.000000Z\",\n        \"deleted_at\": null,\n        \"full_name\": \"Joseph Alaban\",\n        \"abbreviated_name\": \"Joseph A.\",\n        \"is_live\": true,\n        \"intro_video_id\": null\n    },\n    \"readings\": [\n        {\n            \"id\": \"a9b1c2f4-5409-4da6-822d-9ac8ec1dec66\",\n            \"message_id\": \"0682c481-dd31-4047-a5ae-38c35ff216ea\",\n            \"user_type\": \"App\\\\Models\\\\Clinician\",\n            \"user_id\": \"cbd247ab-65e9-433f-a1a3-21558299d973\",\n            \"created_at\": \"2023-08-30T03:45:41.000000Z\",\n            \"updated_at\": \"2023-08-30T03:45:41.000000Z\",\n            \"deleted_at\": null\n        }\n    ]\n}"}],"_postman_id":"bae67408-c311-485b-8598-1d42071cf690"},{"name":"Unread Message","id":"3223df2a-df47-42d8-a792-a3875940b332","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient/messages/:message/unread","description":"<p>Reads the patient's message.</p>\n","urlObject":{"path":["partner","patients",":patient","messages",":message","unread"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"c7f3e066-26d1-4734-aea6-063ecd0094b4","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"9e4b10dc-cc0b-4848-b347-3486377b79a4","type":"any","value":"0682c481-dd31-4047-a5ae-38c35ff216ea","key":"message"}]}},"response":[{"id":"4b807a27-41dd-4b7d-9404-1e721cdba75a","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient/messages/:message/unread","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient","messages",":message","unread"],"variable":[{"key":"patient","value":""},{"key":"message","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0682c481-dd31-4047-a5ae-38c35ff216ea\",\n    \"patient_id\": \"8e1cb3f5-23ae-465b-9f5d-929b11f97e98\",\n    \"channel\": \"patient\",\n    \"text\": null,\n    \"user_type\": \"App\\\\Models\\\\Clinician\",\n    \"user_id\": \"4c79229f-cfa1-4808-b97b-f270489d8a99\",\n    \"reference_message_id\": null,\n    \"reply_message_id\": \"8dfe4a90-26e1-47b3-9016-fa31301f2bb5\",\n    \"replied_at\": \"2023-08-30 04:01:30\",\n    \"dismissed_at\": \"2023-08-29 12:14:10\",\n    \"dismissed_by_type\": \"App\\\\Models\\\\Clinician\",\n    \"dismissed_by_id\": \"cbd247ab-65e9-433f-a1a3-21558299d973\",\n    \"emailed_at\": null,\n    \"created_at\": \"2023-01-12T03:11:54.000000Z\",\n    \"updated_at\": \"2023-08-30T04:01:30.000000Z\",\n    \"deleted_at\": null,\n    \"read_at\": null,\n    \"reference_message\": null,\n    \"user\": {\n        \"id\": \"4c79229f-cfa1-4808-b97b-f270489d8a99\",\n        \"first_name\": \"Maura\",\n        \"last_name\": \"Holcomb\",\n        \"suffix\": \"MD\",\n        \"email\": \"mauraholcomb@gmail.com\",\n        \"phone_number\": \"6297775752\",\n        \"phone_type\": \"2\",\n        \"photo_id\": \"4ba765cd-c5d6-4818-91f5-070ac7794f2f\",\n        \"active\": true,\n        \"bio_details\": \"Maura J. Holcomb, M.D. is the author of more than 60 papers on clinical interests that include psoriasis, acne, melanoma, tropical dermatology, and photosensitive skin disorders. Her work has been published in the International Journal of Dermatology, Dermatology Online Journal, Journal of Cutaneous Pathology, and other dermatological publications, including numerous Continuing Medical Education articles for ClinicalAdvisor.com’s Dermatology Clinic. Dr. Holcomb has also collaborated on several presentations of dermatological research at conferences of the Texas Dermatological Society, American Society of \\r\\n dermatopathology, and American Academy of Dermatology.\\r\\n\\r\\nA native Texan, Dr. Holcomb graduated at the top of her high school class in East Texas before attending Texas A&M University, where she graduated magna cum laude, obtaining degrees in\\r\\nboth biology and psychology. \\r\\n\\r\\nDr. Holcomb received her M.D. from Baylor College of Medicine on a full scholarship. She completed her medical internship at The Methodist Hospital in Houston and her dermatology residency at Baylor. She conducted clinical research at the Department of Dermatology at The University of Texas M.D. Anderson Cancer Center, Houston, and received the Debra Chester Kalter Award for Outstanding Student Research in Dermatology. Graduating in the top 10% of her class, she was elected into the Alpha Omega Alpha Medical Honor Society.\\r\\n\\r\\nDuring medical school, Dr. Holcomb spent two months volunteering at a leprosy hospital in Nepal. In her spare time, she enjoys hiking, running, camping, travelling off the beaten path, and scuba diving.\",\n        \"date_of_birth\": \"1985-07-25\",\n        \"address_id\": \"5a179d19-d096-4179-8b2a-c80383b53014\",\n        \"specialty\": \"M.D.\",\n        \"fax_number\": \"6502540800\",\n        \"profile_url\": null,\n        \"signature_id\": \"4081ef1e-dbb2-4016-b9ad-d517dbe6e449\",\n        \"case_assignment_availability\": true,\n        \"timezone_id\": \"c45fe33d-ec45-49b6-9d08-599ad41946e5\",\n        \"passcode_id\": null,\n        \"is_out_of_office\": false,\n        \"out_of_office_message\": null,\n        \"automatic_sync_message\": null,\n        \"managed_by_partner\": false,\n        \"created_at\": \"2022-06-25T15:06:23.000000Z\",\n        \"updated_at\": \"2023-08-02T23:49:37.000000Z\",\n        \"deleted_at\": null,\n        \"full_name\": \"Maura Holcomb\",\n        \"is_online\": false,\n        \"priority\": null,\n        \"photo\": {\n            \"id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\",\n            \"name\": \"scorebluefinalWIN_20230104_15_26_54_Pro.jpg\",\n            \"mime_type\": \"image/jpeg\",\n            \"path\": \"partners/R28YbL4PnDKM4pArMo5jdfejUyRyeGpbRxi0RZo6.mp4\",\n            \"thumbnail_path\": null,\n            \"created_at\": \"2023-01-04T14:29:06.000000Z\",\n            \"updated_at\": \"2023-01-04T14:29:06.000000Z\",\n            \"deleted_at\": null\n        }\n    },\n    \"dismissed_by\": {\n        \"id\": \"cbd247ab-65e9-433f-a1a3-21558299d973\",\n        \"first_name\": \"Guilherme\",\n        \"last_name\": \"Medeiros\",\n        \"suffix\": null,\n        \"email\": \"guilherme+clinician@mdintegrations.com\",\n        \"phone_number\": null,\n        \"phone_type\": null,\n        \"photo_id\": null,\n        \"active\": true,\n        \"bio_details\": null,\n        \"date_of_birth\": \"1991-12-14\",\n        \"address_id\": \"4a24e0f4-92d3-4a66-8184-74d8974677ed\",\n        \"specialty\": null,\n        \"fax_number\": null,\n        \"profile_url\": null,\n        \"signature_id\": null,\n        \"case_assignment_availability\": true,\n        \"timezone_id\": \"c45fe33d-ec45-49b6-9d08-599ad41946e5\",\n        \"passcode_id\": \"58d6f0c5-6bae-4682-b12b-00c98b9b5fa5\",\n        \"is_out_of_office\": false,\n        \"out_of_office_message\": null,\n        \"automatic_sync_message\": null,\n        \"managed_by_partner\": false,\n        \"created_at\": \"2023-02-15T12:27:03.000000Z\",\n        \"updated_at\": \"2023-08-30T14:39:37.000000Z\",\n        \"deleted_at\": null,\n        \"full_name\": \"Guilherme Medeiros\",\n        \"is_online\": false,\n        \"priority\": null\n    },\n    \"files\": [\n        {\n            \"id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\",\n            \"name\": \"scorebluefinalWIN_20230104_15_26_54_Pro.mp4\",\n            \"mime_type\": \"video/mp4\",\n            \"path\": \"partners/R28YbL4PnDKM4pArMo5jdfejUyRyeGpbRxi0RZo6.mp4\",\n            \"thumbnail_path\": null,\n            \"created_at\": \"2023-01-04T14:29:06.000000Z\",\n            \"updated_at\": \"2023-01-04T14:29:06.000000Z\",\n            \"deleted_at\": null,\n            \"url\": \"http://localhost:8000/s3/files/e30e5ecb-a543-4877-a483-0a1b065bbc59/file?signature=2680e583bada539d176ed154c3901ce0d18ff90f5652e0ecf419595706ff0a77\",\n            \"thumbnail_url\": null,\n            \"pivot\": {\n                \"file_id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\",\n                \"message_id\": \"0682c481-dd31-4047-a5ae-38c35ff216ea\",\n                \"created_at\": \"2023-08-22T03:31:09.000000Z\",\n                \"updated_at\": \"2023-08-22T03:31:09.000000Z\"\n            }\n        },\n        {\n            \"id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\",\n            \"name\": \"Score Blue - Message from Dr. Bottoni.mov\",\n            \"mime_type\": \"video/quicktime\",\n            \"path\": \"partners/0Wzb1mI0XZsJ5pwyw86M5TcCAja7WeDRjElAnVf6.mov\",\n            \"thumbnail_path\": null,\n            \"created_at\": \"2023-01-03T01:02:27.000000Z\",\n            \"updated_at\": \"2023-01-03T01:02:27.000000Z\",\n            \"deleted_at\": null,\n            \"url\": \"http://localhost:8000/s3/files/3f7b155c-c235-476c-9688-3fa7c1d59ed2/file?signature=438d650b10cdf7186eabc888ed71506d68099b6d7bea520c7809a405a5c29fdb\",\n            \"thumbnail_url\": null,\n            \"pivot\": {\n                \"file_id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\",\n                \"message_id\": \"0682c481-dd31-4047-a5ae-38c35ff216ea\",\n                \"created_at\": \"2023-08-29T15:15:26.000000Z\",\n                \"updated_at\": \"2023-08-29T15:15:26.000000Z\"\n            }\n        }\n    ],\n    \"patient\": {\n        \"id\": \"8e1cb3f5-23ae-465b-9f5d-929b11f97e98\",\n        \"first_name\": \"Joseph\",\n        \"last_name\": \"Alaban\",\n        \"email\": \"joealaban65@gmail.com\",\n        \"active\": true,\n        \"prefix\": null,\n        \"weight\": null,\n        \"height\": null,\n        \"gender\": 1,\n        \"phone_number\": \"4086554410\",\n        \"phone_type\": \"2\",\n        \"address_id\": \"6e40f8e5-9238-4886-83cc-ef2f59964d29\",\n        \"driver_license_id\": null,\n        \"allergies\": \"No Allergies\",\n        \"current_medications\": \"No Medications\",\n        \"pregnancy\": false,\n        \"partner_id\": \"c6b73433-b756-4dd9-9770-4509e94a5e07\",\n        \"environment_id\": \"5698c890-e79b-4d27-9a92-500dfffb1ae6\",\n        \"clinician_id\": \"4c79229f-cfa1-4808-b97b-f270489d8a99\",\n        \"metadata\": \"f3e78a40-64fb-11ed-8339-6577e8df5042\",\n        \"intro_video_file_id\": null,\n        \"created_at\": \"2023-01-12T00:42:48.000000Z\",\n        \"updated_at\": \"2023-08-25T17:39:05.000000Z\",\n        \"deleted_at\": null,\n        \"full_name\": \"Joseph Alaban\",\n        \"abbreviated_name\": \"Joseph A.\",\n        \"is_live\": true,\n        \"intro_video_id\": null\n    },\n    \"readings\": [\n        {\n            \"id\": \"a9b1c2f4-5409-4da6-822d-9ac8ec1dec66\",\n            \"message_id\": \"0682c481-dd31-4047-a5ae-38c35ff216ea\",\n            \"user_type\": \"App\\\\Models\\\\Clinician\",\n            \"user_id\": \"cbd247ab-65e9-433f-a1a3-21558299d973\",\n            \"created_at\": \"2023-08-30T03:45:41.000000Z\",\n            \"updated_at\": \"2023-08-30T03:45:41.000000Z\",\n            \"deleted_at\": null\n        }\n    ]\n}"}],"_postman_id":"3223df2a-df47-42d8-a792-a3875940b332"}],"id":"7ef5ee6c-1041-4f64-a6d6-2e9d885e0450","description":"<h1 id=\"messages-source\">Messages Source</h1>\n<p>A message can be sent from the following sources and you can find who sent the message through the <code>user_type</code> parameter.</p>\n<ul>\n<li><strong>support</strong>: message sent by support;<br />  The <code>user_type</code> will be <code>App\\Models\\SupportStaff</code></li>\n<li><strong>patient</strong>: message sent by the patient;<br />  The <code>user_type</code> will be <code>App\\Models\\Patient</code></li>\n<li><strong>clinician</strong>: message sent by the clinician.<br />  The <code>user_type</code> will be <code>App\\Models\\Clinician</code></li>\n</ul>\n<p>You can check the field <code>user_type</code> from the payload response to get who sent the message.</p>\n<h3 id=\"user-object\">User object</h3>\n<p>The <code>user</code> object is related to the user that sent the message (<em>user from message</em>).</p>\n<p>This object is mutable depending on the <code>user_type</code> However, there are some parameters in common, for example:</p>\n<ul>\n<li><code>user.id</code></li>\n<li><code>users.first_name</code></li>\n<li><code>user.last_name</code></li>\n<li><code>user.email</code></li>\n</ul>\n<p>Note that many other parameters will change considerably since they are totally different user types.</p>\n<p>For example, a <code>Patient</code> could have a <code>driver_license_id</code> whereas a <code>Clinician</code> or a <code>Support</code> does not.</p>\n<h3 id=\"dismissed-by-object\">Dismissed by object</h3>\n<p>It works exactly the same way for the <code>dismissed_by_type</code> <code>dismissed_by_id</code> <code>dismissed_by</code> parameter that is related to the user that dismissed the message.</p>\n<h1 id=\"messages-channel\">Messages Channel</h1>\n<p>A message can be sent to the following channels:</p>\n<ul>\n<li><strong>patient</strong>: channel for exchanging messages between patient and clinicians;</li>\n<li><strong>support</strong>: channel for exchanging messages between support and clinicians.</li>\n</ul>\n<p>You can check the field <code>channel</code> from the payload response to get the corresponding message channel.</p>\n<p>Messages originated from patients are automatically sent to <strong>patient</strong> channel while messages from support are automatically sent to <strong>support</strong> channel.</p>\n","_postman_id":"7ef5ee6c-1041-4f64-a6d6-2e9d885e0450","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Preferred Pharmacies","item":[{"name":"Add pharmacy to patient","id":"52a98565-87b2-4e31-857f-fc474fd62ba1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/partner/patients/:patientId/pharmacies/:pharmacyId","description":"<p>Adds a pharmacy to a patient’s preferred pharmacies list.</p>\n<p>To check a list of available pharmacies to be added to the patient, check <strong>Partners &gt; Pharmacies</strong>.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patientId","pharmacies",":pharmacyId"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"5cd79251-2cd6-4c1d-b6eb-cf0572b47e71","description":{"content":"<p>Patient ID</p>\n","type":"text/plain"},"type":"any","value":"af19439a-7a52-444e-a6b8-164a4aedeaf9","key":"patientId"},{"id":"7b5cf55c-be8f-418e-88cb-45fb1dfdaade","description":{"content":"<p>DoseSpot Pharmacy ID</p>\n","type":"text/plain"},"type":"any","value":"11440","key":"pharmacyId"}]}},"response":[{"id":"e7ce6c11-a144-429c-befa-223cee2242e7","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patientId/pharmacies/:pharmacyId","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patientId","pharmacies",":pharmacyId"],"variable":[{"key":"patientId","value":"a6e0ea27-116a-4ae8-9d32-c604c543200d"},{"key":"pharmacyId","value":"12"}]}},"status":"- OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"52a98565-87b2-4e31-857f-fc474fd62ba1"},{"name":"Get pharmacies from patient","id":"9b3d12e8-fe80-414f-a50a-ba74938ecf4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patientId/pharmacies?sort=updated_at&order=desc","description":"<p>Retrieves a detailed list of preferred pharmacies in the patient’s record. This API endpoint forwards the request to DoseSpot API in order to retrieve this information.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patientId","pharmacies"],"host":["https://api.mdintegrations.com/v1"],"query":[{"description":{"content":"<p>You can choose the sorting between store_name or updated_at. 'store_name' is alphabetical and 'updated_at' is based on the date and time of linking to the patient.</p>\n","type":"text/plain"},"key":"sort","value":"updated_at"},{"description":{"content":"<p>You can choose the ordering between asc or desc.</p>\n","type":"text/plain"},"key":"order","value":"desc"}],"variable":[{"description":{"content":"<p>Patient ID</p>\n","type":"text/plain"},"type":"any","value":"5b803d51-b6e4-4ae5-b7d2-ee3e1dba7d2d","key":"patientId"}]}},"response":[{"id":"8457ab40-50a3-4f7d-b8be-d2f33b1efed5","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patientId/pharmacies","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patientId","pharmacies"],"variable":[{"key":"patientId","value":"a6e0ea27-116a-4ae8-9d32-c604c543200d"}]}},"status":"- OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"patient_id\": \"3afc17cd-19b9-4074-bada-4b6c1641cb4a\",\n        \"pharmacy_id\": 13012,\n        \"name\": \"Curexa\",\n        \"address1\": \"3007 Ocean Heights Ave.\",\n        \"address2\": \"\",\n        \"city\": \"Egg Harbor Township\",\n        \"state\": \"NJ\",\n        \"zip_code\": \"08234\",\n        \"primary_phone\": \"6099270390\",\n        \"primary_phone_type\": \"5\",\n        \"primary_fax\": \"8559270392\",\n        \"enabled\": true,\n        \"id\": 13012,\n        \"phone_additional_1\": null,\n        \"phone_additional_type_1\": 0,\n        \"phone_additional_2\": null,\n        \"phone_additional_type_2\": 0,\n        \"phone_additional_3\": null,\n        \"phone_additional_type_3\": 0,\n        \"pharmacy_specialties\": [],\n        \"service_level\": null,\n        \"latitude\": null,\n        \"longitude\": null\n    }\n]"}],"_postman_id":"9b3d12e8-fe80-414f-a50a-ba74938ecf4b"},{"name":"Remove pharmacy from patient","id":"d0c86384-8362-44b2-82f5-f1edc3b9f0b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patientId/pharmacies/:pharmacyId","description":"<p>Removes a pharmacy from a patient’s preferred pharmacies list. This API endpoint forwards the request to DoseSpot API in order to remove patient's pharmacies.</p>\n<p>This does not change any existing medications in that patient’s record even if they are queued up or already sent to that pharmacy.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patientId","pharmacies",":pharmacyId"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"5d06d92d-73c8-4166-b9b2-32b893285250","description":{"content":"<p>Patient ID</p>\n","type":"text/plain"},"type":"any","value":"af19439a-7a52-444e-a6b8-164a4aedeaf9","key":"patientId"},{"id":"bfc37700-9640-4953-bdad-e56d7dc687ff","description":{"content":"<p>DoseSpot Pharmacy ID</p>\n","type":"text/plain"},"type":"any","value":"11440","key":"pharmacyId"}]}},"response":[{"id":"e7c5049a-1e7d-411e-9750-0f5bb9f05fcc","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patientId/pharmacies/:pharmacyId","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patientId","pharmacies",":pharmacyId"],"variable":[{"key":"patientId","value":"a6e0ea27-116a-4ae8-9d32-c604c543200d"},{"key":"pharmacyId","value":"12"}]}},"status":"- OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"d0c86384-8362-44b2-82f5-f1edc3b9f0b5"}],"id":"18285dfa-8e28-4897-983f-2a9d26916dfe","_postman_id":"18285dfa-8e28-4897-983f-2a9d26916dfe","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"2FA","item":[{"name":"Send one-time password","id":"25f5ae97-9c12-4278-b41b-082e994ab27a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"patient@email.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/partner/patients/auth/2fa","description":"<p>If patient exists with the email informed then we send a verification code to the patient email.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>param</strong></th>\n<th><strong>type</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>string*</td>\n<td>Patient's email</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients","auth","2fa"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"ebaff722-b5d4-4ea2-8012-243debe5111b","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/patients/auth/2fa"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"25f5ae97-9c12-4278-b41b-082e994ab27a"},{"name":"Validate verification code","id":"5bc1909e-8e50-4121-9d47-d493be72a52a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"patient@email.com\",\n    \"verification_code\": \"A5B89JA\"\n}"},"url":"https://api.mdintegrations.com/v1/partner/patients/auth/2fa/validate","description":"<p>This endpoint validates the verification code sent to the patient's email.</p>\n<p>If the code is validated then we return the patient object.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients","auth","2fa","validate"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"1be43c2b-6847-4687-b0c7-a02c8867d8ac","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/patients/auth/2fa/validate"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"partner_id\": \"90ee8161-0bb8-4f60-9e66-cdc305ea54cb\",\n    \"prefix\": \"Sr\",\n    \"ssn\": \"111-22-3333\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"email\": \"john@doe.com\",\n    \"metadata\": \"patient number 200\",\n    \"gender\": 1,\n    \"phone_number\": \"541-754-3010\",\n    \"phone_type\": 2,\n    \"date_of_birth\": \"2000-12-31\",\n    \"active\": true,\n    \"weight\": 50,\n    \"height\": 180,\n    \"is_live\": true,\n    \"dosespot\": {\n        \"patient_dosespot_id\": \"9b0c4571-f980-4fd4-bf9d-6de1ac52dc9d\",\n        \"sync_status\": \"success\"\n    },\n    \"patient_id\": \"99f7520d-7c8b-4a81-8957-e0bc139f40c5\",\n    \"gender_label\": \"Male\",\n    \"current_medications\": \"paracetamol and ibuprofen\",\n    \"allergies\": \"peanuts and penicillin\",\n    \"pregnancy\": true,\n    \"driver_license\": {\n        \"path\": \"logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n        \"name\": \"Wallpaper_1080p.png\",\n        \"mime_type\": \"image/jpeg\",\n        \"url\": \"http://api.localhost:8000/v1/file/logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n        \"url_thumbnail\": null,\n        \"file_id\": \"862a8e4c-d65a-4d52-8568-49c0d53fa51e\"\n    },\n    \"intro_video\": {\n        \"file_id\": \"ac0c921d-8526-477d-a00d-3fb0c4c8e3a8\",\n        \"path\": \"6v8Ndd8Tpg1uCCik19G8ErJ4jxNiF5kgv1l1DqqE.mov\",\n        \"name\": \"intro_video.mov\",\n        \"mime_type\": \"video/quicktime\",\n        \"url\": \"http://api.localhost:8000/v1/file/intro_video.mov\",\n        \"url_thumbnail\": null,\n        \"created_at\": \"2023-07-04T22:35:11.000000Z\"\n    },\n    \"address\": {\n        \"address\": \"1901 1st Avenue, New York\",\n        \"address2\": \"NY 10029\",\n        \"zip_code\": \"12345\",\n        \"city_name\": \"Tazlina\",\n        \"address_id\": \"eabbd96b-5704-4539-8c16-27b35f93fa06\",\n        \"state\": {\n            \"name\": \"Alaska\",\n            \"abbreviation\": \"AK\",\n            \"state_id\": \"06ed58ad-bf9c-4397-8795-5bd85a692a51\",\n            \"country\": {\n                \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                \"name\": \"United States of America\",\n                \"abbreviation\": \"US\"\n            },\n            \"is_av_flow\": false\n        }\n    },\n    \"partner\": {\n        \"name\": \"Jacobi and Sons\",\n        \"support_messaging_capability\": \"integrated\",\n        \"operations_support_email\": \"testing@email.com\",\n        \"customer_support_email\": \"testing@email.com\",\n        \"partner_notes\": \"Partner has...\",\n        \"partner_id\": \"a63e2ae6-3f98-4fd4-8391-031b0031776f\",\n        \"patient_message_capability\": \"integrated\",\n        \"vouched_integration_type\": \"disabled\",\n        \"enable_av_flow\": true,\n        \"business_model\": \"regular\",\n        \"operation_country\": {\n            \"name\": \"United States of America\",\n            \"abbreviation\": \"US\",\n            \"country_id\": \"535fd3fd-f206-4724-89a9-55289474db8b\"\n        }\n    }\n}"}],"_postman_id":"5bc1909e-8e50-4121-9d47-d493be72a52a"}],"id":"51e73336-339e-4573-b1f8-b5fb8f45a9f6","_postman_id":"51e73336-339e-4573-b1f8-b5fb8f45a9f6","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Workflows","item":[{"name":"Get Drivers License Request URL","id":"801461fa-c74d-4efd-ab72-694956fe23a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/drivers-license?fullscreen=true","description":"<p>Get URL for Drivers License Request workflow.</p>\n<p>You may find additional details on embedding and auto-login <a href=\"#98004812-41bd-4771-915e-180ec888d420\">here</a>.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patient_id","drivers-license"],"host":["https://api.mdintegrations.com/v1"],"query":[{"description":{"content":"<p>Embedded experience or fullscreen</p>\n","type":"text/plain"},"key":"fullscreen","value":"true"}],"variable":[{"description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"4c274a55-2d09-4864-beed-2ad30c2b8ca2","key":"patient_id"}]}},"response":[{"id":"5f93ae40-3687-4c6b-86a3-b742c0f46a73","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/drivers-license?fullscreen=true","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient_id","drivers-license"],"query":[{"key":"fullscreen","value":"true","description":"Embedded experience or fullscreen"}],"variable":[{"key":"patient_id","value":"d1a245ea-595b-40bd-9645-cdfa71ab4fa2","description":"(Required) Patient ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"drivers_license_url\": \"https://patient.mdintegrations.com/av/eyJwYXRpZW50X2VtYWlsIjoiZGV2K3Rlc3RAbWRpbnRlZ3JhdGlvbnMuY29tIiwicGFydG5lcl9pZCI6IjMzNzc4ZGIzLTg3MDctNDYyOC04MWFmLTRjNjQ1MWY5ZjBiNiIsInBhdGllbnRfaWQiOiJhNWMxZWI0Yi1mZjA0LTQxOTctYjY2Ni1kYzAxZWJjYTZjMmQifQ==?fullscreen=true\",\n    \"verification_code\": \"R2SZTX\"\n}"}],"_postman_id":"801461fa-c74d-4efd-ab72-694956fe23a1"},{"name":"Get Messaging App URL","id":"8fe42f58-4c7d-47f4-8daf-b8aa33558d78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/auth?case_id=8760bc4b-9156-4b9g-a96f-d3eeafb2l827&full=true&fullscreen=true","description":"<p>Get Messaging App auth link URL.</p>\n<p>You may find additional details on embedding and auto-login <a href=\"#98004812-41bd-4771-915e-180ec888d420\">here</a>.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patient_id","auth"],"host":["https://api.mdintegrations.com/v1"],"query":[{"description":{"content":"<p>You can set a specific case ID to direct to messages from that case</p>\n","type":"text/plain"},"key":"case_id","value":"8760bc4b-9156-4b9g-a96f-d3eeafb2l827"},{"description":{"content":"<p>Define if the Patient App will be completely displayed or only the messages tab will be displayed</p>\n","type":"text/plain"},"key":"full","value":"true"},{"description":{"content":"<p>Embedded experience or fullscreen</p>\n","type":"text/plain"},"key":"fullscreen","value":"true"}],"variable":[{"description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"d1a245ea-595b-40bd-9645-cdfa71ab4fa2","key":"patient_id"}]}},"response":[{"id":"d9103d11-400a-4c58-bfbd-d69faa4146e7","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/auth?case_id=8760bc4b-9156-4b9g-a96f-d3eeafb2l827&full=true&fullscreen=true","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient_id","auth"],"query":[{"key":"case_id","value":"8760bc4b-9156-4b9g-a96f-d3eeafb2l827","description":"You can set a specific case ID to direct to messages from that case"},{"key":"full","value":"true","description":"Define if the Patient App will be completly displayed or only the messages tab will be displayed"},{"key":"fullscreen","value":"true","description":"Embedded experience or fullscreen"}],"variable":[{"key":"patient_id","value":"d1a245ea-595b-40bd-9645-cdfa71ab4fa2","description":"(Required) Patient ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"auth_link\": \"https://message.mdintegrations.com/messages/eyJwYXRpZW50X2VtYWlsIjoiZGV2K3Rlc3RAbWRpbnRlZ3JhdGlvbnMuY29tIiwicGFydG5lcl9pZCI6IjMzNzc4ZGIzLTg3MDctNDYyOC04MWFmLTRjNjQ1MWY5ZjBiNiIsInBhdGllbnRfaWQiOiJhNWMxZWI0Yi1mZjA0LTQxOTctYjY2Ni1kYzAxZWJjYTZjMmQifQ==?case_id=d1a245ea-595b-40bd-9645-cdfa71ab4fa2&full=true&fullscreen=true\",\n    \"verification_code\": \"R2SZTX\"\n}"}],"_postman_id":"8fe42f58-4c7d-47f4-8daf-b8aa33558d78"},{"name":"Get Intro Video Request URL","id":"abb9866d-dcb0-4a02-a743-3f5272ea22f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/intro-video?fullscreen=true","description":"<p>Get URL for Intro Video Request workflow.</p>\n<p>You may find additional details on embedding and auto-login <a href=\"#98004812-41bd-4771-915e-180ec888d420\">here</a>.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patient_id","intro-video"],"host":["https://api.mdintegrations.com/v1"],"query":[{"description":{"content":"<p>Embedded experience or fullscreen</p>\n","type":"text/plain"},"key":"fullscreen","value":"true"}],"variable":[{"description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"64bc3723-ecda-49ef-89c9-285bfb8f55f1","key":"patient_id"}]}},"response":[{"id":"fc6212f2-c953-4e08-9281-5a9a9fbb149b","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/intro-video?fullscreen=true","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient_id","intro-video"],"query":[{"key":"fullscreen","value":"true","description":"Embedded experience or fullscreen"}],"variable":[{"key":"patient_id","value":"d1a245ea-595b-40bd-9645-cdfa71ab4fa2","description":"(Required) Patient ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"intro_video_url\": \"https://patient.mdintegrations.com/av/eyJwYXRpZW50X2VtYWlsIjoiZGV2K3Rlc3RAbWRpbnRlZ3JhdGlvbnMuY29tIiwicGFydG5lcl9pZCI6IjMzNzc4ZGIzLTg3MDctNDYyOC04MWFmLTRjNjQ1MWY5ZjBiNiIsInBhdGllbnRfaWQiOiJhNWMxZWI0Yi1mZjA0LTQxOTctYjY2Ni1kYzAxZWJjYTZjMmQifQ==?fullscreen=true\",\n    \"verification_code\": \"R2SZTX\"\n}"}],"_postman_id":"abb9866d-dcb0-4a02-a743-3f5272ea22f3"},{"name":"Get File Request URL","id":"01682c60-ab51-4d6d-b333-e720347e61a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/file-url?fullscreen=true","description":"<p>Get URL for File Request workflow.</p>\n<p>You may find additional details on embedding and auto-login <a href=\"#98004812-41bd-4771-915e-180ec888d420\">here</a>.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patient_id","file-url"],"host":["https://api.mdintegrations.com/v1"],"query":[{"description":{"content":"<p>Embedded experience or fullscreen</p>\n","type":"text/plain"},"key":"fullscreen","value":"true"}],"variable":[{"id":"d4c91504-6191-4286-9c2a-6be2548a0e66","description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"5d0d39bd-0622-4cc9-aac5-4d3f65ffd433","key":"patient_id"}]}},"response":[{"id":"a0a020c7-b65f-4487-8ba2-0b5b2e229d61","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/file-url?fullscreen=true","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient_id","file-url"],"query":[{"key":"fullscreen","value":"true","description":"Embedded experience or fullscreen"}],"variable":[{"key":"patient_id","value":"d1a245ea-595b-40bd-9645-cdfa71ab4fa2","description":"(Required) Patient ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"file_url\": \"https://patient.mdintegrations.com/file/eyJwYXRpZW50X2VtYWlsIjoiZGV2K3Rlc3RAbWRpbnRlZ3JhdGlvbnMuY29tIiwicGFydG5lcl9pZCI6IjMzNzc4ZGIzLTg3MDctNDYyOC04MWFmLTRjNjQ1MWY5ZjBiNiIsInBhdGllbnRfaWQiOiJhNWMxZWI0Yi1mZjA0LTQxOTctYjY2Ni1kYzAxZWJjYTZjMmQifQ==?fullscreen=true\",\n    \"verification_code\": \"R2SZTX\"\n}"}],"_postman_id":"01682c60-ab51-4d6d-b333-e720347e61a3"},{"name":"Request Patient Data","id":"f0f915ae-6377-4d37-8019-b743801b7a0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"patient_id\": \"d12bf2f6-4dad-4723-94c7-1676fd9026c1\",\n    \"patient_email\": \"patient@email.com\"\n}"},"url":"https://api.mdintegrations.com/v1/partner/patients/data","description":"<p>Sends the patient data requested to the patient.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>patient_id</td>\n<td>uuid</td>\n<td>Required if not use the patient email to request their data.</td>\n</tr>\n<tr>\n<td>patient_email</td>\n<td>string</td>\n<td>Required if the patient_id is empty.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients","data"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"802bbb84-f5d6-4231-b06c-5788d41fcc6e","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/patients/data"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"f0f915ae-6377-4d37-8019-b743801b7a0e"},{"name":"Request Patient Data Deletion","id":"8864a313-fea9-4fad-87c5-0fa68605b783","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id","description":"<p>Patient data deletion request.</p>\n<p>We send an email to the patient to confirm the deletion request. Once confirmed we deactivate the patient on MD Integrations application.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patient_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"0004ea5d-b616-4b81-8b64-ef99c26ae13a","key":"patient_id"}]}},"response":[{"id":"e74a9e16-e0de-45be-913e-e18717497c9c","name":"Success","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient_id"],"variable":[{"key":"patient_id","value":"d1a245ea-595b-40bd-9645-cdfa71ab4fa2","description":"(Required) Patient ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"8864a313-fea9-4fad-87c5-0fa68605b783"}],"id":"8a9aef50-e8f5-4ee7-a931-5802d27e702b","_postman_id":"8a9aef50-e8f5-4ee7-a931-5802d27e702b","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Exams","item":[{"name":"Get patient exam","id":"d7219cdb-2314-4dc8-afb9-6c0d8087012d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/exams/:exam_id","description":"<p>This endpoint returns the patient's exam detail.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patient_id","exams",":exam_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"e6c2b350-af64-45dc-b44a-ac5e5b588a1f","type":"any","value":"5c791d01-2ae5-4e44-bf4f-900dfc1ba325","key":"patient_id"},{"id":"c2fe9153-b443-4fd4-9a59-17836efb34cb","type":"any","value":"8cc8e948-1578-409b-9e18-0a771d349355","key":"exam_id"}]}},"response":[{"id":"62359782-5212-431a-ace5-b60a510e2830","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/exams/:exam_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient_id","exams",":exam_id"],"variable":[{"key":"patient_id","value":"5c791d01-2ae5-4e44-bf4f-900dfc1ba325"},{"key":"exam_id","value":"8cc8e948-1578-409b-9e18-0a771d349355"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"8cc8e948-1578-409b-9e18-0a771d349355\",\n    \"patient_id\": \"5c791d01-2ae5-4e44-bf4f-900dfc1ba325\",\n    \"height\": 155,\n    \"weight\": null,\n    \"medications\": \"paracetamol\",\n    \"medical_conditions\": \"a medical condition example\",\n    \"allergies\": \"polen\",\n    \"created_at\": \"2023-12-05T14:34:59.000000Z\",\n    \"updated_at\": \"2023-12-05T14:34:59.000000Z\",\n    \"deleted_at\": null\n}"}],"_postman_id":"d7219cdb-2314-4dc8-afb9-6c0d8087012d"},{"name":"Get patient exams","id":"98615e12-6c72-41fb-a9e2-9589d1fb7240","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/exams","description":"<p>This endpoint returns all exams related to the patient passed on the request.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patient_id","exams"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"0206911d-8faf-4846-b0b6-b806ed70655e","type":"any","value":"5c791d01-2ae5-4e44-bf4f-900dfc1ba325","key":"patient_id"}]}},"response":[{"id":"44994271-2430-4ece-bc63-80f38603054d","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseURL}}/partner/patients/:patient_id/exams","host":["{{baseURL}}"],"path":["partner","patients",":patient_id","exams"],"variable":[{"key":"patient_id","value":"5c791d01-2ae5-4e44-bf4f-900dfc1ba325"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5108306f-a44c-484c-8146-19c8eb8e98b6\",\n            \"patient_id\": \"690b092b-b472-4770-8d69-8392585aa089\",\n            \"height\": 155,\n            \"weight\": 90,\n            \"medications\": \"3 capsules paracetamol\",\n            \"medical_conditions\": \"a medical condition example\",\n            \"allergies\": \"polen, nuts\",\n            \"created_at\": \"2023-12-05T12:50:54.000000Z\",\n            \"updated_at\": \"2023-12-05T12:50:54.000000Z\",\n            \"deleted_at\": null\n        },\n        {\n            \"id\": \"befc02aa-118b-4e7b-9d1b-0e56400a7e8e\",\n            \"patient_id\": \"690b092b-b472-4770-8d69-8392585aa089\",\n            \"height\": 155,\n            \"weight\": null,\n            \"medications\": \"paracetamol\",\n            \"medical_conditions\": null,\n            \"allergies\": \"polen\",\n            \"created_at\": \"2023-12-05T14:34:59.000000Z\",\n            \"updated_at\": \"2023-12-05T14:34:59.000000Z\",\n            \"deleted_at\": null\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/api/patients/690b092b-b472-4770-8d69-8392585aa089/exams?page=1\",\n        \"last\": \"http://localhost/api/patients/690b092b-b472-4770-8d69-8392585aa089/exams?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://localhost/api/patients/690b092b-b472-4770-8d69-8392585aa089/exams?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://localhost/api/patients/690b092b-b472-4770-8d69-8392585aa089/exams\",\n        \"per_page\": 15,\n        \"to\": 2,\n        \"total\": 2\n    }\n}"}],"_postman_id":"98615e12-6c72-41fb-a9e2-9589d1fb7240"}],"id":"a65bacef-a1a8-4825-82a9-88ef1a173b60","_postman_id":"a65bacef-a1a8-4825-82a9-88ef1a173b60","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Vouchers","item":[{"name":"Get patient vouchers","id":"b5fb97c5-99d5-4a3f-b2ea-036f7b0812d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/vouchers","description":"<p>This endpoint returns all exams related to the patient passed on the request.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patient_id","vouchers"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"dd8ca7be-14a5-4dfa-8382-232a1f439b22","type":"any","value":"5c791d01-2ae5-4e44-bf4f-900dfc1ba325","key":"patient_id"}]}},"response":[{"id":"138a47a7-2c29-4c59-ace6-6ca39b91da41","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/vouchers","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient_id","vouchers"],"variable":[{"key":"patient_id","value":"5c791d01-2ae5-4e44-bf4f-900dfc1ba325"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"15242cfd-5d6b-47cf-b1db-1d564cadc160\",\n            \"partner_id\": \"34e883bd-df4d-4bf5-8252-d9e75ecc51f0\",\n            \"case_id\": null,\n            \"partner_questionnaire_id\": \"fa6d01b6-57ce-41cb-bf4f-3388a5fb1dac\",\n            \"environment_id\": \"38da4bf4-3843-4cc3-83d1-13130daffdbd\",\n            \"expires_at\": \"2024-05-18T21:18:24.000000Z\",\n            \"payload\": {\n                \"hold_status\": true,\n                \"environment_id\": \"74fa173c-9455-4e79-88e7-b1a668e83274\",\n                \"questionnaire_id\": \"fa6d01b6-57ce-41cb-bf4f-3388a5fb1dac\",\n                \"patient_auth\": {\n                    \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI2Zjc5YWI3YS1hOTkwLTQ3YzYtOWExNy1kNWE2YjE2MzZlYTIiLCJqdGkiOiJjYTlkMjk5Nzc4YWRjMjQwZGNjODdhYjQ1M2JkMmU0Y2U1ZTAwZDYwYzZhZmNjYmY5Nzc5YzFkODJiNWE4ZWM5OTM3MzA2ZmYzNzAwY2Y2OCIsImlhdCI6MTcxODI4NjUwMi43NTY2MzUsIm5iZiI6MTcxODI4NjUwMi43NTY2MzYsImV4cCI6MTcxODM3MjkwMi43NTMyNjIsInN1YiI6ImFmZTZjYjdlLWYyMWUtNGM5Mi1iZmE2LTM5YThiMjRjMzM3NiIsInNjb3BlcyI6WyIqIl19.KeTDwpIyIhocEzYUkaOd_vbJQamntDebQfD32UElqwDAvelcx81YOWtKfKupgoijPrAKfcRers3RgB0bDwFngZtOPopC7cZmxjp7YERvtCk7HcVtq36K0CYxlnef5pxtruX3UopxD4DCbAOsCNOhoaihcU9JLFuIAwMGI9ER8ejcg_pchNcq2PDqlOQRL2EjIsCxWwGcLnDRhRKgJSUK4n8dgHQiZQyc7RV0-mLkr10sgBQj6yrb9nenOMdKWTyk9wOUPFdroVS5rw2Xebe5groZMI_GWv1FFe5N48aqMtW2AqH8WzXg9J5Zchz2kn1odbSKYxjxmsLyU6VfP5Dk6dIlYh17zLOsLLprqMfrcMhqleDtGqrnOAveULULQn-kOtzsQyE8RX_Q8rvquxrgpCT3qV028AfGbPoMCeYq6tW_CEoQ4G6moWiyUsQgV7d2r7P_S6TLL3dsmE6HvjoJTvg8zkN3fs5zThMbspixyWl90vEHfah8GnQC8jGOUZzraMcoaV_f-Sp51_WbBQGn3rfgka1ziw_8EdUBVyDrDYTPgsBzSqtumtipt_Xq7QPmfJ8f7VEnjmViZXMWyoeLnIlPI_0KEW7Ku2j18AlDMp2-7iTiORsBg8n0pfsn0ob4bifp-OsIlPA7zFhRs2H9LC50hK4nYv4l6U6MhlVVPgQ\",\n                    \"refresh_token\": \"def50200269767d554011f02175ac54711ad2e014ad803a60effc5cfae3d61f2e7b9626cc8797ec3f865f6a984e034dfeb2c8ee1213b7a62681dba981246bc4813a27751e0760a578e599a47ce47f4ac06d118a2c73f8ad95d56a678a9f09294a4880aacdaaff9f0f64eabf75544d44c0fb9039c81c1aabbd24b70420dc743010ff2c18c359162cb7383a6e8c8e3b5fc226fbebcf0e6b4d9a933e85b291c6bf62e6d158cb55269ba33d8cd6be054df6921c0abd13c2c8929a28ea081165bfa50e4126e96f91573de205d746d566aae159ca5f4824606489d0a592fc6a5ed2068dbc93601a8b49135281baa40e5f1bc19ceed1aab574be480525129dffdc1a293b22b42d3542e369051745cc61a69ad8d2a542c9b8800505ef853426e5b82c6baea30a5fc082dec0cd04b87d90730ab21ad682a1bb8a22f42449cf60ff7a443e13097733acff830534827e03be988ce2391e26cef878c56020e97e46142946901e03cd3373ceac63f1721a8175148081275bad37f040fbf266226a148bd826eccdcd3a5a483a0452c41b0eb5ac3cd8bdc46cfb39bace4771b528189a00e447e9d6d5ae3386f48bc3fb8245aa6\",\n                    \"expires_in\": 86400,\n                    \"token_type\": \"Bearer\"\n                }\n            },\n            \"demo\": false,\n            \"pharmacy_id\": null,\n            \"pharmacy_name\": null,\n            \"metadata\": \"{\\\"shopify-checkouts_create\\\":{\\\"checkout_token\\\":\\\"cd7c9518dc029d636f693631239d95ca\\\",\\\"product_id\\\":[7004349235318,7004349464694]},\\\"shopify-orders_create\\\":{\\\"checkout_token\\\":\\\"cd7c9518dc029d636f693631239d95ca\\\",\\\"order_id\\\":5284938743926}}\",\n            \"created_at\": \"2024-04-18T21:18:24.000000Z\",\n            \"updated_at\": \"2024-04-18T21:20:47.000000Z\",\n            \"deleted_at\": null,\n            \"partner_voucher_id\": \"15242cfd-5d6b-47cf-b1db-1d564cadc160\",\n            \"expired\": true,\n            \"is_expired\": true,\n            \"onboarding_url\": \"http://api.mdintegrations.com:8000?token=15242cfd-5d6b-47cf-b1db-1d564cadc160\",\n            \"patient\": {\n                \"patient_id\": \"afe6cb7e-f21e-4c92-bfa6-39a8b24c3376\",\n                \"partner_id\": \"34e883bd-df4d-4bf5-8252-d9e75ecc51f0\",\n                \"prefix\": null,\n                \"first_name\": \"Shop\",\n                \"last_name\": \"test 006\",\n                \"metadata\": \"{\\\"shopify-orders_create\\\":{\\\"customer_id\\\":6472646197366}}\",\n                \"email\": \"test+006@example.com\",\n                \"weight\": null,\n                \"height\": null,\n                \"date_of_birth\": \"1986-01-01\",\n                \"gender\": 1,\n                \"gender_label\": \"Male\",\n                \"active\": true,\n                \"phone_number\": \"\",\n                \"phone_type\": \"2\",\n                \"current_medications\": null,\n                \"medical_conditions\": null,\n                \"allergies\": null,\n                \"pregnancy\": false,\n                \"ssn\": null,\n                \"created_at\": \"2024-04-18T21:20:46.000000Z\",\n                \"is_live\": true,\n                \"exam_id\": null,\n                \"recent_encounter_id\": null,\n                \"important_offering_case_id\": null,\n                \"clinician_id\": null,\n                \"dosespot\": {\n                    \"dosespot_id\": null,\n                    \"sync_status\": null,\n                    \"synced_at\": null,\n                    \"metadata\": null,\n                    \"eligibilities\": []\n                },\n                \"partner\": {\n                    \"partner_id\": \"34e883bd-df4d-4bf5-8252-d9e75ecc51f0\",\n                    \"name\": \"Partner Name\",\n                    \"support_message_capability\": \"integrated\",\n                    \"patient_message_capability\": \"integrated\",\n                    \"provides_medications\": true,\n                    \"partner_notes\": \"Partner Notes\",\n                    \"operations_support_email\": \"example@mdintegrations.com\",\n                    \"customer_support_email\": \"support@customer.example\",\n                    \"operation_country\": {\n                        \"country_id\": \"9856b3f5-b4e2-4bb1-bae9-f0f630d6a5fa\",\n                        \"name\": \"Canada\",\n                        \"abbreviation\": \"US\"\n                    },\n                    \"can_unlock_phi\": false,\n                    \"enable_av_flow\": false,\n                    \"enable_icd_bmi\": false,\n                    \"enable_auto_reassignment\": true,\n                    \"enable_automatic_sync_flow\": true,\n                    \"force_hold_status\": false,\n                    \"business_model\": \"regular\",\n                    \"customization\": {\n                        \"primary_color\": \"#5899c7\",\n                        \"secondary_color\": \"#5899c7\",\n                        \"background_color\": \"#5899c7\"\n                    },\n                    \"thank_you_note_header\": \"Thank You Note Header\",\n                    \"thank_you_note_footer\": \"Thank You Note Footer\",\n                    \"vouched_integration_type\": \"disabled\",\n                    \"vouched_integration_charge\": \"0.10\",\n                    \"text_message_integration_type\": \"automatic\",\n                    \"text_message_integration_charge\": \"0.10\",\n                    \"slack_channel_id\": null,\n                    \"shopify_id\": \"65fa0ae1-e219-402b-81a5-ef910ceac82f\",\n                    \"shopify_url\": \"test.myshopify.com\",\n                    \"is_shopify_active\": true,\n                    \"custom_theme\": null,\n                    \"custom_style\": null\n                },\n                \"driver_license\": null,\n                \"address\": {\n                    \"address\": \"Streeterville\",\n                    \"address2\": null,\n                    \"address_id\": \"4ebd6f99-67f8-48ac-80fa-36272ae22239\",\n                    \"zip_code\": \"60611\",\n                    \"city_name\": \"Chicago\",\n                    \"state\": {\n                        \"name\": \"Illinois\",\n                        \"abbreviation\": \"IL\",\n                        \"state_id\": \"8f39bf0d-614b-4fb3-90fe-0229e68882bc\",\n                        \"is_sync\": false,\n                        \"country\": {\n                            \"country_id\": \"39a4c803-7b39-49d6-8540-041e65f6ddcf\",\n                            \"name\": \"United States of America\",\n                            \"abbreviation\": \"US\"\n                        },\n                        \"is_av_flow\": false\n                    }\n                },\n                \"intro_video\": null,\n                \"patient_auth\": {\n                    \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI2Zjc5YWI3YS1hOTkwLTQ3YzYtOWExNy1kNWE2YjE2MzZlYTIiLCJqdGkiOiI0NzVlNjc3NWQ5MGRmYTE1MzAxMjNhMTJhMTJmNTdhYTIwNzQ4MzA1NmIxMGYxMmIxNjE5NTQ2NGM5ZjhiZjU3MzQ4YWYyYjU0NGM4NTk0OCIsImlhdCI6MTcxODI4NjUwMy40MTEyMzcsIm5iZiI6MTcxODI4NjUwMy40MTEyMzgsImV4cCI6MTcxODM3MjkwMy40MDc0Niwic3ViIjoiYWZlNmNiN2UtZjIxZS00YzkyLWJmYTYtMzlhOGIyNGMzMzc2Iiwic2NvcGVzIjpbIioiXX0.NBJHUyDtTHX1lAdGT-VX5gYT1ltyCk3QEXzrar6vmStOEEJfm-ILpJNCmzx8sLSxiAKJcIGGK_eVlUDCd-g-uW_dnpanXze2Tcl-g_ldtDMowsBPMnscCzSinFr7pGBWrDbDb1IzDVmstKHDsMBvQbS5dRO8dVfpNT4ONeNis7P0iKBuKj4sppcFcP31IQbjN970gR4vhKP5DaDsEYDpq291qaEKXtObFFvwq38PNliNPPanvvynWUyCX6UTKGsigBac-ij45JblK9NY6GaGVgJBJ2vb4qDcqdBZAPylyF69Tzobzwle7fViirfF5De25I7LXx1bpDDvQECQPwU5B0neh-Wau8Pxpk-IXSjDtGZ0iMwUcKfuGz8qgGKHF5S2n5SX0BxZc2XHOaA6c4zDrcnvLL-z-qgP-HUVgzVV6Z_NKi57UESmoCJlLxDuPBrwQxBF4VbGb2m-MvtkHhIti9dFZPSXaeWMGteWuEeht1cRL3jDW827CSQXy4NR6ZXHgAk5W6MDHhjEUR4m2bKG2XqOjuC_WRr-rI60rU0SWfFZIK_Di8B7yD-2xkojZYKi5v2v1TxQb1XUE0-hUy4G_dHnM1NIXvWylVb28jt2yk7yT5o885G2T5m5C2Yd_G63CjurV4KFjxekpdxOpgBpdrvEAFASwUByyanelgLFQM8\",\n                    \"refresh_token\": \"def5020013bf367bb65b6e2649c648e4afd271fcf2702a64d1625671e04f66a076c432a6d68b93cafa819d8fa6d729829ffa9a7c7eb5a96d9c4a6f9867d940d2f9871103a909c3da7abcbbd02c0edc3d63e9642ee8fdc0187784036efb2ab5263d8525f4bd563188bd75d8777d45f5581bffff0d1a9994cf76444d99cccc22e08981f0be1c07f3d12362d92aeee0473e614654e8a0e2d609997364161d1d1d973963232d71d10618bf90d7d3cd9220985de514855fa7f16eda0cc1b6b50185c6558cb39da7f59c86a90b63e32a7d34bfb4e9ec3f76db9992a339fa366e50f4883860fc29dc501aa3e0b3be726ab45aca2acd78d703c11c2dae11f724f48ec0454c65636301591efa44a1630ebaff50463ee5e7c04c7652c4b04ef6c73244e19a194bb55bb151f6254964c528af564fc2e8fc576e995002ee940d1ec1e36e160fcbf71d051d4780ed4732eb8dedd6511065c7c3a137720e74c69e96c0f49e4b6a89b8594329f3b67e3de3ad10b873ac7bc9522d731ff3d207568072aaeb054949fe8a03197a8529d11b64967075ecff18d372e3946bd38980c7c6507a6088631091d3bf36150cc2b0ca0e68cb\",\n                    \"expires_in\": 86400,\n                    \"token_type\": \"Bearer\"\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/api/patients/afe6cb7e-f21e-4c92-bfa6-39a8b24c3376/vouchers?page=1\",\n        \"last\": \"http://localhost/api/patients/afe6cb7e-f21e-4c92-bfa6-39a8b24c3376/vouchers?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.mdintegrations.com/api/patients/afe6cb7e-f21e-4c92-bfa6-39a8b24c3376/vouchers?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://api.mdintegrations.com/api/patients/afe6cb7e-f21e-4c92-bfa6-39a8b24c3376/vouchers\",\n        \"per_page\": 15,\n        \"to\": 6,\n        \"total\": 6\n    }\n}"}],"_postman_id":"b5fb97c5-99d5-4a3f-b2ea-036f7b0812d9"}],"id":"f30661d2-b40a-4c20-abd3-5a26913354df","_postman_id":"f30661d2-b40a-4c20-abd3-5a26913354df","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Dosespot","item":[{"name":"Get coverage","id":"4044f262-7378-4b6e-b296-dc4e0fd8765e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/dosespot/formulary?patient_eligibility_id=999876278&ndc=000777761616","description":"<p>This endpoint returns the insurance coverage based on medication NDC and patient eligibility ID</p>\n<p><strong>P.S</strong>.: <em>It returns a Dosespot response.</em></p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["v1","partner","patients",":patient_id","dosespot","formulary"],"host":["https://api.mdintegrations.com"],"query":[{"key":"patient_eligibility_id","value":"999876278"},{"description":{"content":"<p>(Required) Medication NDC</p>\n","type":"text/plain"},"key":"ndc","value":"000777761616"}],"variable":[{"type":"any","value":"21b72e8f-d27e-4186-b093-28b0eff1a78b","key":"patient_id"}]}},"response":[{"id":"f1914653-4093-4a53-87e8-8d4120ff1956","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/dosespot/formulary?patient_eligibility_id=999876278&ndc=000777761616","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient_id","dosespot","formulary"],"query":[{"key":"patient_eligibility_id","value":"999876278"},{"key":"ndc","value":"000777761616"}],"variable":[{"key":"patient_id","value":"5c791d01-2ae5-4e44-bf4f-900dfc1ba325"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Item\": {\n        \"FormularyStatus\": null,\n        \"Brand\": null,\n        \"Otc\": null,\n        \"Copays\": null,\n        \"Alternatives\": null,\n        \"TherapeuticAlternatives\": [\n            {\n                \"Ndc\": \"42806009630\",\n                \"FormularyStatus\": null,\n                \"Copay\": {\n                    \"IsDrugSpecific\": false,\n                    \"PharmacyType\": null,\n                    \"FlatCopayAmount\": null,\n                    \"PercentCopayAmount\": null,\n                    \"FlatCopayAmountFirst\": null,\n                    \"MinimumCopayAmount\": null,\n                    \"MaximumCopayAmount\": null,\n                    \"DaysSupply\": null,\n                    \"CopayTier\": null,\n                    \"MaximumCopayTier\": null,\n                    \"OutOfPocketMinimum\": null,\n                    \"OutOfPocketMaximum\": null\n                },\n                \"DisplayName\": \"Protriptyline HCl Oral Tablet 5 MG\",\n                \"FormularyInfo\": {\n                    \"ProductId\": 0,\n                    \"Ndc\": null,\n                    \"FormularyStatusId\": 0,\n                    \"FormularyAbbreviation\": null,\n                    \"FormularyStatusMessage\": null,\n                    \"OrderRank\": 0,\n                    \"IsGeneric\": null,\n                    \"IsRx\": null\n                },\n                \"FullDisplayString\": \"Protriptyline HCl Oral Tablet 5 MG\",\n                \"DisplayStrength\": \"5 MG\",\n                \"DefaultDispenseUnitID\": 26,\n                \"DispensableDrugId\": 18478,\n                \"Schedule\": 0,\n                \"IsDetox\": false,\n                \"HasGHB\": false,\n                \"RxCUI\": 0\n            },\n            {\n                \"Ndc\": \"42806009730\",\n                \"FormularyStatus\": null,\n                \"Copay\": {\n                    \"IsDrugSpecific\": false,\n                    \"PharmacyType\": null,\n                    \"FlatCopayAmount\": null,\n                    \"PercentCopayAmount\": null,\n                    \"FlatCopayAmountFirst\": null,\n                    \"MinimumCopayAmount\": null,\n                    \"MaximumCopayAmount\": null,\n                    \"DaysSupply\": null,\n                    \"CopayTier\": null,\n                    \"MaximumCopayTier\": null,\n                    \"OutOfPocketMinimum\": null,\n                    \"OutOfPocketMaximum\": null\n                },\n                \"DisplayName\": \"Protriptyline HCl Oral Tablet 10 MG\",\n                \"FormularyInfo\": {\n                    \"ProductId\": 0,\n                    \"Ndc\": null,\n                    \"FormularyStatusId\": 0,\n                    \"FormularyAbbreviation\": null,\n                    \"FormularyStatusMessage\": null,\n                    \"OrderRank\": 0,\n                    \"IsGeneric\": null,\n                    \"IsRx\": null\n                },\n                \"FullDisplayString\": \"Protriptyline HCl Oral Tablet 10 MG\",\n                \"DisplayStrength\": \"10 MG\",\n                \"DefaultDispenseUnitID\": 26,\n                \"DispensableDrugId\": 18479,\n                \"Schedule\": 0,\n                \"IsDetox\": false,\n                \"HasGHB\": false,\n                \"RxCUI\": 0\n            }\n        ],\n        \"Restrictions\": null,\n        \"RealTimeFormularyRequestStatus\": 1001\n    },\n    \"Result\": {\n        \"ResultCode\": \"ERROR\",\n        \"ResultDescription\": \"No active eligibility exists.\"\n    }\n}"}],"_postman_id":"4044f262-7378-4b6e-b296-dc4e0fd8765e"},{"name":"Get Medications History","id":"ca34105a-f564-40a3-a278-65656f05a2e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{access_token}}"},"isInherited":false},"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/dosespot/medications/history","description":"<p>It gets the Dosespot medications history and caches it to the given patient.</p>\n","urlObject":{"path":["partner","patients",":patient_id","dosespot","medications","history"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"5d0d39bd-0622-4cc9-aac5-4d3f65ffd433","key":"patient_id"}]}},"response":[{"id":"3b2d8329-6ee8-4b09-972e-56bfd6ec9c32","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/dosespot/medications/history","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient_id","dosespot","medications","history"],"variable":[{"key":"patient_id","value":"5d0d39bd-0622-4cc9-aac5-4d3f65ffd433","description":"(Required) Patient ID"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"patient_medication_history_id\": 261246,\n        \"pharmacy_notes\": null,\n        \"no_substitutions\": false,\n        \"effective_date\": null,\n        \"last_fill_date\": \"2024-08-11T00:00:00\",\n        \"payer\": \"PROINFORMA PBM\",\n        \"days_supply\": 6,\n        \"directions\": null,\n        \"dispense_unit_description\": \"Tablets\",\n        \"dispense_unit_id\": 26,\n        \"quantity\": \"12.00\",\n        \"refills\": null,\n        \"written_date\": null,\n        \"diagnosis_code\": null,\n        \"diagnosis_qualifier\": null,\n        \"dose_form\": \"Tablet Extended Release 12 Hour\",\n        \"route\": \"Oral\",\n        \"strength\": \"5-120 MG\",\n        \"generic_drug_name\": \"Cetirizine-Pseudoephedrine ER Oral Tablet Extended Release 12 Hour 5-120 MG\",\n        \"dispensable_drug_id\": 7741,\n        \"brand\": true,\n        \"rx_cui\": null,\n        \"otc\": true,\n        \"ndc\": \"00113014753\",\n        \"schedule\": \"0\",\n        \"display_name\": null,\n        \"drug_classification\": \"*Decongestant & Antihistamine***\",\n        \"expiration_date\": null\n    }\n]"}],"_postman_id":"ca34105a-f564-40a3-a278-65656f05a2e9"}],"id":"08a71668-c896-4bf5-be8c-d3dff03866af","_postman_id":"08a71668-c896-4bf5-be8c-d3dff03866af","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Tags","item":[{"name":"Attach tag","id":"630431c6-3c45-4a4e-8776-d7d7f46acf04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"Notes to add to tag\"\n}"},"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/tags/:tag_id","description":"<p>Attach a tag to patient.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notes</td>\n<td>string</td>\n<td>Allow to add a note when attaching tags</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patient_id","tags",":tag_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"83904b0f-d5a0-42eb-aa2f-5363061302df","type":"any","value":"df15a5b7-853a-8r9t-aee9-6085bc32c8yt","key":"patient_id"},{"id":"eec170bf-a1ec-4902-a324-72c2f8af66c9","type":"any","value":"db15a5b7-853a-4a45-aee9-6085bc32b7fc","key":"tag_id"}]}},"response":[],"_postman_id":"630431c6-3c45-4a4e-8776-d7d7f46acf04"},{"name":"Detach tag","id":"43d6596e-c742-4eb9-8056-faa1cd11f8b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/tags/:tag_id","description":"<p>Detach a tag from patient.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patient_id","tags",":tag_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"fce653fe-71ef-4c67-baae-4009f62bd6e6","type":"any","value":"df15a5b7-853a-8r9t-aee9-6085bc32c8yt","key":"patient_id"},{"id":"5bf72dca-a1e6-4b57-b671-f3249997ef37","type":"any","value":"db15a5b7-853a-4a45-aee9-6085bc32b7fc","key":"tag_id"}]}},"response":[],"_postman_id":"43d6596e-c742-4eb9-8056-faa1cd11f8b4"},{"name":"Update tag note","id":"f23c422c-45da-4d2d-9681-374bee582e7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"Notes to add to tag\"\n}"},"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/tags/:tag_id","description":"<p>Allow to update the tag note related to patient.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notes</td>\n<td>string*</td>\n<td>Allow to add a note when attaching tags</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patient_id","tags",":tag_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"540eb927-21e8-496d-82c7-1269562c73b2","type":"any","value":"df15a5b7-853a-8r9t-aee9-6085bc32c8yt","key":"patient_id"},{"id":"99141d38-c5b2-48b9-ba9a-16c2bbfb7a61","type":"any","value":"db15a5b7-853a-4a45-aee9-6085bc32b7fc","key":"tag_id"}]}},"response":[],"_postman_id":"f23c422c-45da-4d2d-9681-374bee582e7e"}],"id":"3d0643a1-63d6-4592-99b3-2e435799b4a4","_postman_id":"3d0643a1-63d6-4592-99b3-2e435799b4a4","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Create patient","id":"d4b1c06f-6db0-43c7-9fc2-079aa3a5b8a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"prefix\": \"Sr\",\n    \"ssn\": \"111223333\",\n    \"first_name\": \"John\",\n    \"middle_name\": \"Harry\",\n    \"last_name\": \"Doe\",\n    \"gender\": 1,\n    \"date_of_birth\": \"1983-10-17\",\n    \"phone_number\": \"(816) 679-2211\",\n    \"phone_type\": 2,\n    \"metadata\": \"patient number 200\",\n    \"email\": \"john@doe.com\",\n    \"address\": {\n        \"address\": \"9071 E. Mississippi Ave\",\n        \"address2\": \"Apt 6C\",\n        \"zip_code\": \"80247\",\n        \"city_name\": \"Tazlima\",\n        \"state_name\": \"Ohio\"\n    },\n    \"pregnancy\": false,\n    \"blood_pressure\": \"120-129\",\n    \"body_temperature\": 36.9,\n    \"oxygen_saturation\": 99,\n    \"special_necessities\": \"Example of a text\",\n    \"intro_video_id\": \"9d8df900-5b97-4d12-86e7-488fcb891b22\",\n    \"is_sms_enabled\": true,\n    \"is_email_enabled\": true,\n    \"shopify_customer_id\": null,\n    \"woocommerce_customer_id\": null,\n    \"metafields\": [\n        {\n            \"key\": \"smoke\",\n            \"title\": \"Does the patient smoke??\",\n            \"value\": \"false\",\n            \"type\": \"boolean\"\n        },\n        {\n            \"key\": \"internal_id\",\n            \"title\": \"Patient internal ID\",\n            \"value\": \"id-522\",\n            \"type\": \"string\"\n        }\n    ]\n}"},"url":"https://api.mdintegrations.com/v1/partner/patients","description":"<p>Creates a new patient record both on MD Integrations and DoseSpot.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>prefix</td>\n<td>string(10)</td>\n<td>Prefix</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string(35)*</td>\n<td>First name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string(35)*</td>\n<td>Last name</td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>string(11)</td>\n<td>Security Social Number.  <br /><strong>Format</strong>: <code>AAAGGSSSS</code></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string(80)*</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>date*</td>\n<td>Date of birth, as YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>driver_license_id</td>\n<td>uuid</td>\n<td>Patient's Driver License, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>integer*</td>\n<td>Gender (ISO 5218 format)</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the patient. (e.g., an ID that will be used to identify this patient in another database)</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>string(25)*</td>\n<td>Phone number - <em>US format</em></td>\n</tr>\n<tr>\n<td>phone_type</td>\n<td>integer*</td>\n<td>Phone type. Available options: 2 (cell) or 4 (home)</td>\n</tr>\n<tr>\n<td>address.address</td>\n<td>string(35)*</td>\n<td>Address</td>\n</tr>\n<tr>\n<td>address.address2</td>\n<td>string(35)</td>\n<td>Additional address - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>address.zip_code</td>\n<td>string(9)*</td>\n<td>US zip code - _5 or 9 digit format  <br />OR  <br />_CA zip code - 6 alphanumeric characters</td>\n</tr>\n<tr>\n<td>address.city_name</td>\n<td>string(35)*</td>\n<td>City name.</td>\n</tr>\n<tr>\n<td>address.state_name</td>\n<td>string*</td>\n<td>State name or State USPS abbreviation.</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>float (from 0 to 999)</td>\n<td>Weight in KG * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>height</td>\n<td>integer (from 0 to 300)</td>\n<td>Height in CM * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>allergies</td>\n<td>text</td>\n<td>Known patient's allergies</td>\n</tr>\n<tr>\n<td>pregnancy</td>\n<td>boolean</td>\n<td>Define the patient with a pregnancy</td>\n</tr>\n<tr>\n<td>current_medications</td>\n<td>text</td>\n<td>Medications that the patient is currently taking</td>\n</tr>\n<tr>\n<td>medical_conditions</td>\n<td>text</td>\n<td>Medical conditions related to the patient</td>\n</tr>\n<tr>\n<td>special_necessities</td>\n<td>text</td>\n<td>Special necessities related to the patient</td>\n</tr>\n<tr>\n<td>intro_video_id</td>\n<td>uuid</td>\n<td>Patient's Intro Video, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n<tr>\n<td>metafields</td>\n<td>array</td>\n<td>Patient custom properties</td>\n</tr>\n<tr>\n<td>metafields.*.key</td>\n<td>string*</td>\n<td>Field key</td>\n</tr>\n<tr>\n<td>metafields.*.title</td>\n<td>string</td>\n<td>Field title (label)</td>\n</tr>\n<tr>\n<td>metafields.*.value</td>\n<td>string*</td>\n<td>Field value</td>\n</tr>\n<tr>\n<td>metafields.*.type</td>\n<td>string*</td>\n<td>Field type</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["partner","patients"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"fe78b3fc-8608-4a46-ab71-c3ed70f893f0","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"{{baseURL}}/partner/patients"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"partner_id\": \"90ee8161-0bb8-4f60-9e66-cdc305ea54cb\",\n    \"prefix\": \"Sr\",\n    \"ssn\": \"111-22-3333\",\n    \"first_name\": \"John\",\n    \"middle_name\": \"Harry\",\n    \"last_name\": \"Doe\",\n    \"email\": \"john@doe.com\",\n    \"metadata\": \"patient number 200\",\n    \"gender\": 1,\n    \"phone_number\": \"541-754-3010\",\n    \"phone_type\": 2,\n    \"date_of_birth\": \"2000-12-31\",\n    \"active\": true,\n    \"weight\": 50,\n    \"height\": 180,\n    \"is_live\": true,\n    \"dosespot\": {\n        \"patient_dosespot_id\": \"9b0c4571-f980-4fd4-bf9d-6de1ac52dc9d\",\n        \"sync_status\": \"success\"\n    },\n    \"patient_id\": \"99f7520d-7c8b-4a81-8957-e0bc139f40c5\",\n    \"gender_label\": \"Male\",\n    \"current_medications\": \"paracetamol and ibuprofen\",\n    \"allergies\": \"peanuts and penicillin\",\n    \"medical_conditions\": \"medical conditions example\",\n    \"special_necessities\": \"Special necessities example\",\n    \"pregnancy\": true,\n    \"driver_license\": {\n        \"path\": \"logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n        \"name\": \"Wallpaper_1080p.png\",\n        \"mime_type\": \"image/jpeg\",\n        \"url\": \"http://api.localhost:8000/v1/file/logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n        \"url_thumbnail\": null,\n        \"file_id\": \"862a8e4c-d65a-4d52-8568-49c0d53fa51e\"\n    },\n    \"intro_video\": {\n        \"file_id\": \"ac0c921d-8526-477d-a00d-3fb0c4c8e3a8\",\n        \"path\": \"6v8Ndd8Tpg1uCCik19G8ErJ4jxNiF5kgv1l1DqqE.mov\",\n        \"name\": \"intro_video.mov\",\n        \"mime_type\": \"video/quicktime\",\n        \"url\": \"http://api.localhost:8000/v1/file/intro_video.mov\",\n        \"url_thumbnail\": null,\n        \"created_at\": \"2023-07-04T22:35:11.000000Z\"\n    },\n    \"address\": {\n        \"address\": \"1901 1st Avenue, New York\",\n        \"address2\": \"NY 10029\",\n        \"zip_code\": \"12345\",\n        \"city_name\": \"Tazlina\",\n        \"address_id\": \"eabbd96b-5704-4539-8c16-27b35f93fa06\",\n        \"state\": {\n            \"name\": \"Alaska\",\n            \"abbreviation\": \"AK\",\n            \"state_id\": \"06ed58ad-bf9c-4397-8795-5bd85a692a51\",\n            \"country\": {\n                \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                \"name\": \"United States of America\",\n                \"abbreviation\": \"US\"\n            },\n            \"is_av_flow\": false\n        }\n    },\n    \"partner\": {\n        \"name\": \"Jacobi and Sons\",\n        \"support_messaging_capability\": \"integrated\",\n        \"operations_support_email\": \"testing@email.com\",\n        \"customer_support_email\": \"testing@email.com\",\n        \"partner_notes\": \"Partner has...\",\n        \"partner_id\": \"a63e2ae6-3f98-4fd4-8391-031b0031776f\",\n        \"patient_message_capability\": \"integrated\",\n        \"vouched_integration_type\": \"disabled\",\n        \"enable_av_flow\": true,\n        \"enable_icd_bmi\": false,\n        \"is_auto_dl_flow\": true,\n        \"business_model\": \"regular\",\n        \"slack_channel_id\": \"C05QP6YD8K0\",\n        \"operation_country\": {\n            \"name\": \"United States of America\",\n            \"abbreviation\": \"US\",\n            \"country_id\": \"535fd3fd-f206-4724-89a9-55289474db8b\"\n        }\n    },\n    \"metafields\": [\n        {\n            \"id\": \"065ea604-837e-473e-b9f2-bf63d3d1acb7\",\n            \"model_type\": \"App\\\\Models\\\\Patient\",\n            \"model_id\": \"851d40b0-9889-4483-9ada-27c8e1f42471\",\n            \"key\": \"smoke\",\n            \"value\": \"false\",\n            \"scope\": \"patient_custom_properties\",\n            \"type\": \"boolean\",\n            \"title\": \"Does the patient smoke?\",\n            \"metadata\": null,\n            \"emailed_at\": null,\n            \"created_at\": \"2024-12-06T12:22:17.000000Z\",\n            \"updated_at\": \"2024-12-06T12:22:17.000000Z\",\n            \"deleted_at\": null\n        },\n        {\n            \"id\": \"cb4b56e8-026c-4c3d-a957-f5a3e8f790af\",\n            \"model_type\": \"App\\\\Models\\\\Patient\",\n            \"model_id\": \"851d40b0-9889-4483-9ada-27c8e1f42471\",\n            \"key\": \"internal_id\",\n            \"value\": \"id-522\",\n            \"scope\": \"patient_custom_properties\",\n            \"type\": \"Patient internal ID\",\n            \"title\": \"string\",\n            \"metadata\": null,\n            \"emailed_at\": null,\n            \"created_at\": \"2024-12-06T12:22:17.000000Z\",\n            \"updated_at\": \"2024-12-06T12:22:17.000000Z\",\n            \"deleted_at\": null\n        }\n    ]\n}"}],"_postman_id":"d4b1c06f-6db0-43c7-9fc2-079aa3a5b8a9"},{"name":"Search patients","id":"8b180eff-a67f-46b5-a535-4040c6712332","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"search\": \"Marc\",\r\n    \"is_sandbox\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/partner/patients/search","description":"<p>This route returns a list of Patients based on the <code>\"search\"</code> string parameter passed.</p>\n<h2 id=\"payload\">Payload</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>search</td>\n<td>string*</td>\n<td>Should be either the patient's full name, phone number, last name or e-mail.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["v1","partner","patients","search"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[{"id":"30fc914c-0655-4eef-ae18-484009b58b98","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"partner_id\": \"750094c6-ac80-446a-a120-f9bc51f142b9\",\r\n    \"search\": \"John\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}/clinician/patients/search"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"prefix\": \"Sr\",\n        \"first_name\": \"John\",\n        \"middle_name\": \"Harry\",\n        \"last_name\": \"Doe\",\n        \"ssn\": \"111223333\",\n        \"email\": \"green92@example.org\",\n        \"date_of_birth\": \"1975-01-03\",\n        \"gender\": 1,\n        \"gender_label\": \"Male\",\n        \"patient_id\": \"410af41d-e02b-4b54-a707-725141937ec8\",\n        \"special_necessities\": \"Special necessities example\",\n        \"is_live\": true,\n        \"address\": {\n            \"state\": {\n                \"name\": \"Texas\",\n                \"abbreviation\": \"TX\",\n                \"state_id\": \"7ff4d81b-18b3-4dc8-a243-6da992b962d2\",\n                \"country\": {\n                    \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                    \"name\": \"United States of America\",\n                    \"abbreviation\": \"US\"\n                }\n            }\n        },\n        \"intro_video\": {\n            \"file_id\": \"ac0c921d-8526-477d-a00d-3fb0c4c8e3a8\",\n            \"path\": \"6v8Ndd8Tpg1uCCik19G8ErJ4jxNiF5kgv1l1DqqE.mov\",\n            \"name\": \"intro_video.mov\",\n            \"mime_type\": \"video/quicktime\",\n            \"url\": \"http://api.localhost:8000/v1/file/intro_video.mov\",\n            \"url_thumbnail\": null,\n            \"created_at\": \"2023-07-04T22:35:11.000000Z\"\n        },\n        \"partner\": {\n            \"name\": \"Jacobi and Sons\",\n            \"partner_id\": \"a63e2ae6-3f98-4fd4-8391-031b0031776f\",\n            \"operations_support_email\": \"testing@email.com\",\n            \"customer_support_email\": \"testing@email.com\",\n            \"partner_notes\": \"Partner has...\",\n            \"support_message_capability\": \"integrated\",\n            \"patient_message_capability\": \"integrated\",\n            \"vouched_integration_type\": \"disabled\",\n            \"business_model\": \"regular\",\n            \"enable_av_flow\": true,\n            \"slack_channel_id\": \"C05QP6YD8K0\",\n            \"operation_country\": {\n                \"name\": \"United States of America\",\n                \"abbreviation\": \"US\",\n                \"country_id\": \"535fd3fd-f206-4724-89a9-55289474db8b\"\n            }\n        }\n    }\n]"}],"_postman_id":"8b180eff-a67f-46b5-a535-4040c6712332"},{"name":"Get patient","id":"bb368a4c-eb53-4659-88ab-b76b475920e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id","description":"<p>Get patient details.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["v1","partner","patients",":patient_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"{{patient_id}}","key":"patient_id"}]}},"response":[{"id":"5074d5b4-0b54-4318-950c-d8e8518e7360","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseURL}}/partner/patients/:patient_id","host":["{{baseURL}}"],"path":["partner","patients",":patient_id"],"variable":[{"key":"patient_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","enabled":true,"type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"partner_id\": \"90ee8161-0bb8-4f60-9e66-cdc305ea54cb\",\n    \"prefix\": \"Sr\",\n    \"ssn\": \"111223333\",\n    \"first_name\": \"John\",\n    \"middle_name\": \"Harry\",\n    \"last_name\": \"Doe\",\n    \"email\": \"john@doe.com\",\n    \"gender\": 1,\n    \"phone_number\": \"541-754-3010\",\n    \"metadata\": \"patient number 200\",\n    \"phone_type\": 2,\n    \"date_of_birth\": \"2000-12-31\",\n    \"active\": true,\n    \"weight\": 50,\n    \"height\": 180,\n    \"blood_pressure\": \"120-129\",\n    \"special_necessities\": \"Special necessities example\",\n    \"dosespot\": {\n        \"dosespot_id\": 123456,\n        \"synced_at\": \"2024-04-03 13:59:33\",\n        \"sync_status\": \"success\",\n        \"metadata\": \"Metatada example\",\n        \"eligibilities\": [\n            {\n                \"patient_eligibility_id\": \"098111235\"\n            }\n        ]\n    },\n    \"patient_id\": \"99f7520d-7c8b-4a81-8957-e0bc139f40c5\",\n    \"gender_label\": \"Male\",\n    \"current_medications\": \"paracetamol and ibuprofen\",\n    \"allergies\": \"peanuts and penicillin\",\n    \"medical_conditions\": \"medical conditions example\",\n    \"pregnancy\": true,\n    \"is_live\": true,\n    \"driver_license\": {\n        \"path\": \"logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n        \"name\": \"Wallpaper_1080p.png\",\n        \"mime_type\": \"image/jpeg\",\n        \"url\": \"http://api.localhost:8000/v1/file/logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n        \"url_thumbnail\": null,\n        \"file_id\": \"862a8e4c-d65a-4d52-8568-49c0d53fa51e\"\n    },\n    \"intro_video\": {\n        \"file_id\": \"ac0c921d-8526-477d-a00d-3fb0c4c8e3a8\",\n        \"path\": \"6v8Ndd8Tpg1uCCik19G8ErJ4jxNiF5kgv1l1DqqE.mov\",\n        \"name\": \"intro_video.mov\",\n        \"mime_type\": \"video/quicktime\",\n        \"url\": \"http://api.localhost:8000/v1/file/intro_video.mov\",\n        \"url_thumbnail\": null,\n        \"created_at\": \"2023-07-04T22:35:11.000000Z\"\n    },\n    \"address\": {\n        \"address\": \"1901 1st Avenue, New York\",\n        \"address2\": \"NY 10029\",\n        \"zip_code\": \"12345\",\n        \"city_name\": \"Tazlina\",\n        \"address_id\": \"eabbd96b-5704-4539-8c16-27b35f93fa06\",\n        \"state\": {\n            \"name\": \"Alaska\",\n            \"abbreviation\": \"AK\",\n            \"is_av_flow\": false,\n            \"state_id\": \"06ed58ad-bf9c-4397-8795-5bd85a692a51\",\n            \"country\": {\n                \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                \"name\": \"United States of America\",\n                \"abbreviation\": \"US\"\n            }\n        }\n    },\n    \"partner\": {\n        \"name\": \"Jacobi and Sons\",\n        \"partner_id\": \"a63e2ae6-3f98-4fd4-8391-031b0031776f\",\n        \"support_message_capability\": \"integrated\",\n        \"partner_notes\": \"Partner has...\",\n        \"operations_support_email\": \"testing@email.com\",\n        \"customer_support_email\": \"testing@email.com\",\n        \"patient_message_capability\": \"integrated\",\n        \"vouched_integration_type\": \"disabled\",\n        \"business_model\": \"regular\",\n        \"enable_av_flow\": true,\n        \"enable_icd_bmi\": false,\n        \"is_auto_dl_flow\": true,\n        \"slack_channel_id\": \"C05QP6YD8K0\",\n        \"operation_country\": {\n            \"name\": \"United States of America\",\n            \"abbreviation\": \"US\",\n            \"country_id\": \"535fd3fd-f206-4724-89a9-55289474db8b\"\n        }\n    },\n    \"auth_link\": \"https://message.mdintegrations.com/messages/eyJwYXRpZW50X2VtYWlsIjoicmVuYXRvK3Rlc3RAbWRpbnRlZ3JhdGlvbnMuY29tIiwidmVyaWZpY2F0aW9uX2NvZGUiOiJCNUJGQ0EiLCJwYXJ0bmVyX2lkIjpudWxsfQ==\"\n}"}],"_postman_id":"bb368a4c-eb53-4659-88ab-b76b475920e4"},{"name":"Get patient events","id":"b56c5d28-9de7-4505-baf6-875e8505b91d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/events?page=1&per_page=50","description":"<p>Get the patient's events.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patient_id","events"],"host":["https://api.mdintegrations.com/v1"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"50"}],"variable":[{"description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"4750bc4b-7456-4b3c-a96f-d3eeafb2b246","key":"patient_id"}]}},"response":[{"id":"4affcc45-ebdb-4637-9a37-11c575ec9af9","name":"Success","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient_id"],"variable":[{"key":"patient_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"event_id\": \"cccf72d0-e93e-4cf6-aaf2-50aaecd00b2f\",\n        \"date_time\": \"2022-08-26T18:23:21.000000Z\",\n        \"model\": \"patient\",\n        \"type\": \"created\",\n        \"by_model\": \"partner\",\n        \"by\": \"USA Partner\",\n        \"title\": \"Patient created\"\n    }\n]"}],"_postman_id":"b56c5d28-9de7-4505-baf6-875e8505b91d"},{"name":"Update patient","id":"5495afd1-c74c-4b2a-b7e9-164ae30d55c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"prefix\": \"Sr\",\n    \"first_name\": \"John\",\n    \"middle_name\": \"Harry\",\n    \"last_name\": \"Doe\",\n    \"gender\": 1,\n    \"date_of_birth\": \"2000-12-31\",\n    \"active\": false,\n    \"weight\": 200,\n    \"height\": 180,\n    \"metadata\": \"patient number 200\",\n    \"special_necessities\": \"Special necessities example\",\n    \"email\": \"john@doe.com\",\n    \"phone_number\": \"(415) 555-2671\",\n    \"phone_type\": 4,\n    \"address\": {\n        \"address\": \"1901 1st Avenue, New York\",\n        \"address2\": \"NY 10029\",\n        \"zip_code\": \"80247\",\n        \"city_id\": \"9f3c4995-8416-4d19-a1e0-3d469afa3a7b\",\n        \"city_name\": \"Tazlima\",\n        \"state_name\": \"Ohio\"\n    },\n    \"current_medications\": \"paracetamol\",\n    \"medical_conditions\": \"a medical condition example\",\n    \"allergies\": \"polen\",\n    \"pregnancy\": true,\n    \"blood_pressure\": \"120-129\",\n    \"body_temperature\": 36.9,\n    \"oxygen_saturation\": 99,\n    \"intro_video_id\": \"1082599c-d08d-4cdb-b8e6-043cb86cfe0a\",\n    \"is_sms_enabled\": true,\n    \"is_email_enabled\": true,\n    \"shopify_customer_id\": null,\n    \"woocommerce_customer_id\": null,\n    \"metafields\": [\n        {\n            \"key\": \"smoke\",\n            \"title\": \"Does the patient smoke??\",\n            \"value\": \"false\",\n            \"type\": \"boolean\"\n        },\n        {\n            \"key\": \"internal_id\",\n            \"title\": \"Patient internal ID\",\n            \"value\": \"id-522\",\n            \"type\": \"string\"\n        }\n    ]\n}"},"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id","description":"<p>Update a patient record both on MD Integrations and DoseSpot.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>prefix</td>\n<td>string(10)</td>\n<td>Prefix</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string(35)</td>\n<td>First name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string(35)</td>\n<td>Last name</td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>string(11)</td>\n<td>Security Social Number.  <br /><strong>Format</strong>: <code>AAAGGSSSS</code></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string(80)</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>date</td>\n<td>Date of birth, as YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>driver_license_id</td>\n<td>uuid</td>\n<td>Patient's Driver License, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the patient. (e.g., an ID that will be used to identify this patient in another database)</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>integer</td>\n<td>Gender (ISO 5218 format)</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>string(25)</td>\n<td>Phone number - <em>US format</em></td>\n</tr>\n<tr>\n<td>phone_type</td>\n<td>integer</td>\n<td>Phone type. Available options: 2 (cell) or 4 (home)</td>\n</tr>\n<tr>\n<td>address.address</td>\n<td>string(35)</td>\n<td>Address</td>\n</tr>\n<tr>\n<td>address.address2</td>\n<td>string(35)</td>\n<td>Additional address - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>address.zip_code</td>\n<td>string(9)</td>\n<td>US zip code - _5 or 9 digit format  <br />OR  <br />_CA zip code - 6 alphanumeric characters</td>\n</tr>\n<tr>\n<td>address.city_id</td>\n<td>uuid</td>\n<td>City ID. Check <strong>Metadata &gt; States &gt; Cities&gt; Get cities from a given state</strong> to get city ID. If you use this parameter you don't need to use <strong>city_name</strong> parameter.</td>\n</tr>\n<tr>\n<td>address.city_name</td>\n<td>string(35)</td>\n<td>City name. If you use this parameter you don't need use <strong>city_id</strong> parameter.</td>\n</tr>\n<tr>\n<td>address.state_name</td>\n<td>string</td>\n<td>State name or State USPS abbreviation. If you use this parameter you don't need to use <strong>city_id</strong> parameter.</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>float (from 0 to 999)</td>\n<td>Weight in KG * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>height</td>\n<td>integer (from 0 to 300)</td>\n<td>Height in CM * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>allergies</td>\n<td>text</td>\n<td>Known patient's allergies</td>\n</tr>\n<tr>\n<td>pregnancy</td>\n<td>boolean</td>\n<td>Define the patient with a pregnancy</td>\n</tr>\n<tr>\n<td>current_medications</td>\n<td>text</td>\n<td>Medications that the patient is currently taking</td>\n</tr>\n<tr>\n<td>medical_conditions</td>\n<td>text</td>\n<td>A medical condition information.</td>\n</tr>\n<tr>\n<td>special_necessities</td>\n<td>text</td>\n<td>A special necessities related to patient</td>\n</tr>\n<tr>\n<td>intro_video_id</td>\n<td>uuid</td>\n<td>Patient's Intro Video, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patient_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"83cd9225-e25a-4392-aaf7-9080d8f84aa4","key":"patient_id"}]}},"response":[{"id":"649edc82-eab5-4613-9052-940479ebbb79","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient_id"],"variable":[{"key":"patient_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"partner_id\": \"90ee8161-0bb8-4f60-9e66-cdc305ea54cb\",\n    \"prefix\": \"Sr\",\n    \"ssn\": \"111223333\",\n    \"first_name\": \"John\",\n    \"middle_name\": \"Harry\",\n    \"last_name\": \"Doe\",\n    \"email\": \"john@doe.com\",\n    \"gender\": 1,\n    \"phone_number\": \"541-754-3010\",\n    \"metadata\": \"patient number 200\",\n    \"phone_type\": 2,\n    \"date_of_birth\": \"2000-12-31\",\n    \"active\": true,\n    \"weight\": 50,\n    \"height\": 180,\n    \"blood_pressure\": \"120-129\",\n    \"special_necessities\": \"Special necessities example\",\n    \"dosespot\": {\n        \"patient_dosespot_id\": \"9b0c4571-f980-4fd4-bf9d-6de1ac52dc9d\",\n        \"sync_status\": \"success\"\n    },\n    \"patient_id\": \"99f7520d-7c8b-4a81-8957-e0bc139f40c5\",\n    \"gender_label\": \"Male\",\n    \"current_medications\": \"paracetamol and ibuprofen\",\n    \"allergies\": \"peanuts and penicillin\",\n    \"medical_conditions\": \"medical conditions example\",\n    \"pregnancy\": true,\n    \"is_live\": true,\n    \"driver_license\": {\n        \"path\": \"logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n        \"name\": \"Wallpaper_1080p.png\",\n        \"mime_type\": \"image/jpeg\",\n        \"url\": \"http://api.localhost:8000/v1/file/logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n        \"url_thumbnail\": null,\n        \"file_id\": \"862a8e4c-d65a-4d52-8568-49c0d53fa51e\"\n    },\n    \"intro_video\": {\n        \"file_id\": \"ac0c921d-8526-477d-a00d-3fb0c4c8e3a8\",\n        \"path\": \"6v8Ndd8Tpg1uCCik19G8ErJ4jxNiF5kgv1l1DqqE.mov\",\n        \"name\": \"intro_video.mov\",\n        \"mime_type\": \"video/quicktime\",\n        \"url\": \"http://api.localhost:8000/v1/file/intro_video.mov\",\n        \"url_thumbnail\": null,\n        \"created_at\": \"2023-07-04T22:35:11.000000Z\"\n    },\n    \"address\": {\n        \"address\": \"1901 1st Avenue, New York\",\n        \"address2\": \"NY 10029\",\n        \"zip_code\": \"12345\",\n        \"city_name\": \"Tazlina\",\n        \"address_id\": \"eabbd96b-5704-4539-8c16-27b35f93fa06\",\n        \"state\": {\n            \"name\": \"Alaska\",\n            \"abbreviation\": \"AK\",\n            \"is_av_flow\": false,\n            \"state_id\": \"06ed58ad-bf9c-4397-8795-5bd85a692a51\",\n            \"country\": {\n                \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                \"name\": \"United States of America\",\n                \"abbreviation\": \"US\"\n            }\n        }\n    },\n    \"partner\": {\n        \"name\": \"Jacobi and Sons\",\n        \"partner_id\": \"a63e2ae6-3f98-4fd4-8391-031b0031776f\",\n        \"support_message_capability\": \"integrated\",\n        \"partner_notes\": \"Partner has...\",\n        \"operations_support_email\": \"testing@email.com\",\n        \"customer_support_email\": \"testing@email.com\",\n        \"patient_message_capability\": \"integrated\",\n        \"vouched_integration_type\": \"disabled\",\n        \"business_model\": \"regular\",\n        \"enable_av_flow\": true,\n        \"enable_icd_bmi\": false,\n        \"slack_channel_id\": \"C05QP6YD8K0\",\n        \"operation_country\": {\n            \"name\": \"United States of America\",\n            \"abbreviation\": \"US\",\n            \"country_id\": \"535fd3fd-f206-4724-89a9-55289474db8b\"\n        }\n    },\n    \"metafields\": [\n        {\n            \"id\": \"065ea604-837e-473e-b9f2-bf63d3d1acb7\",\n            \"model_type\": \"App\\\\Models\\\\Patient\",\n            \"model_id\": \"851d40b0-9889-4483-9ada-27c8e1f42471\",\n            \"key\": \"smoke\",\n            \"value\": \"false\",\n            \"scope\": \"patient_custom_properties\",\n            \"type\": \"boolean\",\n            \"title\": \"Does the patient smoke?\",\n            \"metadata\": null,\n            \"emailed_at\": null,\n            \"created_at\": \"2024-12-06T12:22:17.000000Z\",\n            \"updated_at\": \"2024-12-06T12:22:17.000000Z\",\n            \"deleted_at\": null\n        },\n        {\n            \"id\": \"cb4b56e8-026c-4c3d-a957-f5a3e8f790af\",\n            \"model_type\": \"App\\\\Models\\\\Patient\",\n            \"model_id\": \"851d40b0-9889-4483-9ada-27c8e1f42471\",\n            \"key\": \"internal_id\",\n            \"value\": \"id-522\",\n            \"scope\": \"patient_custom_properties\",\n            \"type\": \"Patient internal ID\",\n            \"title\": \"string\",\n            \"metadata\": null,\n            \"emailed_at\": null,\n            \"created_at\": \"2024-12-06T12:22:17.000000Z\",\n            \"updated_at\": \"2024-12-06T12:22:17.000000Z\",\n            \"deleted_at\": null\n        }\n    ]\n}"}],"_postman_id":"5495afd1-c74c-4b2a-b7e9-164ae30d55c6"},{"name":"Get patient cases","id":"f7f46fae-e61a-4532-9ef8-8074d6970057","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/cases","description":"<p>This endpoint returns all cases related to the patient passed on the request.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","patients",":patient_id","cases"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"type":"any","value":"f150f505-a711-4bfc-a7d0-7917dc7aa147","key":"patient_id"}]}},"response":[{"id":"29b8351d-71e0-41f4-9534-0d3ec7cf66ca","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/patients/:patient_id/cases","host":["https://api.mdintegrations.com/v1"],"path":["partner","patients",":patient_id","cases"],"variable":[{"key":"patient_id","value":"5c791d01-2ae5-4e44-bf4f-900dfc1ba325"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"current_page\": 1,\n    \"data\": [\n        {\n            \"case_assignment\": {\n                \"case_assignment_id\": \"a8f5d2b4-a6b1-481d-aa67-83c94e659f7c\",\n                \"clinician\": {\n                    \"clinician_id\": \"8e548127-8979-4f53-a4dd-a049743c6f7b\",\n                    \"first_name\": \"Mara\",\n                    \"full_name\": \"Mara Windler\",\n                    \"suffix\": \"M.D\",\n                    \"profile_url\": \"http://profileurlexample.com\",\n                    \"last_name\": \"Windler\",\n                    \"is_online\": true,\n                    \"licenses\": [\n                        {\n                            \"license_id\": \"f60e55d5-15b2-4367-9557-4dcd2afdd981\",\n                            \"type\": \"npi\",\n                            \"value\": \"29b67df9-dd72-3270-9f75-6fc94f88bd74\"\n                        }\n                    ],\n                    \"photo\": {\n                        \"file_id\": \"adfaa0b2-c6d9-47fe-a881-9b3d110564a3\",\n                        \"mime_type\": \"image/jpeg\",\n                        \"name\": \"Dr. Garrett Lockman\",\n                        \"path\": \"https://lorempixel.com/640/480/?13747\",\n                        \"url\": \"http://some-signed-url.test\",\n                        \"url_thumbnail\": null\n                    },\n                    \"specialty\": \"General Practice\",\n                    \"bio_details\": \"Here is a bio detail example.\"\n                },\n                \"created_at\": \"2022-04-13T17:31:02.000000Z\",\n                \"reason\": \"Dolorum natus voluptates dolorem placeat voluptate. Molestiae nemo laboriosam nemo quis. Velit consequuntur ea vitae fugiat. Non perferendis fugit non et. Eaque nobis ut et atque.\"\n            },\n            \"case_files\": [\n                {\n                    \"file_id\": \"3205c0d4-daf3-4149-8d5e-df9b12c252d6\",\n                    \"mime_type\": \"application/vnd.sun.xml.impress.template\",\n                    \"name\": \"Prof. Cory Monahan\",\n                    \"url\": \"http://some-signed-url.test\",\n                    \"url_thumbnail\": null\n                }\n            ],\n            \"case_id\": \"32b356d1-7561-4701-a154-10a5559599f8\",\n            \"prioritized_at\": null,\n            \"prioritized_reason\": null,\n            \"prioritized\": false,\n            \"locked_at\": null,\n            \"is_locked\": false,\n            \"reference_case_id\": \"9b0c4571-f980-4fd4-bf9d-87e88d0c4571\",\n            \"case_notes\": [\n                {\n                    \"clinician\": {\n                        \"clinician_id\": \"8e548127-8979-4f53-a4dd-a049743c6f7b\",\n                        \"first_name\": \"Mara\",\n                        \"full_name\": \"Mara Windler\",\n                        \"last_name\": \"Windler\",\n                        \"licenses\": [\n                            {\n                                \"license_id\": \"f60e55d5-15b2-4367-9557-4dcd2afdd981\",\n                                \"type\": \"npi\",\n                                \"value\": \"29b67df9-dd72-3270-9f75-6fc94f88bd74\"\n                            }\n                        ]\n                    },\n                    \"created_at\": \"2022-04-13T17:31:02.000000Z\",\n                    \"text\": \"Et a deserunt soluta fugiat natus temporibus nostrum et. Eaque consequatur in ullam voluptates. Assumenda similique atque repellat eum.\"\n                }\n            ],\n            \"case_offerings\": [\n                {\n                    \"id\": \"da78172e-e253-4458-8bc2-6acbd34f28a6\",\n                    \"case_offering_id\": \"da78172e-e253-4458-8bc2-6acbd34f28a6\",\n                    \"title\": \"supply example\",\n                    \"name\": \"supply example\",\n                    \"directions\": \"directions\",\n                    \"is_additional_approval_needed\": false,\n                    \"thank_you_note\": \"Thank you!\",\n                    \"clinical_note\": \"Notes from the MD.\",\n                    \"status\": \"pending\",\n                    \"status_details\": null,\n                    \"order\": 1,\n                    \"is_important\": false,\n                    \"offerable_type\": \"App\\\\Models\\\\Offering\",\n                    \"offerable_id\": \"19e21647-e5bf-4996-b9b4-154aab1963ad\",\n                    \"order_status\": null,\n                    \"order_date\": null,\n                    \"order_details\": null,\n                    \"order_updated\": null,\n                    \"created_at\": \"2025-05-29T22:06:08.000000Z\",\n                    \"updated_at\": \"2025-05-29T22:06:08.000000Z\",\n                    \"deleted_at\": null,\n                    \"product\": {\n                        \"id\": \"dfa4b67d-afe1-46b7-acfe-7c6c4d11abd8\",\n                        \"ndc\": null,\n                        \"otc\": null,\n                        \"upc\": null,\n                        \"name\": \"supply example\",\n                        \"title\": \"supply example\",\n                        \"refills\": 1,\n                        \"metadata\": null,\n                        \"quantity\": \"2\",\n                        \"created_at\": \"2025-04-25T13:44:53.000000Z\",\n                        \"deleted_at\": null,\n                        \"directions\": \"directions\",\n                        \"updated_at\": \"2025-04-25T13:44:53.000000Z\",\n                        \"days_supply\": null,\n                        \"is_obsolete\": null,\n                        \"pharmacy_id\": null,\n                        \"dispense_unit\": \"Packet\",\n                        \"pharmacy_name\": null,\n                        \"effective_date\": null,\n                        \"force_pharmacy\": false,\n                        \"pharmacy_notes\": \"Notes for the parmacy.\",\n                        \"dispense_unit_id\": 21,\n                        \"dosespot_supply_id\": 21\n                    },\n                    \"product_id\": \"dfa4b67d-afe1-46b7-acfe-7c6c4d11abd8\",\n                    \"product_type\": \"App\\\\Models\\\\DosespotSupply\"\n                },\n                {\n                    \"id\": \"70dafa3e-63ab-4d7a-b7ec-bb9c005ff6e6\",\n                    \"case_offering_id\": \"70dafa3e-63ab-4d7a-b7ec-bb9c005ff6e6\",\n                    \"title\": \"compound example\",\n                    \"name\": \"compound example\",\n                    \"directions\": \"abc\",\n                    \"is_additional_approval_needed\": false,\n                    \"thank_you_note\": \"Thank you!\",\n                    \"clinical_note\": \"Notes from the MD.\",\n                    \"status\": \"pending\",\n                    \"status_details\": null,\n                    \"order\": 1,\n                    \"is_important\": false,\n                    \"offerable_type\": \"App\\\\Models\\\\Offering\",\n                    \"offerable_id\": \"5ff1eae1-1566-4dd5-ad1a-457b105d59ac\",\n                    \"order_status\": null,\n                    \"order_date\": null,\n                    \"order_details\": null,\n                    \"order_updated\": null,\n                    \"created_at\": \"2025-05-29T22:06:32.000000Z\",\n                    \"updated_at\": \"2025-05-29T22:06:32.000000Z\",\n                    \"deleted_at\": null,\n                    \"product\": {\n                        \"id\": \"227eeedb-3ad4-4b0a-adda-a09f4ba803c8\",\n                        \"name\": \"compound example\",\n                        \"title\": \"compound example\",\n                        \"refills\": 1,\n                        \"metadata\": null,\n                        \"quantity\": \"2\",\n                        \"created_at\": \"2025-04-25T13:12:48.000000Z\",\n                        \"deleted_at\": null,\n                        \"directions\": \"abc\",\n                        \"updated_at\": \"2025-04-25T13:12:48.000000Z\",\n                        \"days_supply\": null,\n                        \"pharmacy_id\": null,\n                        \"clinician_id\": null,\n                        \"dispense_unit\": \"Packet\",\n                        \"pharmacy_name\": null,\n                        \"effective_date\": null,\n                        \"force_pharmacy\": false,\n                        \"pharmacy_notes\": \"Notes for the parmacy.\",\n                        \"dispense_unit_id\": 21,\n                        \"allow_substitutions\": true\n                    },\n                    \"product_id\": \"227eeedb-3ad4-4b0a-adda-a09f4ba803c8\",\n                    \"product_type\": \"App\\\\Models\\\\DosespotCompound\"\n                }\n            ],\n            \"case_questions\": [\n                {\n                    \"answer\": \"1\",\n                    \"case_question_id\": \"cb6958df-4f0d-4663-ac7d-30497e4ddf01\",\n                    \"display_in_pdf\": false,\n                    \"important\": true,\n                    \"is_critical\": true,\n                    \"question\": \"Rerum est excepturi quas iure eveniet accusantium. Tempora alias deleniti quia impedit voluptatem voluptatibus non. Molestiae natus amet eius tempora nesciunt corporis.\",\n                    \"type\": \"boolean\"\n                }\n            ],\n            \"diseases\": [\n                {\n                    \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\",\n                    \"icd\": \"A000\",\n                    \"description\": \"Cholera due to Vibrio cholerae 01, biovar cholerae\"\n                }\n            ],\n            \"case_status\": {\n                \"created_at\": \"2022-04-13T17:31:02.000000Z\",\n                \"name\": \"completed\",\n                \"reason\": null,\n                \"updated_at\": \"2022-04-13T17:31:02.000000Z\"\n            },\n            \"case_type\": \"follow-up\",\n            \"created_at\": \"2022-04-13T17:31:02.000000Z\",\n            \"is_chargeable\": true,\n            \"is_sync\": false,\n            \"metadata\": null\n        }\n    ],\n    \"first_page_url\": \"http://api.localhost:8000/v1/partner/patients/410af41d-e02b-4b54-a707-725141937ec8/cases?page=1\",\n    \"from\": 1,\n    \"last_page\": 2,\n    \"last_page_url\": \"http://api.localhost:8000/v1/partner/patients/410af41d-e02b-4b54-a707-725141937ec8/cases?page=2\",\n    \"links\": [\n        {\n            \"url\": null,\n            \"label\": \"&laquo; Previous\",\n            \"active\": false\n        },\n        {\n            \"url\": \"http://api.localhost:8000/v1/partner/patients/410af41d-e02b-4b54-a707-725141937ec8/cases?page=1\",\n            \"label\": \"1\",\n            \"active\": true\n        },\n        {\n            \"url\": \"http://api.localhost:8000/v1/partner/patients/410af41d-e02b-4b54-a707-725141937ec8/cases?page=2\",\n            \"label\": \"2\",\n            \"active\": false\n        },\n        {\n            \"url\": \"http://api.localhost:8000/v1/partner/patients/410af41d-e02b-4b54-a707-725141937ec8/cases?page=2\",\n            \"label\": \"Next &raquo;\",\n            \"active\": false\n        }\n    ],\n    \"next_page_url\": \"http://api.localhost:8000/v1/partner/patients/410af41d-e02b-4b54-a707-725141937ec8/cases?page=2\",\n    \"path\": \"http://api.localhost:8000/v1/partner/patients/410af41d-e02b-4b54-a707-725141937ec8/cases\",\n    \"per_page\": 50,\n    \"prev_page_url\": null,\n    \"to\": 50,\n    \"total\": 62\n}"}],"_postman_id":"f7f46fae-e61a-4532-9ef8-8074d6970057"}],"id":"907c5aae-2cd7-4e3c-b812-1cdc2817a788","_postman_id":"907c5aae-2cd7-4e3c-b812-1cdc2817a788","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Messages","item":[{"name":"Get Notification","id":"053e78b7-f3c9-4b4b-94c9-ecb2ebff9eeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/messages/notifications/:notification_id","description":"<p>Get the following logged partner information:</p>\n<ul>\n<li>Profile</li>\n<li>Address</li>\n</ul>\n","urlObject":{"path":["partner","messages","notifications",":notification_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"d4d38d34-9a65-40fa-bdd7-41196c06522d","type":"any","value":"3ef730ac-6484-47d0-a50c-6d2746035552","key":"notification_id"}]}},"response":[{"id":"821af3b8-4bc9-4d34-a18e-9f6fc4234a86","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/messages/notifications/:notification_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","messages","notifications",":notification_id"],"variable":[{"key":"notification_id","value":"3ef730ac-6484-47d0-a50c-6d2746035552"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"3ef730ac-6484-47d0-a50c-6d2746035552\",\n    \"partner_id\": \"cac7c958-7a95-4ffc-845f-f6d3c352c0b7\",\n    \"event\": \"patient_message_created\",\n    \"title\": \"New message from John Doe\",\n    \"preview\": \"Hi doctor I'm sending you a message\",\n    \"source_model_type\": \"App\\\\Models\\\\Message\",\n    \"source_model_id\": \"2d5b9e86-cb86-496b-92d1-2babaf06d544\",\n    \"notifier_model_type\": \"App\\\\Models\\\\Patient\",\n    \"notifier_model_id\": \"6336e2bc-f623-4608-9cc0-f84fb0dde20d\",\n    \"notified_model_type\": \"App\\\\Models\\\\InternalSupportStaff\",\n    \"notified_model_id\": null,\n    \"suggested_notified_model_type\": null,\n    \"suggested_notified_model_id\": null,\n    \"dismissed_at\": \"2025-01-31 10:40:42\",\n    \"dismissed_by_model_type\": null,\n    \"dismissed_by_model_id\": null,\n    \"expires_at\": null,\n    \"notify_at\": null,\n    \"metadata\": {\n        \"patient_id\": \"6336e2bc-f623-4608-9cc0-f84fb0dde20d\",\n        \"primary_clinician_id\": null,\n        \"recent_encounter_id\": null,\n        \"channel\": \"patient\"\n    },\n    \"created_at\": \"2025-01-31T10:38:20.000000Z\",\n    \"updated_at\": \"2025-01-31T10:40:42.000000Z\",\n    \"deleted_at\": null,\n    \"source\": {\n        \"id\": \"2d5b9e86-cb86-496b-92d1-2babaf06d544\",\n        \"patient_id\": \"6336e2bc-f623-4608-9cc0-f84fb0dde20d\",\n        \"channel\": \"patient\",\n        \"text\": \"Hi doctor I wanna see suggested from local env\",\n        \"user_type\": \"App\\\\Models\\\\Patient\",\n        \"user_id\": \"6336e2bc-f623-4608-9cc0-f84fb0dde20d\",\n        \"user_name\": \"John Doe\",\n        \"reference_message_id\": null,\n        \"replied_at\": null,\n        \"reply_message_id\": null,\n        \"dismissed_at\": null,\n        \"dismissed_by_user_type\": null,\n        \"dismissed_by_user_id\": null,\n        \"dismissed_by_user_name\": null,\n        \"on_behalf_user_type\": null,\n        \"on_behalf_user_id\": null,\n        \"on_behalf_user_name\": null,\n        \"emailed_at\": null,\n        \"created_at\": \"2025-01-31T10:38:19.000000Z\",\n        \"updated_at\": \"2025-01-31T10:38:19.000000Z\",\n        \"deleted_at\": null,\n        \"read_message_info\": null,\n        \"partner_id\": \"cac7c958-7a95-4ffc-845f-f6d3c352c0b7\",\n        \"recent_encounter_id\": null,\n        \"patient\": {\n            \"id\": \"6336e2bc-f623-4608-9cc0-f84fb0dde20d\",\n            \"first_name\": \"Renato\",\n            \"middle_name\": null,\n            \"last_name\": \"Doe\",\n            \"email\": \"john@mdintegrations.com\",\n            \"ssn\": null,\n            \"active\": true,\n            \"prefix\": null,\n            \"weight\": 72,\n            \"height\": 180,\n            \"blood_pressure\": null,\n            \"date_of_birth\": \"1990-01-01\",\n            \"gender\": 1,\n            \"gender_label\": \"Male\",\n            \"phone_number\": \"(401) 712-2640\",\n            \"phone_type\": \"2\",\n            \"address_id\": \"106240fc-eba9-414f-a11f-977dbd195b81\",\n            \"driver_license_id\": null,\n            \"allergies\": \"None\",\n            \"current_medications\": null,\n            \"medical_conditions\": \"None\",\n            \"pregnancy\": false,\n            \"partner_id\": \"cac7c958-7a95-4ffc-845f-f6d3c352c0b7\",\n            \"environment_id\": \"4ec4da44-4b57-4787-b8b8-ab5765b026dc\",\n            \"clinician_id\": null,\n            \"metadata\": null,\n            \"intro_video_file_id\": null,\n            \"recent_encounter_id\": null,\n            \"important_offering_case_id\": null,\n            \"created_at\": \"2024-12-13T16:27:57.000000Z\",\n            \"updated_at\": \"2025-01-31T10:09:18.000000Z\",\n            \"deleted_at\": null,\n            \"patient_id\": \"6336e2bc-f623-4608-9cc0-f84fb0dde20d\",\n            \"full_name\": \"John Doe\",\n            \"abbreviated_name\": \"John D.\",\n            \"is_live\": true,\n            \"intro_video_id\": null,\n            \"exam_id\": \"43135be2-bf60-4b89-a3d0-5e05b53c2159\",\n            \"dosespot\": {\n                \"dosespot_id\": null,\n                \"sync_status\": null,\n                \"synced_at\": null,\n                \"metadata\": null,\n                \"eligibilities\": []\n            },\n            \"metafields\": [],\n            \"environment\": {\n                \"id\": \"4ec4da44-4b57-4787-b8b8-ab5765b026dc\",\n                \"identifier\": \"live\",\n                \"created_at\": \"2024-11-13T13:41:02.000000Z\",\n                \"updated_at\": \"2024-11-13T13:41:02.000000Z\",\n                \"deleted_at\": null\n            }\n        },\n        \"readings\": []\n    },\n    \"notifier\": {\n        \"id\": \"6336e2bc-f623-4608-9cc0-f84fb0dde20d\",\n        \"first_name\": \"John\",\n        \"middle_name\": null,\n        \"last_name\": \"Doe\",\n        \"email\": \"john@mdintegrations.com\",\n        \"ssn\": null,\n        \"active\": true,\n        \"prefix\": null,\n        \"weight\": 72,\n        \"height\": 180,\n        \"blood_pressure\": null,\n        \"date_of_birth\": \"1990-01-01\",\n        \"gender\": 1,\n        \"gender_label\": \"Male\",\n        \"phone_number\": \"(401) 712-2640\",\n        \"phone_type\": \"2\",\n        \"address_id\": \"106240fc-eba9-414f-a11f-977dbd195b81\",\n        \"driver_license_id\": null,\n        \"allergies\": \"None\",\n        \"current_medications\": null,\n        \"medical_conditions\": \"None\",\n        \"pregnancy\": false,\n        \"partner_id\": \"cac7c958-7a95-4ffc-845f-f6d3c352c0b7\",\n        \"environment_id\": \"4ec4da44-4b57-4787-b8b8-ab5765b026dc\",\n        \"clinician_id\": null,\n        \"metadata\": null,\n        \"intro_video_file_id\": null,\n        \"recent_encounter_id\": null,\n        \"important_offering_case_id\": null,\n        \"created_at\": \"2024-12-13T16:27:57.000000Z\",\n        \"updated_at\": \"2025-01-31T10:09:18.000000Z\",\n        \"deleted_at\": null,\n        \"patient_id\": \"6336e2bc-f623-4608-9cc0-f84fb0dde20d\",\n        \"full_name\": \"John Doe\",\n        \"abbreviated_name\": \"John D.\",\n        \"is_live\": true,\n        \"intro_video_id\": null,\n        \"exam_id\": \"43135be2-bf60-4b89-a3d0-5e05b53c2159\",\n        \"dosespot\": {\n            \"dosespot_id\": null,\n            \"sync_status\": null,\n            \"synced_at\": null,\n            \"metadata\": null,\n            \"eligibilities\": []\n        },\n        \"metafields\": [],\n        \"environment\": {\n            \"id\": \"4ec4da44-4b57-4787-b8b8-ab5765b026dc\",\n            \"identifier\": \"live\",\n            \"created_at\": \"2024-11-13T13:41:02.000000Z\",\n            \"updated_at\": \"2024-11-13T13:41:02.000000Z\",\n            \"deleted_at\": null\n        }\n    },\n    \"notified\": null\n}"}],"_postman_id":"053e78b7-f3c9-4b4b-94c9-ecb2ebff9eeb"}],"id":"47786aab-3f6c-4bb7-8c3e-86e59fd8b215","_postman_id":"47786aab-3f6c-4bb7-8c3e-86e59fd8b215","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Files","item":[{"name":"Get file","id":"8efa0d2f-f532-4c7f-b6ee-fdd269557782","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/files/:file_id","description":"<p>Get information from a given file ID.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","files",":file_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"dab86cbd-161c-405b-af74-0d68935d2eb2","description":{"content":"<p>File ID</p>\n","type":"text/plain"},"type":"any","value":"8ebea5fa-a67d-4f2e-a085-a6fa68bc5797","key":"file_id"}]}},"response":[{"id":"48e7e191-e09d-4bb8-9150-6abd8f3a1b8e","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partners/files/:file_id","host":["https://api.mdintegrations.com/v1"],"path":["partners","files",":file_id"],"variable":[{"key":"file_id","value":"a601b835-11bd-407b-8522-1acfac7af50f","description":"File ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"file_id\": \"1fff9ac9-c896-4145-9ea3-cdc152e82f2f\",\n    \"path\": \"partners/PeLGM0MiFDW5zIfLOTvYwyGeGVvLvflNOnQMOZo9.png\",\n    \"name\": \"face - left side\",\n    \"mime_type\": \"image/png\",\n    \"type\": \"other\",\n    \"url\": \"http://api.mdintegrations.com/s3/files/a464c447-58d2-45b6-bccb-8b6f7860f121/file?signature=569bef84c4a7569d8ee08f973ef3d27aacc691288a081715f83208b3ea7d926f\",\n    \"url_thumbnail\": \"http://api.mdintegrations.com/s3/files/a464c447-58d2-45b6-bccb-8b6f7860f121/file?signature=569bef84c4a7569d8ee08f973ef3d27aacc691288a081715f83208b3ea7d926f&thumbnail=1\",\n    \"created_at\": \"2022-12-15T18:08:08.000000Z\"\n}"}],"_postman_id":"8efa0d2f-f532-4c7f-b6ee-fdd269557782"},{"name":"Delete file","id":"61363bdc-48a0-4cab-83d2-0778d0617340","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/files/:file_id","description":"<p>Delete a given file ID.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","files",":file_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"29c67ed6-ddf9-444e-8aff-6d9dcb716696","description":{"content":"<p>File ID</p>\n","type":"text/plain"},"type":"any","value":"f0180178-6355-4c25-8fb3-f9697e2cbd98","key":"file_id"}]}},"response":[{"id":"ad59da80-7c8c-40f8-8300-92b3ddb022ef","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/files/:file_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","files",":file_id"],"variable":[{"key":"file_id","value":"f0180178-6355-4c25-8fb3-f9697e2cbd98"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"61363bdc-48a0-4cab-83d2-0778d0617340"},{"name":"Create file","id":"197e17fc-edc2-4985-b1e9-73aed37ab944","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content","value":"multipart/form-data;","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"face - left side","description":"<p>File name * string(255)</p>\n","type":"text"},{"key":"file","description":"<p>File *  any type of file - max 25MB</p>\n","type":"file","src":"TFYBa4A-A/800px-Sunflower_from_Silesia2.jpg"},{"key":"type","value":"lab-result","description":"<p>File type  * string(255)</p>\n","type":"text"}]},"url":"https://api.mdintegrations.com/v1/partner/files","description":"<p>Upload a single file to MD Integrations using <strong>multipart/form-data</strong>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Type</strong></th>\n<th><strong>Maximum Size</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Images files</td>\n<td>25mb</td>\n</tr>\n<tr>\n<td>Video files</td>\n<td>140mb</td>\n</tr>\n<tr>\n<td>Other types</td>\n<td>16mb</td>\n</tr>\n</tbody>\n</table>\n</div><p>Accepted types:</p>\n<ul>\n<li><p>document</p>\n</li>\n<li><p>review</p>\n</li>\n<li><p>other</p>\n</li>\n<li><p>insurance-policy</p>\n</li>\n<li><p>contract</p>\n</li>\n<li><p>driver-license</p>\n</li>\n<li><p>lab-result</p>\n</li>\n<li><p>photo</p>\n</li>\n<li><p>av-video</p>\n</li>\n<li><p>full-body-photo</p>\n</li>\n<li><p>back-photo</p>\n</li>\n<li><p>face-photo</p>\n</li>\n<li><p>avatar-photo</p>\n</li>\n<li><p>ipledge-document</p>\n</li>\n<li><p>auth-form</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","files"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"a9b144bb-1bdf-41d9-8818-4c87606a4d52","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content","value":"multipart/form-data;","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/files"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"file_id\": \"1fff9ac9-c896-4145-9ea3-cdc152e82f2f\",\n    \"path\": \"partners/PeLGM0MiFDW5zIfLOTvYwyGeGVvLvflNOnQMOZo9.png\",\n    \"name\": \"face - left side\",\n    \"mime_type\": \"image/png\",\n    \"url\": \"http://api.mdintegrations.com/s3/files/a464c447-58d2-45b6-bccb-8b6f7860f121/file?signature=569bef84c4a7569d8ee08f973ef3d27aacc691288a081715f83208b3ea7d926f\",\n    \"url_thumbnail\": \"http://api.mdintegrations.com/s3/files/a464c447-58d2-45b6-bccb-8b6f7860f121/file?signature=569bef84c4a7569d8ee08f973ef3d27aacc691288a081715f83208b3ea7d926f&thumbnail=1\",\n    \"created_at\": \"2022-12-15T18:08:08.000000Z\"\n}"}],"_postman_id":"197e17fc-edc2-4985-b1e9-73aed37ab944"}],"id":"afcf9221-6e1d-4424-83b6-9bad315a9d2f","description":"<p>The files endpoints from MD Integrations allows you to easily upload, get and delete image files.</p>\n<p>If you want to <strong>attach files to cases</strong> or <strong>attach files to messages</strong>, first you will need to upload the file using <code>POST /partners/files</code> described in this section. After uploading a file, you will obtain the <code>file_id</code> information, which is the required information in order to attach files to cases or messages.</p>\n<h2 id=\"attach-files-to-cases\">Attach Files To Cases</h2>\n<p>Files can be attached to cases through <strong>Partners &gt; Cases &gt; Files</strong>.</p>\n<h2 id=\"attach-files-to-messages\">Attach Files To Messages</h2>\n<p>Files can be attached to messages through <strong>Partners &gt; Cases &gt; Messages</strong>.</p>\n<h2 id=\"response\">Response</h2>\n<p>The request response to upload a file contains the following information:</p>\n<ul>\n<li><code>file_id</code>: corresponding created file ID. This information is used to attach files to cases or messages;</li>\n<li><code>name</code>: file name;</li>\n<li><code>url</code>: URL from original file;</li>\n<li><code>url_thumbnail</code>: URL from thumbnail image with <strong>180x110px</strong>.</li>\n</ul>\n","_postman_id":"afcf9221-6e1d-4424-83b6-9bad315a9d2f","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Pharmacies","item":[{"name":"Get pharmacies","id":"300873ac-1d78-49af-80ab-c29a4ceb6a97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/pharmacies?name=Curexa","description":"<p>Search DoseSpot pharmacies according to a given query parameter. At least <strong>one</strong> query parameter is required. If no query parameter is provided, an error will be thrown.</p>\n<p>This API endpoint forwards the request to DoseSpot in order to search for pharmacies.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["v1","partner","pharmacies"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"city","value":"Cleveland"},{"disabled":true,"description":{"content":"<p>Two letter abbreviation of state</p>\n","type":"text/plain"},"key":"state","value":"OH"},{"disabled":true,"key":"zip","value":"12345"},{"disabled":true,"key":"address","value":"5th avenue"},{"disabled":true,"key":"phoneOrFax","value":"6099270390"},{"disabled":true,"description":{"content":"<p>1 - Mail Order;\n8 - Retail;\n16 - SpecialtyPharmacy;\n32 - LongTermCarePhamacy;\n64 - TwentyFourHourPhamacy;\n2048 - EPCS;</p>\n","type":"text/plain"},"key":"specialty[0]","value":"Retail"},{"disabled":true,"key":"specialty[1]","value":"16"},{"disabled":true,"description":{"content":"<p>National Council for Prescription Drug Programs Pharmacy ID</p>\n","type":"text/plain"},"key":"ncpdpID","value":"123456"},{"key":"name","value":"Curexa"}],"variable":[]}},"response":[{"id":"16ef5450-29ed-49a2-b6c0-e4f89d8a6793","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/pharmacies?name=Super","host":["https://api.mdintegrations.com/v1"],"path":["partner","pharmacies"],"query":[{"key":"name","value":"Super"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 232,\n        \"name\": \"BASHAS' UNITED DRUG 161\",\n        \"store_name\": \"BASHAS' UNITED DRUG 161\",\n        \"address1\": \"4940 S. GILBERT RD\",\n        \"address2\": \"\",\n        \"city\": \"CHANDLER\",\n        \"state\": \"AZ\",\n        \"zip_code\": \"85249\",\n        \"primary_phone\": \"4808832241\",\n        \"primary_phone_type\": 5,\n        \"primary_fax\": \"4808832243\",\n        \"phone_additional_1\": null,\n        \"phone_additional_type_1\": 0,\n        \"phone_additional_2\": null,\n        \"phone_additional_type_2\": 0,\n        \"phone_additional_3\": null,\n        \"phone_additional_type_3\": 0,\n        \"pharmacy_specialties\": [\n            \"Retail\",\n            \"EPCS\"\n        ],\n        \"service_level\": 3,\n        \"latitude\": 33.23492,\n        \"longitude\": -111.79107\n    }\n]"}],"_postman_id":"300873ac-1d78-49af-80ab-c29a4ceb6a97"},{"name":"Get pharmacy","id":"381dd9ef-67ff-4420-9268-5fd6851e62e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{partner_access_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/pharmacies/:pharmacy_id","description":"<p>Get DoseSpot pharmacy details from a given pharmacy ID.</p>\n<p>This API endpoint forwards the request to DoseSpot in order to retrieve the pharmacy details.</p>\n","urlObject":{"path":["v1","partner","pharmacies",":pharmacy_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"254681","key":"pharmacy_id"}]}},"response":[{"id":"c8abf703-32ad-4af9-b7d9-f00b4ba3b227","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/pharmacies/:pharmacy_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","pharmacies",":pharmacy_id"],"variable":[{"key":"pharmacy_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4812,\n    \"name\": \"CVS Pharmacy # 6167\",\n    \"store_name\": \"CVS Pharmacy # 6167\",\n    \"address1\": \"418 EAST MAIN STREET\",\n    \"address2\": \"\",\n    \"city\": \"ASHLAND\",\n    \"state\": \"OH\",\n    \"zip_code\": \"44805\",\n    \"primary_phone\": \"4192810053\",\n    \"primary_phone_type\": 5,\n    \"primary_fax\": \"4192818653\",\n    \"phone_additional_1\": null,\n    \"phone_additional_type_1\": 0,\n    \"phone_additional_2\": null,\n    \"phone_additional_type_2\": 0,\n    \"phone_additional_3\": null,\n    \"phone_additional_type_3\": 0,\n    \"pharmacy_specialties\": null,\n    \"service_level\": 3,\n    \"latitude\": 40.868019,\n    \"longitude\": -82.307227\n}"}],"_postman_id":"381dd9ef-67ff-4420-9268-5fd6851e62e5"},{"name":"Get Linked Pharmacies","id":"bf4dc9ed-123d-4b01-8a8b-d96c49df8fe1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/linked-pharmacies?page=1&per_page=100","description":"<p>It returns all linked pharmacies to partner.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["v1","partner","linked-pharmacies"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"100"}],"variable":[]}},"response":[{"id":"6b1dc622-2c3f-4a80-934c-291b866c40a9","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/linked-pharmacies?page=1&per_page=100","host":["https://api.mdintegrations.com"],"path":["v1","partner","linked-pharmacies"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"100"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"7b8ee7f9-235b-4089-bbb4-c5c15a5579f4\",\n            \"partner_id\": \"cb37721f-bce9-4e92-a7bf-047ca450f960\",\n            \"pharmacy_id\": 634572,\n            \"pharmacy_name\": \"Pharmacy Name\",\n            \"created_at\": \"2025-06-30T20:42:44.000000Z\",\n            \"updated_at\": \"2025-06-30T20:42:44.000000Z\",\n            \"deleted_at\": null\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://api.mdintegrations.com/partners/linked-pharmacies?page=1\",\n        \"last\": \"http://api.mdintegrations.com/partners/linked-pharmacies?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.mdintegrations.com/partners/linked-pharmacies?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://api.mdintegrations.com/partners/linked-pharmacies\",\n        \"per_page\": 100,\n        \"to\": 10,\n        \"total\": 10\n    }\n}"}],"_postman_id":"bf4dc9ed-123d-4b01-8a8b-d96c49df8fe1"}],"id":"25baee52-5ab7-4bea-8666-bcd6994a3900","description":"<p>Pharmacy routes</p>\n","_postman_id":"25baee52-5ab7-4bea-8666-bcd6994a3900","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Dispense Units","item":[{"name":"Get dispense units","id":"9639b0ba-7068-4c3f-b7cf-2b7c7b14f3ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/dispense-units","description":"<p>Get DoseSpot dispense units. You can search for dispenses units using the <code>name</code> query parameter.</p>\n<p>This API endpoint forwards the request to DoseSpot in order to retrieve dispense units.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","dispense-units"],"host":["https://api.mdintegrations.com/v1"],"query":[{"disabled":true,"description":{"content":"<p>Requires at least 3 letters</p>\n","type":"text/plain"},"key":"name","value":"box"}],"variable":[]}},"response":[{"id":"f67cf287-ae96-42c4-b755-01c610fc5711","name":"Success","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/dispense-units?name=box","host":["https://api.mdintegrations.com/v1"],"path":["partner","dispense-units"],"query":[{"key":"name","value":"box"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"dispense_unit_id\": 1,\n  \"name\": \"Capsule\",\n  \"abbreviation\": \"AV\",\n  \"singular\": \"Capsule\",\n  \"plural\": \"Capsules\",\n  \"singular_or_plural\": \"Capsule(s)\",\n  \"active\": true\n },\n {\n  \"dispense_unit_id\": 1,\n  \"name\": \"Capsule\",\n  \"abbreviation\": \"AV\",\n  \"singular\": \"Capsule\",\n  \"plural\": \"Capsules\",\n  \"singular_or_plural\": \"Capsule(s)\",\n  \"active\": true\n }\n]"}],"_postman_id":"9639b0ba-7068-4c3f-b7cf-2b7c7b14f3ab"}],"id":"eaada7e9-e6a9-4d61-8c80-ca508c174140","description":"<p>Dispense Unit routes</p>\n","_postman_id":"eaada7e9-e6a9-4d61-8c80-ca508c174140","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Vouchers","item":[{"name":"Get vouchers","id":"40f8e4c9-7492-4455-bdc8-35c1d6512a31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/vouchers/?expired=0","description":"<p>This endpoint returns all vouchers related to the filters passed on the request.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","vouchers",""],"host":["https://api.mdintegrations.com/v1"],"query":[{"key":"expired","value":"0"}],"variable":[]}},"response":[{"id":"53077035-9dd7-4ffe-936d-d3c295da0f70","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/vouchers/:voucher_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","vouchers",":voucher_id"],"variable":[{"key":"voucher_id","value":null}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"91c7bd33-6161-4112-96a3-f46c297689dc\",\n            \"partner_id\": \"34e883bd-df4d-4bf5-8252-d9e75ecc51f0\",\n            \"case_id\": null,\n            \"partner_questionnaire_id\": \"fa6d01b6-57ce-41cb-bf4f-3388a5fb1dac\",\n            \"environment_id\": \"38da4bf4-3843-4cc3-83d1-13130daffdbd\",\n            \"expires_at\": \"2024-12-12T18:00:00.000000Z\",\n            \"payload\": {\n                \"diseases\": [],\n                \"patient_id\": \"afe6cb7e-f21e-4c92-bfa6-39a8b24c3376\",\n                \"hold_status\": true,\n                \"offerings\": [\n                    {\n                        \"offering_id\": \"f7850441-c200-4673-aca9-4ee52e9fb6bf\",\n                        \"pharmacy_id\": 14,\n                        \"force_pharmacy\": true\n                    },\n                    {\n                        \"offering_id\": \"e09b0f66-d0db-4c0f-850c-2ba7e31d9fe7\",\n                        \"pharmacy_id\": 22,\n                        \"force_pharmacy\": true\n                    },\n                    {\n                        \"offering_id\": \"796ca3bb-19bc-477c-ba58-4016fe7943d5\"\n                    }\n                ],\n                \"environment_id\": \"74fa173c-9455-4e79-88e7-b1a668e83274\",\n                \"questionnaire_id\": \"d8bc8352-057e-495b-b5df-cdba45679860\",\n                \"patient_auth\": {\n                    \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI2Zjc5YWI3YS1hOTkwLTQ3YzYtOWExNy1kNWE2YjE2MzZlYTIiLCJqdGkiOiJmZTY5ZGRkYjgzNzExOGI1NDM3YWExMjk4MzEzNTg0MjBiMWE5NmEyOTYyZmFmZDY5YjI0YjdlM2NhZDc3NWM2ZjI3M2M4ODAxNmFhNDc0YyIsImlhdCI6MTcxODM3MjY4NS42NjMwNDMsIm5iZiI6MTcxODM3MjY4NS42NjMwNDQsImV4cCI6MTcxODQ1OTA4NS42NTIwNjQsInN1YiI6ImFmZTZjYjdlLWYyMWUtNGM5Mi1iZmE2LTM5YThiMjRjMzM3NiIsInNjb3BlcyI6WyIqIl19.HQn6VQkmjlDch3cpsnbD3BqCOF1cz_GilBTROwf2sKLnwF3VNvRTIwDb5xuHT_v7TgcHE5X5Ql_-k2VEo8udlz-MhwdypTziNDeyPPXJKi3bLo-TPJ-xbPsxNMNqb1hDtB6F4hu-ISGhO9ZAXnhl796STcdYtyzOZIx1ZnkDy8sxNtlxHO_Ba2YUC47dA5F0sXlnhjVviMhHyzCZEbOIPizw0cFgELNA74UsBo87IzMCQeMhrTthwwFAquW34ZpT0Xh9TrZloUzRc-dSJZXW5GtGY65E6iZhdoGfSKFJsppb-aTTZYrfEs-hnzpYSWrSsEVlesQxOJM3olEjXewoJAIo-huaNxwhe30eWYDZsYhcVik_yZUE1bBHI6vzaBmyQekLyKWxchq3S9agdtiVF3-wSg8OYbhA5yTTNvjvQsOFkju82Xh_YyeX2ENJ0hu_ht02Y-CwT1wcMWK7jHmnICizzQXzSRfdvvsjZ-5fbfoRue68mVQE6Puvto19elLvQ79jm6-EBKtW6VmdU08j3gDFBAXzHFonUQkObWNiwgWLfXiuxezOadgtM1326IMYqEQjHkO2LJO0cJlt_laYsPsBFOB9d1AEAvRxvtPkxFHWn8enqW6rCY9-AP7Ng798sGsKKiPNFNO_YyG9HOW551Nsy3LZTZSK-3DCni5Le0E\",\n                    \"refresh_token\": \"def5020071a0fd175489e8f54a3147822478d3b5124b0a2776b95a6166e2b5e0f31fcd7d232a9070f729e5aa3d06ea0a3638f04f712564cc30da7450a8851b9013bcadb3ccb8bdf95574504d5a82561c34505f35ce5d5cd85894b27399e235b01befe784e87ada858c8d1a3155c34e7dda3166d085051d1e4e37e4dd7cff6073ec0946f8c500c21095390a298a7c9b58b8f5ca1f851fcc48511d285be83ae9b592bcbf30b410c8a388af9e5026c704e54dbe6908ec8064beb5b0eae99879692837b741a0b68bb7e91cad5497612494ee8fe0dc817f5465a5bf20adb5c0426ee2135586ac311c59466858cf2147364814ae2a31c2e94c48dd3fa296974d320a6ecbd0951f329c42703e43b8e65ca29e0558f71cf23cf373215fa8b805cfa1b8403c79b1ed0c59f0edc8a09e9cbd9e567b222266861eef010adb7912b7b5c11b30d4d42eaca945fa14cea5331fbeb6d7a5339b7bfb2af730f86d62449ba182a82333b06b262f8b8da0fc82b452574ee3050891e85ebcc4ea63ba42b4e12b4d826a19535642eb685187a60957171f70de2a6ef7e60562fb28f097b40e0100ee8603f0dd9e60ccb0252086e97baa\",\n                    \"expires_in\": 86400,\n                    \"token_type\": \"Bearer\"\n                }\n            },\n            \"demo\": true,\n            \"pharmacy_id\": null,\n            \"pharmacy_name\": null,\n            \"metadata\": null,\n            \"created_at\": \"2024-06-14T13:43:09.000000Z\",\n            \"updated_at\": \"2024-06-14T13:43:09.000000Z\",\n            \"deleted_at\": null,\n            \"partner_voucher_id\": \"91c7bd33-6161-4112-96a3-f46c297689dc\",\n            \"expired\": false,\n            \"is_expired\": false,\n            \"onboarding_url\": \"https://patient.mdintegrations.dev/?token=91c7bd33-6161-4112-96a3-f46c297689dc\",\n            \"patient\": {\n                \"patient_id\": \"afe6cb7e-f21e-4c92-bfa6-39a8b24c3376\",\n                \"partner_id\": \"34e883bd-df4d-4bf5-8252-d9e75ecc51f0\",\n                \"prefix\": null,\n                \"first_name\": \"Shop\",\n                \"last_name\": \"test 006\",\n                \"metadata\": \"{\\\"shopify-orders_create\\\":{\\\"customer_id\\\":64726461973}}\",\n                \"email\": \"shop+test+006@example.com\",\n                \"weight\": null,\n                \"height\": null,\n                \"date_of_birth\": \"1986-01-01\",\n                \"gender\": 1,\n                \"gender_label\": \"Male\",\n                \"active\": true,\n                \"phone_number\": \"\",\n                \"phone_type\": \"2\",\n                \"current_medications\": null,\n                \"medical_conditions\": null,\n                \"allergies\": null,\n                \"pregnancy\": false,\n                \"ssn\": null,\n                \"created_at\": \"2024-04-18T21:20:46.000000Z\",\n                \"is_live\": true,\n                \"exam_id\": null,\n                \"recent_encounter_id\": null,\n                \"important_offering_case_id\": null,\n                \"clinician_id\": null,\n                \"dosespot\": {\n                    \"dosespot_id\": null,\n                    \"sync_status\": null,\n                    \"synced_at\": null,\n                    \"metadata\": null,\n                    \"eligibilities\": []\n                },\n                \"partner\": {\n                    \"partner_id\": \"34e883bd-df4d-4bf5-8252-d9e75ecc51f0\",\n                    \"name\": \"Partner Name\",\n                    \"support_message_capability\": \"integrated\",\n                    \"patient_message_capability\": \"integrated\",\n                    \"provides_medications\": true,\n                    \"partner_notes\": \"Partner Notes\",\n                    \"operations_support_email\": \"example@example.com\",\n                    \"customer_support_email\": \"support@customer.example\",\n                    \"operation_country\": {\n                        \"country_id\": \"9856b3f5-b4e2-4bb1-bae9-f0f630d6a5fa\",\n                        \"name\": \"Canada\",\n                        \"abbreviation\": \"US\"\n                    },\n                    \"can_unlock_phi\": false,\n                    \"enable_av_flow\": false,\n                    \"enable_icd_bmi\": false,\n                    \"enable_auto_reassignment\": true,\n                    \"enable_automatic_sync_flow\": true,\n                    \"force_hold_status\": false,\n                    \"business_model\": \"regular\",\n                    \"customization\": {\n                        \"primary_color\": \"#5899c7\",\n                        \"secondary_color\": \"#5899c7\",\n                        \"background_color\": \"#5899c7\"\n                    },\n                    \"thank_you_note_header\": \"Thank You Note Header\",\n                    \"thank_you_note_footer\": \"Thank You Note Footer\",\n                    \"vouched_integration_type\": \"disabled\",\n                    \"vouched_integration_charge\": \"0.10\",\n                    \"text_message_integration_type\": \"automatic\",\n                    \"text_message_integration_charge\": \"0.10\",\n                    \"slack_channel_id\": null,\n                    \"shopify_id\": \"65fa0ae1-e219-402b-81a5-ef910cea2f\",\n                    \"shopify_url\": \"test.myshopify.com\",\n                    \"is_shopify_active\": true,\n                    \"custom_theme\": null,\n                    \"custom_style\": null\n                },\n                \"driver_license\": null,\n                \"address\": {\n                    \"address\": \"Streeterville\",\n                    \"address2\": null,\n                    \"address_id\": \"4ebd6f99-67f8-48ac-80fa-36272ae22239\",\n                    \"zip_code\": \"60611\",\n                    \"city_name\": \"Chicago\",\n                    \"state\": {\n                        \"name\": \"Illinois\",\n                        \"abbreviation\": \"IL\",\n                        \"state_id\": \"8f39bf0d-614b-4fb3-90fe-0229e68882bc\",\n                        \"is_sync\": false,\n                        \"country\": {\n                            \"country_id\": \"39a4c803-7b39-49d6-8540-041e65f6ddcf\",\n                            \"name\": \"United States of America\",\n                            \"abbreviation\": \"US\"\n                        },\n                        \"is_av_flow\": false\n                    }\n                },\n                \"intro_video\": null,\n                \"patient_auth\": {\n                    \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI2Zjc5YWI3YS1hOTkwLTQ3YzYtOWExNy1kNWE2YjE2MzZlYTIiLCJqdGkiOiIwNjdiZTU3YjA4YmJjM2MwMzA1MTAwZDQ0OWNiZTI3ZWRiYjFmZmQ0YjE0NzFhZDE5ZGEzMzExNDNmZGFiOTE1MmU4MmI3NjE4NjhmYjhhMiIsImlhdCI6MTcxODM3MjY4Ny4wMTI4NzgsIm5iZiI6MTcxODM3MjY4Ny4wMTI4NzksImV4cCI6MTcxODQ1OTA4Ny4wMTExNDgsInN1YiI6ImFmZTZjYjdlLWYyMWUtNGM5Mi1iZmE2LTM5YThiMjRjMzM3NiIsInNjb3BlcyI6WyIqIl19.bUuUgkoq9sdFCyXKR0AM9--2NOYNnm8AK5v8iJHC4WeOkR4ufsoZPF_QnMjF7NDPn_ny7TBc-I9ifuif_ewsRmzkIB5-tr0Aig-wW5wepqfTSrNCKDXuNjWYaiFUjQHFMBOYstj6gDIU1XSTA0YwoRsGDkr8Dk8p35bHFVHyjtQxU31CIaPOS96pia7tov_3NPCdroCrZUTAi6-l-EzSq7XCnuXcDGJ2ngZJAeSKXraqNShtOsfKoGGvv8pLzQfoi3SgdudRh4jBVDENAdmppAqkP74h3zp4cW9Jh1gIGQU0o72MmjDSem2aWyqpwtxoQejt39-rKR3_EtXsuoDh7m1V_ezAqimaN__TMAgvQGCG_RF9g7yoHhPtIoqfrTxcHTtSld6YspItIpLfeBv1SwBAmR3V32iWdCFmlZ5JmeLWqA0IwuVb-w4E-4fagFSMoIcJzhzw4RL7HM9iMd0c3vbDkY-uXTrJPI4P_XhBDgq1JsywX3Doxpt19j0s-Lv9CWtrtOcSOPeTPFHRKYZUtVdvKIklQDk-7GrA4rdKTaf4qBUGtp6XMbuwCUAvyw-uAbmeHKyu5z5k0w5UWjeWPPrMiUYUzPK9l1md0SQbTC-lrAkGEki30crlZdP1_4tidw1hoYhYE8qL5FTAF9WwQ0qiM9OGx4bQ7jugPpMRfpw\",\n                    \"refresh_token\": \"def50200d225a45d19f07c5b1ed519b57c603f4d550dae9c45c040a6e4deb52a90d26a10056bcd27dd2339c46bd628c74efa9a5edc60c0e5ceab6f3a05d718df499e73b051814bd49dd4a9ff5dc9621c5774ffedb032ece92676b80d22dcc6b24b6d4df839162ba5d3ad293180da49558f05f213ba8e7ea0d9b0b5d8ec254b61c3d7687c3e1fbedb4223f9e2608395f8c48f64686ca6a95b6af5100ef322aa447ab7c1d0af81a9174f8e2cbd89315f9db2e8b7555b49b09f0c3a2868fc05f54cccf3d89caeec5864d991b5e0248252f83dea124df0d8bdf119ab64ad16351112e22ef9ccd85043f6d12cbccb9f0d8f309fb0ccb70658e4ebc706f972e0e777b5427cfaecd84790ea895a6025b5faeaf123fb43b2c711052a3cb155d733c458703ffaf5200ea4dae45cafc5b2767ce84788ade148506cd9840b304aa70bf3acfa78ffa8935bb4ea309fa2ee1d5fa5a357e61804e7732e6ed4f52f6d06d236b48a44bfe8888f721eb5c784af48ca6637f5aa0563b74dfd8e3c81f72b6ed0a51ec7053c4e0694605681f165872e80232a99c5e9c17575a99bdc2ee9adf0a173e72708716c2d521811b454b29761\",\n                    \"expires_in\": 86400,\n                    \"token_type\": \"Bearer\"\n                }\n            }\n        }\n         ],\n    \"links\": {\n        \"first\": \"http://api.mdintegrations.com/api/partners/34e883bd-df4d-4bf5-8252-d9e75ecc51f0/vouchers?page=1\",\n        \"last\": \"http://api.mdintegrations.com/api/partners/34e883bd-df4d-4bf5-8252-d9e75ecc51f0/vouchers?page=2\",\n        \"prev\": null,\n        \"next\": \"http://api.mdintegrations.com/api/partners/34e883bd-df4d-4bf5-8252-d9e75ecc51f0/vouchers?page=2\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 2,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.mdintegrations.com/api/partners/34e883bd-df4d-4bf5-8252-d9e75ecc51f0/vouchers?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": \"http://api.mdintegrations.com/api/partners/34e883bd-df4d-4bf5-8252-d9e75ecc51f0/vouchers?page=2\",\n                \"label\": \"2\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.mdintegrations.com/api/partners/34e883bd-df4d-4bf5-8252-d9e75ecc51f0/vouchers?page=2\",\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://api.mdintegrations.com/api/partners/34e883bd-df4d-4bf5-8252-d9e75ecc51f0/vouchers\",\n        \"per_page\": 15,\n        \"to\": 15,\n        \"total\": 26\n    }\n}"}],"_postman_id":"40f8e4c9-7492-4455-bdc8-35c1d6512a31"},{"name":"Get voucher","id":"c981da9c-d976-4e8d-a81f-850f9d4557a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/vouchers/:voucher_id","description":"<p>Return voucher data for a voucher ID.</p>\n<p>You may find additional details on embedding at <a href=\"https://galactic-shadow-134413.postman.co/workspace/MD-Integrations~0bf566d7-bf01-4290-ab8e-1f3cf71a8da6/request/14212272-98004812-41bd-4771-915e-180ec888d420?action=share&amp;source=copy-link&amp;creator=14212272&amp;ctx=documentation\">this</a> documentation.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","vouchers",":voucher_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"type":"any","value":null,"key":"voucher_id"}]}},"response":[{"id":"28a26165-8d79-4b04-8f43-3517db1076df","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/vouchers/:voucher_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","vouchers",":voucher_id"],"variable":[{"key":"voucher_id","value":null}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","enabled":true,"type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"partner_voucher_id\": \"a4d58fd0-2e64-4c9a-955a-a5fcc01584c1\",\n    \"onboarding_url\": \"https://patient.mdintegrations.dev/?token=91c7bd33-6161-4112-96a3-f46c297689dc\",\n    \"expires_at\": \"2022-08-16 15:57:09\",\n    \"expired\": false,\n    \"case_id\": null,\n    \"partner_questionnaire_id\": \"fa6d01b6-57ce-41cb-bf4f-3388a5fb1dac\",\n    \"environment_id\": \"38da4bf4-3843-4cc3-83d1-13130daffdbd\",\n    \"metadata\": null,\n    \"pharmacy_id\": null,\n    \"pharmacy_name\": null,\n    \"partner\": {\n        \"partner_id\": \"33778db3-8707-4628-81af-4c6451f9f0b6\",\n        \"name\": \"Partner Name\",\n        \"customer_support_email\": \"customersupportexample@partnermail.com\",\n        \"business_model\": \"regular\",\n        \"enable_av_flow\": true,\n        \"slack_channel_id\": \"C05QP6YD8K0\",\n        \"operation_country\": {\n            \"country_id\": \"1c62d5bd-83f0-4f80-b478-0c9471190248\",\n            \"name\": \"United States of America\",\n            \"abbreviation\": \"US\"\n        },\n        \"image\": {\n            \"path\": \"partners/3153a221-71a4-47d1-bcaa-bd1c932ede96.jpeg\",\n            \"name\": \"Flag-United-States-of-America.jpeg\",\n            \"mime_type\": \"image/jpeg\",\n            \"url\": \"http://api.mdintegrations.com/v1/files/784595d0-3aec-4ea0-bb80-d5ab3a722f71/redirect\",\n            \"url_thumbnail\": \"http://api.mdintegrations.com/v1/files/784595d0-3aec-4ea0-bb80-d5ab3a722f71/redirect?thumbnail=1\",\n            \"file_id\": \"784595d0-3aec-4ea0-bb80-d5ab3a722f71\"\n        },\n        \"customization\": {\n            \"primary_color\": \"#000000\",\n            \"secondary_color\": \"#000000\",\n            \"background_color\": \"#000000\",\n            \"decoration_image\": {\n                \"path\": \"partners/818f5ff4-4d75-4735-993b-cc75571e5612.jpeg\",\n                \"name\": \"IMG_1039_Original.JPG\",\n                \"mime_type\": \"image/jpeg\",\n                \"url\": \"http://api.mdintegrations.com/v1/files/8ac37c45-daa5-4189-a975-9872f56c5436/redirect\",\n                \"url_thumbnail\": \"http://api.mdintegrations.com/v1/files/8ac37c45-daa5-4189-a975-9872f56c5436/redirect?thumbnail=1\",\n                \"file_id\": \"8ac37c45-daa5-4189-a975-9872f56c5436\"\n            }\n        }\n    },\n    \"payload\": {\n        \"hold_status\": true,\n        \"patient_id\": \"cddc3d5f-2d86-4e0e-965c-967a20573bde\",\n        \"offerings\": [\n            {\n                \"offering_id\": \"f7850441-c200-4673-aca9-4ee52e9fb6bf\",\n                \"product\": {\n                    \"pharmacy_id\": 14,\n                    \"force_pharmacy\": true\n                }\n            },\n            {\n                \"offering_id\": \"e09b0f66-d0db-4c0f-850c-2ba7e31d9fe7\",\n                \"product\": {\n                    \"pharmacy_id\": 22,\n                    \"force_pharmacy\": true\n                }\n            },\n            {\n                \"offering_id\": \"796ca3bb-19bc-477c-ba58-4016fe7943d5\"\n            }\n        ],\n        \"questionnaire_id\": \"cddc3d5f-2d86-4e0e-965c-373201ba0fd2\",\n        \"diseases\": [\n            {\n                \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\"\n            }\n        ],\n        \"patient_auth\": {\n            \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI3NmUwMWM0My1lNWNlLTRlNzktYjE1Zi1iZjM5Yzc3ZjNhNzciLCJqdGkiOiIzNTM5YWRjNDU4NDhjNWY1NzI3Y2FhZjNlYjhlNjc0YzRhNzUxNDAzMWZlMTNlYmI2NjIzNjIxM2Y4YjRkNTE5YjVhOTY2MDIyYmRkMWZkMCIsImlhdCI6MTY3ODMxMDEzMi4xNjgzMDYsIm5iZiI6MTY3ODMxMDEzMi4xNjgzMSwiZXhwIjoxNjc4Mzk2NTMyLjE2NTE5NCwic3ViIjoiZmQ3ZDQwM2YtZTg1Zi00YWM3LTk1ODYtNWYyMjliNzk4NzVhIiwic2NvcGVzIjpbIioiXX0.xp_aeSBqMKBWmSJUuRQZp_Tk6Swh507y6RhZVs0a2fiV8uFnnP2ZJ-e5Ftcz0bTaKCXPSzRt2mjkrdd19_g200DZiP19B1MS1P25VXVYWpi_nsPgRJRgNc3-pW8PPYB0QShCrErnI-xGCj99AEnu-ZM6pEdoSYHtmMKQFecDpz075k721oMiq6sZYJsHF8XcTFKo8swwO89hRnUc8NZ1Iy_Iclew1EG2eH1QReIEsm7vtU2zSWo75uWKLoTC45_JxfjT4bEcMernuTBvyNIIH_fTb4-xwaAQzmX2BzfQOsolFKFJsevVJx1YX9PhZHsUjRsahSNRwhfRQKp6uHN_c7ThZVHNspk5T0tqMPA0UDhlPFayOktFdlED8cD1jn_DzicOye9t14pZJXHa4uQQFPANXSpd_w1ovxvzDVQI_-zGkIhnW0AUio_XmGGGx09kNoFGvVheFXGTtSFEeFsesfgA8cv4xfD98wsYa3NhBVov7VZHnmUKDmJ_Mns0NCf4LWfxBHrmHq_XdQ5-CJ5K-U68i-C-wASEafeA5ZX14TNbLghyB1DsXoISDKsUln20cf0o45grXbWQNiHdTHvl-n0Wrk2aNAbLvEFvh2ptuZa4Kco3fJbjoTb-HtIPkhHKIYpi0nEjFgCMXvHTP6tZ6s8R70hsSsxaT9IQ-xi-5UM\",\n            \"refresh_token\": \"def5020022a29e6c2b059e8b0ce19de28915d00f1a27fe82fec414406935044166611e2240eb8c31f988efd4c960826bb1968511cb9aa5c2cd02b10ee7ec7bd87639083f24e591450d05bfb4668575016c53f8264fdece9471c1f9483ff7f4ca0d4ea3377afe25766958deb5e82e34961593a92ba68d85b84a1f3e0db2da813b1079875eb5c407c5cd898177b8ab79ab1c7bd45f5eaafc2fda2a92da4df26b5cf7a09983b18fccde4dcab8e075648562792a936c143de35177960ca99d26d77b81f3f363c8630d38d72b1a1cbf390999b7e22ff5816a4c81e4e8af33719b75439d9e25640b8bb33252971f57ffb353195c54dd3f51c35f34908a7831567ed849e46a88c5b86cdf7db760c42c1119726c12707660af82c4799b596462683c8b93aaf028e1879a40577efc9ef22ec8b06ed3e19fb30bc83a47cfc0a6071571f0357bd8265cb1cab9ad3a5caf23b88e6db1a2f2f91ba35b313f52702f0530be2c9ca0233f16255e3123bb1089eb185a6eb42308b6205df8ce471bb81122bc87e0fcf5788d68a5fb0feeccfd985ab6142cdad081a0975a4de4e180248fc38ebe68ce7e14d7d748bb76b648f3ad49\",\n            \"expires_in\": 86400,\n            \"token_type\": \"Bearer\"\n        }\n    }\n}"}],"_postman_id":"c981da9c-d976-4e8d-a81f-850f9d4557a4"},{"name":"Create voucher","id":"dc1a9c28-a32f-4171-8729-df7a75fac7f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"demo\": true,\n    \"hold_status\": true,\n    \"expires_at\": \"2024-12-12 18:00\",\n    \"patient_id\": \"492c6b42-9f31-45fa-83c1-f9b83c6fd87b\",\n    \"offerings\": [\n        {\n            \"id\": \"e09b0f66-d0db-4c0f-850c-2ba7e31d9fe7\",\n            \"product\": {\n                \"pharmacy_id\": 123,\n                \"force_pharmacy\": false\n            }\n        }\n    ],\n    \"diseases\": [\n        {\n            \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\"\n        }\n    ],\n    \"pharmacy_id\": null\n}"},"url":"https://api.mdintegrations.com/v1/partner/vouchers","description":"<p>Creates a new voucher.</p>\n<h2 id=\"payload\">Payload</h2>\n<p><strong>Important</strong>: when creating a voucher you can specify the medications, compounds and services to be used.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>questionnaire_id</strong></td>\n<td><strong>uuid</strong>*</td>\n<td>Partner Questionnaire ID. It can be found on your company's dashboard or using <strong>Patient App &gt; Questionnaires &gt; List questionnaires</strong></td>\n</tr>\n<tr>\n<td>patient_id</td>\n<td>uuid</td>\n<td>Patient ID.</td>\n</tr>\n<tr>\n<td>hold_status</td>\n<td>boolean</td>\n<td>Flag to hold the status to not enter into the MDI flow. It will be <strong>false</strong> by default.</td>\n</tr>\n<tr>\n<td>demo</td>\n<td>boolean</td>\n<td>Demo vouchers will not create any patient or cases and will not expire. Default <code>false</code></td>\n</tr>\n<tr>\n<td>expires_at</td>\n<td>datetime</td>\n<td>If not passed then the default will be a month ahead.</td>\n</tr>\n<tr>\n<td>offerings</td>\n<td>array</td>\n<td>It can be empty</td>\n</tr>\n<tr>\n<td>offerings**.*.**id</td>\n<td>uuid*</td>\n<td>The offering ID. Check <strong>Partners &gt; Offerings</strong> to get an <code>offering_id</code> for a given offering. Required if is present.</td>\n</tr>\n<tr>\n<td>offerings.*.product</td>\n<td>object</td>\n<td>Contains fields that are specific to each offering type, such as pharmacy_id or force_pharmacy.</td>\n</tr>\n<tr>\n<td>offerings.*.product.pharmacy_id</td>\n<td>integer*</td>\n<td>The pharmacy id you would like to use for the specific offering. Only applies to Dosespot offerings.</td>\n</tr>\n<tr>\n<td>offerings.*.product.force_pharmacy</td>\n<td>boolean*</td>\n<td>Determines whether we should apply the selected pharmacy_id (from payload or offering) regardless if user selects a different pharmacy on the intake form. Only applies to Dosespot offerings.</td>\n</tr>\n<tr>\n<td>diseases</td>\n<td>array</td>\n<td>it can be empty or null.</td>\n</tr>\n<tr>\n<td>diseases.*.disease_id</td>\n<td>uuid</td>\n<td>Disease ID. It can be found on your company's dashboard or through the diseases endpoint. Nullable.</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string (255)</td>\n<td>Metadata value. It can be empty or null.</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n<td>he Dosespot Pharmacy ID.  <br />  <br />Check <strong>Partners</strong> &gt; <strong>Pharmacies</strong> &gt; <strong>Get pharmacies</strong> to get a list of all pharmacies available.</td>\n</tr>\n</tbody>\n</table>\n</div><p>You may find additional details on embedding <a href=\"https://documenter.getpostman.com/view/14212272/2s8Yt1r9B8#9170cf8f-851d-466d-9202-0139a532c18f\">here</a>.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","vouchers"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"634f5d82-2c0f-45f4-95da-55a8ed212bec","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/vouchers"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","enabled":true,"type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"partner_voucher_id\": \"a4d58fd0-2e64-4c9a-955a-a5fcc01584c1\",\n    \"onboarding_url\": \"https://patient.mdintegrations.dev/?token=91c7bd33-6161-4112-96a3-f46c297689dc\",\n    \"expires_at\": \"2022-08-16 15:57:09\",\n    \"expired\": false,\n    \"demo\": true,\n    \"case_id\": null,\n    \"partner_questionnaire_id\": \"fa6d01b6-57ce-41cb-bf4f-3388a5fb1dac\",\n    \"environment_id\": \"38da4bf4-3843-4cc3-83d1-13130daffdbd\",\n    \"metadata\": null,\n    \"partner\": {\n        \"partner_id\": \"33778db3-8707-4628-81af-4c6451f9f0b6\",\n        \"name\": \"Partner Name\",\n        \"customer_support_email\": \"customersupportexample@partnermail.com\",\n        \"business_model\": \"regular\",\n        \"enable_av_flow\": true,\n        \"slack_channel_id\": \"C05QP6YD8K0\",\n        \"operation_country\": {\n            \"country_id\": \"1c62d5bd-83f0-4f80-b478-0c9471190248\",\n            \"name\": \"United States of America\",\n            \"abbreviation\": \"US\"\n        },\n        \"image\": {\n            \"path\": \"partners/3153a221-71a4-47d1-bcaa-bd1c932ede96.jpeg\",\n            \"name\": \"Flag-United-States-of-America.jpeg\",\n            \"mime_type\": \"image/jpeg\",\n            \"url\": \"http://api.mdintegrations.com/v1/files/784595d0-3aec-4ea0-bb80-d5ab3a722f71/redirect\",\n            \"url_thumbnail\": \"http://api.mdintegrations.com/v1/files/784595d0-3aec-4ea0-bb80-d5ab3a722f71/redirect?thumbnail=1\",\n            \"file_id\": \"784595d0-3aec-4ea0-bb80-d5ab3a722f71\"\n        },\n        \"customization\": {\n            \"primary_color\": \"#000000\",\n            \"secondary_color\": \"#000000\",\n            \"background_color\": \"#000000\",\n            \"decoration_image\": {\n                \"path\": \"partners/818f5ff4-4d75-4735-993b-cc75571e5612.jpeg\",\n                \"name\": \"IMG_1039_Original.JPG\",\n                \"mime_type\": \"image/jpeg\",\n                \"url\": \"http://api.mdintegrations.com/v1/files/8ac37c45-daa5-4189-a975-9872f56c5436/redirect\",\n                \"url_thumbnail\": \"http://api.mdintegrations.com/v1/files/8ac37c45-daa5-4189-a975-9872f56c5436/redirect?thumbnail=1\",\n                \"file_id\": \"8ac37c45-daa5-4189-a975-9872f56c5436\"\n            }\n        }\n    },\n    \"payload\": {\n        \"hold_status\": true,\n        \"patient_id\": \"cddc3d5f-2d86-4e0e-965c-373201ba0fd2\",\n        \"questionnaire_id\": \"cddc3d5f-2d86-4e0e-965c-373201ba0fd2\",\n        \"environment_id\": \"314b0cbe-0e35-4049-b27d-8eee486e03b4\",\n        \"offerings\": [\n            {\n                \"offering_id\": \"f7850441-c200-4673-aca9-4ee52e9fb6bf\",\n                \"product\": {\n                    \"pharmacy_id\": 14,\n                    \"force_pharmacy\": true\n                }\n            },\n            {\n                \"offering_id\": \"e09b0f66-d0db-4c0f-850c-2ba7e31d9fe7\",\n                \"product\": {\n                    \"pharmacy_id\": 22,\n                    \"force_pharmacy\": true\n                }\n            },\n            {\n                \"offering_id\": \"796ca3bb-19bc-477c-ba58-4016fe7943d5\"\n            }\n        ],\n        \"diseases\": [\n            {\n                \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\"\n            }\n        ],\n        \"patient_auth\": {\n            \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI3NmUwMWM0My1lNWNlLTRlNzktYjE1Zi1iZjM5Yzc3ZjNhNzciLCJqdGkiOiIzNTM5YWRjNDU4NDhjNWY1NzI3Y2FhZjNlYjhlNjc0YzRhNzUxNDAzMWZlMTNlYmI2NjIzNjIxM2Y4YjRkNTE5YjVhOTY2MDIyYmRkMWZkMCIsImlhdCI6MTY3ODMxMDEzMi4xNjgzMDYsIm5iZiI6MTY3ODMxMDEzMi4xNjgzMSwiZXhwIjoxNjc4Mzk2NTMyLjE2NTE5NCwic3ViIjoiZmQ3ZDQwM2YtZTg1Zi00YWM3LTk1ODYtNWYyMjliNzk4NzVhIiwic2NvcGVzIjpbIioiXX0.xp_aeSBqMKBWmSJUuRQZp_Tk6Swh507y6RhZVs0a2fiV8uFnnP2ZJ-e5Ftcz0bTaKCXPSzRt2mjkrdd19_g200DZiP19B1MS1P25VXVYWpi_nsPgRJRgNc3-pW8PPYB0QShCrErnI-xGCj99AEnu-ZM6pEdoSYHtmMKQFecDpz075k721oMiq6sZYJsHF8XcTFKo8swwO89hRnUc8NZ1Iy_Iclew1EG2eH1QReIEsm7vtU2zSWo75uWKLoTC45_JxfjT4bEcMernuTBvyNIIH_fTb4-xwaAQzmX2BzfQOsolFKFJsevVJx1YX9PhZHsUjRsahSNRwhfRQKp6uHN_c7ThZVHNspk5T0tqMPA0UDhlPFayOktFdlED8cD1jn_DzicOye9t14pZJXHa4uQQFPANXSpd_w1ovxvzDVQI_-zGkIhnW0AUio_XmGGGx09kNoFGvVheFXGTtSFEeFsesfgA8cv4xfD98wsYa3NhBVov7VZHnmUKDmJ_Mns0NCf4LWfxBHrmHq_XdQ5-CJ5K-U68i-C-wASEafeA5ZX14TNbLghyB1DsXoISDKsUln20cf0o45grXbWQNiHdTHvl-n0Wrk2aNAbLvEFvh2ptuZa4Kco3fJbjoTb-HtIPkhHKIYpi0nEjFgCMXvHTP6tZ6s8R70hsSsxaT9IQ-xi-5UM\",\n            \"refresh_token\": \"def5020022a29e6c2b059e8b0ce19de28915d00f1a27fe82fec414406935044166611e2240eb8c31f988efd4c960826bb1968511cb9aa5c2cd02b10ee7ec7bd87639083f24e591450d05bfb4668575016c53f8264fdece9471c1f9483ff7f4ca0d4ea3377afe25766958deb5e82e34961593a92ba68d85b84a1f3e0db2da813b1079875eb5c407c5cd898177b8ab79ab1c7bd45f5eaafc2fda2a92da4df26b5cf7a09983b18fccde4dcab8e075648562792a936c143de35177960ca99d26d77b81f3f363c8630d38d72b1a1cbf390999b7e22ff5816a4c81e4e8af33719b75439d9e25640b8bb33252971f57ffb353195c54dd3f51c35f34908a7831567ed849e46a88c5b86cdf7db760c42c1119726c12707660af82c4799b596462683c8b93aaf028e1879a40577efc9ef22ec8b06ed3e19fb30bc83a47cfc0a6071571f0357bd8265cb1cab9ad3a5caf23b88e6db1a2f2f91ba35b313f52702f0530be2c9ca0233f16255e3123bb1089eb185a6eb42308b6205df8ce471bb81122bc87e0fcf5788d68a5fb0feeccfd985ab6142cdad081a0975a4de4e180248fc38ebe68ce7e14d7d748bb76b648f3ad49\",\n            \"expires_in\": 86400,\n            \"token_type\": \"Bearer\"\n        }\n    }\n}"}],"_postman_id":"dc1a9c28-a32f-4171-8729-df7a75fac7f6"},{"name":"Expire Voucher","id":"8bd12b79-e3a4-4461-b584-624337cdf756","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/partner/vouchers/:voucher_id/expire","description":"<p>Expires the partner's voucher.</p>\n","urlObject":{"path":["partner","vouchers",":voucher_id","expire"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"264d3bc7-a1a7-4495-8454-4a9ef5d8b9bd","type":"any","value":"cb8f4ec2-837d-4375-ba1b-917a1a21a506","key":"voucher_id"}]}},"response":[{"id":"d5dc83f8-02ed-47df-ba41-ee8fe521c370","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/vouchers/:voucher_id/expire","host":["https://api.mdintegrations.com/v1"],"path":["partner","vouchers",":voucher_id","expire"],"variable":[{"key":"voucher_id","value":""}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"cb8f4ec2-837d-4375-ba1b-917a1a21a506\",\n    \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n    \"case_id\": null,\n    \"partner_questionnaire_id\": \"fa6d01b6-57ce-41cb-bf4f-3388a5fb1dac\",\n    \"environment_id\": \"38da4bf4-3843-4cc3-83d1-13130daffdbd\",\n    \"expires_at\": \"2023-11-28T22:41:13.000000Z\",\n    \"payload\": {\n        \"hold_status\": false,\n        \"environment_id\": \"da4083f5-436b-491e-9bc1-73507061cd01\",\n        \"questionnaire_id\": \"7424a442-6287-4637-a26b-f1d0e850ad0b\"\n    },\n    \"demo\": false,\n    \"created_at\": \"2023-11-28T17:45:36.000000Z\",\n    \"updated_at\": \"2023-11-28T22:41:13.000000Z\",\n    \"deleted_at\": null,\n    \"is_expired\": true,\n    \"onboarding_url\": \"https://patient.mdintegrations.dev/?token=91c7bd33-6161-4112-96a3-f46c297689dc\"\n}"}],"_postman_id":"8bd12b79-e3a4-4461-b584-624337cdf756"},{"name":"Delete Voucher","id":"84ffc449-776b-43bd-bcab-c4661508e016","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/partner/vouchers/:voucher_id","description":"<p>Deletes the partner's voucher.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","vouchers",":voucher_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"eb02ea53-e532-4ff5-94da-1bc2d2a32ad0","type":"any","value":"cb8f4ec2-837d-4375-ba1b-917a1a21a506","key":"voucher_id"}]}},"response":[{"id":"04313faa-d4ad-4b10-8747-7e4dc8d0cc6e","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/vouchers/:voucher","host":["https://api.mdintegrations.com/v1"],"path":["partner","vouchers",":voucher"],"variable":[{"key":"voucher","value":"cb8f4ec2-837d-4375-ba1b-917a1a21a506"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"84ffc449-776b-43bd-bcab-c4661508e016"}],"id":"a1bdae84-dfea-4e75-95b2-23db1d330802","description":"<p>The partner should be authenticated to access these routes.</p>\n","_postman_id":"a1bdae84-dfea-4e75-95b2-23db1d330802","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Offerings","item":[{"name":"Boothwyn","item":[{"name":"Search Offerings","id":"bf78e2f8-800e-4d79-ba17-3d1a1a5b2a83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/boothwyn/search?name=Semaglutide","description":"<p>Search Boothwyn offering using a given name.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["v1","partner","boothwyn","search"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>(Required) Medication name search filter. Must be at least 3 letters</p>\n","type":"text/plain"},"key":"name","value":"Semaglutide"},{"disabled":true,"key":"","value":"false"}],"variable":[]}},"response":[{"id":"9b3218e1-6faf-429a-b1c4-68082ca65a53","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/medications/search?name=Ibuprofen (oral - capsule)&onlyFromPartner=true","host":["https://api.mdintegrations.com/v1"],"path":["partner","medications","search"],"query":[{"key":"name","value":"Ibuprofen (oral - capsule)"},{"key":"onlyFromPartner","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"dispensable_drug_id\": null,\n        \"routed_dose_form_drug_id\": null,\n        \"ndc\": \"70710102308\",\n        \"rx_cui\": null,\n        \"name_with_route_dose_form\": \"ISOtretinoin Oral Capsule\",\n        \"strength\": \"20 MG\",\n        \"is_obsolete\": false,\n        \"name\": \"ISOtretinoin Oral Capsule 20 MG\"\n    }\n]"}],"_postman_id":"bf78e2f8-800e-4d79-ba17-3d1a1a5b2a83"}],"id":"148778ce-d07a-461d-a0ab-b008a2e28081","_postman_id":"148778ce-d07a-461d-a0ab-b008a2e28081","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Dosespot","item":[{"name":"Search Dosespot Supplies","id":"93257a3c-1c0f-473e-a057-59c4e061f106","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/partner/supplies/search?name=Masks","description":"<p>Search DoseSpot supplies based on <code>name</code> and/or <code>NDC</code>.</p>\n<p>This API endpoint forwards the request to DoseSpot API in order to retrieve the supplies.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["v1","partner","supplies","search"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>(Required without NDC) Supply name search filter. Must be at least 3 letters.</p>\n","type":"text/plain"},"key":"name","value":"Masks"},{"disabled":true,"description":{"content":"<p>(Required without name) NDC</p>\n","type":"text/plain"},"key":"ndc","value":"1234567890"}],"variable":[]}},"response":[{"id":"92b92f27-3eb5-403b-ab79-279b6c443dab","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/supplies/search?name=mask&ndc=83490041050","host":["https://api.mdintegrations.com/v1"],"path":["partner","supplies","search"],"query":[{"key":"name","value":"mask"},{"key":"ndc","value":"83490041050"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"dosespot_supply_id\": 14710,\n        \"supply_id\": 14710,\n        \"ndc\": null,\n        \"upc\": \"Supply\",\n        \"name\": \"Masks  Miscellaneous\",\n        \"otc\": true,\n        \"is_obsolete\": false\n    }\n]"}],"_postman_id":"93257a3c-1c0f-473e-a057-59c4e061f106"},{"name":"Search Dosespot Medications","id":"49facfc4-ecaa-47a9-b0f5-30e3fda99e60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"gender\": 1,\n    \"date_of_birth\": \"2000-12-31\",\n    \"phone_number\": \"(415) 555-2671\",\n    \"phone_type\": 2,\n    \"email\": \"john@doe.com\",\n    \"address\": {\n        \"address\": \"1901 1st Avenue, New York, NY 10029\",\n        \"city_id\": \"992cf0e7-1d94-4c56-8b19-6f85634aa33a\",\n        \"zip_code\": \"12345\"\n    },\n    \"weight\": 50,\n    \"height\": 180,\n    \"current_medications\": \"paracetamol\",\n    \"allergies\": \"polen\"\n}"},"url":"https://api.mdintegrations.com/v1/partner/medications/search?name=Isotretinoin","description":"<p>Search DoseSpot medications using a given name.</p>\n<p>This API endpoint forwards the request to DoseSpot API in order to retrieve the medications.</p>\n<p>The returned results can be used to get details for a given medication (check <strong>\"Partner &gt; Medications &gt; Get Details For a Specific Medication\"</strong>).</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["v1","partner","medications","search"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>(Required) Medication name search filter. Must be at least 3 letters</p>\n","type":"text/plain"},"key":"name","value":"Isotretinoin"},{"disabled":true,"key":"","value":"false"}],"variable":[]}},"response":[{"id":"3f30ba8d-51fd-4943-a4f2-3a75cc25bda5","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/medications/search?name=Ibuprofen (oral - capsule)&onlyFromPartner=true","host":["https://api.mdintegrations.com/v1"],"path":["partner","medications","search"],"query":[{"key":"name","value":"Ibuprofen (oral - capsule)"},{"key":"onlyFromPartner","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"dispensable_drug_id\": null,\n        \"routed_dose_form_drug_id\": null,\n        \"ndc\": \"70710102308\",\n        \"rx_cui\": null,\n        \"name_with_route_dose_form\": \"ISOtretinoin Oral Capsule\",\n        \"strength\": \"20 MG\",\n        \"is_obsolete\": false,\n        \"name\": \"ISOtretinoin Oral Capsule 20 MG\"\n    }\n]"}],"_postman_id":"49facfc4-ecaa-47a9-b0f5-30e3fda99e60"},{"name":"Get Details For a Specific Medication","id":"46df8ebb-7f0b-4029-8a8b-5773b3c12eb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/medications/select?dispensable_drug_id=1234567&ndc=098765431&rxcui=654311","description":"<p>Get DoseSpot medication details according given <strong>name</strong> and <strong>strength</strong>.</p>\n<p>This API endpoint forwards the request to Dosespot in order to retrieve the medication details.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["v1","partner","medications","select"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>Required if other not present</p>\n","type":"text/plain"},"key":"dispensable_drug_id","value":"1234567"},{"description":{"content":"<p>Required if other not present</p>\n","type":"text/plain"},"key":"ndc","value":"098765431"},{"description":{"content":"<p>Required if other not present</p>\n","type":"text/plain"},"key":"rxcui","value":"654311"}],"variable":[]}},"response":[{"id":"f5bddd81-03d3-4042-b363-34ee72565b34","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/medications/select?name=Ibuprofen (oral - capsule)&strength=200 mg","host":["https://api.mdintegrations.com/v1"],"path":["partner","medications","select"],"query":[{"key":"name","value":"Ibuprofen (oral - capsule)"},{"key":"strength","value":"200 mg"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"ndc\": \"00245057001\",\n    \"rx_cui\": \"197843\",\n    \"display_name\": \"ISOtretinoin (Eqv-Absorica) 10 mg capsule\",\n    \"route\": \"oral\",\n    \"dose_form\": \"capsule\",\n    \"strength\": \"10 mg\",\n    \"dispense_unit_id\": 4,\n    \"brand\": false,\n    \"otc\": false,\n    \"drug_classification\": \"antineoplastics\",\n    \"schedule\": \"0\",\n    \"state_schedules\": [],\n    \"lexi_gen_product_id\": 2062,\n    \"lexi_drug_syn_id\": 347217,\n    \"lexi_synonym_type_id\": 60,\n    \"lexi_gen_drug_id\": \"d01245\",\n    \"generic_product_name\": \"ISOtretinoin 10 mg oral capsule\",\n    \"compound_ingredients\": null\n}"}],"_postman_id":"46df8ebb-7f0b-4029-8a8b-5773b3c12eb2"}],"id":"6620f132-8207-416f-87ed-46086c60ab46","_postman_id":"6620f132-8207-416f-87ed-46086c60ab46","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Get all offerings","id":"a153c1c0-09a0-4647-a82e-ce39d45a16f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/partner/offerings","description":"<p>Get all registered offerings.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","offerings"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"57dfa8df-55bf-47f3-bb16-586c7c171d30","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/medications"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"dosespot_rxcui\": 1747294,\n        \"active\": true,\n        \"is_additional_approval_needed\": true,\n        \"ndc\": \"39822103001\",\n        \"days_supply\": 1,\n        \"refills\": 1,\n        \"name\": \"Ibuprofen (intravenous - solution)\",\n        \"pharmacy_notes\": \"This an example\",\n        \"directions\": \"take once a day\",\n        \"quantity\": \"1\",\n        \"dispense_unit\": \"Bottle\",\n        \"strength\": \"10 mg/mL\",\n        \"dispense_unit_id\": 2,\n        \"pharmacy_id\": 13012,\n        \"pharmacy_name\": \"Curexa\",\n        \"order\": 1,\n        \"metadata\": \"metadata example\",\n        \"thank_you_note\": \"thank you note example\",\n        \"clinical_note\": \"clinical note example\",\n        \"partner_medication_id\": \"ded742a4-2dc9-4fc6-9bd3-fa96924b1823\",\n        \"title\": \"Ibuprofen\",\n        \"allow_substitutions\": true\n    },\n    {\n        \"dosespot_rxcui\": 1747294,\n        \"active\": true,\n        \"ndc\": \"39822103001\",\n        \"days_supply\": 1,\n        \"refills\": 1,\n        \"name\": \"Ibuprofen (intravenous - solution)\",\n        \"pharmacy_notes\": \"This an example\",\n        \"directions\": \"take once a day\",\n        \"quantity\": \"1\",\n        \"dispense_unit\": \"Bottle\",\n        \"strength\": \"10 mg/mL\",\n        \"dispense_unit_id\": 2,\n        \"pharmacy_id\": 13012,\n        \"pharmacy_name\": \"Curexa\",\n        \"order\": 2,\n        \"metadata\": \"metadata example\",\n        \"thank_you_note\": \"thank you note example\",\n        \"clinical_note\": \"clinical note example\",\n        \"partner_medication_id\": \"ded742a4-2dc9-4fc6-9bd3-fa96924b1823\",\n        \"title\": \"Ibuprofen\",\n        \"allow_substitutions\": true,\n        \"effective_date\": \"60\"\n    }\n]"}],"_postman_id":"a153c1c0-09a0-4647-a82e-ce39d45a16f0"}],"id":"8bb60bc2-1325-4d89-b41a-0b963f289b44","_postman_id":"8bb60bc2-1325-4d89-b41a-0b963f289b44","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Questionnaires","item":[{"name":"Questions","item":[{"name":"List questions","id":"876a23df-c047-46f5-abbe-3d9129abdc51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/questionnaires/:questionnaire_id/questions","description":"<p>Return all questions given a questionnaire ID.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","questionnaires",":questionnaire_id","questions"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"d9487535-0ea0-4ba6-9c77-617946dfd945","description":{"content":"<p>Questionnaire ID</p>\n","type":"text/plain"},"type":"any","value":"bbfb47d7-e256-47d3-9525-56305c3f6a3f","key":"questionnaire_id"}]}},"response":[{"id":"b9bee739-1b12-46e7-80c6-28a03d898cd2","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/questionnaires/:questionnaire_id/questions","host":["https://api.mdintegrations.com/v1"],"path":["partner","questionnaires",":questionnaire_id","questions"],"variable":[{"key":"questionnaire_id","value":"e13c9b2b-d6b1-4a94-802e-8b6746fcc595","description":"Questionnaire ID"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"partner_questionnaire_question_id\": \"e13c9b2b-d6b1-4a94-802e-8b6746fcc595\",\n        \"title\": \"Multiple option Question title example\",\n        \"description\": \"Question description example\",\n        \"label\": \"Label text example\",\n        \"placeholder\": \"Placeholder example\",\n        \"is_important\": true,\n        \"is_critical\": true,\n        \"display_in_pdf\": false,\n        \"is_optional\": true,\n        \"is_visible\": false,\n        \"order\": 1,\n        \"type\": \"multiple_option\",\n        \"default_value\": null,\n        \"options\": [\n            {\n                \"option\": \"First option\",\n                \"is_important\": false,\n                \"is_show_additional_field\": false\n            },\n            {\n                \"option\": \"Second option\",\n                \"is_important\": false,\n                \"is_show_additional_field\": false\n            },\n            {\n                \"option\": \"Third option\",\n                \"is_important\": true,\n                \"is_show_additional_field\": false\n            }\n        ],\n        \"feed_ads\": false\n    },\n    {\n        \"partner_questionnaire_question_id\": \"e13c9b2b-d6b1-4a94-802e-8b6746fcc595\",\n        \"title\": \"String Question title example\",\n        \"description\": \"Question description example\",\n        \"label\": \"Label text example\",\n        \"placeholder\": \"Placeholder example\",\n        \"is_important\": true,\n        \"is_critical\": true,\n        \"display_in_pdf\": false,\n        \"is_optional\": true,\n        \"is_visible\": false,\n        \"order\": 2,\n        \"type\": \"string\",\n        \"default_value\": null,\n        \"options\": null,\n        \"feed_ads\": false\n    }\n]"}],"_postman_id":"876a23df-c047-46f5-abbe-3d9129abdc51"}],"id":"309d2614-4eaf-409f-9a7c-fd32f26f2607","_postman_id":"309d2614-4eaf-409f-9a7c-fd32f26f2607","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"List questionnaires","id":"b48529b7-bb72-46aa-9d12-6705a35b6275","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/questionnaires","description":"<p>Return all enabled partner questionnaires based on the logged in partner.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","questionnaires"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"c617b9fb-e378-4bc3-9d70-498b24489bc1","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/questionnaires"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"partner_questionnaire_id\": \"54b98d56-4ef9-4512-9918-01ec6860edef\",\n        \"active\": true,\n        \"name\": \"intake to test\",\n        \"intro_title\": \"intake to test\",\n        \"intro_description\": \"intake to test\",\n        \"outro_title\": \"intake to test\",\n        \"outro_description\": \"intake to test\",\n        \"redirect_url\": null,\n        \"redirect_title\": null,\n        \"has_pharmacy\": false,\n        \"terms_of_service\": null,\n        \"metadata\": null,\n        \"is_weight_asked\": false,\n        \"is_height_asked\": false,\n        \"questions\": [\n            {\n                \"partner_questionnaire_question_id\": \"2d3aa5aa-4b0e-48a1-8cb1-4301a493330f\",\n                \"title\": \"test\",\n                \"description\": null,\n                \"label\": null,\n                \"placeholder\": null,\n                \"is_important\": false,\n                \"is_critical\": false,\n                \"display_in_pdf\": false,\n                \"is_optional\": false,\n                \"is_visible\": true,\n                \"has_next_button\": true,\n                \"has_back_button\": true,\n                \"order\": 1,\n                \"type\": \"boolean\",\n                \"default_value\": null,\n                \"feed_ads\": null,\n                \"rule_type\": \"and\",\n                \"options\": [],\n                \"attachments\": [],\n                \"rules\": []\n            },\n            {\n                \"partner_questionnaire_question_id\": \"2e65a086-3dff-4012-995e-fdfd9b804eac\",\n                \"title\": \"options with offering\",\n                \"description\": null,\n                \"label\": null,\n                \"placeholder\": null,\n                \"is_important\": false,\n                \"is_critical\": false,\n                \"display_in_pdf\": false,\n                \"is_optional\": false,\n                \"is_visible\": true,\n                \"has_next_button\": true,\n                \"has_back_button\": true,\n                \"order\": 2,\n                \"type\": \"text\",\n                \"default_value\": null,\n                \"feed_ads\": null,\n                \"rule_type\": \"and\",\n                \"options\": [],\n                \"attachments\": [],\n                \"rules\": []\n            },\n            {\n                \"partner_questionnaire_question_id\": \"f7c3746e-edbd-415b-82ad-f7ce28a8e5c6\",\n                \"title\": \"options with offerings\",\n                \"description\": null,\n                \"label\": null,\n                \"placeholder\": null,\n                \"is_important\": false,\n                \"is_critical\": false,\n                \"display_in_pdf\": false,\n                \"is_optional\": false,\n                \"is_visible\": true,\n                \"has_next_button\": true,\n                \"has_back_button\": true,\n                \"order\": 3,\n                \"type\": \"multiple_option\",\n                \"default_value\": null,\n                \"feed_ads\": null,\n                \"rule_type\": \"and\",\n                \"options\": [\n                    {\n                        \"partner_questionnaire_question_option_id\": \"fbc24c1f-cd21-4995-990a-c7c47bba23a5\",\n                        \"title\": \"with medication\",\n                        \"option\": \"with medication\",\n                        \"is_important\": false,\n                        \"is_critical\": false,\n                        \"is_show_additional_field\": false,\n                        \"order\": 1\n                    },\n                    {\n                        \"partner_questionnaire_question_option_id\": \"b561c164-a6b8-4641-a300-b934119af5f4\",\n                        \"title\": \"with compounds\",\n                        \"option\": \"with compounds\",\n                        \"is_important\": false,\n                        \"is_critical\": false,\n                        \"is_show_additional_field\": false,\n                        \"order\": 2\n                    },\n                    {\n                        \"partner_questionnaire_question_option_id\": \"6f4a2f55-c7dd-4f82-bad6-60fd658dab39\",\n                        \"title\": \"with supply\",\n                        \"option\": \"with supply\",\n                        \"is_important\": false,\n                        \"is_critical\": false,\n                        \"is_show_additional_field\": false,\n                        \"order\": 3\n                    },\n                    {\n                        \"partner_questionnaire_question_option_id\": \"143a022a-ef3f-4ccf-a6d1-b8a609ff75d7\",\n                        \"title\": \"with services\",\n                        \"option\": \"with services\",\n                        \"is_important\": false,\n                        \"is_critical\": false,\n                        \"is_show_additional_field\": false,\n                        \"order\": 4\n                    }\n                ],\n                \"attachments\": [],\n                \"rules\": [\n                    {\n                        \"id\": \"b9fe55c9-d194-4f72-b240-68c84a187ff6\",\n                        \"title\": \"Rule - options with offerings\",\n                        \"type\": \"and\",\n                        \"requirements\": [\n                            {\n                                \"based_on\": \"age\",\n                                \"required_question_id\": null,\n                                \"required_question_title\": null,\n                                \"conditional_answer\": \"=\",\n                                \"required_answer\": \"20\"\n                            }\n                        ]\n                    }\n                ]\n            }\n        ],\n        \"offerings\": {        \n        \"offering_id\": \"1a03114c-c1b0-413b-8a36-4b8957d9925e\",\n        \"title\": \"supply to delete\",\n        \"pharmacy_id\": null,\n        \"force_pharmacy\": false,\n        \"rule_type\": \"and\",\n        \"rules\": [\n            {\n                \"id\": \"ebe846b0-6b21-418a-85a2-0005cada5abf\",\n                \"title\": \"Rule - medication to delete\",\n                \"type\": \"or\",\n                \"requirements\": [\n                    {\n                        \"based_on\": \"gender\",\n                        \"required_question_id\": null,\n                        \"required_question_title\": null,\n                        \"conditional_answer\": null,\n                        \"required_answer\": \"1\"\n                    }\n                ]\n            }\n        ]\n    }\n]"}],"_postman_id":"b48529b7-bb72-46aa-9d12-6705a35b6275"},{"name":"Get questionnaire","id":"783b17c5-6725-4595-8f40-e55f55e61e71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner/questionnaires/:questionnaire_id","description":"<p>Return the specific enabled partner questionnaire given a questionnaire ID.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","questionnaires",":questionnaire_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"38932747-647c-4709-9714-34c691334b43","description":{"content":"<p>Questionnaire ID</p>\n","type":"text/plain"},"type":"any","value":"33778db3-8707-4628-81af-4c6451f9f0b6","key":"questionnaire_id"}]}},"response":[{"id":"58f784e6-93cf-432e-af18-53f88fd80d09","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/partner/questionnaires/:questionnaire_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","questionnaires",":questionnaire_id"],"variable":[{"key":"questionnaire_id","value":"54b98d56-4ef9-4512-9918-01ec6860edef","description":"Questionnaire ID"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"partner_questionnaire_id\": \"54b98d56-4ef9-4512-9918-01ec6860edef\",\n    \"active\": true,\n    \"name\": \"intake to test\",\n    \"intro_title\": \"intake to test\",\n    \"intro_description\": \"intake to test\",\n    \"outro_title\": \"intake to test\",\n    \"outro_description\": \"intake to test\",\n    \"redirect_url\": null,\n    \"redirect_title\": null,\n    \"has_pharmacy\": false,\n    \"terms_of_service\": null,\n    \"metadata\": null,\n    \"is_weight_asked\": false,\n    \"is_height_asked\": false,\n    \"is_show_welcome\": true,\n    \"is_show_thanks\": true,\n    \"questions\": [\n        {\n            \"partner_questionnaire_question_id\": \"2d3aa5aa-4b0e-48a1-8cb1-4301a493330f\",\n            \"title\": \"test\",\n            \"description\": null,\n            \"label\": null,\n            \"placeholder\": null,\n            \"is_important\": false,\n            \"is_critical\": false,\n            \"display_in_pdf\": false,\n            \"is_optional\": false,\n            \"is_visible\": true,\n            \"has_next_button\": true,\n            \"has_back_button\": true,\n            \"order\": 1,\n            \"type\": \"boolean\",\n            \"default_value\": null,\n            \"feed_ads\": null,\n            \"rule_type\": \"and\",\n            \"options\": [],\n            \"attachments\": [],\n            \"rules\": []\n        },\n        {\n            \"partner_questionnaire_question_id\": \"2e65a086-3dff-4012-995e-fdfd9b804eac\",\n            \"title\": \"options with offering\",\n            \"description\": null,\n            \"label\": null,\n            \"placeholder\": null,\n            \"is_important\": false,\n            \"is_critical\": false,\n            \"display_in_pdf\": false,\n            \"is_optional\": false,\n            \"is_visible\": true,\n            \"has_next_button\": true,\n            \"has_back_button\": true,\n            \"order\": 2,\n            \"type\": \"text\",\n            \"default_value\": null,\n            \"feed_ads\": null,\n            \"rule_type\": \"and\",\n            \"options\": [],\n            \"attachments\": [],\n            \"rules\": []\n        },\n        {\n            \"partner_questionnaire_question_id\": \"f7c3746e-edbd-415b-82ad-f7ce28a8e5c6\",\n            \"title\": \"options with offerings\",\n            \"description\": null,\n            \"label\": null,\n            \"placeholder\": null,\n            \"is_important\": false,\n            \"is_critical\": false,\n            \"display_in_pdf\": false,\n            \"is_optional\": false,\n            \"is_visible\": true,\n            \"has_next_button\": true,\n            \"has_back_button\": true,\n            \"order\": 3,\n            \"type\": \"multiple_option\",\n            \"default_value\": null,\n            \"feed_ads\": null,\n            \"rule_type\": \"and\",\n            \"options\": [\n                {\n                    \"partner_questionnaire_question_option_id\": \"fbc24c1f-cd21-4995-990a-c7c47bba23a5\",\n                    \"title\": \"with medication\",\n                    \"option\": \"with medication\",\n                    \"is_important\": false,\n                    \"is_critical\": false,\n                    \"is_show_additional_field\": false,\n                    \"order\": 1\n                },\n                {\n                    \"partner_questionnaire_question_option_id\": \"b561c164-a6b8-4641-a300-b934119af5f4\",\n                    \"title\": \"with compounds\",\n                    \"option\": \"with compounds\",\n                    \"is_important\": false,\n                    \"is_critical\": false,\n                    \"is_show_additional_field\": false,\n                    \"order\": 2\n                },\n                {\n                    \"partner_questionnaire_question_option_id\": \"6f4a2f55-c7dd-4f82-bad6-60fd658dab39\",\n                    \"title\": \"with supply\",\n                    \"option\": \"with supply\",\n                    \"is_important\": false,\n                    \"is_critical\": false,\n                    \"is_show_additional_field\": false,\n                    \"order\": 3\n                },\n                {\n                    \"partner_questionnaire_question_option_id\": \"143a022a-ef3f-4ccf-a6d1-b8a609ff75d7\",\n                    \"title\": \"with services\",\n                    \"option\": \"with services\",\n                    \"is_important\": false,\n                    \"is_critical\": false,\n                    \"is_show_additional_field\": false,\n                    \"order\": 4\n                }\n            ],\n            \"attachments\": [],\n            \"rules\": [\n                {\n                    \"id\": \"b9fe55c9-d194-4f72-b240-68c84a187ff6\",\n                    \"title\": \"Rule - options with offerings\",\n                    \"type\": \"and\",\n                    \"requirements\": [\n                        {\n                            \"based_on\": \"age\",\n                            \"required_question_id\": null,\n                            \"required_question_title\": null,\n                            \"conditional_answer\": \"=\",\n                            \"required_answer\": \"20\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ],\n    \"offerings\": {        \n        \"offering_id\": \"1a03114c-c1b0-413b-8a36-4b8957d9925e\",\n        \"title\": \"supply to delete\",\n        \"pharmacy_id\": null,\n        \"force_pharmacy\": false,\n        \"rule_type\": \"and\",\n        \"rules\": [\n            {\n                \"id\": \"ebe846b0-6b21-418a-85a2-0005cada5abf\",\n                \"title\": \"Rule - medication to delete\",\n                \"type\": \"or\",\n                \"requirements\": [\n                    {\n                        \"based_on\": \"gender\",\n                        \"required_question_id\": null,\n                        \"required_question_title\": null,\n                        \"conditional_answer\": null,\n                        \"required_answer\": \"1\"\n                    }\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"783b17c5-6725-4595-8f40-e55f55e61e71"}],"id":"dfe4386f-f48e-452a-8c37-cf7c6fb57d2e","_postman_id":"dfe4386f-f48e-452a-8c37-cf7c6fb57d2e","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Clinicians","item":[{"name":"Get clinician information","id":"6c8c12c4-bc41-484d-9340-7a8ee0497e28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/clinicians/:clinician_id","description":"<p>Get clinician information based on the passed clinician_id.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","clinicians",":clinician_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Clinician ID</p>\n","type":"text/plain"},"type":"any","value":"bee60e52-c626-4819-963e-dedff628c243","key":"clinician_id"}]}},"response":[{"id":"591c58c5-cf39-48fa-b8b8-f6fd567838df","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/partner/clinicians/:clinician_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","clinicians",":clinician_id"],"variable":[{"key":"clinician_id","value":"30be583a-38ae-48a6-bee9-5babb9df6d7e","description":"Clinician ID"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"clinician_id\": \"30be583a-38ae-48a6-bee9-5babb9df6d7e\",\n    \"is_online\": true,\n    \"specialty\": \"General Practice\",\n    \"full_name\": \"John Doe\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"date_of_birth\": \"1990-05-11\",\n    \"suffix\": \"M.D\",\n    \"email\": \"john@doe.com\",\n    \"phone_number\": \"541-754-3010\",\n    \"phone_type\": \"2\",\n    \"fax_number\": \"(541) 111-5555\",\n    \"profile_url\": \"http://profileurlexample.com\",\n    \"photo\": {\n        \"file_id\": \"80d2b683-4c3b-401b-a188-ffc875aabc68\",\n        \"path\": \"partners/1696944117_05e0af4f-aa7a-4096-b915-ba48d246c9ea.mp4\",\n        \"name\": \"05e0af4f-aa7a-4096-b915-ba48d246c9ea.mp4\",\n        \"mime_type\": \"video/mp4\",\n        \"url\": \"https://localhost:8002/s3/files/80d2b683-4c3b-401b-a188-ffc875aabc68/file?signature=91c790a02ff38532912c63ca8afad8e8d902c30e79cb142c623ec6669291b9bf\",\n        \"url_thumbnail\": null,\n        \"created_at\": \"2023-10-10T13:22:02.000000Z\"\n    },\n    \"licenses\": [\n        {\n            \"license_id\": \"897e23f0-ecee-410a-a37c-af633e221e0b\",\n            \"type\": \"npi\",\n            \"value\": \"1124790829\"\n        }\n    ],\n    \"practice_areas\": [\n        {\n            \"clinician_practice_area_id\": \"0508e3ff-cba2-4516-ba5b-6bfd7cbc6533\",\n            \"is_expired\": false,\n            \"expires_at\": \"2023-09-10T00:00:00.000000Z\",\n            \"license_number\": \"123NPI321EXAMPLE\",\n            \"state\": {\n                \"name\": \"Tasmania\",\n                \"abbreviation\": \"TAS\",\n                \"state_id\": \"8620acdb-2129-423f-9703-c9ad89c6e02c\",\n                \"country\": {\n                    \"country_id\": \"ecb311fb-045a-4643-9d61-ef49cce0c2b6\",\n                    \"name\": \"Australia\",\n                    \"abbreviation\": \"AU\"\n                },\n                \"is_av_flow\": false\n            }\n        }\n    ],\n    \"bio_details\": \"Here is a bio detail example.\",\n    \"automatic_sync_message\": null,\n    \"is_message_availability\": false,\n    \"case_assignment_availability\": false,\n    \"active\": true,\n    \"is_out_of_office\": true,\n    \"out_of_office_message\": \"Out of office message\",\n    \"managed_by_partner\": true,\n    \"automatic_sync_video_file\": {\n        \"file_id\": \"80d2b683-4c3b-401b-a188-ffc875aabc68\",\n        \"path\": \"partners/1696944117_05e0af4f-aa7a-4096-b915-ba48d246c9ea.mp4\",\n        \"name\": \"05e0af4f-aa7a-4096-b915-ba48d246c9ea.mp4\",\n        \"mime_type\": \"video/mp4\",\n        \"url\": \"https://localhost:8002/s3/files/80d2b683-4c3b-401b-a188-ffc875aabc68/file?signature=91c790a02ff38532912c63ca8afad8e8d902c30e79cb142c623ec6669291b9bf\",\n        \"url_thumbnail\": null,\n        \"created_at\": \"2023-10-10T13:22:02.000000Z\"\n    }\n}"}],"_postman_id":"6c8c12c4-bc41-484d-9340-7a8ee0497e28"}],"id":"08de4b13-8bf7-4179-b51c-84932499c116","_postman_id":"08de4b13-8bf7-4179-b51c-84932499c116","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Support Staffs","item":[{"name":"Get support staff information","id":"47fdd2eb-2231-4e9d-86d5-b65244dfa787","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/support-staffs/:support_staff_id","description":"<p>It gets the internal support staff details.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","support-staffs",":support_staff_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"16555474-2663-406f-b6a5-3c03abbf34e8","type":"any","value":"bee60e52-c626-4819-963e-dedff628c243","key":"support_staff_id"}]}},"response":[{"id":"97204569-d673-45b7-8fe2-5aa8b0fa882e","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/partner/support-staffs/:support_staff_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","support-staffs",":support_staff_id"],"variable":[{"key":"support_staff_id","value":"30be583a-38ae-48a6-bee9-5babb9df6d7e"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"df8d41d2-06bc-47fc-80c7-1de06c9ed618\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Support\",\n    \"email\": \"john+support@mdintegrations.com\",\n    \"photo_id\": null,\n    \"active\": true,\n    \"timezone_id\": \"c8e296d5-17fe-469e-9a9c-333211bf12d9\",\n    \"created_at\": \"2024-11-29T19:52:11.000000Z\",\n    \"updated_at\": \"2025-01-16T19:39:35.000000Z\",\n    \"deleted_at\": null,\n    \"full_name\": \"John Support\",\n    \"is_online\": false,\n    \"can_unlock_phi\": null,\n    \"photo\": null,\n    \"roles\": [\n        {\n            \"id\": \"92f0d82a-22d3-4ea9-95c6-ec37b8d15a75\",\n            \"name\": \"support\",\n            \"created_at\": \"2024-11-13T15:26:48.000000Z\",\n            \"updated_at\": \"2024-11-13T15:26:48.000000Z\",\n            \"pivot\": {\n                \"role_id\": \"92f0d82a-22d3-4ea9-95c6-ec37b8d15a75\",\n                \"model_id\": \"df8d41d2-06bc-47fc-80c7-1de06c9ed618\",\n                \"model_type\": null,\n                \"created_at\": null,\n                \"updated_at\": null\n            }\n        }\n    ]\n}"}],"_postman_id":"47fdd2eb-2231-4e9d-86d5-b65244dfa787"}],"id":"78c57e9b-743e-4425-8ba1-b1aaca63903c","_postman_id":"78c57e9b-743e-4425-8ba1-b1aaca63903c","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Internal Support Staffs","item":[{"name":"Get internal support staff information","id":"7ee551db-8074-4401-8043-ceae3f9573be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/internal-support-staffs/:internal_support_staff_id","description":"<p>It gets the internal support staff details (MDI Support users).</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","internal-support-staffs",":internal_support_staff_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"bb55ef2f-a49e-4b5b-a64f-1d94c61b86a5","type":"any","value":"bee60e52-c626-4819-963e-dedff628c243","key":"internal_support_staff_id"}]}},"response":[{"id":"44747fa5-991a-40b5-b5ad-8eefe7b3fcd6","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/partner/internal-support-staffs/:internal_support_staff_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","internal-support-staffs",":internal_support_staff_id"],"variable":[{"key":"internal_support_staff_id","value":"df8d41d2-06bc-47fc-80c7-1de06c9ed618"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"df8d41d2-06bc-47fc-80c7-1de06c9ed618\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Internal Support\",\n    \"email\": \"john+internal+support@mdintegrations.com\",\n    \"photo_id\": null,\n    \"active\": true,\n    \"timezone_id\": \"c8e296d5-17fe-469e-9a9c-333211bf12d9\",\n    \"created_at\": \"2024-11-29T19:52:11.000000Z\",\n    \"updated_at\": \"2025-01-16T19:39:35.000000Z\",\n    \"deleted_at\": null,\n    \"full_name\": \"John Internal Support\",\n    \"is_online\": false,\n    \"can_unlock_phi\": null,\n    \"photo\": null,\n    \"roles\": [\n        {\n            \"id\": \"92f0d82a-22d3-4ea9-95c6-ec37b8d15a75\",\n            \"name\": \"internal-support\",\n            \"created_at\": \"2024-11-13T15:26:48.000000Z\",\n            \"updated_at\": \"2024-11-13T15:26:48.000000Z\",\n            \"pivot\": {\n                \"role_id\": \"92f0d82a-22d3-4ea9-95c6-ec37b8d15a75\",\n                \"model_id\": \"df8d41d2-06bc-47fc-80c7-1de06c9ed618\",\n                \"model_type\": null,\n                \"created_at\": null,\n                \"updated_at\": null\n            }\n        }\n    ]\n}"}],"_postman_id":"7ee551db-8074-4401-8043-ceae3f9573be"}],"id":"9453c410-1b4f-4234-8abd-dc387bef2051","_postman_id":"9453c410-1b4f-4234-8abd-dc387bef2051","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Medical Assistants","item":[{"name":"Get medical assistant information","id":"15c2eab8-65ed-4745-ad7c-2174f3cb2e40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/medical-assistants/:medical_assistant_id","description":"<p>It gets the internal support staff details (MDI Support users).</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","medical-assistants",":medical_assistant_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"80c1d005-00cf-4f7c-979a-0b62b0f5ccae","type":"any","value":"bee60e52-c626-4819-963e-dedff628c243","key":"medical_assistant_id"}]}},"response":[{"id":"9d9fb7d6-e8e3-4b04-8bbf-6186baa69b60","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/partner/medical-assistants/:medical_assistant_id","host":["https://api.mdintegrations.com/v1"],"path":["partner","medical-assistants",":medical_assistant_id"],"variable":[{"key":"medical_assistant_id","value":"df8d41d2-06bc-47fc-80c7-1de06c9ed618"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"cd13558f-9ed3-4f6d-af6f-3a39a3c630d6\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Medical Assistant\",\n    \"email\": \"john+assistant@mdintegrations.com\",\n    \"photo_id\": null,\n    \"active\": true,\n    \"timezone_id\": \"9f71bbb6-f989-46e3-a0d7-ad0740257a5a\",\n    \"created_at\": \"2025-02-11T19:50:29.000000Z\",\n    \"updated_at\": \"2025-02-11T19:50:29.000000Z\",\n    \"deleted_at\": null,\n    \"full_name\": \"John Medical Assistant\",\n    \"is_online\": false,\n    \"photo\": null,\n    \"roles\": [\n        {\n            \"id\": \"a73dbe99-7474-4a9a-ad03-ecc2a09fe2b9\",\n            \"name\": \"assistant\",\n            \"created_at\": \"2024-11-13T15:26:48.000000Z\",\n            \"updated_at\": \"2024-11-13T15:26:48.000000Z\",\n            \"pivot\": {\n                \"role_id\": \"a73dbe99-7474-4a9a-ad03-ecc2a09fe2b9\",\n                \"model_id\": \"cd13558f-9ed3-4f6d-af6f-3a39a3c630d6\",\n                \"model_type\": null,\n                \"created_at\": null,\n                \"updated_at\": null\n            }\n        }\n    ]\n}"}],"_postman_id":"15c2eab8-65ed-4745-ad7c-2174f3cb2e40"}],"id":"1ad4ce9c-25a5-4248-9b2e-1916b030a401","_postman_id":"1ad4ce9c-25a5-4248-9b2e-1916b030a401","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Notifications","item":[{"name":"Get Partner Notifications","id":"c04857de-3df6-4386-a174-314279e90f65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/notifications","description":"<p>List all notifications for current logged in Partner</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","notifications"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"f12cffff-55a7-491f-9276-3fa307c5f5b5","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/notifications"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"a41fae41-2e8a-4567-9387-8e4712c6d80e\",\n            \"notes\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce lacinia justo non nunc dictum, quis gravida lorem pharetra. Donec lorem nisi, luctus ac dui ac, laoreet pulvinar metus. Cras sodales lorem et nisl fermentum, feugiat consectetur ante iaculis. Proin in purus congue, finibus mauris vitae, faucibus est. Cras pretium diam quis nisl aliquet, viverra tempus lacus luctus. Praesent pellentesque orci eu odio luctus efficitur. Curabitur scelerisque id nibh quis congue. Quisque suscipit felis nec magna fermentum, id sollicitudin nisl ornare. Phasellus vestibulum tortor augue, in commodo elit efficitur ut. Nunc iaculis est nec tortor pharetra, ut venenatis eros condimentum. Nunc pretium bibendum egestas. Praesent condimentum pharetra dapibus. Aliquam non ligula non magna finibus congue ut sed libero. Mauris tempus leo ligula, eu rhoncus nibh tempus nec.\",\n            \"created_at\": \"2023-06-30T11:14:02Z\",\n            \"notify\": 1,\n            \"needs_ack\": false,\n            \"partner_id\": \"f9978333-ece0-455b-b8f3-4829953e256a\",\n            \"partner\": {\n                \"name\": \"Jacobi and Sons\",\n                \"support_messaging_capability\": \"integrated\",\n                \"operations_support_email\": \"testing@email.com\",\n                \"customer_support_email\": \"testing@email.com\",\n                \"partner_notes\": \"Partner has...\",\n                \"partner_id\": \"a63e2ae6-3f98-4fd4-8391-031b0031776f\",\n                \"patient_message_capability\": \"integrated\",\n                \"vouched_integration_type\": \"disabled\",\n                \"operation_country\": {\n                    \"name\": \"United States of America\",\n                    \"abbreviation\": \"US\",\n                    \"country_id\": \"535fd3fd-f206-4724-89a9-55289474db8b\"\n                }\n            }\n        }\n    ],\n    \"links\": {\n        \"first\": \"https://api.mdintegrations.com/v1/v1/partner/notifications?page=1\",\n        \"last\": \"https://api.mdintegrations.com/v1/v1/partner/notifications?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.mdintegrations.com/v1/v1/partner/notifications?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"https://api.mdintegrations.com/v1/v1/partner/notifications\",\n        \"per_page\": 15,\n        \"to\": 1,\n        \"total\": 1\n    }\n}"}],"_postman_id":"c04857de-3df6-4386-a174-314279e90f65"},{"name":"Get Partner Notification","id":"6989a405-76dc-42e7-a4f6-d152cb42a552","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/partner/notifications/:partner_notification_id","description":"<p>View a Partner Notification base off his UUID</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","notifications",":partner_notification_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"852861ed-5ebb-4fec-a460-df8344479985","type":"any","value":null,"key":"partner_notification_id"}]}},"response":[{"id":"4ac102e2-5905-45ce-addb-7ed57af939b7","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mdintegrations.com/v1/v1/partner/notifications/:partner_notification_id","host":["https://api.mdintegrations.com/v1"],"path":["v1","partner","notifications",":partner_notification_id"],"variable":[{"key":"partner_notification_id","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"acd23499-d259-4336-8e57-3c972b448a73\",\n    \"notes\": \"Lorem Ipsum\",\n    \"created_at\": \"2023-06-30T11:08:40.000000Z\",\n    \"notify\": 1,\n    \"needs_ack\": false,\n    \"partner_id\": \"f9978333-ece0-455b-b8f3-4829953e256a\",\n    \"partner\": {\n        \"name\": \"Jacobi and Sons\",\n        \"support_messaging_capability\": \"integrated\",\n        \"operations_support_email\": \"testing@email.com\",\n        \"customer_support_email\": \"testing@email.com\",\n        \"partner_notes\": \"Partner has...\",\n        \"partner_id\": \"a63e2ae6-3f98-4fd4-8391-031b0031776f\",\n        \"patient_message_capability\": \"integrated\",\n        \"vouched_integration_type\": \"disabled\",\n        \"operation_country\": {\n            \"name\": \"United States of America\",\n            \"abbreviation\": \"US\",\n            \"country_id\": \"535fd3fd-f206-4724-89a9-55289474db8b\"\n        }\n    }\n}"}],"_postman_id":"6989a405-76dc-42e7-a4f6-d152cb42a552"}],"id":"d944df78-ac4f-40f3-8346-fda2acf25b38","_postman_id":"d944df78-ac4f-40f3-8346-fda2acf25b38","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Tests","item":[{"name":"Encounters","item":[{"name":"Create Encounter","id":"f068cf34-c603-45ad-ac8c-085454e9adc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"patient_id\": \"5b803d51-b6e4-4ae5-b7d2-ee3e1dba7d2d\",\n    \"clinician_id\": \"00115b3a-cda1-475d-b1c9-0315bb8b906f\",\n    \"metadata\": \"case number 15\",\n    \"is_chargeable\": true,\n    \"case_files\": [],\n    \"case_services\": [\n        {\n            \"description\": \"Device that...\",\n            \"service_type\": \"device\",\n            \"title\": \"Device 14\",\n            \"additional_note\": \"Service additional note\",\n            \"clinical_notes\": \"Some clinical note\",\n            \"thank_you_note\": \"Some thank you note\",\n            \"pharmacy_fax_number\": \"+587965462316\",\n            \"include_drivers_license\": true,\n            \"send_pdf_file_automatically\": false\n        },\n        {\n            \"partner_service_id\": \"a1f8fc44-b939-4b46-a646-7c3245d6ee62\"\n        }\n    ],\n    \"case_prescriptions\": [\n        {\n            \"dosespot_medication_id\": 310964,\n            \"refills\": 2,\n            \"quantity\": 1.5,\n            \"days_supply\": 30,\n            \"directions\": \"Take one at the morning and another before bed\",\n            \"dispense_unit_id\": 99,\n            \"pharmacy_id\": 13012,\n            \"no_substitutions\": true,\n            \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n            \"effective_date\": \"2023-05-10\"\n        }\n    ],\n    \"case_questions\": [\n        {\n            \"question\": \"Are you pregnant?\",\n            \"answer\": \"false\",\n            \"type\": \"boolean\",\n            \"important\": true,\n            \"is_critical\": true,\n            \"display_in_pdf\": true,\n            \"description\": \"Here is the question description\",\n            \"label\": \"Question Label Example\",\n            \"metadata\": \"example of metatada #123 for question\",\n            \"displayed_options\": [\n                \"true\",\n                \"false\"\n            ]\n        }\n    ],\n    \"tags\": [\n        {\n            \"tag_id\": \"d99ac893-9bd6-49ae-befe-4cf625e97d7c\"\n        }\n    ]\n}"},"url":"https://api.mdintegrations.com/v1/partner/tests/encounters","description":"<p>Create a new encounter for a given patient.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>patient_id</td>\n<td>uuid*</td>\n<td>Patient ID. Check <strong>Partners &gt; Cases &gt; Patients</strong> to create new patients</td>\n</tr>\n<tr>\n<td>reference_case_id</td>\n<td>uuid</td>\n<td>The referenced case UUID</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the case. (e.g., an ID that will be used to identify this case in another database)</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid*</td>\n<td>Clinician to assign the case to, in case there is a preference for a specific clinician in a specific case. If the field is not sent, a clinician will be assigned according to MDIntegrations algorithm.</td>\n</tr>\n<tr>\n<td>case_prescriptions</td>\n<td>array(Prescription)</td>\n<td>List of prescriptions to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>case_services</td>\n<td>array(Service)</td>\n<td>List of services to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>case_files</td>\n<td>array(uuid)</td>\n<td>Files ID to be attached to the case. The files must be uploaded before creating a case. To upload files check <strong>Partners &gt; Files</strong></td>\n</tr>\n<tr>\n<td>case_questions</td>\n<td>array(Question)</td>\n<td>Questions and answers list</td>\n</tr>\n<tr>\n<td>is_chargeable</td>\n<td>boolean</td>\n<td>Whether or not the case should be charged</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array(object(uuid))</td>\n<td>Tags ID to be attached to the case.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"prescription-properties\">Prescription Properties</h2>\n<p><strong>Important</strong>: a prescription object must always contain <strong>exactly one</strong> drug type ID from the following:</p>\n<p>[<code>partner_medication_id</code>, <code>partner_compound_id</code>, <code>partner_supply_id</code>, <code>dosespot_supply_ndc</code>]</p>\n<p><strong>Note</strong>: We strongly advise asking our medical team to add medications to your company's dashboard so it's easier to manage prescriptions details from there. Should you need to add a one-time-only medication, you can use the dosespot_medication_id to reference a Dosespot medication directly.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_compound_id</td>\n<td>uuid</td>\n<td>Partner compound ID. Check <strong>Partners &gt; Compounds</strong> to get a <code>partner_compound_id</code> for a given compound. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_supply_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_medication_id</td>\n<td>uuid</td>\n<td>Partner medication ID. It can be found on your company's dashboard. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_medication_id</code> and <code>partner_supply_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_supply_id</td>\n<td>uuid</td>\n<td>Partner supply ID. It can be found on your company's dashboard. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_medication_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>dosespot_supply_ndc</td>\n<td>string</td>\n<td>Dosespot Supply NDC code. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_medication_id</code> and <code>partner_supply_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer (from 0 to 99)</td>\n<td>Total of refills for the given medication * <strong>Required if</strong> <code>dosespot_medication_id</code> or <code>dosespot_supply_ndc</code> is present</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n<td>Medication quantity string representing a float number (from 0 to 9999999999) <strong>Required if</strong> <code>dosespot_medication_id</code> or <code>dosespot_supply_ndc</code> is present</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer (from 0 to 365)</td>\n<td>Number of days of supply of the medication provided - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string(140)</td>\n<td>Instructions about how the medication is administered <strong>Required if</strong> <code>dosespot_medication_id</code> or <code>dosespot_supply_ndc</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the prescription</td>\n</tr>\n<tr>\n<td>no_substitutions</td>\n<td>boolean</td>\n<td>Whether or not a medication or compound can be changed</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n<td>- <strong>Medication</strong> (prescription with a <code>dosespot_medication_id</code> included): each medication has one associated dispense unit ID. To get the dispense unit ID associated with a given medication check <strong>Partners &gt; Medications &gt; Get details for a specific medication</strong>;  <br />  <br />- <strong>Compound</strong> (prescription with <code>partner_compound_id</code> included): compounds can be associated with any available dispense unit ID. For a list of all available dispense units check <strong>Partners &gt; Dispense Units</strong>. * <strong>Required if</strong> <code>dosespot_medication_id</code> or <code>dosespot_supply_ndc</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n<td>Pharmacy where the prescription must be sent to. Check <strong>Partners &gt; Pharmacies &gt; Get pharmacies</strong> to get a list of all pharmacies available.  <br />  <br /><strong>Important note</strong>:  <br />  <br />Dosespot works with <strong>different IDs</strong> for pharmacies according to the environment.  <br />Example:  <br />- Curexa pharmacy ID in <strong>staging</strong> environment: 133012  <br />- Curexa pharmacy ID in <strong>production</strong> environment: 29992</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>string</td>\n<td>Date from which prescription is effective (time will always be 00:00:00). Format: <code>Y-m-d</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"prescription-status-flow\">Prescription Status Flow</h3>\n<p><code>pending</code>: When prescription is created on MDI side and not synced with Dosespot yet;<br /><code>processing</code>: When MDI receives the Dosespot ID and send through the Dosespot the prescription to Pharmacy;<br /><code>completed</code>: When Dosespot responds to the MDI that this prescription has been verified by the pharmacy;<br /><code>cancelled</code>: When a doctor cancel the prescription (<em>when it was synced with Dosespot we try to cancel it there too</em>)</p>\n<img src=\"https://content.pstmn.io/b5039151-5d8d-48e7-8fda-24feff80438b/aW1hZ2UucG5n\" width=\"1637\" height=\"421\" />\n\n<h1 id=\"question-properties\">Question Properties</h1>\n<p>For more information about <code>questions</code> and how they affect prescriptions, contact us via Slack or send an email to:<br /><a href=\"https://mailto:mserota@mdintegrations.com\">mserota@mdintegrations.com</a> and <a href=\"https://mailto:jeff@mdintegrations.com\">jeff@mdintegrations.com</a></p>\n<p>We are also available through Slack (partner's channel).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>question</td>\n<td>string(255)*</td>\n<td>Question</td>\n</tr>\n<tr>\n<td>answer</td>\n<td>text*</td>\n<td>Answer</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string*</td>\n<td>Question type. Available options: <code>boolean</code>, <code>number</code> or <code>string</code></td>\n</tr>\n<tr>\n<td>important</td>\n<td>boolean</td>\n<td>Flag to set a question as <code>important</code>.  <br />  <br /><strong>Important Note</strong>:  <br />This flag is used to identify which questions could affect the final prescription. You could also implement custom logic to set this flag only when specific answers are selected.</td>\n</tr>\n<tr>\n<td>display_in_pdf</td>\n<td>boolean</td>\n<td>Flag to set if this question will be displayed in the case PDF file</td>\n</tr>\n<tr>\n<td>description</td>\n<td>text</td>\n<td>A description for your question</td>\n</tr>\n<tr>\n<td>label</td>\n<td>string(50)</td>\n<td>The question label</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>text</td>\n<td>A metadata field</td>\n</tr>\n<tr>\n<td>displayed_options</td>\n<td>array</td>\n<td>An array of options that were displayed to the patient</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"service-properties\">Service Properties</h2>\n<p><strong>Important</strong>: a service object can include a <strong>partner_service_id</strong> in order to use predefined information from a partner service.</p>\n<p><strong>Note</strong>: Partner services can be found under your company's offerings from the Partners Website. Once you know a partner's service id, you can also retrieve its information through the api using the <strong>Get Service</strong> route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>service_type</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>additional_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>partner_service_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>clinical_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_fax_number</td>\n<td>string</td>\n</tr>\n<tr>\n<td>include_drivers_license</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>send_pdf_file_automatically</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","tests","encounters"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"9084b7d1-108d-4c1c-9865-e197ca578813","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/sandbox/partner/encounters"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"prioritized_at\": null,\n    \"prioritized_reason\": null,\n    \"prioritized\": false,\n    \"locked_at\": null,\n    \"is_locked\": false,\n    \"metadata\": \"case number 15\",\n    \"created_at\": \"2021-06-10T16:34:40.000000Z\",\n    \"is_sync\": false,\n    \"is_chargeable\": true,\n    \"case_type\": \"follow-up\",\n    \"case_id\": \"e02ebf38-147a-419b-bfc8-87e88d29f161\",\n    \"reference_case_id\": \"9b0c4571-f980-4fd4-bf9d-87e88d0c4571\",\n    \"case_status\": {\n        \"name\": \"created\",\n        \"reason\": null,\n        \"updated_at\": \"2021-06-17T17:14:59.000000Z\"\n    },\n    \"patient\": {\n        \"prefix\": \"Sr\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Snow\",\n        \"email\": \"johnsnow@doe.com\",\n        \"date_of_birth\": \"2000-12-31\",\n        \"gender\": 1,\n        \"phone_number\": \"(415) 555-2671\",\n        \"phone_type\": \"2\",\n        \"active\": true,\n        \"metadata\": \"patient number 200\",\n        \"weight\": \"50.000\",\n        \"height\": 180,\n        \"dosespot\": {\n            \"patient_dosespot_id\": \"9b0c4571-f980-4fd4-bf9d-6de1ac52dc9d\",\n            \"sync_status\": \"success\"\n        },\n        \"current_medications\": \"paracetamol\",\n        \"allergies\": \"polen\",\n        \"patient_id\": \"9b0c4571-f980-4fd4-bf9d-6de1ac52dc9d\",\n        \"gender_label\": \"Male\",\n        \"pregnancy\": false,\n        \"is_live\": true,\n        \"driver_license\": {\n            \"path\": \"logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n            \"name\": \"Wallpaper_1080p.png\",\n            \"mime_type\": \"image/jpeg\",\n            \"url\": \"http://api.localhost:8000/v1/file/logos/8fa624fd-682f-4fda-b8fa-779084759a4b.jpeg\",\n            \"url_thumbnail\": null,\n            \"file_id\": \"862a8e4c-d65a-4d52-8568-49c0d53fa51e\"\n        },\n        \"address\": {\n            \"address\": \"1901 1st Avenue, New York\",\n            \"address2\": \"NY 10029\",\n            \"zip_code\": \"65506-4433\",\n            \"city_name\": \"Pearl River\",\n            \"address_id\": \"31817530-d047-4565-8aa7-e16275b1715d\",\n            \"state\": {\n                \"name\": \"New York\",\n                \"abbreviation\": \"NY\",\n                \"is_av_flow\": false,\n                \"state_id\": \"59bd3d22-8955-44e1-83c0-8556dd16bde4\",\n                \"country\": {\n                    \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                    \"name\": \"United States of America\",\n                    \"abbreviation\": \"US\"\n                }\n            }\n        },\n        \"intro_video\": {\n            \"file_id\": \"ac0c921d-8526-477d-a00d-3fb0c4c8e3a8\",\n            \"path\": \"6v8Ndd8Tpg1uCCik19G8ErJ4jxNiF5kgv1l1DqqE.mov\",\n            \"name\": \"intro_video.mov\",\n            \"mime_type\": \"video/quicktime\",\n            \"url\": \"http://api.localhost:8000/v1/file/intro_video.mov\",\n            \"url_thumbnail\": null,\n            \"created_at\": \"2023-07-04T22:35:11.000000Z\"\n        }\n    },\n    \"partner\": {\n        \"name\": \"Langworth, Heaney and Mills\",\n        \"partner_id\": \"b9c80740-cf71-4a34-8523-987edf221f75\",\n        \"support_message_capability\": \"integrated\",\n        \"partner_notes\": \"Partner has...\",\n        \"operations_support_email\": \"testing@email.com\",\n        \"customer_support_email\": \"testing@email.com\",\n        \"patient_message_capability\": \"integrated\",\n        \"provides_medications\": true,\n        \"thank_you_note_header\": \"Header Thank you note example\",\n        \"thank_you_note_footer\": \"Footer Thank you note example\",\n        \"vouched_integration_type\": \"disabled\",\n        \"business_model\": \"regular\",\n        \"enable_av_flow\": true,\n        \"slack_channel_id\": \"C05QP6YD8K0\",\n        \"customization\": {\n            \"primary_color\": \"#000000\",\n            \"secondary_color\": \"#000000\",\n            \"background_color\": \"#000000\"\n        },\n        \"address\": {\n            \"address_id\": \"31817530-d047-4565-8aa7-e16275b1715d\",\n            \"address\": \"1901 1st Avenue, New York\",\n            \"zip_code\": \"65506-4433\",\n            \"city_name\": \"Pearl River\",\n            \"state\": {\n                \"state_id\": \"59bd3d22-8955-44e1-83c0-8556dd16bde4\",\n                \"name\": \"New York\",\n                \"abbreviation\": \"NY\",\n                \"is_av_flow\": false,\n                \"country\": {\n                    \"country_id\": \"aff4f7d5-4ce9-4696-9ae8-8fe97d011fbe\",\n                    \"name\": \"United States of America\",\n                    \"abbreviation\": \"US\"\n                }\n            }\n        },\n        \"operation_country\": {\n            \"name\": \"United States of America\",\n            \"abbreviation\": \"US\",\n            \"country_id\": \"535fd3fd-f206-4724-89a9-55289474db8b\"\n        }\n    },\n    \"case_assignment\": {\n        \"reason\": \"Repellat quisquam sed distinctio sit id et. Unde et doloremque quas ducimus harum perferendis. Officia sapiente velit necessitatibus deleniti. Velit error inventore ut ipsam officia id dolorem.\",\n        \"created_at\": \"2021-02-03T19:30:18.000000Z\",\n        \"case_assignment_id\": \"227ed29c-044a-41d7-bb68-caa2e6c5ee63\",\n        \"clinician\": {\n            \"first_name\": \"Parisian\",\n            \"last_name\": \"Schultz\",\n            \"suffix\": \"M.D\",\n            \"is_online\": true,\n            \"npi\": \"1598738916\",\n            \"clinician_id\": \"65e4f8da-e5f7-44b3-a3d4-c9dc74981f4f\",\n            \"full_name\": \"Seamus Parisian\",\n            \"specialty\": \"General Practice\",\n            \"dea\": \"RM1234567\",\n            \"photo\": {\n                \"path\": \"clinicians_photos/ba193841-9a21-4bdf-a778-2a1f33e1ea2c.jpeg\",\n                \"name\": \"under_construction.jpg\",\n                \"mime_type\": \"image/jpeg\",\n                \"url\": \"http://api.localhost:8000/v1/file/clinicians_photos/ba193841-9a21-4bdf-a778-2a1f33e1ea2c.jpeg\",\n                \"url_thumbnail\": null,\n                \"file_id\": \"22a03259-b2de-4255-9d2e-48a9dc368633\"\n            }\n        }\n    },\n    \"tags\": [\n        {\n            \"id\": \"7af7618a-5711-4485-8b35-63b65b3f56cc\",\n            \"type\": \"partner\",\n            \"name\": \"My own tag two\",\n            \"key\": \"my-own-tag-two\",\n            \"color\": \"#fff\",\n            \"description\": \"My tag description\",\n            \"notes\": \"Ola esse é um teste editador\",\n            \"removable_role\": null,\n            \"auto_detach_status\": [\n                \"assigned\",\n                \"processing\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"f068cf34-c603-45ad-ac8c-085454e9adc2"},{"name":"Post Encounter Status","id":"38ab30fd-7914-4dd6-9712-b45c672a1146","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"waiting\",\n    \"reason\": \"test\",\n    \"clinician_id\": \"ecee9fc0-8ae8-4ba3-920d-a57bf6a22806\"\n}"},"url":"https://api.mdintegrations.com/v1/partner/tests/encounters/:encounter_id/status","description":"<p>Create a new encounter for a given patient.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string*</td>\n<td>The new status (assigned, processing, waiting, support, cancelled, resubmit, completed)</td>\n</tr>\n<tr>\n<td>reason</td>\n<td>string</td>\n<td>The reason. Necessary if the status is cancelled or waiting.</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid*</td>\n<td>Clinician to simulate the action.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","tests","encounters",":encounter_id","status"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"type":"any","value":"","key":"encounter_id"}]}},"response":[{"id":"ba37bb9a-0768-4442-b963-0c7cf8f22c9c","name":"Post Encounter Status","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"waiting\",\n    \"reason\": \"test\",\n    \"clinician_id\": \"ecee9fc0-8ae8-4ba3-920d-a57bf6a22806\"\n}"},"url":{"raw":"https://api.mdintegrations.com/v1/partner/tests/encounters/:encounter_id/status","host":["https://api.mdintegrations.com/v1"],"path":["partner","tests","encounters",":encounter_id","status"],"variable":[{"key":"encounter_id","value":"63473a53-a717-450c-9559-08919bd6d9e0"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"7cf7d672-46a9-4a6f-9520-f6d47ba90c3c\",\n    \"patient_id\": \"ab9778f2-3150-4e1b-b7bd-a7f95ef5edee\",\n    \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n    \"reference_case_id\": null,\n    \"is_sync\": false,\n    \"case_type\": \"follow-up\",\n    \"case_assignment_id\": \"d9452aee-2c55-4119-a0a8-997c3387708d\",\n    \"case_status_id\": \"e0db5601-a486-4137-bb4a-278a11e5e12a\",\n    \"prioritized_at\": null,\n    \"prioritized_reason\": null,\n    \"locked_at\": null,\n    \"is_locked\": false,\n    \"service_pdf_exported\": false,\n    \"is_chargeable\": true,\n    \"partner_amount_charged\": null,\n    \"metadata\": \"case number 2345\",\n    \"created_at\": \"2023-11-06T11:59:40.000000Z\",\n    \"updated_at\": \"2023-11-06T12:11:38.000000Z\",\n    \"deleted_at\": null,\n    \"prioritized\": false,\n    \"case_status\": {\n        \"id\": \"e0db5601-a486-4137-bb4a-278a11e5e12a\",\n        \"name\": \"assigned\",\n        \"reason\": \"Reassigned by admin.\",\n        \"updated_at\": \"2023-11-06T12:11:38.000000Z\",\n        \"created_at\": \"2023-11-06T12:11:38.000000Z\"\n    }\n}"}],"_postman_id":"38ab30fd-7914-4dd6-9712-b45c672a1146"},{"name":"Create Encounter Prescription","id":"a9447d3d-53ac-4e7c-a6cc-1a6190e730a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"clinician_id\": \"afebefe5-f357-42af-97a0-8ec66538c24b\",\n    \"dosespot_medication_id\": 310964,\n    \"refills\": 50,\n    \"quantity\": \"1779333.590\",\n    \"days_supply\": 47,\n    \"directions\": \"Voluptas corporis id maiores blanditiis. Minus iste nostrum vitae voluptas enim consequuntur aliquid. Maiores adipisci qui cum eum et. Accusamus id pariatur quo quibusdam.\",\n    \"partner_compound_id\": null,\n    \"dispense_unit_id\": 62,\n    \"pharmacy_id\": 79,\n    \"no_substitutions\": true,\n    \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n    \"effective_date\": \"2023-05-10\",\n    \"title\": \"Prescription title example\"\n}"},"url":"https://api.mdintegrations.com/v1/partner/tests/encounters/:encounter_id/prescriptions","description":"<p>Create a encounter prescription.</p>\n<h1 id=\"payload\">Payload</h1>\n<p>Receives an object of <strong>Prescription</strong>.</p>\n<h2 id=\"prescription-properties\">Prescription Properties</h2>\n<p><strong>Important</strong>: a prescription object must always contain <strong>exactly one</strong> drug type ID from the following:</p>\n<p>[<code>partner_medication_id</code>, <code>partner_compound_id</code>, <code>partner_supply_id</code>, <code>dosespot_supply_ndc</code>]</p>\n<p><strong>Note</strong>: We strongly advise asking our medical team to add medications to your company's dashboard so it's easier to manage prescriptions details from there. Should you need to add a one-time-only medication, you can use the dosespot_medication_id to reference a Dosespot medication directly.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clinician_id</td>\n<td>uuid*</td>\n<td>Clinician to simulate the action</td>\n</tr>\n<tr>\n<td>partner_compound_id</td>\n<td>uuid</td>\n<td>Partner compound ID. Check <strong>Partners &gt; Compounds</strong> to get a <code>partner_compound_id</code> for a given compound. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_supply_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_medication_id</td>\n<td>uuid</td>\n<td>Partner medication ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_medication_id</code> and <code>partner_supply_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_supply_id</td>\n<td>uuid</td>\n<td>Partner supply ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_medication_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>dosespot_supply_ndc</td>\n<td>string</td>\n<td>Dosespot Supply NDC code. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_medication_id</code> and <code>partner_supply_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer (from 0 to 99)</td>\n<td>Total of refills for the given medication * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n<td>Medication quantity string representing a float number (from 0 to 9999999999) <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer (from 0 to 365)</td>\n<td>Number of days of supply of the medication provided - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string(140)</td>\n<td>Instructions about how the medication is administered <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the prescription</td>\n</tr>\n<tr>\n<td>no_substitutions</td>\n<td>boolean</td>\n<td>Whether or not a medication or compound can be changed</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n<td>- <strong>Medication</strong> (prescription with a <code>dosespot_medication_id</code> included): each medication has one associated dispense unit ID. To get the dispense unit ID associated with a given medication check <strong>Partners &gt; Medications &gt; Get details for a specific medication</strong>;  <br />  <br />- <strong>Compound</strong> (prescription with <code>partner_compound_id</code> included): compounds can be associated with any available dispense unit ID. For a list of all available dispense units check <strong>Partners &gt; Dispense Units</strong>. * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer*</td>\n<td>Pharmacy where the prescription must be sent to. Check <strong>Partners &gt; Pharmacies &gt; Get pharmacies</strong> to get a list of all pharmacies available</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>string</td>\n<td>Date from which prescription is effective (time will always be 00:00:00). Format: <code>Y-m-d</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"prescription-status-flow\">Prescription Status Flow</h3>\n<p><code>pending</code>: When prescription is created on MDI side and not synced with Dosespot yet;<br /><code>processing</code>: When MDI receives the Dosespot ID and send through the Dosespot the prescription to Pharmacy;<br /><code>completed</code>: When Dosespot responds to the MDI that this prescription has been verified by the pharmacy;<br /><code>cancelled</code>: When a doctor cancel the prescription (<em>when it was synced with Dosespot we try to cancel it there too</em>)</p>\n<img src=\"https://content.pstmn.io/f2e85db2-8cd9-4f25-ae04-8e72d17fdb0a/aW1hZ2UucG5n\" width=\"1637\" height=\"421\" />","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","tests","encounters",":encounter_id","prescriptions"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"type":"any","value":"63473a53-a717-450c-9559-08919bd6d9e0","key":"encounter_id"}]}},"response":[{"id":"1435237a-0fc5-4309-8521-cad5504a37c0","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"clinician_id\": \"afebefe5-f357-42af-97a0-8ec66538c24b\",\n    \"dosespot_medication_id\": 310964,\n    \"refills\": 50,\n    \"quantity\": \"1779333.590\",\n    \"days_supply\": 47,\n    \"directions\": \"Voluptas corporis id maiores blanditiis. Minus iste nostrum vitae voluptas enim consequuntur aliquid. Maiores adipisci qui cum eum et. Accusamus id pariatur quo quibusdam.\",\n    \"partner_compound_id\": null,\n    \"dispense_unit_id\": 62,\n    \"pharmacy_id\": 79,\n    \"no_substitutions\": true,\n    \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n    \"effective_date\": \"2023-05-10\",\n    \"title\": \"Prescription title example\"\n}"},"url":{"raw":"https://api.mdintegrations.com/v1/sandbox/partner/encounters/:encounter_id/prescriptions","host":["https://api.mdintegrations.com/v1"],"path":["sandbox","partner","encounters",":encounter_id","prescriptions"],"variable":[{"key":"encounter_id","value":"63473a53-a717-450c-9559-08919bd6d9e0"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"3bdb6201-5292-47b0-98d2-a5125dad3f5c\",\n    \"patient_id\": \"ab9778f2-3150-4e1b-b7bd-a7f95ef5edee\",\n    \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n    \"reference_case_id\": null,\n    \"is_sync\": false,\n    \"case_type\": \"follow-up\",\n    \"case_assignment_id\": \"ad2eab89-3dd7-45e6-84f6-0d6e2d5e3b14\",\n    \"case_status_id\": \"b2baadec-c218-439a-bcde-72e101573d3b\",\n    \"prioritized_at\": \"2023-10-16T15:03:16.000000Z\",\n    \"prioritized_reason\": \"Prioritized due the reassignment algorithm.\",\n    \"locked_at\": null,\n    \"is_locked\": false,\n    \"service_pdf_exported\": false,\n    \"is_chargeable\": true,\n    \"partner_amount_charged\": null,\n    \"metadata\": \"case number 2345\",\n    \"created_at\": \"2023-10-06T13:45:36.000000Z\",\n    \"updated_at\": \"2023-10-16T15:06:27.000000Z\",\n    \"deleted_at\": null,\n    \"prioritized\": true,\n    \"patient\": {\n        \"id\": \"ab9778f2-3150-4e1b-b7bd-a7f95ef5edee\",\n        \"first_name\": \"FirstName\",\n        \"last_name\": \"LastName\",\n        \"email\": \"name+sandbox@test.com\",\n        \"active\": true,\n        \"prefix\": \"Sr\",\n        \"weight\": 80,\n        \"height\": null,\n        \"gender\": 2,\n        \"phone_number\": null,\n        \"phone_type\": \"2\",\n        \"address_id\": \"aa2166cf-8266-4e0f-837c-1b84e042e10d\",\n        \"driver_license_id\": null,\n        \"allergies\": null,\n        \"current_medications\": null,\n        \"pregnancy\": false,\n        \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n        \"environment_id\": \"bf77c962-3915-4d3f-91a3-53cd64799531\",\n        \"clinician_id\": \"ecee9fc0-8ae8-4ba3-920d-a57bf6a22806\",\n        \"metadata\": null,\n        \"intro_video_file_id\": \"ac0c921d-8526-477d-a00d-3fb0c4c8e3a8\",\n        \"recent_encounter_id\": \"2a88178f-4360-4ff5-aafd-37af28cc506d\",\n        \"created_at\": \"2023-10-06T13:32:50.000000Z\",\n        \"updated_at\": \"2023-10-24T13:41:00.000000Z\",\n        \"deleted_at\": null,\n        \"patient_id\": \"ab9778f2-3150-4e1b-b7bd-a7f95ef5edee\",\n        \"full_name\": \"FirstName LastName\",\n        \"abbreviated_name\": \"FirstName L.\",\n        \"is_live\": false,\n        \"intro_video_id\": \"ac0c921d-8526-477d-a00d-3fb0c4c8e3a8\",\n        \"environment\": {\n            \"id\": \"bf77c962-3915-4d3f-91a3-53cd64799531\",\n            \"identifier\": \"sandbox\",\n            \"created_at\": \"2023-08-01T02:00:25.000000Z\",\n            \"updated_at\": \"2023-08-01T02:00:25.000000Z\",\n            \"deleted_at\": null,\n            \"webhook_url\": null,\n            \"webhook_secret\": null,\n            \"webhook_authorization\": null\n        }\n    },\n    \"partner\": {\n        \"id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n        \"name\": \"MDI USA Partner\",\n        \"active\": true,\n        \"logo_file_id\": \"eb2caa1e-6622-4117-9c21-892b44bc23fb\",\n        \"operation_country_id\": \"bf511938-8c04-47cf-ac41-6a9aeea376ad\",\n        \"about\": \"createdMon Aug 21 2023 14:33:28 GMT+0000\",\n        \"address_id\": \"68a03cb3-9b0c-46aa-8e67-98551eedca01\",\n        \"website_url\": \"https://mdintegrations.com.test/\",\n        \"status\": \"live\",\n        \"is_expedited\": false,\n        \"customer_support_email\": \"name+partner+customer@test.com\",\n        \"operations_support_email\": \"namre+partner+operation@test.com\",\n        \"patient_message_capability\": \"notification_email\",\n        \"support_message_capability\": \"notification_email\",\n        \"support_hours\": \"8 hours a day\",\n        \"support_location\": \"international\",\n        \"enable_av_flow\": true,\n        \"business_model\": \"regular\",\n        \"use_intake_form\": false,\n        \"use_messaging\": true,\n        \"messaging_app_primary_color\": \"#295c92\",\n        \"messaging_app_secondary_color\": \"#60375a\",\n        \"messaging_app_background_color\": \"#50bbb6\",\n        \"partner_notes\": \"<div><strong>MDI USA Partner</strong> is the world's leading pharmaceutical company.&nbsp; The company, which has its global headquarters in New York City, acts in the global market since 1924.<br>For more information about&nbsp; <strong>MDI USA Partner</strong>, visit our <a href=\\\"https://mdintegrations.com/\\\">website</a>:&nbsp;</div>\",\n        \"parent_company\": null,\n        \"thank_you_note_header\": \"Hi [patient_name] from [patient_state],\\r\\nThanks for coming to [partner_name] and allowing us to care for you. I have reviewed your answers to the medical intake form, and you are a good candidate for the treatment. I have sent a prescription to the pharmacy, and you should be receiving your package in a few days at the address on your account. Relief is on the way!\",\n        \"thank_you_note_footer\": \"Thanks & Regards,\\r\\n\\r\\n[clinician_name],\\r\\n[clinician_email].\",\n        \"charge_sync_new_case\": \"25.00\",\n        \"charge_async_new_case\": \"10.15\",\n        \"charge_sync_follow_up_case\": \"25.00\",\n        \"charge_async_follow_up_case\": \"10.15\",\n        \"vouched_integration_type\": \"manually\",\n        \"vouched_integration_charge\": \"0.00\",\n        \"text_message_integration_type\": \"automatic\",\n        \"text_message_integration_charge\": \"1.00\",\n        \"accepted_at\": \"2021-06-04T16:16:00.000000Z\",\n        \"slack_channel_id\": \"C05T1G31F0T\",\n        \"created_at\": \"2021-06-04T16:16:00.000000Z\",\n        \"updated_at\": \"2023-09-19T21:48:00.000000Z\",\n        \"deleted_at\": null,\n        \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\"\n    },\n    \"case_prescriptions\": [\n        {\n            \"id\": \"4d159d2d-7b64-4595-81fc-f1325efa2afc\",\n            \"refills\": 50,\n            \"quantity\": 1779333.59,\n            \"days_supply\": 47,\n            \"directions\": \"Voluptas corporis id maiores blanditiis. Minus iste nostrum vitae voluptas enim consequuntur aliquid.\",\n            \"dispense_unit_id\": 62,\n            \"pharmacy_id\": 79,\n            \"thank_you_note\": null,\n            \"clinical_note\": null,\n            \"dosespot_prescription_id\": null,\n            \"status\": \"pending\",\n            \"status_details\": null,\n            \"pharmacy_notes\": \"This medication might not be suitable for people with...\",\n            \"no_substitutions\": true,\n            \"dosespot_display_name\": null,\n            \"medication\": {\n                \"dosespot_medication_id\": \"310964\",\n                \"dispense_unit_id\": 4,\n                \"dose_form\": \"capsule\",\n                \"route\": \"oral\",\n                \"strength\": \"200 mg\",\n                \"generic_product_name\": \"ibuprofen 200 mg oral capsule\",\n                \"lexi_gen_product_id\": 6680,\n                \"lexi_drug_syn_id\": 18915,\n                \"lexi_synonym_type_id\": 59,\n                \"lexi_gen_drug_id\": \"d00015\",\n                \"rx_cui\": \"310964\",\n                \"otc\": true,\n                \"ndc\": \"00113029858\",\n                \"schedule\": \"0\",\n                \"display_name\": \"Ibuprofen 200 mg capsule\",\n                \"monograph_path\": null,\n                \"drug_classification\": \"central nervous system agents\",\n                \"state_schedules\": [],\n                \"metadata\": null,\n                \"partner_medication_id\": null\n            },\n            \"updated_at\": \"2023-10-06T14:10:14.000000Z\",\n            \"created_at\": \"2023-10-06T14:10:14.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"a9447d3d-53ac-4e7c-a6cc-1a6190e730a2"},{"name":"Reassign clinician to encounter","id":"106fe7b4-b2d8-40d8-a37a-4aa3ff1cdbba","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"clinician_id\": \"2657524c-b4b8-4727-a414-3f8750020766\",\r\n    \"reason\": \"Here an example of a reason.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/partner/tests/encounters/:encounter_id/reassign","description":"<p>Reassign a given clinician to a given encounter.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clinician_id</td>\n<td>uuid*</td>\n<td>Clinician UUID</td>\n</tr>\n<tr>\n<td>reason</td>\n<td>string</td>\n<td>A reason for the assignment.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","tests","encounters",":encounter_id","reassign"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"type":"any","value":"63473a53-a717-450c-9559-08919bd6d9e0","key":"encounter_id"}]}},"response":[{"id":"31cd5699-fed9-4f3c-bc63-c7993b02f3ea","name":"Reassign clinician to encounter","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"clinician_id\": \"2657524c-b4b8-4727-a414-3f8750020766\",\r\n    \"reason\": \"Here an example of a reason.\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/v1/partner/tests/encounters/:encounter_id/reassign","host":["https://api.mdintegrations.com/v1"],"path":["partner","tests","encounters",":encounter_id","reassign"],"variable":[{"key":"encounter_id","value":"63473a53-a717-450c-9559-08919bd6d9e0"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"3bdb6201-5292-47b0-98d2-a5125dad3f5c\",\n    \"patient_id\": \"ab9778f2-3150-4e1b-b7bd-a7f95ef5edee\",\n    \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n    \"reference_case_id\": null,\n    \"is_sync\": false,\n    \"case_type\": \"follow-up\",\n    \"case_assignment_id\": \"e1ac6b2b-a596-4b08-916e-5ec345b0cfed\",\n    \"case_status_id\": \"b2baadec-c218-439a-bcde-72e101573d3b\",\n    \"prioritized_at\": \"2023-10-16T15:03:16.000000Z\",\n    \"prioritized_reason\": \"Prioritized due the reassignment algorithm.\",\n    \"locked_at\": null,\n    \"is_locked\": false,\n    \"service_pdf_exported\": false,\n    \"is_chargeable\": true,\n    \"partner_amount_charged\": null,\n    \"metadata\": \"case number 2345\",\n    \"created_at\": \"2023-10-06T13:45:36.000000Z\",\n    \"updated_at\": \"2023-11-06T12:13:46.000000Z\",\n    \"deleted_at\": null,\n    \"prioritized\": true,\n    \"case_assignment\": {\n        \"id\": \"e1ac6b2b-a596-4b08-916e-5ec345b0cfed\",\n        \"case_id\": \"3bdb6201-5292-47b0-98d2-a5125dad3f5c\",\n        \"clinician_id\": \"bcda6915-69bf-4b8d-bda9-145d47c52df5\",\n        \"reason\": \"test\",\n        \"created_at\": \"2023-11-06T12:13:46.000000Z\",\n        \"updated_at\": \"2023-11-06T12:13:46.000000Z\"\n    }\n}"}],"_postman_id":"106fe7b4-b2d8-40d8-a37a-4aa3ff1cdbba"},{"name":"Create Patient and Encounter","id":"f9218352-01b7-41f3-857c-0b2aab6e9128","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"preferred_pharmacy_id\": 13012,\n    \"questionnaire_id\": \"368f95e5-cbd9-4a2f-8275-6f9258bbdf46\",\n    \"completion_time\": \"00:12:53\",\n    \"patient\": {\n        \"prefix\": \"Sr\",\n        \"first_name\": \"Oberyn\",\n        \"last_name\": \"Martell\",\n        \"ssn\": \"111-22-3333\",\n        \"gender\": 2,\n        \"weight\": 80,\n        \"body_temperature\": 36.9,\n        \"oxygen_saturation\": 99,\n        \"special_necessities\": \"special necessities example\",\n        \"date_of_birth\": \"1990-11-11\",\n        \"phone_number\": \"\",\n        \"phone_type\": 2,\n        \"email\": \"oberyn@mdintegrations.com\",\n        \"address\": {\n            \"address\": \"10001, new test mall\",\n            \"zip_code\": \"12345\",\n            \"city_name\": \"New York\",\n            \"state_name\": \"NY\"\n        },\n        \"intro_video_id\": \"9d8df900-5b97-4d12-86e7-488fcb891b22\",\n        \"is_sms_enabled\": true,\n        \"is_email_enabled\": true,\n        \"shopify_customer_id\": null,\n        \"woocommerce_customer_id\": null\n    },\n    \"case\": {\n        \"clinician_id\": \"20b0e825-041d-4ea9-97b1-cec9d237ff3a\",\n        \"metadata\": \"example of metadata\",\n        \"case_files\": [],\n        \"case_services\": [\n            {\n                \"description\": \"Device that...\",\n                \"service_type\": \"device\",\n                \"title\": \"Device 14\",\n                \"additional_note\": \"Service additional note\",\n                \"clinical_notes\": \"Some clinical note\",\n                \"thank_you_note\": \"Some thank you note\",\n                \"pharmacy_fax_number\": \"+587965462919\",\n                \"include_drivers_license\": true,\n                \"send_pdf_file_automatically\": false\n            }\n        ],\n        \"case_prescriptions\": [\n            {\n                \"dosespot_medication_id\": 310964,\n                \"refills\": 2,\n                \"quantity\": 1.5,\n                \"days_supply\": 30,\n                \"directions\": \"Take one at the morning and another before bed\",\n                \"dispense_unit_id\": 2,\n                \"pharmacy_id\": 13012,\n                \"no_substitutions\": true,\n                \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n                \"effective_date\": \"2023-05-10\"\n            }\n        ],\n        \"case_questions\": [\n            {\n                \"question\": \"Are you pregnant?\",\n                \"answer\": \"false\",\n                \"type\": \"boolean\",\n                \"important\": true,\n                \"is_critical\": true,\n                \"display_in_pdf\": true\n            }\n        ],\n        \"diseases\": [\n            {\n                \"disease_id\": \"000d2152-7838-4fc7-8a13-ae8a1748a9eb\"\n            }\n        ],\n        \"tags\": [\n            {\n                \"tag_id\": \"d99ac893-9bd6-49ae-befe-4cf625e97d7c\"\n            }\n        ]\n    }\n}"},"url":"https://api.mdintegrations.com/v1/partner/tests/vouchers/:voucher_id","description":"<p>Create a new patient and encounter.</p>\n<h1 id=\"case-payload\">Case Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>preferred_pharmacy_id</td>\n<td>integer</td>\n<td>Dosespot Pharmacy ID</td>\n</tr>\n<tr>\n<td>questionnaire_id</td>\n<td>uuid*</td>\n<td>Questionnaire ID</td>\n</tr>\n<tr>\n<td>completion_time</td>\n<td>string*</td>\n<td>Time in the format \"hh:mm:ss\"</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"patient-payload\">Patient Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>prefix</td>\n<td>string(10)*</td>\n<td>Prefix</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string(35)*</td>\n<td>First name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string(35)*</td>\n<td>Last name</td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>string(11)</td>\n<td>Security Social Number. <strong>Format</strong>: <code>AAAGGSSSS</code></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string(80)*</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>date*</td>\n<td>Date of birth, as YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>driver_license_id</td>\n<td>uuid</td>\n<td>Patient's Driver License, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>integer*</td>\n<td>Gender (ISO 5218 format)</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the patient. (e.g., an ID that will be used to identify this patient in another database)</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>string(25)*</td>\n<td>Phone number - <em>US format</em></td>\n</tr>\n<tr>\n<td>phone_type</td>\n<td>integer*</td>\n<td>Phone type. Available options: 2 (cell) or 4 (home)</td>\n</tr>\n<tr>\n<td>address.address</td>\n<td>string(35)*</td>\n<td>Address</td>\n</tr>\n<tr>\n<td>address.address2</td>\n<td>string(35)</td>\n<td>Additional address - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>address.zip_code</td>\n<td>string(9)*</td>\n<td>US zip code - _5 or 9 digit format*_OR*CA zip code - 6 alphanumeric characters</td>\n</tr>\n<tr>\n<td>address.city_name</td>\n<td>string(35)*</td>\n<td>City name.</td>\n</tr>\n<tr>\n<td>address.state_name</td>\n<td>string*</td>\n<td>State name or State USPS abbreviation.</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>float (from 0 to 999)</td>\n<td>Weight in KG * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>height</td>\n<td>integer (from 0 to 300)</td>\n<td>Height in CM * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>body_temperature</td>\n<td>float (from 0.0 to 100.0)</td>\n<td>Body temperature in Celsius</td>\n</tr>\n<tr>\n<td>oxygen_saturation</td>\n<td>integer (from 0 to 100)</td>\n<td>Oxygen Saturation in percentage</td>\n</tr>\n<tr>\n<td>special_necessities</td>\n<td>text</td>\n<td>Special necessities to be informed about in this case</td>\n</tr>\n<tr>\n<td>allergies</td>\n<td>text</td>\n<td>Known patient's allergies</td>\n</tr>\n<tr>\n<td>pregnancy</td>\n<td>boolean</td>\n<td>Define the patient with a pregnancy</td>\n</tr>\n<tr>\n<td>current_medications</td>\n<td>text</td>\n<td>Medications that the patient is currently taking</td>\n</tr>\n<tr>\n<td>intro_video_id</td>\n<td>uuid</td>\n<td>Patient's Intro Video, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"case-payload-1\">Case Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the case. (e.g., an ID that will be used to identify this case in another database)</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n<td>Clinician to assign the case to, in case there is a preference for a specific clinician in a specific case. If the field is not sent, a clinician will be assigned according to MDIntegrations algorithm.</td>\n</tr>\n<tr>\n<td>case_prescriptions</td>\n<td>array(Prescription)</td>\n<td>List of prescriptions to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>case_files</td>\n<td>array(uuid)</td>\n<td>Files ID to be attached to the case. The files must be uploaded before creating a case. To upload files check <strong>Partners &gt; Files</strong></td>\n</tr>\n<tr>\n<td>case_questions</td>\n<td>array(Question)</td>\n<td>Questions and answers list</td>\n</tr>\n<tr>\n<td>case_services</td>\n<td>array(Services)</td>\n<td>List of services to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array(uuid)</td>\n<td>Tags ID to be attached to the case.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"prescription-properties\">Prescription Properties</h2>\n<p><strong>Important</strong>: a prescription object must always contain <strong>exactly one</strong> drug type ID from the following:</p>\n<p>[<code>partner_medication_id</code>, <code>partner_compound_id</code>, <code>partner_supply_id</code>]</p>\n<p><strong>Note</strong>: We strongly advise asking our medical team to add medications to your company's dashboard so it's easier to manage prescriptions details from there. Should you need to add a one-time-only medication, you can use the dosespot_medication_id to reference a Dosespot medication directly.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_compound_id</td>\n<td>uuid</td>\n<td>Partner compound ID. Check <strong>Partners &gt; Compounds</strong> to get a <code>partner_compound_id</code> for a given compound. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_medication_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_medication_id</td>\n<td>uuid</td>\n<td>Partner medication ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_supply_id</td>\n<td>uuid</td>\n<td>Partner supply ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_supply_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer (from 0 to 99)</td>\n<td>Total of refills for the given medication * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n<td>Medication quantity string representing a float number (from 0 to 9999999999) <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer (from 0 to 365)</td>\n<td>Number of days of supply of the medication provided - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string(140)</td>\n<td>Instructions about how the medication is administered <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the prescription</td>\n</tr>\n<tr>\n<td>no_substitutions</td>\n<td>boolean</td>\n<td>Whether or not a medication or compound can be changed</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n<td>- <strong>Medication</strong> (prescription with a <code>dosespot_medication_id</code> included): each medication has one associated dispense unit ID. To get the dispense unit ID associated with a given medication check <strong>Partners &gt; Medications &gt; Get details for a specific medication</strong>;  <br />  <br />- <strong>Compound</strong> (prescription with <code>partner_compound_id</code> included): compounds can be associated with any available dispense unit ID. For a list of all available dispense units check <strong>Partners &gt; Dispense Units</strong>. * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer*</td>\n<td>Pharmacy where the prescription must be sent to. Check <strong>Partners &gt; Pharmacies &gt; Get pharmacies</strong> to get a list of all pharmacies available.  <br />  <br /><strong>Required if</strong>: <code>dosespot_medication_id</code> is present.  <br /><strong>Required if</strong>: <code>partner_medication_id</code> or <code>partner_medication_id</code> does not have a registered default pharmacy.  <br />  <br /><strong>Important note</strong>:  <br />  <br />Dosespot works with <strong>different IDs</strong> for pharmacies according to the environment.  <br />Example:  <br />- Curexa pharmacy ID in <strong>staging</strong> environment: 133012  <br />- Curexa pharmacy ID in <strong>production</strong> environment: 29992</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>string</td>\n<td>Date from which prescription is effective (time will always be 00:00:00). Format: <code>Y-m-d</code></td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"question-properties\">Question Properties</h1>\n<p>For more information about <code>questions</code> and how they affect prescriptions, contact us via Slack or send an email to:<br /><a href=\"https://mailto:mserota@mdintegrations.com\">mserota@mdintegrations.com</a> and <a href=\"https://mailto:jeff@mdintegrations.com\">jeff@mdintegrations.com</a></p>\n<p>We are also available through Slack (partner's channel).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>question</td>\n<td>string(255)*</td>\n<td>Question</td>\n</tr>\n<tr>\n<td>answer</td>\n<td>text*</td>\n<td>Answer</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string*</td>\n<td>Question type. Available options: <code>boolean</code>, <code>number</code> or <code>string</code></td>\n</tr>\n<tr>\n<td>important</td>\n<td>boolean</td>\n<td>Flag to set a question as <code>important</code>.  <br />  <br /><strong>Important Note</strong>:  <br />This flag is used to identify which questions could affect the final prescription. You could also implement custom logic to set this flag only when specific answers are selected.</td>\n</tr>\n<tr>\n<td>display_in_pdf</td>\n<td>boolean</td>\n<td>Flag to set if this question will be displayed in the case PDF file</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"diseases\">Diseases</h1>\n<p><strong>Important</strong>: Every disease object will add the disease with the ICD (International Classification of Disease) to the case.</p>\n<p><strong>Note</strong>: Diseses can be found on the diseases page on the Admin panel. Once you know a disease id, you can also retrieve its information through the API using the Get Disease route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>disease_id</td>\n<td>UUID</td>\n<td>Disease ID. It can be found through the diseases endpoints.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"service-properties\">Service Properties</h2>\n<p><strong>Important</strong>: a service object can include a <strong>partner_service_id</strong> in order to use predefined information from a partner service.</p>\n<p><strong>Note</strong>: Partner services can be found under your company's offerings from the Partners Website. Once you know a partner's service id, you can also retrieve its information through the api using the <strong>Get Service</strong> route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>service_type</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>additional_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>partner_service_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>clinical_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_fax_number</td>\n<td>string</td>\n</tr>\n<tr>\n<td>include_drivers_license</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>send_pdf_file_automatically</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","tests","vouchers",":voucher_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"0a6e176d-19a3-4738-ad80-d778f7348654","key":"voucher_id"}]}},"response":[],"_postman_id":"f9218352-01b7-41f3-857c-0b2aab6e9128"}],"id":"e5861804-4e49-4725-96f5-bb966d07a254","_postman_id":"e5861804-4e49-4725-96f5-bb966d07a254","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Patients","item":[{"name":"Messages","item":[{"name":"Create Message","id":"f8366f63-9732-46a6-95a9-fe6603059fea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"channel\": \"patient\",\n    \"clinician_id\": \"bcda6915-69bf-4b8d-bda9-145d47c52df5\",\n    \"support_staff_id\": \"afebefe5-f357-42af-97a0-8ec66538c24b\",\n    \"text\": \"Message text.\",\n    \"reference_message_id\": \"ce36bba7-3932-4197-9d92-4565a890edf8\",\n    \"files\": [\n        {\n            \"id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\"\n        },\n        {\n            \"id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/partner/tests/patients/:patient_id/messages","description":"<p>Creates a patient's message, and attaches its files.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>channel*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>support_staff_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>text</td>\n<td>string</td>\n</tr>\n<tr>\n<td>reference_message_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>files</td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-files\">Payload (files)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id*</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}},"urlObject":{"path":["partner","tests","patients",":patient_id","messages"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"type":"any","value":"813e95aa-3c73-40a3-9289-b13c846c03c5","key":"patient_id"}]}},"response":[{"id":"49f11067-ccc7-4af8-b4fe-dd6a537c13d4","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"channel\": \"patient\",\n    \"clinician_id\": \"bcda6915-69bf-4b8d-bda9-145d47c52df5\",\n    \"support_staff_id\": \"afebefe5-f357-42af-97a0-8ec66538c24b\",\n    \"text\": \"Message text.\",\n    \"reference_message_id\": \"ce36bba7-3932-4197-9d92-4565a890edf8\",\n    \"files\": [\n        {\n            \"id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\"\n        },\n        {\n            \"id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/v1/sandbox/partner/patients/:patient_id/messages","host":["https://api.mdintegrations.com/v1"],"path":["sandbox","partner","patients",":patient_id","messages"],"variable":[{"key":"patient_id","value":"813e95aa-3c73-40a3-9289-b13c846c03c5"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"396ca380-83e5-4924-93a5-fca14c554f70\",\n    \"patient_id\": \"813e95aa-3c73-40a3-9289-b13c846c03c5\",\n    \"channel\": \"patient\",\n    \"text\": \"msg text\",\n    \"user_type\": \"App\\\\Models\\\\Patient\",\n    \"user_id\": \"813e95aa-3c73-40a3-9289-b13c846c03c5\",\n    \"reference_message_id\": null,\n    \"replied_at\": null,\n    \"reply_message_id\": null,\n    \"dismissed_at\": null,\n    \"dismissed_by_user_type\": null,\n    \"dismissed_by_user_id\": null,\n    \"emailed_at\": \"2023-10-24T13:41:09.414220Z\",\n    \"created_at\": \"2023-10-24T13:41:09.000000Z\",\n    \"updated_at\": \"2023-10-24T13:41:09.000000Z\",\n    \"deleted_at\": null,\n    \"user_read_at\": null,\n    \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n    \"recent_encounter_id\": \"4ad0d8cb-dc79-4563-8b9b-be2e30f1491e\",\n    \"user\": {\n        \"id\": \"813e95aa-3c73-40a3-9289-b13c846c03c5\",\n        \"first_name\": \"FirstName\",\n        \"last_name\": \"LastName\",\n        \"email\": \"name+sandbox@test.com\",\n        \"active\": true,\n        \"prefix\": \"Sr\",\n        \"weight\": 80,\n        \"height\": null,\n        \"gender\": 2,\n        \"phone_number\": null,\n        \"phone_type\": \"2\",\n        \"address_id\": \"aa116304-6e65-4ab7-a917-0dbbf39aaef4\",\n        \"driver_license_id\": null,\n        \"allergies\": null,\n        \"current_medications\": null,\n        \"pregnancy\": false,\n        \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n        \"environment_id\": \"bf77c962-3915-4d3f-91a3-53cd64799531\",\n        \"clinician_id\": null,\n        \"metadata\": null,\n        \"intro_video_file_id\": \"ac0c921d-8526-477d-a00d-3fb0c4c8e3a8\",\n        \"recent_encounter_id\": \"4ad0d8cb-dc79-4563-8b9b-be2e30f1491e\",\n        \"created_at\": \"2023-10-03T23:39:44.000000Z\",\n        \"updated_at\": \"2023-10-24T13:38:05.000000Z\",\n        \"deleted_at\": null,\n        \"patient_id\": \"813e95aa-3c73-40a3-9289-b13c846c03c5\",\n        \"full_name\": \"FirstName LastName\",\n        \"abbreviated_name\": \"FirstName L.\",\n        \"is_live\": false,\n        \"intro_video_id\": \"ac0c921d-8526-477d-a00d-3fb0c4c8e3a8\",\n        \"environment\": {\n            \"id\": \"bf77c962-3915-4d3f-91a3-53cd64799531\",\n            \"identifier\": \"sandbox\",\n            \"created_at\": \"2023-08-01T02:00:25.000000Z\",\n            \"updated_at\": \"2023-08-01T02:00:25.000000Z\",\n            \"deleted_at\": null,\n            \"webhook_url\": null,\n            \"webhook_secret\": null,\n            \"webhook_authorization\": null\n        }\n    },\n    \"files\": [\n        {\n            \"id\": \"0067f10c-1c87-42fc-9c6e-58d1a33b0208\",\n            \"name\": \"Logo.png\",\n            \"mime_type\": \"image/png\",\n            \"path\": \"partners/FovnWapK1WiHk2Rki6I0s05RVyPmi804GOR79DSO.png\",\n            \"thumbnail_path\": \"partners/0067f10c-1c87-42fc-9c6e-58d1a33b0208_thumbnail.png\",\n            \"created_at\": \"2022-11-24T14:30:55.000000Z\",\n            \"updated_at\": \"2023-03-29T10:35:37.000000Z\",\n            \"deleted_at\": null,\n            \"url\": \"https://localhost:8000/s3/files/0067f10c-1c87-42fc-9c6e-58d1a33b0208/file?signature=590e2c7823d01a46a30227874ba30bf6ab99855967ff9d5287ed34f392f7a3f9\",\n            \"thumbnail_url\": \"https://localhost:8000/s3/files/0067f10c-1c87-42fc-9c6e-58d1a33b0208/thumbnail?signature=db1b7610b661ec0af2224dd2827b7c4ec4d6738fa58397b056dd7d5862bfeb78\"\n        }\n    ],\n    \"patient\": {\n        \"id\": \"813e95aa-3c73-40a3-9289-b13c846c03c5\",\n        \"first_name\": \"FirstName\",\n        \"last_name\": \"LastName\",\n        \"email\": \"name+sandbox@test.com\",\n        \"active\": true,\n        \"prefix\": \"Sr\",\n        \"weight\": 80,\n        \"height\": null,\n        \"gender\": 2,\n        \"phone_number\": null,\n        \"phone_type\": \"2\",\n        \"address_id\": \"aa116304-6e65-4ab7-a917-0dbbf39aaef4\",\n        \"driver_license_id\": null,\n        \"allergies\": null,\n        \"current_medications\": null,\n        \"pregnancy\": false,\n        \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n        \"environment_id\": \"bf77c962-3915-4d3f-91a3-53cd64799531\",\n        \"clinician_id\": null,\n        \"metadata\": null,\n        \"intro_video_file_id\": \"ac0c921d-8526-477d-a00d-3fb0c4c8e3a8\",\n        \"recent_encounter_id\": \"4ad0d8cb-dc79-4563-8b9b-be2e30f1491e\",\n        \"created_at\": \"2023-10-03T23:39:44.000000Z\",\n        \"updated_at\": \"2023-10-24T13:38:05.000000Z\",\n        \"deleted_at\": null,\n        \"patient_id\": \"813e95aa-3c73-40a3-9289-b13c846c03c5\",\n        \"full_name\": \"FirstName LastName\",\n        \"abbreviated_name\": \"FirstName L.\",\n        \"is_live\": false,\n        \"intro_video_id\": \"ac0c921d-8526-477d-a00d-3fb0c4c8e3a8\",\n        \"clinician\": null,\n        \"environment\": {\n            \"id\": \"bf77c962-3915-4d3f-91a3-53cd64799531\",\n            \"identifier\": \"sandbox\",\n            \"created_at\": \"2023-08-01T02:00:25.000000Z\",\n            \"updated_at\": \"2023-08-01T02:00:25.000000Z\",\n            \"deleted_at\": null,\n            \"webhook_url\": null,\n            \"webhook_secret\": null,\n            \"webhook_authorization\": null\n        }\n    },\n    \"readings\": []\n}"}],"_postman_id":"f8366f63-9732-46a6-95a9-fe6603059fea"}],"id":"afca45f0-d896-46e4-8370-bb8bc42258a4","_postman_id":"afca45f0-d896-46e4-8370-bb8bc42258a4","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}}],"id":"ada562e7-6dab-43ca-8215-f9bb19dd6cca","_postman_id":"ada562e7-6dab-43ca-8215-f9bb19dd6cca","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}}],"id":"a7a7dd7d-3143-4f80-936a-45fb53db2563","_postman_id":"a7a7dd7d-3143-4f80-936a-45fb53db2563","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Embedding","item":[{"name":"Embedding URLs","id":"1beb92b7-68f6-432d-b50d-5dab9fb966eb","protocolProfileBehavior":{"disableBodyPruning":true,"followRedirects":false,"protocolVersion":"auto","disableUrlEncoding":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DOC","header":[],"url":"...","description":"<p>The following documentation applies to all white label experiences. Some of this functionality might be limited to certain events.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-html\">&lt;iframe src=\"{{ mdi_url }}\" allow=\"camera; microphone\"&gt;&lt;/iframe&gt;\n\n</code></pre>\n<h2 id=\"embedded-form\">Embedded Form</h2>\n<p>If you plan on embedding the intake form on your own page, you may append the following query parameter at the end of the URL provided on workflow request responses to remove borders, branding and other visual elements for a seamless experience:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>param</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>fullscreen</strong></td>\n<td>boolean*</td>\n<td>If set to TRUE will remove borders, logos and other visual elements from around the intake form window to make it seamless when embedding it.</td>\n</tr>\n</tbody>\n</table>\n</div><p>You may also subscribe to <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage\">window postMessage events</a> to keep track of important events and user progress. Different workflows may trigger different events.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>event</th>\n<th>data</th>\n<th>description</th>\n<th><strong>scope</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>load</td>\n<td>-</td>\n<td>White Label App loaded</td>\n<td>all</td>\n</tr>\n<tr>\n<td>unload</td>\n<td>-</td>\n<td>User is attempting to close the screen</td>\n<td>all</td>\n</tr>\n<tr>\n<td>start</td>\n<td>-</td>\n<td>User has started filling out the questionnaire</td>\n<td>intake form</td>\n</tr>\n<tr>\n<td>finish</td>\n<td>-</td>\n<td>User has finished the intake form</td>\n<td>intake form</td>\n</tr>\n<tr>\n<td>step</td>\n<td>step, index, estimated, total, question_id*</td>\n<td>User has progressed through a step. It can either be a demographic step or customized question</td>\n<td>intake form</td>\n</tr>\n<tr>\n<td>logged_in</td>\n<td>patient_id</td>\n<td>User has logged in</td>\n<td>all</td>\n</tr>\n<tr>\n<td>encounter_created</td>\n<td>encounter_id, patient_id</td>\n<td>Encounter created</td>\n<td>intake form</td>\n</tr>\n<tr>\n<td>patient_created</td>\n<td>patient_id</td>\n<td>Patient created</td>\n<td>intake form</td>\n</tr>\n<tr>\n<td>skipped_question</td>\n<td>-</td>\n<td>User has skipped a question and progressed through a step.</td>\n<td>intake form</td>\n</tr>\n<tr>\n<td>dead_end_question</td>\n<td>-</td>\n<td>User has reached a question that blocks her from progressing on the intake.</td>\n<td>intake form</td>\n</tr>\n<tr>\n<td>otp_ready¹</td>\n<td>-</td>\n<td>User has reached the OTP screen</td>\n<td>all</td>\n</tr>\n<tr>\n<td>otp_failed¹</td>\n<td>-</td>\n<td>Provided OTP is invalid</td>\n<td>all</td>\n</tr>\n</tbody>\n</table>\n</div><p>An embedded white label app will also support certain events and messages:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>message</strong></th>\n<th><strong>data</strong></th>\n<th><strong>description</strong></th>\n<th><strong>scope</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>otp¹</td>\n<td><em>string</em></td>\n<td>Sends in an OTP to be inputted and auto submits the form. Use this message to create a seamless login experience on workflows that require additional authentication</td>\n<td>OTP pages</td>\n</tr>\n</tbody>\n</table>\n</div><p>The following sample showcases how one of the events above would be sent client-side to an iframe with one of our white label experiences embedded:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">const payload = {\n  message: 'otp',\n  data: 'ABCDEF',\n};\niFrame?.contentWindow?.postMessage(payload, '*');\n\n</code></pre>\n<p>Note by Nov. 12th we will no longer return pre-authenticated URLs for the white label workflows², effectively requiring an OTP code to be inserted manually by the user. If you are embedding them on your website and want to keep a seamless login experience, you should listen for a <code>otp_ready</code> event from the iframe and send an <code>otp</code> message with the verification_code returned by the workflow endpoint like so:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">window.addEventListener('message', (e) =&gt; {\n  const event = e.data.event;\n  if (event === 'otp_ready') {\n    iframe.contentWindow.postMessage({ message: 'otp', data: verification_code }, '*');\n  }\n});\n\n</code></pre>\n<p>¹: Feature will only be available after Nov 12th, 2024.<br />²: Intake Forms are excluded from this change.</p>\n","urlObject":{"host":["","","",""],"query":[],"variable":[]}},"response":[],"_postman_id":"1beb92b7-68f6-432d-b50d-5dab9fb966eb"}],"id":"9170cf8f-851d-466d-9202-0139a532c18f","_postman_id":"9170cf8f-851d-466d-9202-0139a532c18f","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Specialties","item":[{"name":"Get Specialties","id":"0aef0aeb-1dea-4fc1-b0a2-b836187fa077","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/partner/specialties","description":"<p>Get the specialties (paginated).</p>\n","urlObject":{"path":["v1","partner","specialties"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[{"id":"f4d85909-9576-448b-acb7-c8acb2d40a44","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/partner/specialties"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"a0d68ba0-1813-4dcd-8b1d-cb8d422dc031\",\n            \"title\": \"Specialty Example\",\n            \"is_public\": true,\n            \"created_at\": \"2025-06-30T21:53:58.000000Z\",\n            \"updated_at\": \"2025-06-30T21:53:58.000000Z\",\n            \"deleted_at\": null\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://api.mdintegrations.com/partners/specialties?page=1\",\n        \"last\": \"http://api.mdintegrations.com/partners/specialties?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.mdintegrations.com/partners/specialties?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://api.mdintegrations.com/partners/specialties\",\n        \"per_page\": 100,\n        \"to\": 1,\n        \"total\": 1\n    }\n}"}],"_postman_id":"0aef0aeb-1dea-4fc1-b0a2-b836187fa077"}],"id":"79c797ef-5ef7-4db9-8130-20d7d3d6e403","_postman_id":"79c797ef-5ef7-4db9-8130-20d7d3d6e403","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Tags","item":[{"name":"Get Tags","id":"6635fd50-21d4-433b-8ce5-060ffe80b68c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/partner/tags?page=1&per_page=15&type=global","description":"<p>Get the tags (paginated).</p>\n","urlObject":{"path":["partner","tags"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"key":"type","value":"global"}],"variable":[]}},"response":[{"id":"2b20d124-04bc-48b7-9848-b34d45f179a4","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/partner/tags?page=1&per_page=15&type=global","host":["https://api.mdintegrations.com"],"path":["partner","tags"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"key":"type","value":"global"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"310ca46c-2fe3-456b-bf86-03375b230ac6\",\n            \"name\": \"Tag aut laborum eveniet\",\n            \"key\": \"tag-aut-laborum-eveniet\",\n            \"description\": \"\",\n            \"color\": \"#845EC2\",\n            \"type\": \"partner\",\n            \"removable_role\": null,\n            \"auto_detach_status\": null,\n            \"created_at\": \"2026-01-22T20:15:21.000000Z\",\n            \"updated_at\": \"2026-01-22T20:15:21.000000Z\",\n            \"deleted_at\": null,\n            \"notes\": null\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://api.mdintegrations.com/api/tags?page=1\",\n        \"last\": \"http://api.mdintegrations.com/api/tags?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"page\": null,\n                \"active\": false\n            },\n            {\n                \"url\": \"http://api.mdintegrations.com/api/tags?page=1\",\n                \"label\": \"1\",\n                \"page\": 1,\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"page\": null,\n                \"active\": false\n            }\n        ],\n        \"path\": \"https://api.mdintegrations.com/api/tags\",\n        \"per_page\": 100,\n        \"to\": 1,\n        \"total\": 1\n    }\n}"}],"_postman_id":"6635fd50-21d4-433b-8ce5-060ffe80b68c"},{"name":"Delete Tag","id":"c6650697-c6c0-4bfc-9096-1a6bdbb673fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/partner/tags/:tag","description":"<p>Deletes the tag.</p>\n","urlObject":{"path":["partner","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a57f5eb8-e611-4737-9b94-0470d9c7adc6","type":"any","value":"844fbde1-c33e-4c27-a747-80047719b559","key":"tag"}]}},"response":[{"id":"d383938a-9ba3-4f91-9e17-c07b3142d739","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/partner/tags/:tag","host":["https://api.mdintegrations.com"],"path":["partner","tags",":tag"],"variable":[{"key":"tag","value":"844fbde1-c33e-4c27-a747-80047719b559"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c6650697-c6c0-4bfc-9096-1a6bdbb673fd"},{"name":"Create Tag","id":"1fe7edee-d205-46d3-8d05-f34e85f1b8d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag Name\",\n    \"key\": \"tag-key\",\n    \"type\": \"global\",\n    \"color\": \"#5899c7\",\n    \"description\": \"Tag Description.\",\n    \"removable_role\": \"admin\",\n    \"auto_detach_status\": [\"waiting\", \"cancelled\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/partner/tags","description":"<p>Creates a tag.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>key*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>color*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>removable_role</td>\n<td>string (admin)</td>\n</tr>\n<tr>\n<td>auto_detach_status</td>\n<td>array (created, assigned, waiting, support, processing, cancelled, completed)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["partner","tags"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[{"id":"8917b41e-fd2a-43f8-acbe-0379594ca770","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag Name\",\n    \"key\": \"tag-key\",\n    \"type\": \"global\",\n    \"color\": \"#5899c7\",\n    \"description\": \"Tag Description.\",\n    \"removable_role\": \"admin\",\n    \"auto_detach_status\": [\"waiting\", \"cancelled\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/partner/tags"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"23e19bb9-7604-4d24-9f75-2e185d882390\",\n    \"name\": \"quis\",\n    \"key\": \"sit-itaque-sint-sequi-ea\",\n    \"description\": \"Quisquam deserunt et voluptatem qui vel amet.\",\n    \"color\": \"#da2ea3\",\n    \"type\": \"partner\",\n    \"removable_role\": null,\n    \"auto_detach_status\": null,\n    \"created_at\": \"2026-01-22T20:13:06.000000Z\",\n    \"updated_at\": \"2026-01-22T20:13:06.000000Z\",\n    \"deleted_at\": null,\n    \"notes\": null\n}"}],"_postman_id":"1fe7edee-d205-46d3-8d05-f34e85f1b8d3"},{"name":"Get Tag","id":"f4e9c414-42e8-4349-83b5-695e12c1f6c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag Name\",\n    \"key\": \"tag-key\",\n    \"type\": \"global\",\n    \"color\": \"#5899c7\",\n    \"description\": \"Tag Description.\",\n    \"removable_role\": \"admin\",\n    \"auto_detach_status\": [\"waiting\", \"cancelled\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/partner/tags/:tag_id","description":"<p>Creates a tag.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>key*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>color*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>removable_role</td>\n<td>string (admin)</td>\n</tr>\n<tr>\n<td>auto_detach_status</td>\n<td>array (created, assigned, waiting, support, processing, cancelled, completed)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["partner","tags",":tag_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"90f9f4d4-a9c8-48df-8510-03197b5ceec0","type":"any","value":"23e19bb9-7604-4d24-9f75-2e185d882390","key":"tag_id"}]}},"response":[{"id":"22d721ab-26e0-4925-83f5-4feb4ddaf0f0","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag Name\",\n    \"key\": \"tag-key\",\n    \"type\": \"global\",\n    \"color\": \"#5899c7\",\n    \"description\": \"Tag Description.\",\n    \"removable_role\": \"admin\",\n    \"auto_detach_status\": [\"waiting\", \"cancelled\"]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/partner/tags/:tag","host":["https://api.mdintegrations.com"],"path":["partner","tags",":tag"],"variable":[{"key":"tag","value":"23e19bb9-7604-4d24-9f75-2e185d882390"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"23e19bb9-7604-4d24-9f75-2e185d882390\",\n    \"name\": \"quis\",\n    \"key\": \"sit-itaque-sint-sequi-ea\",\n    \"description\": \"Quisquam deserunt et voluptatem qui vel amet.\",\n    \"color\": \"#da2ea3\",\n    \"type\": \"partner\",\n    \"removable_role\": null,\n    \"auto_detach_status\": null,\n    \"created_at\": \"2026-01-22T20:13:06.000000Z\",\n    \"updated_at\": \"2026-01-22T20:13:06.000000Z\",\n    \"deleted_at\": null,\n    \"notes\": null\n}"}],"_postman_id":"f4e9c414-42e8-4349-83b5-695e12c1f6c1"},{"name":"Update Tag","id":"97826f53-7078-4758-8ae4-614964f25b10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag Name\",\n    \"color\": \"#5899c7\",\n    \"description\": \"Tag Description.\",\n    \"removable_role\": \"admin\",\n    \"auto_detach_status\": [\n        \"waiting\",\n        \"cancelled\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/partner/tags/:tag","description":"<p>Updates the tag.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>removable_role (admin)</td>\n<td>string</td>\n</tr>\n<tr>\n<td>auto_detach_status</td>\n<td>array [waiting, cancelled]</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["partner","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"eb0de808-7a58-4c66-af42-7cd3163d1cda","type":"any","value":"844fbde1-c33e-4c27-a747-80047719b559","key":"tag"}]}},"response":[{"id":"463ad5b8-6190-44bf-b25e-43895ffa5be9","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag Name\",\n    \"color\": \"#5899c7\",\n    \"description\": \"Tag Description.\",\n    \"removable_role\": \"admin\",\n    \"auto_detach_status\": [\n        \"waiting\",\n        \"cancelled\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/partner/tags/:tag","host":["https://api.mdintegrations.com"],"path":["partner","tags",":tag"],"variable":[{"key":"tag","value":"844fbde1-c33e-4c27-a747-80047719b559"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"23e19bb9-7604-4d24-9f75-2e185d882390\",\n    \"name\": \"quis\",\n    \"key\": \"sit-itaque-sint-sequi-ea\",\n    \"description\": \"Quisquam deserunt et voluptatem qui vel amet.\",\n    \"color\": \"#da2ea3\",\n    \"type\": \"partner\",\n    \"removable_role\": null,\n    \"auto_detach_status\": null,\n    \"created_at\": \"2026-01-22T20:13:06.000000Z\",\n    \"updated_at\": \"2026-01-22T20:13:06.000000Z\",\n    \"deleted_at\": null,\n    \"notes\": null\n}"}],"_postman_id":"97826f53-7078-4758-8ae4-614964f25b10"}],"id":"ac92808d-7eeb-4384-9d35-d8f185f8d6d2","_postman_id":"ac92808d-7eeb-4384-9d35-d8f185f8d6d2","description":"","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":true,"source":{"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673","id":"a961ca9b-4386-4584-9028-9911faa19673","name":"Partners","type":"folder"}}},{"name":"Get authenticated partner","id":"ea365e9d-0873-4e21-9573-903748102d01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner","description":"<p>Get the following logged partner information:</p>\n<ul>\n<li>Profile</li>\n<li>Address</li>\n</ul>\n","urlObject":{"path":["partner"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"d8261fb1-9e03-42f4-918b-6226a794cf3a","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <token>","description":"Added as a part of security scheme: bearer"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/partner"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"MDI USA Partner Editer\",\n    \"active\": true,\n    \"partner_id\": \"33778db3-8707-4628-81af-4c6451f9f0b6\"\n}"}],"_postman_id":"ea365e9d-0873-4e21-9573-903748102d01"},{"name":"Request access token","event":[{"listen":"test","script":{"id":"8da2d9fd-3280-46e2-ae83-2c6316575b7a","exec":["pm.environment.set('token', pm.response.json().access_token);"],"type":"text/javascript"}}],"id":"9d9e4260-38e2-4a3f-9f70-516577ecb3eb","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"grant_type\": \"client_credentials\",\n    \"client_id\": \"7fe656f8-d29d-439d-bcbc-565654808488\",\n    \"client_secret\": \"2hxOxYfzkKtPqm27g2hOPJuWoHPycq9dGfFhY1hF\",\n\t\"scope\": \"*\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/partner/auth/token","description":"<p>With this endpoint, you can exchange your <strong>Client ID</strong> and <strong>Client Secret</strong> for an access token with <em>limited lifetime</em>.</p>\n<p>The access token allows your application to make authenticated requests to the MD Integrations API.</p>\n<p>For more details on the expected flow, you can checkout the <strong>Authentication</strong> section in the <strong>Introduction</strong>.</p>\n<h2 id=\"payload\">Payload</h2>\n<p>For this request, all fields in the payload are <strong>required</strong>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>grant_type</td>\n<td>string*</td>\n<td>Should always be <code>client_credentials</code></td>\n</tr>\n<tr>\n<td>client_id</td>\n<td>string*</td>\n<td>Client ID credential</td>\n</tr>\n<tr>\n<td>client_secret</td>\n<td>string*</td>\n<td>Client Secret credential</td>\n</tr>\n<tr>\n<td>scope</td>\n<td>string*</td>\n<td>Should always be <code>\\*</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"expired-tokens\">Expired tokens</h2>\n<p>Whenever an access token expires, you should request a brand new one for making new requests.</p>\n<h2 id=\"client-credentials\">Client Credentials</h2>\n<p>Your credentials will be provided to you by the MD Integrations team.</p>\n<p>Keep in mind the importance of <strong>protecting your credentials</strong> to avoid unauthorized access.</p>\n","urlObject":{"path":["partner","auth","token"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[{"id":"f9b71372-55a9-4d9d-a52f-a6dc5092a357","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/partner/auth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 86400,\n    \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJkOWIwY2E3MC02N2VhLTQ1MDgtODBhZC1jNDU5YzczZmMzNWEiLCJqdGkiOiIzZjY1NWI2NWU3N2UwYmQ5MWQzMjNhNDRhNDY2NzZmM2ViZGE2MTEwZWJlNDQ2ZTZlZDZiYjI4YTExZTc5Mjc0ZGE5YWE1NWU4NGNhYjA4MSIsImlhdCI6MTYxNDI4Mjc0MCwibmJmIjoxNjE0MjgyNzQwLCJleHAiOjE2MTQzNjkxNDAsInN1YiI6IiIsInNjb3BlcyI6WyIqIl19.juvuznhdcwfj0eKcQb9pFcit6SsRWhcqjOHlCd8oT3RLs-DI6M9Y2nDgQerMlYIS0aQklaIrtGiEZUkodliCPFsQ6WH4UqQgCbawM_N37occ_SWUqW6wSVhO2pJWXgC7exbM_WyS_bUrjk2bFLAMVtQjR4iVYi81MNLk0EYvd91ZLt4cnDEXms_xf6bEZfKn8h_y0HhhZ_U6Br1bKg3BPvMWWHq27RtWHvKLvviKXRaeLkuFJcrWd-TgAH8GnIx4PsXB_4KGAvT9P8eHcEdziTo3AMJDcOfKQqmAMA29fceaH1k6nLrM4wuY_ldI_NHvI8o4de1UGqHqlR8isybf1Y3usPF01JxAMjBxzoGhmX_TqsRuIXW8NLtK1Ttasgk2H7x_Z6xaPaPpsVBc76Jyp7AbdEuefEUCWg1krOu0z9XoU4gKYkUlG6jzrgM4Tt4N47OG4uFa-10DhgvHJkDEurk20pj6laqyo5ImakCqakH-bY0qvarQmgn-lSuyf9B__FCG0ZtXx-gHMGvTlKe2ujBbZOLQ5YzajpF3J45pXzRIGUVhpPjFC7tlVg6eI1cu4zMdLODRBLPK8bAFsb6QNBgNSLQV6ASiF0oFn1DOO_1j6msLgPXH9vTPkALiIMDBVoIyqmpREid0bC1wIVqfnXWRgYBJB7XIt21Gfj-NPMA\"\n}"}],"_postman_id":"9d9e4260-38e2-4a3f-9f70-516577ecb3eb"}],"id":"a961ca9b-4386-4584-9028-9911faa19673","description":"<h1 id=\"md-integrations-api-for-partners\">MD Integrations API for Partners</h1>\n<h2 id=\"intro\">Intro</h2>\n<p>The MD Integrations API for partners is a set of HTTP endpoints that allows partners to perform all the required actions in order to create cases for patients on MD Integrations.</p>\n","auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"_postman_id":"a961ca9b-4386-4584-9028-9911faa19673"},{"name":"Webhooks","item":[{"name":"Case","item":[{"name":"Status Transitions","item":[{"name":"Case Created","id":"22518393-9d02-4714-a4c7-ec389c3b337e","protocolProfileBehavior":{"disabledSystemHeaders":{"content-length":true,"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true,"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n","type":"text"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n    \"event_type\": \"case_created\",\r\n    \"case_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a case has been created.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"22518393-9d02-4714-a4c7-ec389c3b337e"},{"name":"Case Support","id":"9d59f622-bc44-4d7a-a309-78892c2bda4c","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n","type":"text"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n\t\"event_type\": \"case_transferred_to_support\",\r\n\t\"case_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient's case has been moved to Support status.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d59f622-bc44-4d7a-a309-78892c2bda4c"},{"name":"Case Waiting","id":"9fb8b82b-bac2-4d86-83b3-5469328fcec6","protocolProfileBehavior":{"disabledSystemHeaders":{"content-length":true,"host":true,"accept":true,"accept-encoding":true,"connection":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n","type":"text"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n    \"event_type\": \"case_waiting\",\r\n    \"case_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient's case has been moved to Waiting status.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"9fb8b82b-bac2-4d86-83b3-5469328fcec6"},{"name":"Case Approved","id":"774e2074-c9d3-4468-b6a7-5d998b9638ae","protocolProfileBehavior":{"disabledSystemHeaders":{"content-length":true,"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true,"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n    \"event_type\": \"case_approved\",\r\n    \"case_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient's case has been sent to the Approved status.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"774e2074-c9d3-4468-b6a7-5d998b9638ae"},{"name":"Case Processing","id":"2f72a04f-b190-45b7-b1c5-2202cf88e277","protocolProfileBehavior":{"disabledSystemHeaders":{"content-length":true,"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true,"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n","type":"text"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n    \"event_type\": \"case_processing\",\r\n    \"case_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient's case has been move to Processing status.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f72a04f-b190-45b7-b1c5-2202cf88e277"},{"name":"Case Completed","id":"2c010fc5-4378-42f3-ba1d-038410be75b3","protocolProfileBehavior":{"disabledSystemHeaders":{"content-length":true,"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true,"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n","type":"text"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n    \"event_type\": \"case_completed\",\r\n    \"case_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient's case has been moved to Completed status.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"2c010fc5-4378-42f3-ba1d-038410be75b3"},{"name":"Case Cancelled","id":"0523ec75-4817-483c-8f0d-0389a6f6e803","protocolProfileBehavior":{"disabledSystemHeaders":{"content-length":true,"host":true,"accept":true,"accept-encoding":true,"connection":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n","type":"text"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n    \"event_type\": \"case_cancelled\",\r\n    \"case_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient's case has been moved to Cancelled status.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"0523ec75-4817-483c-8f0d-0389a6f6e803"}],"id":"a96a8d06-15f7-4390-96f7-59f0fddd3c7e","_postman_id":"a96a8d06-15f7-4390-96f7-59f0fddd3c7e","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"File","item":[{"name":"Case File Added","id":"6a3ee9f7-62b5-48ec-849f-a37f2b4dacf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n    \"event_type\": \"case_file_added\",\r\n    \"case_id\": \"be2fc48f-df75-4cd7-a78a-89d51cc46e17\",\r\n    \"file_id\": \"37582b4e-9587-4ca7-9911-0703c534d5d3\",\r\n    \"metadata\": \"example of metadata\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a file is added to an encounter.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a3ee9f7-62b5-48ec-849f-a37f2b4dacf4"},{"name":"Case File Deleted","id":"ba7ca985-7b7f-4c79-bdc9-9c0775883c5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n    \"event_type\": \"case_file_deleted\",\r\n    \"case_id\": \"be2fc48f-df75-4cd7-a78a-89d51cc46e17\",\r\n    \"file_id\": \"37582b4e-9587-4ca7-9911-0703c534d5d3\",\r\n    \"metadata\": \"example of metadata\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a file is deleted from an encounter.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba7ca985-7b7f-4c79-bdc9-9c0775883c5f"},{"name":"Medical Necessity Letter Generated","id":"72377f66-586f-448b-82d0-42c10ae307dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1732920747,\r\n    \"event_type\": \"medical_necessity_file_generated\",\r\n    \"file_id\": \"9ac56985-a108-4f8b-83f3-eeaec00b8260\",\r\n    \"patient_id\": \"65d186ef-89ad-469b-8a88-72ec48399f2a\",\r\n    \"message_id\": \"470017d7-fb23-47df-893b-3f87d1033872\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a medical necessity PDF is generated.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"72377f66-586f-448b-82d0-42c10ae307dc"},{"name":"Case File Lab Results Processed","id":"94f04e24-eaf3-47c4-8494-216ff4bd0f67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n    \"event_type\": \"file_lab_results_processed\",\r\n    \"status\": \"processed\",\r\n    \"case_id\": \"be2fc48f-df75-4cd7-a78a-89d51cc46e17\",\r\n    \"file_id\": \"37582b4e-9587-4ca7-9911-0703c534d5d3\",\r\n    \"file_type\": \"lab-results\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a lab result file is processed.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"94f04e24-eaf3-47c4-8494-216ff4bd0f67"}],"id":"e9949274-a77f-49d0-8e68-29d5301bbfa8","_postman_id":"e9949274-a77f-49d0-8e68-29d5301bbfa8","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Assignment","item":[{"name":"Case Assigned to Clinician","id":"fd2782cf-d2dd-4099-a554-ea1cb409986c","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n","type":"text"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n\t\"event_type\": \"case_assigned_to_clinician\",\r\n\t\"case_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient case has been assigned to a clinician.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd2782cf-d2dd-4099-a554-ea1cb409986c"}],"id":"6135b59a-35d1-4015-8e47-5c2ef4137a28","_postman_id":"6135b59a-35d1-4015-8e47-5c2ef4137a28","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Clinical Note","item":[{"name":"Clinical Note Added","id":"81921c9e-259a-46a7-aec5-c68857232407","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1700768392,\r\n    \"event_type\": \"clinical_note_created\",\r\n    \"note_id\": \"796fef8b-a4d5-4e19-8a58-852adfbe8709\",\r\n    \"case_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a clinical note is added to an encounter.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"81921c9e-259a-46a7-aec5-c68857232407"}],"id":"e7bd5364-c6b2-4a17-918a-d0435b6571c2","_postman_id":"e7bd5364-c6b2-4a17-918a-d0435b6571c2","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tag","item":[{"name":"Case Tag Attached","id":"49f9d664-b27d-4ed9-b4db-cf5b86a490dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666373940,\r\n    \"event_type\": \"case_tag_attached\",\r\n    \"encounter_id\": \"bb0403b9-a9eb-4402-9965-225f8cfaa1d0\",\r\n    \"case_id\": \"bb0403b9-a9eb-4402-9965-225f8cfaa1d0\",\r\n    \"tag_id\": \"19eb2aee-4b9f-4a5a-96d4-0c7fe8ad08e5\",\r\n    \"notes\": \"example of notes\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a tag is attached to an encounter.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"49f9d664-b27d-4ed9-b4db-cf5b86a490dc"}],"id":"7de167bd-b63f-40b3-81eb-50e6fd3b55ff","_postman_id":"7de167bd-b63f-40b3-81eb-50e6fd3b55ff","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Charges","item":[{"name":"Case Cancelled Amount Charge","id":"519393cf-8596-474d-bb8f-93e21be10394","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1733258743,\r\n    \"event_type\": \"partner_charge\",\r\n    \"encounter_id\": \"5124ae37-19db-464e-870d-49a9a33a5153\",\r\n    \"case_id\": \"5124ae37-19db-464e-870d-49a9a33a5153\",\r\n    \"patient_id\": \"9cc18f70-f27a-43c5-9fe4-c9e8ecc24514\",\r\n    \"charge_type\": \"case_cancelled\",\r\n    \"charge_amount\": 2.1,\r\n    \"offering_amount_charge\": 2.0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a case is cancelled.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"519393cf-8596-474d-bb8f-93e21be10394"},{"name":"Case Completed Amount Charge","id":"80a31e26-abf4-47bc-b4cc-3c6913a8dba7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1733258743,\r\n    \"event_type\": \"partner_charge\",\r\n    \"encounter_id\": \"5124ae37-19db-464e-870d-49a9a33a5153\",\r\n    \"case_id\": \"5124ae37-19db-464e-870d-49a9a33a5153\",\r\n    \"patient_id\": \"9cc18f70-f27a-43c5-9fe4-c9e8ecc24514\",\r\n    \"charge_type\": \"case_completed\",\r\n    \"charge_amount\": 2.1,\r\n    \"offering_amount_charge\": 2.0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a case is completed.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"80a31e26-abf4-47bc-b4cc-3c6913a8dba7"},{"name":"Case Change Chargeable Amount Charge","id":"5164b4ae-b4ce-4d63-b162-05fdf8098bb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1733258743,\r\n    \"event_type\": \"partner_charge\",\r\n    \"encounter_id\": \"5124ae37-19db-464e-870d-49a9a33a5153\",\r\n    \"case_id\": \"5124ae37-19db-464e-870d-49a9a33a5153\",\r\n    \"patient_id\": \"9cc18f70-f27a-43c5-9fe4-c9e8ecc24514\",\r\n    \"charge_type\": \"case_chargeable_change\",\r\n    \"charge_amount\": 0,\r\n    \"offering_amount_charge\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a case is change chargeable.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"5164b4ae-b4ce-4d63-b162-05fdf8098bb2"}],"id":"5faf54ab-576e-4f8d-9f67-0ab7c1697476","_postman_id":"5faf54ab-576e-4f8d-9f67-0ab7c1697476","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Offering","item":[{"name":"Offering Submitted","id":"40d61954-6907-4980-8f61-d0fb8a4abb32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n    \"event_type\": \"offering_submitted\",\r\n    \"case_id\": \"be2fc48f-df75-4cd7-a78a-89d51cc46e17\",\r\n    \"metadata\": \"test\",\r\n    \"offerings\":[\r\n        {\r\n            \"id\": \"da78172e-e253-4458-8bc2-6acbd34f28a6\",\r\n            \"case_offering_id\": \"da78172e-e253-4458-8bc2-6acbd34f28a6\",\r\n            \"title\": \"supply example\",\r\n            \"name\": \"supply example\",\r\n            \"directions\": \"directions\",\r\n            \"is_additional_approval_needed\": false,\r\n            \"thank_you_note\": \"Thank you!\",\r\n            \"clinical_note\": \"Notes from the MD.\",\r\n            \"status\": \"pending\",\r\n            \"status_details\": null,\r\n            \"order\": 1,\r\n            \"is_important\": false,\r\n            \"offerable_type\": \"App\\\\Models\\\\Offering\",\r\n            \"offerable_id\": \"19e21647-e5bf-4996-b9b4-154aab1963ad\",\r\n            \"order_status\": null,\r\n            \"order_date\": null,\r\n            \"order_details\": null,\r\n            \"order_updated\": null,\r\n            \"created_at\": \"2025-05-29T22:06:08.000000Z\",\r\n            \"updated_at\": \"2025-05-29T22:06:08.000000Z\",\r\n            \"deleted_at\": null,\r\n            \"product\": {\r\n                \"id\": \"dfa4b67d-afe1-46b7-acfe-7c6c4d11abd8\",\r\n                \"ndc\": null,\r\n                \"otc\": null,\r\n                \"upc\": null,\r\n                \"name\": \"supply example\",\r\n                \"title\": \"supply example\",\r\n                \"refills\": 1,\r\n                \"metadata\": null,\r\n                \"quantity\": \"2\",\r\n                \"created_at\": \"2025-04-25T13:44:53.000000Z\",\r\n                \"deleted_at\": null,\r\n                \"directions\": \"directions\",\r\n                \"updated_at\": \"2025-04-25T13:44:53.000000Z\",\r\n                \"days_supply\": null,\r\n                \"is_obsolete\": null,\r\n                \"pharmacy_id\": null,\r\n                \"dispense_unit\": \"Packet\",\r\n                \"pharmacy_name\": null,\r\n                \"effective_date\": null,\r\n                \"force_pharmacy\": false,\r\n                \"pharmacy_notes\": \"Notes for the parmacy.\",\r\n                \"dispense_unit_id\": 21,\r\n                \"dosespot_supply_id\": 21\r\n            },\r\n            \"product_id\": \"dfa4b67d-afe1-46b7-acfe-7c6c4d11abd8\",\r\n            \"product_type\": \"App\\\\Models\\\\DosespotSupply\"\r\n        },\r\n        {\r\n            \"id\": \"70dafa3e-63ab-4d7a-b7ec-bb9c005ff6e6\",\r\n            \"case_offering_id\": \"70dafa3e-63ab-4d7a-b7ec-bb9c005ff6e6\",\r\n            \"title\": \"compound example\",\r\n            \"name\": \"compound example\",\r\n            \"directions\": \"abc\",\r\n            \"is_additional_approval_needed\": false,\r\n            \"thank_you_note\": \"Thank you!\",\r\n            \"clinical_note\": \"Notes from the MD.\",\r\n            \"status\": \"pending\",\r\n            \"status_details\": null,\r\n            \"order\": 1,\r\n            \"is_important\": false,\r\n            \"offerable_type\": \"App\\\\Models\\\\Offering\",\r\n            \"offerable_id\": \"5ff1eae1-1566-4dd5-ad1a-457b105d59ac\",\r\n            \"order_status\": null,\r\n            \"order_date\": null,\r\n            \"order_details\": null,\r\n            \"order_updated\": null,\r\n            \"created_at\": \"2025-05-29T22:06:32.000000Z\",\r\n            \"updated_at\": \"2025-05-29T22:06:32.000000Z\",\r\n            \"deleted_at\": null,\r\n            \"product\": {\r\n                \"id\": \"227eeedb-3ad4-4b0a-adda-a09f4ba803c8\",\r\n                \"name\": \"compound example\",\r\n                \"title\": \"compound example\",\r\n                \"refills\": 1,\r\n                \"metadata\": null,\r\n                \"quantity\": \"2\",\r\n                \"created_at\": \"2025-04-25T13:12:48.000000Z\",\r\n                \"deleted_at\": null,\r\n                \"directions\": \"abc\",\r\n                \"updated_at\": \"2025-04-25T13:12:48.000000Z\",\r\n                \"days_supply\": null,\r\n                \"pharmacy_id\": null,\r\n                \"clinician_id\": null,\r\n                \"dispense_unit\": \"Packet\",\r\n                \"pharmacy_name\": null,\r\n                \"effective_date\": null,\r\n                \"force_pharmacy\": false,\r\n                \"pharmacy_notes\": \"Notes for the parmacy.\",\r\n                \"dispense_unit_id\": 21,\r\n                \"allow_substitutions\": true\r\n            },\r\n            \"product_id\": \"227eeedb-3ad4-4b0a-adda-a09f4ba803c8\",\r\n            \"product_type\": \"App\\\\Models\\\\DosespotCompound\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a treatment is approved and ready to be ordered, depending on the offering type:</p>\n<ul>\n<li><p>Dosespot offerings: prescription has been submitted and receipt was acknowledged by the pharmacy;</p>\n</li>\n<li><p>Boothwyn offerings: prescription has been sent to the pharmacy, and order was initiated and is currently being fulfilled;</p>\n</li>\n<li><p>Services: the service PDF is ready to be downloaded.</p>\n</li>\n</ul>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"40d61954-6907-4980-8f61-d0fb8a4abb32"},{"name":"Prescription Insurance Coverage Updated","id":"ead2a600-ed14-406d-a829-c9a34f74818d","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1700768392,\r\n    \"event_type\": \"prescription_insurance_coverage_updated\",\r\n    \"case_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"prescrption_id\": \"796fef8b-a4d5-4e19-8a58-852adfbe8709\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a prescription's insurance coverage is updated.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"ead2a600-ed14-406d-a829-c9a34f74818d"}],"id":"f65527b0-d067-4940-b668-b6f9b9cd3431","_postman_id":"f65527b0-d067-4940-b668-b6f9b9cd3431","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Order","item":[{"name":"Case Order Status Changed","id":"00bfd0d4-7bfe-4dc4-b5e0-8417ff1c4a21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1733258743,\r\n    \"event_type\": \"order_status_changed\",\r\n    \"encounter_id\": \"5124ae37-19db-464e-870d-49a9a33a5153\",\r\n    \"case_id\": \"5124ae37-19db-464e-870d-49a9a33a5153\",\r\n    \"order_status\": \"fulfilled\",\r\n    \"order_details\": \"Tracking Number: 101010\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a order status changes.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"00bfd0d4-7bfe-4dc4-b5e0-8417ff1c4a21"},{"name":"Case Order Tracking Number Changed","id":"f5880dfa-9879-4879-98a3-7d36035e9d99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1733258743,\r\n    \"event_type\": \"order_tracking_number_changed\",\r\n    \"encounter_id\": \"5124ae37-19db-464e-870d-49a9a33a5153\",\r\n    \"case_id\": \"5124ae37-19db-464e-870d-49a9a33a5153\",\r\n    \"order_status\": \"fulfilled\",\r\n    \"order_details\": \"Tracking Number: 101010\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a order tracking number changes.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5880dfa-9879-4879-98a3-7d36035e9d99"}],"id":"a024a072-fc8b-464d-ae02-96189abb2816","_postman_id":"a024a072-fc8b-464d-ae02-96189abb2816","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"0bfce87c-c8dd-4324-8fad-0ba413b0dc3f","_postman_id":"0bfce87c-c8dd-4324-8fad-0ba413b0dc3f","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Voucher","item":[{"name":"Voucher Created","id":"5badac68-2e84-4a44-97f7-b09412e5048e","protocolProfileBehavior":{"disabledSystemHeaders":{"content-length":true,"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true,"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1718372589,\r\n    \"event_type\": \"voucher_created\",\r\n    \"voucher_id\": \"91c7bd33-6161-4112-96a3-f46c297689dc\",\r\n    \"patient_id\": \"afe6cb7e-f21e-4c92-bfa6-39a8b24c3376\",\r\n    \"partner_questionnaire_id\": \"d8bc8352-057e-495b-b5df-cdba45679860\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a voucher has been used and an encounter has been created from it. From this point the voucher is no longer valid.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"5badac68-2e84-4a44-97f7-b09412e5048e"},{"name":"Voucher Updated","id":"6bbb46d5-57d5-48a0-95c6-570963397cc3","protocolProfileBehavior":{"disabledSystemHeaders":{"content-length":true,"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true,"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1718372589,\r\n    \"event_type\": \"voucher_updated\",\r\n    \"voucher_id\": \"91c7bd33-6161-4112-96a3-f46c297689dc\",\r\n    \"patient_id\": \"afe6cb7e-f21e-4c92-bfa6-39a8b24c3376\",\r\n    \"partner_questionnaire_id\": \"d8bc8352-057e-495b-b5df-cdba45679860\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a voucher has been used and an encounter has been created from it. From this point the voucher is no longer valid.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"6bbb46d5-57d5-48a0-95c6-570963397cc3"},{"name":"Voucher Used","id":"5158181a-67b9-4275-aa9c-93e18d9b78b1","protocolProfileBehavior":{"disabledSystemHeaders":{"content-length":true,"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true,"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n","type":"text"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n    \"event_type\": \"voucher_used\",\r\n    \"case_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"voucher_id\": \"aa97ff5f-7b36-4abe-a9f9-0ab2990fa70b\",\r\n    \"patient_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a voucher has been used and an encounter has been created from it. From this point the voucher is no longer valid.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"5158181a-67b9-4275-aa9c-93e18d9b78b1"},{"name":"Voucher Reminder Sent","id":"34b011ce-e463-487c-ac7c-f233c1a32484","protocolProfileBehavior":{"disabledSystemHeaders":{"content-length":true,"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true,"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n    \"event_type\": \"voucher_reminder_sent\",\r\n    \"voucher_id\": \"aa97ff5f-7b36-4abe-a9f9-0ab2990fa70b\",\r\n    \"patient_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"access_link\": \"pre-auth link to patient app\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when we send the patient a reminder to complete their intake form.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"34b011ce-e463-487c-ac7c-f233c1a32484"},{"name":"Voucher Expired","id":"e1d4f034-c468-4f90-8eea-67518067b3a2","protocolProfileBehavior":{"disabledSystemHeaders":{"content-length":true,"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true,"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n    \"event_type\": \"voucher_expired\",\r\n    \"voucher_id\": \"aa97ff5f-7b36-4abe-a9f9-0ab2990fa70b\",\r\n    \"patient_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"partner_questionnaire_id\": \"e54c8c86-fc14-42f3-8768-40010b85aede\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a voucher has been expired.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"e1d4f034-c468-4f90-8eea-67518067b3a2"}],"id":"4cc68cdc-2edb-4269-a315-42974ec00e85","_postman_id":"4cc68cdc-2edb-4269-a315-42974ec00e85","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Patient","item":[{"name":"Workflows","item":[{"name":"Drivers License Requested","id":"ea2d956b-e82d-4cca-92cf-f3843ab693b5","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1700768392,\r\n    \"event_type\": \"drivers_license_requested\",\r\n    \"access_link\": \"pre-auth link to patient app\",\r\n    \"patient_id\": \"796fef8b-a4d5-4e19-8a58-852adfbe8709\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a clinician or support user requests the patient to upload a Drivers License.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea2d956b-e82d-4cca-92cf-f3843ab693b5"},{"name":"Intro Video Requested","id":"9c81ff05-ff5d-436f-bca6-f4474aec96d2","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1700768392,\r\n    \"event_type\": \"intro_video_requested\",\r\n    \"access_link\": \"pre-auth link to patient app\",\r\n    \"patient_id\": \"796fef8b-a4d5-4e19-8a58-852adfbe8709\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a clinician or support user requests the patient to upload an Intro Video.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"9c81ff05-ff5d-436f-bca6-f4474aec96d2"},{"name":"File Upload Requested","id":"5e8563c6-f186-4566-93e5-60a6abdf7d9d","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1700768392,\r\n    \"event_type\": \"file_upload_requested\",\r\n    \"access_link\": \"pre-auth link to patient app\",\r\n    \"patient_id\": \"796fef8b-a4d5-4e19-8a58-852adfbe8709\",\r\n    \"case_id\": \"796fef8b-a4d5-4e19-8a58-852adfbe8709\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a clinician or support user requests the patient to upload a file.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e8563c6-f186-4566-93e5-60a6abdf7d9d"},{"name":"Exam Update Requested","id":"2a5924c1-f991-4ab7-be31-bacb5492fddd","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1700768392,\r\n    \"event_type\": \"exam_requested\",\r\n    \"access_link\": \"pre-auth link to patient app\",\r\n    \"patient_id\": \"796fef8b-a4d5-4e19-8a58-852adfbe8709\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a clinician or support user requests the patient to update her exam details such as height, weight, allergies, medications, etc.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a5924c1-f991-4ab7-be31-bacb5492fddd"},{"name":"Preferred Pharmacy Requested","id":"db192e0a-b50c-464a-86f2-ff8cb56d66c6","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1700768392,\r\n    \"event_type\": \"preferred_pharmacy_requested\",\r\n    \"patient_id\": \"796fef8b-a4d5-4e19-8a58-852adfbe8709\",\r\n    \"metadata\": \"This is an example of metadata field.\",\r\n    \"access_link\": \"pre-auth link to patient app\",\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient is deleted.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"db192e0a-b50c-464a-86f2-ff8cb56d66c6"}],"id":"e2d5fdb7-59a1-4993-88c9-c154b8fdf11c","_postman_id":"e2d5fdb7-59a1-4993-88c9-c154b8fdf11c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tag","item":[{"name":"Patient Tag Attached","id":"b7ba4670-071d-41bc-a8ec-84d617fe9e3b","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1700767835,\r\n    \"event_type\": \"patient_tag_attached\",\r\n    \"patient_id\": \"796fef8b-a4d5-4e19-8a58-852adfbe8709\",\r\n    \"tag_id\": \"89282dba-cf88-4dc8-b26e-6653ccbf56ec\",\r\n    \"notes\": \"This is an example of notes field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a tag is attached to a patient.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7ba4670-071d-41bc-a8ec-84d617fe9e3b"}],"id":"5ea14831-e995-4506-918c-3bf0509c6984","_postman_id":"5ea14831-e995-4506-918c-3bf0509c6984","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Patient Created","id":"33dd2c57-c759-4f25-b905-71e6c2083d26","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1700768392,\r\n    \"event_type\": \"patient_created\",\r\n    \"patient_id\": \"796fef8b-a4d5-4e19-8a58-852adfbe8709\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient is created.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"33dd2c57-c759-4f25-b905-71e6c2083d26"},{"name":"Patient Deleted","id":"fd75127b-0cd1-423c-b872-d2642c37f9b0","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1700768392,\r\n    \"event_type\": \"patient_deleted\",\r\n    \"patient_id\": \"796fef8b-a4d5-4e19-8a58-852adfbe8709\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient is deleted.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd75127b-0cd1-423c-b872-d2642c37f9b0"},{"name":"Patient Modified","id":"d87684c8-a63c-4a3f-b90e-03cd5f00203e","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n","type":"text"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n\t\"event_type\": \"patient_modified\",\r\n\t\"patient_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient is modified.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"d87684c8-a63c-4a3f-b90e-03cd5f00203e"},{"name":"Patient Email/SMS Opt-in/out","id":"20fbfd94-d306-450a-bc52-c7078d528882","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n\t\"event_type\": \"patient_opt_out\",\r\n\t\"patient_id\": \"26f3d453-09ff-41cb-9fc6-724d1b77277c\",\r\n\t\"metadata\": \"This is an example of metadata field.\",\r\n\t\"channel\": \"sms\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient has their preference for notifications changed.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n<p><strong>Event Type</strong> = Can be <strong>patient_opt_in</strong> when the patient will receive notifications or <strong>patient_opt_out</strong> when the patient will stop to receive notifications</p>\n<p><strong>Channel</strong> = Can be <strong>email</strong> for notifications via e-mail or <strong>sms</strong> for notifications via text message</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"20fbfd94-d306-450a-bc52-c7078d528882"},{"name":"Patient Insurance Coverage Updated","id":"7d01f609-eaa3-4390-aa35-a58cbd5a2f6c","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1700768392,\r\n    \"event_type\": \"patient_insurance_coverage_updated\",\r\n    \"patient_id\": \"796fef8b-a4d5-4e19-8a58-852adfbe8709\",\r\n    \"metadata\": \"This is an example of metadata field.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient's insurance coverage is updated.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d01f609-eaa3-4390-aa35-a58cbd5a2f6c"}],"id":"91f4589e-35e1-4885-90ee-3367a085921b","_postman_id":"91f4589e-35e1-4885-90ee-3367a085921b","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Message","item":[{"name":"Message Created","id":"5712636b-df55-4d2a-ad23-41d728629f1c","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1666384936,\r\n\t\"event_type\": \"message_created\",\r\n    \"message_id\": \"a8f51b2a-c544-4088-bc46-d1da54e93410\",\r\n    \"patient_id\": \"b4a1e9cd-4f0b-4787-b77f-1bfb7293f6aa\",\r\n    \"user_type\": \"App/Models/Patient\",\r\n    \"channel\": \"patient\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient has a new message.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint was previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization was previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n<p><strong>Notes</strong>:</p>\n<p>Available options for <code>user_type</code> and <code>dismissed_by_user_type</code> param:</p>\n<ul>\n<li><code>App\\Models\\Patient</code></li>\n<li><code>App\\Models\\Clinician</code></li>\n<li><code>App\\Models\\SupportStaff</code></li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"5712636b-df55-4d2a-ad23-41d728629f1c"}],"id":"739d5c6f-7d31-4819-88bd-eb6e0fd4ebf6","_postman_id":"739d5c6f-7d31-4819-88bd-eb6e0fd4ebf6","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Notification","item":[{"name":"Notification Sent","id":"acfe59e1-84fc-41ea-91ec-5ced019200e5","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1738320042,\r\n    \"event_type\": \"notification_sent\",\r\n    \"patient_id\": \"6336e2bc-f623-4608-9cc0-f84fb0dde20d\",\r\n    \"notification_id\": \"3ef730ac-6484-47d0-a50c-6d2746035552\",\r\n    \"notified_model_id\": null,\r\n    \"notified_model_type\": \"App\\\\Models\\\\SupportStaff\",\r\n    \"inbox\": \"dismissed\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a patient has a new notification is sent.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint was previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization was previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n<p><strong>Notes</strong>:</p>\n<p><code>are used to identify who will be notified inside MDI platform. The field notified_model_type can receive the follow data</code></p>\n<p>These fields <code>notified_model_id</code> and <code>notified_model_type</code> are used to identify who will be notified inside MDI platform. The field <code>notified_model_type</code> can reveive one of the following data:</p>\n<ul>\n<li><p><code>App\\Models\\Clinician</code></p>\n</li>\n<li><p><code>App\\Models\\InternalSupportStaff</code></p>\n</li>\n<li><p><code>App\\Models\\SupportStaff</code></p>\n</li>\n</ul>\n<p>We can also identify the notification through the inbox. The following inboxes can receive notifications:</p>\n<ul>\n<li><p><code>triage</code></p>\n</li>\n<li><p><code>clinician</code></p>\n</li>\n<li><p><code>support_staff</code></p>\n</li>\n<li><p><code>internal_support_staff</code></p>\n</li>\n<li><p><code>dismissed</code></p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"acfe59e1-84fc-41ea-91ec-5ced019200e5"}],"id":"4ccea839-0e33-4784-9211-f2195336ff4b","_postman_id":"4ccea839-0e33-4784-9211-f2195336ff4b","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Text Message","item":[{"name":"Text Message Amount Charge","id":"bad597f5-b633-44c3-94ab-03a34ce979d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1733247306,\r\n    \"event_type\": \"partner_charge\",\r\n    \"patient_id\": \"4d7ca035-f1f9-48f1-be0e-f759d622aebe\",\r\n    \"charge_type\": \"text_message\",\r\n    \"charge_amount\": \"0.10\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a text message is created.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"bad597f5-b633-44c3-94ab-03a34ce979d9"}],"id":"f0a652b4-4dd1-4358-aae4-503c1cda776a","_postman_id":"f0a652b4-4dd1-4358-aae4-503c1cda776a","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Charges","item":[{"name":"Partner Additional Charge Amount","id":"f326029a-8f4d-4f44-92d1-4e3b2f0e6320","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1733256506,\r\n    \"event_type\": \"partner_charge\",\r\n    \"charge_type\": \"additional_charge\",\r\n    \"charge_amount\": 749\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a additional charge is created.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"f326029a-8f4d-4f44-92d1-4e3b2f0e6320"}],"id":"e5410a6d-80e9-414f-bb6e-b2a39f520fe8","_postman_id":"e5410a6d-80e9-414f-bb6e-b2a39f520fe8","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Vouched","item":[{"name":"Vouched Amount Charge","id":"19536fbc-bbb2-414d-b222-e34e7c39fb20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"timestamp\": 1733246084,\r\n    \"event_type\": \"partner_charge\",\r\n    \"patient_id\": \"5d0d39bd-0622-4cc9-aac5-4d3f65ffd433\",\r\n    \"charge_type\": \"vouched_run\",\r\n    \"charge_amount\": \"0.10\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://webhook.site","description":"<p>This event will be dispatched when a vouched is run.</p>\n<p><a href=\"https://your.api.endpoint/\"><b>https://your.api.endpoint/</b></a> = <em>Your API endpoint previously registered on our platform.</em></p>\n<p><strong>Secret Key</strong> = <em>Your Secret Key previously registered on our platform.</em></p>\n<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n<p>To create the Signature we use the Secret Key as a salt with SHA256 following this example below:</p>\n<p><code>$signature = hash_hmac('sha256', json_encode(payload), secret);</code></p>\n<p><strong>Authorization</strong> = <em>Your Authorization previously registered on our platform.</em></p>\n<p>The request will have a header called Authorization used to authenticate to your API</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"19536fbc-bbb2-414d-b222-e34e7c39fb20"}],"id":"9f97795f-cc28-41b4-8f0c-a355094604bc","_postman_id":"9f97795f-cc28-41b4-8f0c-a355094604bc","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"70b3d169-a2a1-4a0f-a7ee-312b1d791396","description":"<h2 id=\"webhook-events\">Webhook Events</h2>\n<p>Our API will send information to your application about events that occur on the platform.</p>\n<h2 id=\"retry\"><strong>Retry</strong></h2>\n<p>We've implemented resend to make <strong>4 retries</strong> within 1 hour after the first failed event (every 15 minutes).</p>\n<h4 id=\"important-note\"><code>Important note</code></h4>\n<p>Retry events can be sent after new events have already happened in the application, for example, status changes or message exchanges, so the implementation for receiving events must take into account the <strong><code>timestamp</code></strong> information contained in the payload.</p>\n<p>This timestamp is related to the first attempt to send the event.</p>\n","_postman_id":"70b3d169-a2a1-4a0f-a7ee-312b1d791396","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"API Status","item":[{"name":"Get API status","id":"6596aad3-4d1d-4d50-96f9-702f94b54cea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/status/:plataform","description":"<p>Return the current API status. If the API is working as expected, you should receive <strong>200 OK</strong>.</p>\n<p>For details about error codes, check <strong>\"API Errors &gt; Error Codes\"</strong> from <strong>Introduction</strong> section.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Available Plataforms</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>api</code></td>\n</tr>\n<tr>\n<td><code>patient-app</code></td>\n</tr>\n<tr>\n<td><code>partner-app</code></td>\n</tr>\n<tr>\n<td><code>clinician-app</code></td>\n</tr>\n<tr>\n<td><code>messaging-app</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","status",":plataform"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Plataform</p>\n","type":"text/plain"},"type":"any","value":"api","key":"plataform"}]}},"response":[],"_postman_id":"6596aad3-4d1d-4d50-96f9-702f94b54cea"}],"id":"d2896c03-a57f-4727-ba17-7e34fa23f4e7","description":"<p>Status routes</p>\n","_postman_id":"d2896c03-a57f-4727-ba17-7e34fa23f4e7","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Internal","item":[{"name":"Patient App (V1)","item":[{"name":"Patient","item":[{"name":"2FA","item":[{"name":"Validate verification code","id":"8821619d-2534-4f3b-8556-4e8f3dbf6d1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"patient@email.com\",\n    \"verification_code\": \"A5B89JA\",\n    \"voucher_id\": \"5237a519-f1e6-4669-b649-fc53b40fe7d8\"\n}"},"url":"https://api.mdintegrations.com/v1/patient/auth/2fa/validate","description":"<p>This endpoint validates the verification code sent to the patient's email.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","auth","2fa","validate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8821619d-2534-4f3b-8556-4e8f3dbf6d1f"},{"name":"Send one-time password","id":"6f9941fe-0bff-45fd-af86-fbd37684928f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"patient@email.com\",\n    \"voucher_id\": \"5237a519-f1e6-4669-b649-fc53b40fe7d8\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/patient/auth/2fa","description":"<p>If patient exists with the email informed then we send a verification code to the patient email.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>param</strong></th>\n<th><strong>type</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>string*</td>\n<td>Patient's email</td>\n</tr>\n<tr>\n<td>voucher_id</td>\n<td>uuid</td>\n<td>The partner voucher ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","auth","2fa"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f9941fe-0bff-45fd-af86-fbd37684928f"}],"id":"8a76248d-1e8f-4122-a0fd-52e5fcb2082a","_postman_id":"8a76248d-1e8f-4122-a0fd-52e5fcb2082a","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Cases","item":[{"name":"Files","item":[{"name":"Attach File","id":"4ca4d4cc-896b-4213-88f2-4688cb9f264c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notify\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/patient/cases/:case/files/:file","description":"<p>Attach a file to the case.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notify</td>\n<td>boolean</td>\n<td>Notifies the clinicians when the file is uploaded.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["patient","cases",":case","files",":file"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"type":"any","value":"2b36e86c-ff7f-4553-b7bd-5256b84631c2","key":"case"},{"type":"any","value":"017fa742-eca7-4610-a067-beca3dcba60a","key":"file"}]}},"response":[],"_postman_id":"4ca4d4cc-896b-4213-88f2-4688cb9f264c"}],"id":"1d043c88-e3aa-4ccb-90b9-936bedf8878d","_postman_id":"1d043c88-e3aa-4ccb-90b9-936bedf8878d","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Create case","id":"ebfea029-653a-4e93-ad44-3b3c1a91c123","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"preferred_pharmacy_id\": 13012,\n    \"voucher_id\": \"1cc72a18-bfab-4a86-82d9-cad40764e8ad\",\n    \"questionnaire_id\": \"a4d58fd0-2e64-4c9a-955a-a5fcc01584c1\",\n    \"completion_time\": \"00:12:53\",\n    \"case\": {\n        \"hold_status\": false,\n        \"is_additional_approval_needed\": true,\n        \"clinician_id\": \"a4d58fd0-2e64-4c9a-955a-a5fcc01584c1\",\n        \"metadata\": \"example of metadata\",\n        \"case_files\": [],\n        \"case_services\": [\n            {\n                \"is_additional_approval_needed\": true,\n                \"description\": \"Device that...\",\n                \"service_type\": \"device\",\n                \"title\": \"Device 14\",\n                \"additional_note\": \"Service additional note\",\n                \"clinical_notes\": \"Some clinical note\",\n                \"thank_you_note\": \"Some thank you note\",\n                \"pharmacy_fax_number\": \"+587965462919\",\n                \"include_drivers_license\": true,\n                \"send_pdf_file_automatically\": false,\n                \"order\": 1\n            }\n        ],\n        \"case_prescriptions\": [\n            {\n                \"is_additional_approval_needed\": true,\n                \"dosespot_medication_id\": 310964,\n                \"refills\": 2,\n                \"quantity\": 1.5,\n                \"days_supply\": 30,\n                \"directions\": \"Take one at the morning and another before bed\",\n                \"dispense_unit_id\": 99,\n                \"pharmacy_id\": 13012,\n                \"no_substitutions\": true,\n                \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n                \"effective_date\": \"2023-05-10\",\n                \"order\": 1\n            }\n        ],\n        \"case_questions\": [\n            {\n                \"question\": \"Are you pregnant?\",\n                \"answer\": \"false\",\n                \"type\": \"boolean\",\n                \"important\": true,\n                \"is_critical\": true,\n                \"display_in_pdf\": true,\n                \"description\": \"Here is the question description\",\n                \"label\": \"Question Label Example\",\n                \"metadata\": \"example of metatada #123 for question\",\n                \"displayed_options\": [\n                    \"yes\",\n                    \"no\"\n                ]\n            }\n        ],\n        \"diseases\": [\n            {\n                \"disease_id\": \"32f62f6e-32b7-4145-a375-15a2bd8b8dfa\"\n            }\n        ],\n        \"tags\": [\n            {\n                \"tag_id\": \"d99ac893-9bd6-49ae-befe-4cf625e97d7c\"\n            }\n        ]\n    }\n}"},"url":"https://api.mdintegrations.com/v1/patient/patients/:patient/cases","description":"<p>Create a new case.</p>\n<h1 id=\"case-payload\">Case Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the case. (e.g., an ID that will be used to identify this case in another database)</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n<td>Clinician to assign the case to, in case there is a preference for a specific clinician in a specific case. If the field is not sent, a clinician will be assigned according to MD Integrations algorithm.</td>\n</tr>\n<tr>\n<td>case_prescriptions</td>\n<td>array(Prescription)</td>\n<td>List of prescriptions to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>case_files</td>\n<td>array(uuid)</td>\n<td>Files ID to be attached to the case. The files must be uploaded before creating a case. To upload files check <strong>Partners &gt; Files</strong></td>\n</tr>\n<tr>\n<td>case_questions</td>\n<td>array(Question)</td>\n<td>Questions and answers list</td>\n</tr>\n<tr>\n<td>case_services</td>\n<td>array(Services)</td>\n<td>List of services to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array(uuid)</td>\n<td>Tags ID to be attached to the case.</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolean</td>\n<td>If the case needs an additional approval</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"prescription-properties\">Prescription Properties</h2>\n<p><strong>Important</strong>: a prescription object must always contain <strong>exactly one</strong> drug type ID from the following:</p>\n<p>[<code>partner_medication_id</code>, <code>partner_compound_id</code>, <code>partner_supply_id</code>]</p>\n<p><strong>Note</strong>: We strongly advise to add a medication to the Admin Panel so it's easier to manage a prescription's details from there. Should you need to add a one-time-only medication, you can use the dosespot_medication_id to reference a Dosespot medication directly.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_compound_id</td>\n<td>uuid</td>\n<td>Partner compound ID. Check <strong>Partners &gt; Compounds</strong> to get a <code>partner_compound_id</code> for a given compound. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_medication_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_medication_id</td>\n<td>uuid</td>\n<td>Partner medication ID. It can be found at the Admin Panel. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_supply_id</td>\n<td>uuid</td>\n<td>Partner supply ID. It can be found at the Admin Panel. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_supply_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer (from 0 to 99)</td>\n<td>Total of refills for the given medication * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n<td>Medication quantity string representing a float number (from 0 to 9999999999) <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer (from 0 to 365)</td>\n<td>Number of days of supply of the medication provided - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string(140)</td>\n<td>Instructions about how the medication is administered <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the prescription</td>\n</tr>\n<tr>\n<td>no_substitutions</td>\n<td>boolean</td>\n<td>Whether or not a medication or compound can be changed</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n<td>- <strong>Medication</strong> (prescription with a <code>dosespot_medication_id</code> included): each medication has one associated dispense unit ID. To get the dispense unit ID associated with a given medication check <strong>Partners &gt; Medications &gt; Get details for a specific medication</strong>;  <br />  <br />- <strong>Compound</strong> (prescription with <code>partner_compound_id</code> included): compounds can be associated with any available dispense unit ID. For a list of all available dispense units check <strong>Partners &gt; Dispense Units</strong>. * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer*</td>\n<td>Pharmacy where the prescription must be sent to. Check <strong>Partners &gt; Pharmacies &gt; Get pharmacies</strong> to get a list of all pharmacies available.  <br />  <br /><strong>Required if</strong>: <code>dosespot_medication_id</code> is present.  <br /><strong>Required if</strong>: <code>partner_medication_id</code> or <code>partner_medication_id</code> does not have a registered default pharmacy.  <br />  <br /><strong>Important note</strong>:  <br />  <br />Dosespot works with <strong>different IDs</strong> for pharmacies according to the environment.  <br />Example:  <br />- Curexa pharmacy ID in <strong>staging</strong> environment: 133012  <br />- Curexa pharmacy ID in <strong>production</strong> environment: 29992</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>string</td>\n<td>Date from which prescription is effective (time will always be 00:00:00). Format: <code>Y-m-d</code></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td>The prescription ordering</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolean</td>\n<td>If the case needs an additional approval</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"question-properties\">Question Properties</h1>\n<p>For more information about <code>questions</code> and how they affect prescriptions, contact us via Slack or send an email to:<br /><a href=\"https://mailto:mserota@mdintegrations.com\">mserota@mdintegrations.com</a></p>\n<p>We are also available through Slack (partner's channel).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>question</td>\n<td>text*</td>\n<td>Question</td>\n</tr>\n<tr>\n<td>answer</td>\n<td>text*</td>\n<td>Answer</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string*</td>\n<td>Question type. Available options: <code>boolean</code>, <code>number</code> or <code>string</code></td>\n</tr>\n<tr>\n<td>important</td>\n<td>boolean</td>\n<td>Flag to set a question as <code>important</code>.  <br />  <br /><strong>Important Note</strong>:  <br />This flag is used to identify which questions could affect the final prescription. You could also implement custom logic to set this flag only when specific answers are selected.</td>\n</tr>\n<tr>\n<td>display_in_pdf</td>\n<td>boolean</td>\n<td>Flag to set if this question will be displayed in the case PDF file</td>\n</tr>\n<tr>\n<td>description</td>\n<td>text</td>\n<td>A description for your question</td>\n</tr>\n<tr>\n<td>label</td>\n<td>string(50)</td>\n<td>The question label</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>text</td>\n<td>A metadata field</td>\n</tr>\n<tr>\n<td>displayed_options</td>\n<td>array</td>\n<td>An array of options that were displayed to the patient</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"service-properties\">Service Properties</h2>\n<p><strong>Important</strong>: a service object can include a <strong>partner_service_id</strong> in order to use predefined information from a partner service.</p>\n<p><strong>Note</strong>: Partner services can be found at the partner details page on the Admin panel. Once you know a partner's service id, you can also retrieve its information through the api using the <strong>Get Service</strong> route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>service_type</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>additional_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>partner_service_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>clinical_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_fax_number</td>\n<td>string</td>\n</tr>\n<tr>\n<td>include_drivers_license</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>send_pdf_file_automatically</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"diseases\">Diseases</h1>\n<p><strong>Important</strong>: Every disease object will add the disease with the ICD (International Classification of Disease) to the case.</p>\n<p><strong>Note</strong>: Diseases can be found in the diseases list on the Admin panel. Once you know a disease's id, you can also retrieve its information through the API using the <strong>Get Disease</strong> route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>disease_id</td>\n<td>UUID</td>\n<td>Disease ID. It can be found at the Admin Panel or through the diseases endpoints.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"other-params\">Other Params</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>preferred_pharmacy_id</td>\n<td>integer</td>\n<td>Dosespot Pharmacy ID</td>\n</tr>\n<tr>\n<td>voucher_id</td>\n<td>uuid</td>\n<td>Optional voucher created by partners.</td>\n</tr>\n<tr>\n<td>questionnaire_id</td>\n<td>uuid*</td>\n<td>Quesionnaire ID</td>\n</tr>\n<tr>\n<td>completion_time</td>\n<td>string*</td>\n<td>Time in the format \"hh:mm:ss\"</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["patient","patients",":patient","cases"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"}]}},"response":[],"_postman_id":"ebfea029-653a-4e93-ad44-3b3c1a91c123"},{"name":"Get patient cases","id":"8113c4c9-e947-4465-b6f8-5a07a506d6fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/patients/:patient/cases","description":"<p>Get all patient cases.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","patients",":patient","cases"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"}]}},"response":[],"_postman_id":"8113c4c9-e947-4465-b6f8-5a07a506d6fb"},{"name":"Get patient case","id":"cf1d5083-70a4-4f4d-87d7-9dcfc3abd191","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/patient/patients/:patient/cases/:case_id","description":"<p>Get patient case details.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","patients",":patient","cases",":case_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"0b3bfd4a-28d7-4a22-8ea4-71c60e888242","type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"},{"id":"5f0cd3c5-3038-4451-9cb7-5768d1725bdf","type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"case_id"}]}},"response":[],"_postman_id":"cf1d5083-70a4-4f4d-87d7-9dcfc3abd191"},{"name":"Get patient case prescriptions","id":"fad6d8c6-2ff4-4334-b746-d46a1aaddef9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/patient/cases/:case/prescriptions","description":"<p>Get all case prescriptions and services.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","cases",":case","prescriptions"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"be4dbcf9-021b-4440-a1f6-6264e6b43165","type":"any","value":"e7aa3926-da44-4987-91f9-69a5be1aadcb","key":"case"}]}},"response":[],"_postman_id":"fad6d8c6-2ff4-4334-b746-d46a1aaddef9"}],"id":"22c37a74-d8e0-455e-aa09-d2502ff77cdd","_postman_id":"22c37a74-d8e0-455e-aa09-d2502ff77cdd","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Partners","item":[{"name":"Get all patient partners","id":"5ee6e32c-dea9-4cca-9108-0444ce76d25b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/partners","description":"<p>Return all partners related to the logged in patient.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","partners"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ee6e32c-dea9-4cca-9108-0444ce76d25b"},{"name":"Get partner","id":"d8cf3799-d71a-4390-b35c-de6a44587b26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/patients/:patient/partner","description":"<p>Return partner data based on the logged in patient.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","patients",":patient","partner"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"}]}},"response":[],"_postman_id":"d8cf3799-d71a-4390-b35c-de6a44587b26"}],"id":"d0f66500-9247-4e7a-b736-90e023287364","_postman_id":"d0f66500-9247-4e7a-b736-90e023287364","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Pharmacies","item":[{"name":"Get pharmacies","id":"eb5d1eee-0e23-4a54-8968-4d8fbe6a8930","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/pharmacies?name=Curexa","description":"<p>Search DoseSpot pharmacies according to a given query parameter. At least <strong>one</strong> query parameter is required. If no query parameter is provided, an error will be thrown.</p>\n<p>This API endpoint forwards the request to DoseSpot in order to search for pharmacies.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","pharmacies"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"city","value":"Cleveland"},{"disabled":true,"description":{"content":"<p>Two letter abbreviation of state</p>\n","type":"text/plain"},"key":"state","value":"OH"},{"disabled":true,"key":"zip","value":"12345"},{"disabled":true,"key":"address","value":"5th avenue"},{"disabled":true,"key":"phoneOrFax","value":"111-22222"},{"disabled":true,"description":{"content":"<p>1 - Mail Order;\n8 - Retail;\n16 - SpecialtyPharmacy;\n32 - LongTermCarePhamacy;\n64 - TwentyFourHourPhamacy;\n2048 - EPCS;</p>\n","type":"text/plain"},"key":"specialty[0]","value":"16"},{"disabled":true,"key":"specialty[1]","value":"16"},{"disabled":true,"description":{"content":"<p>National Council for Prescription Drug Programs Pharmacy ID</p>\n","type":"text/plain"},"key":"ncpdpID","value":"123456"},{"key":"name","value":"Curexa"}],"variable":[]}},"response":[],"_postman_id":"eb5d1eee-0e23-4a54-8968-4d8fbe6a8930"},{"name":"Get pharmacy","id":"86b9e5d6-9901-404c-90a8-909ed508b772","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/pharmacies/:pharmacy_id","description":"<p>Get DoseSpot pharmacy details from a given pharmacy ID.</p>\n<p>This API endpoint forwards the request to DoseSpot in order to retrieve the pharmacy details.</p>\n<p><strong>Important note</strong>: </p>\n<p>For each environment (<strong>staging</strong> and <strong>production</strong>) Dosespot works with different IDs for the pharmacies.</p>\n<p>For example:</p>\n<ul>\n<li><p>In a <strong>Staging</strong> environment, the <strong>Curexa</strong> pharmacy ID is <strong>13012</strong>.</p>\n</li>\n<li><p>In a <strong>Production</strong> environment, the <strong>Curexa</strong> pharmacy ID changes to <strong>29992</strong>.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","pharmacies",":pharmacy_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"0c656559-d60b-49ff-b54a-be796c8f51e5","description":{"content":"<p>Partner ID</p>\n","type":"text/plain"},"type":"any","value":"33778db3-8707-4628-81af-4c6451f9f0b6","key":"pharmacy_id"}]}},"response":[],"_postman_id":"86b9e5d6-9901-404c-90a8-909ed508b772"},{"name":"Set Preferred Pharmacy","id":"3064b4fc-d47e-40bb-8a1a-d86b98ce44b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token_patient}}"},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"notify\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/patient/:patient/pharmacies/:pharmacy","description":"<p>Set the patient's preferred pharmacy.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notify</td>\n<td>boolean</td>\n<td>Notifies the patient's clinicians about the new pharmacy</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","patient",":patient","pharmacies",":pharmacy"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"33778db3-8707-4628-81af-4c6451f9f0b6","key":"patient"},{"type":"any","value":"13012","key":"pharmacy"}]}},"response":[],"_postman_id":"3064b4fc-d47e-40bb-8a1a-d86b98ce44b1"}],"id":"7819cd8d-bdcd-492c-9c5f-eb06e7ac978e","description":"<p>Pharmacy routes</p>\n","_postman_id":"7819cd8d-bdcd-492c-9c5f-eb06e7ac978e","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Access Tokens","item":[{"name":"Refresh token","id":"b10a9b05-07a3-4c09-a545-d2badda1347c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"refresh_token\": \"def50200e891919e64dd056c76e02bcf7152ff10a4afa04cc4ab547c20fd8d98f145833581078c3666a35d13917cee1f013cf627a8c1cab16c3af750fc67c56da1364fd87973388a8961bd534d244447d5625a1cdf5d695307f41257bfe2403079760ff1ba4a35905c96d85519c8f4df99cc7fbde8491609ea836ddba3043c8af2e03f9c806181411822ebda9e62dbd4ef1207d74410810e94be0e3362243c82502883fc3eff8c6a40b49ced37d5b4cf495c4d6f8bc05302298c17cbe5ac18a7c2b604301b5fe5aa0ed43144cebd6d9a9e880192873ee564b40c2d22fc5a51344c07f82dcdea28c27957557643a0e38bac6c9c513355f41deda13d79a5ff5321d67af01bdcbf29f34fe2adb94ac2c727bfc55faed492cae6cc402fac89c6a0cc7f0a76a3eaa91cd9d911c9dd4323ec4f5c5942e4ecbe6f0325353a50999ef74cdb1dda3f7fb38a956f138dca51ca973185c731e96ed3507027a255fc730972e0a532387793a000a1cd544e7c774a5b74634c8ba88de6ecad869dd5c771390a1e1357c5f9d861bce5aa007bfbd650a02bdc008d7feb22e319f4c8ba4f215b4dfacb0d8c815b19c9ddeb1f9163\"\n}"},"url":"https://api.mdintegrations.com/v1/patient/auth/refresh","description":"<p>Refresh the patient bearer token.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","auth","refresh"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b10a9b05-07a3-4c09-a545-d2badda1347c"}],"id":"2550e09c-1173-41a7-90ac-e2ca7fd31d42","_postman_id":"2550e09c-1173-41a7-90ac-e2ca7fd31d42","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Files","item":[{"name":"Create file","id":"819ac06f-2c18-4a6e-a7e1-f138f7656863","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content","value":"multipart/form-data;","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"face - left side","description":"<p>File name * string(255)</p>\n","type":"text"},{"key":"file","description":"<p>File *  any type of file - max 25MB</p>\n","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["TFYBa4A-A/800px-Sunflower_from_Silesia2.jpg"],"src":"TFYBa4A-A/800px-Sunflower_from_Silesia2.jpg"},{"key":"type","value":"other","type":"text"},{"key":"notify","value":"true","type":"text","uuid":"42915302-b996-427c-aedf-22e63c6307cd","disabled":true}]},"url":"https://api.mdintegrations.com/v1/patient/files","description":"<p>Upload a single file to MD Integrations using <strong>multipart/form-data</strong>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Type</strong></th>\n<th><strong>Maximum Size</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Images files</td>\n<td>25mb</td>\n</tr>\n<tr>\n<td>Video files</td>\n<td>140mb</td>\n</tr>\n<tr>\n<td>Other types</td>\n<td>16mb</td>\n</tr>\n</tbody>\n</table>\n</div><p>Accepted types:</p>\n<ul>\n<li><p>document</p>\n</li>\n<li><p>review</p>\n</li>\n<li><p>other</p>\n</li>\n<li><p>insurance-policy</p>\n</li>\n<li><p>contract</p>\n</li>\n<li><p>driver-license</p>\n</li>\n<li><p>lab-result</p>\n</li>\n<li><p>photo</p>\n</li>\n<li><p>av-video</p>\n</li>\n<li><p>full-body-photo</p>\n</li>\n<li><p>back-photo</p>\n</li>\n<li><p>face-photo</p>\n</li>\n<li><p>avatar-photo</p>\n</li>\n<li><p>ipledge-document</p>\n</li>\n<li><p>auth-form</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["patient","files"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"819ac06f-2c18-4a6e-a7e1-f138f7656863"},{"name":"Get file","id":"9088d1db-0f28-4ad7-a4b3-b2fa711fb752","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/patient/files/:file_id","description":"<p>Get information from a given file ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","files",":file_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"84fdcb1f-8557-452a-9887-9bb4bc33fd55","description":{"content":"<p>File ID</p>\n","type":"text/plain"},"type":"any","value":"8ebea5fa-a67d-4f2e-a085-a6fa68bc5797","key":"file_id"}]}},"response":[],"_postman_id":"9088d1db-0f28-4ad7-a4b3-b2fa711fb752"},{"name":"Delete file","id":"730f3671-89f7-4d44-8f5c-0d7d9bfbf81f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/patient/files/:file_id","description":"<p>Delete a given file ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","files",":file_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"24f88b56-160a-40a7-a35c-6c9c55774ccb","description":{"content":"<p>File ID</p>\n","type":"text/plain"},"type":"any","value":"f0180178-6355-4c25-8fb3-f9697e2cbd98","key":"file_id"}]}},"response":[],"_postman_id":"730f3671-89f7-4d44-8f5c-0d7d9bfbf81f"}],"id":"5917bf0e-6d81-467f-bd1f-149742161585","description":"<p>The files endpoints from MD Integrations allows you to easily upload, get and delete image files.</p>\n<h2 id=\"response\">Response</h2>\n<p>The request response to upload a file contains the following information:</p>\n<ul>\n<li><code>file_id</code>: corresponding created file ID. This information is used to attach files to cases or messages;</li>\n<li><code>name</code>: file name;</li>\n<li><code>url</code>: URL from original file;</li>\n<li><code>url_thumbnail</code>: URL from thumbnail image with <strong>180x110px</strong>.</li>\n</ul>\n","_postman_id":"5917bf0e-6d81-467f-bd1f-149742161585","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Exams","item":[{"name":"Get patient exams","id":"8f79d718-ea54-494a-89f9-34e710a5e577","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/patient/patients/:patient/exams?sort=created_at&order=desc","description":"<p>Get all patient cases.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","patients",":patient","exams"],"host":["https://api.mdintegrations.com"],"query":[{"key":"sort","value":"created_at"},{"key":"order","value":"desc"}],"variable":[{"type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"}]}},"response":[],"_postman_id":"8f79d718-ea54-494a-89f9-34e710a5e577"}],"id":"14f84a84-4ed7-4707-a9af-b31f622a5019","_postman_id":"14f84a84-4ed7-4707-a9af-b31f622a5019","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Metadata","item":[{"name":"States","item":[{"name":"List states by country abbreviation","id":"1e978ed6-248f-4d46-b294-0db3a0cdb4e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/countries/:abbreviation/states","description":"<p>Return all states based on the country abbreviation.</p>\n","urlObject":{"path":["v1","patient","countries",":abbreviation","states"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Country abbreviation</p>\n","type":"text/plain"},"type":"any","value":"US","key":"abbreviation"}]}},"response":[],"_postman_id":"1e978ed6-248f-4d46-b294-0db3a0cdb4e1"}],"id":"ca0ccbbd-9e01-414f-bd87-a6e8ae0720ee","_postman_id":"ca0ccbbd-9e01-414f-bd87-a6e8ae0720ee","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"264531a7-5e2f-48eb-a7f1-f657e6dea9af","_postman_id":"264531a7-5e2f-48eb-a7f1-f657e6dea9af","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Payment","item":[{"name":"Get Payment","id":"f03af2e6-55a4-4e47-a609-27ecfc42e3ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/patient/patients/:patient/payments/:payment","description":"<p>Return the payment intent.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","patients",":patient","payments",":payment"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d236d3e7-f9a5-47fa-9632-6e9f69a6f038","type":"any","value":"214dbfc9-18ed-4c03-acb7-c31a9d587965","key":"patient"},{"id":"ddf4fabe-1e6c-4795-b1d8-b87a5c3bc052","type":"any","value":"0a6e176d-19a3-4738-ad80-d778f7348654","key":"payment"}]}},"response":[],"_postman_id":"f03af2e6-55a4-4e47-a609-27ecfc42e3ce"}],"id":"c29ef806-0842-4186-860b-3166fe22eedc","_postman_id":"c29ef806-0842-4186-860b-3166fe22eedc","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"NPS","item":[{"name":"Create NPS Score","id":"168ef65f-6c05-458e-b1aa-63748b7f2771","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"nps_survey_id\": \"d12bf2f6-4dad-4723-94c7-1676fd9026c1\",\n    \"target_model_id\": \"d12bf2f6-4dad-4723-94c7-1676fd9026c1\",\n    \"target_model_type\": \"App\\\\Models\\\\Clinician\"\n}"},"url":"https://api.mdintegrations.com/v1/patient/patients/:patient/nps-scores","description":"<p>It sends the NPS scores.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>nps_survey_id</td>\n<td>uuid</td>\n<td>required</td>\n</tr>\n<tr>\n<td>target_model_id</td>\n<td>uuid</td>\n<td>nullable</td>\n</tr>\n<tr>\n<td>target_model_type</td>\n<td>string</td>\n<td>nullable</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","patient","patients",":patient","nps-scores"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"800c655b-d82b-4497-96cb-7b80f428211e","type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"}]}},"response":[],"_postman_id":"168ef65f-6c05-458e-b1aa-63748b7f2771"},{"name":"Get NPS Survey","id":"a9bf432a-b1f9-4c77-b6a8-dd12a287e173","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"nps_survey_id\": \"d12bf2f6-4dad-4723-94c7-1676fd9026c1\",\n    \"target_model_id\": \"d12bf2f6-4dad-4723-94c7-1676fd9026c1\",\n    \"target_model_type\": \"App\\\\Models\\\\Clinician\"\n}"},"url":"https://api.mdintegrations.com/v1/patient/patients/:patient/partners/:partner/nps-surveys/:npsSurvey","description":"<p>It gets the NPS Survey.</p>\n","urlObject":{"path":["v1","patient","patients",":patient","partners",":partner","nps-surveys",":npsSurvey"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d0bd2716-bb06-49c6-9638-1b699e15bc3a","type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"},{"id":"6ee5a31e-2988-4927-b173-dd4e616ef13c","type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"partner"},{"id":"182ef840-4e69-4885-b8fa-a39f39c6622b","type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"npsSurvey"}]}},"response":[],"_postman_id":"a9bf432a-b1f9-4c77-b6a8-dd12a287e173"}],"id":"22454b3b-d843-47e0-adf8-110adf8cc10d","_postman_id":"22454b3b-d843-47e0-adf8-110adf8cc10d","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Update patient","id":"b3b6cf9e-a987-45ef-ab1f-40f46f2638fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"prefix\": \"Sr\",\n    \"first_name\": \"John\",\n    \"middle_name\": \"Harry\",\n    \"last_name\": \"Doe\",\n    \"gender\": 1,\n    \"date_of_birth\": \"2000-12-31\",\n    \"active\": false,\n    \"weight\": 200,\n    \"height\": 180,\n    \"medical_conditions\": \"medical conditions example\",\n    \"body_temperature\": 36.9,\n    \"oxygen_saturation\": 99,\n    \"special_necessities\": \"special necessities example\",\n    \"metadata\": \"patient number 200\",\n    \"email\": \"john@doe.com\",\n    \"phone_number\": \"(415) 555-2671\",\n    \"phone_type\": 4,\n    \"address\": {\n        \"address\": \"1901 1st Avenue, New York\",\n        \"address2\": \"NY 10029\",\n        \"zip_code\": \"80247\",\n        \"city_id\": \"9f3c4995-8416-4d19-a1e0-3d469afa3a7b\",\n        \"city_name\": \"Tazlima\",\n        \"state_name\": \"Ohio\"\n    },\n    \"current_medications\": \"paracetamol\",\n    \"allergies\": \"polen\",\n    \"pregnancy\": true,\n    \"blood_pressure\": \"120-129\",\n    \"intro_video_id\": \"9d8df900-5b97-4d12-86e7-488fcb891b22\",\n    \"is_sms_enabled\": true,\n    \"is_email_enabled\": true,\n    \"notify\": false\n}"},"url":"https://api.mdintegrations.com/v1/patient/patients/:patient","description":"<p>Update a patient record on MD Integrations.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>prefix</td>\n<td>string(10)</td>\n<td>Prefix</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string(35)</td>\n<td>First name</td>\n</tr>\n<tr>\n<td>middle_name</td>\n<td>string(35)</td>\n<td>Middle name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string(35)</td>\n<td>Last name</td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>string(11)</td>\n<td>Security Social Number. <strong>Format</strong>: <code>AAAGGSSSS</code></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string(80)</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>date</td>\n<td>Date of birth, as YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>driver_license_id</td>\n<td>uuid</td>\n<td>Patient's Driver License, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the patient. (e.g., an ID that will be used to identify this patient in another database)</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>integer</td>\n<td>Gender (ISO 5218 format)</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>string(25)</td>\n<td>Phone number - <em>US format</em></td>\n</tr>\n<tr>\n<td>phone_type</td>\n<td>integer</td>\n<td>Phone type. Available options: 2 (cell) or 4 (home)</td>\n</tr>\n<tr>\n<td>address.address</td>\n<td>string(35)</td>\n<td>Address</td>\n</tr>\n<tr>\n<td>address.address2</td>\n<td>string(35)</td>\n<td>Additional address - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>address.zip_code</td>\n<td>string(9)</td>\n<td>US zip code - _5 or 9 digit format*_OR*CA zip code - 6 alphanumeric characters</td>\n</tr>\n<tr>\n<td>address.city_id</td>\n<td>uuid</td>\n<td>City ID. Check <strong>Metadata &gt; States &gt; Cities&gt; Get cities from a given state</strong> to get city ID. If you use this parameter you don't need to use <strong>city_name</strong> parameter.</td>\n</tr>\n<tr>\n<td>address.city_name</td>\n<td>string(35)</td>\n<td>City name. If you use this parameter you don't need use <strong>city_id</strong> parameter.</td>\n</tr>\n<tr>\n<td>address.state_name</td>\n<td>string</td>\n<td>State name or State USPS abbreviation. If you use this parameter you don't need to use <strong>city_id</strong> parameter.</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>float (from 0 to 999)</td>\n<td>Weight in KG * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>height</td>\n<td>integer (from 0 to 300)</td>\n<td>Height in CM * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>body_temperature</td>\n<td>float (from 0.0 to 100.0)</td>\n<td>Body temperature in Celsius</td>\n</tr>\n<tr>\n<td>oxygen_saturation</td>\n<td>integer (from 0 to 100)</td>\n<td>Oxygen Saturation in percentage</td>\n</tr>\n<tr>\n<td>special_necessities</td>\n<td>text</td>\n<td>Special necessities to be informed about in this case</td>\n</tr>\n<tr>\n<td>allergies</td>\n<td>text</td>\n<td>Known patient's allergies</td>\n</tr>\n<tr>\n<td>pregnancy</td>\n<td>boolean</td>\n<td>Define the patient with a pregnancy</td>\n</tr>\n<tr>\n<td>current_medications</td>\n<td>text</td>\n<td>Medications that the patient is currently taking</td>\n</tr>\n<tr>\n<td>medical_conditions</td>\n<td>text</td>\n<td>Medical conditions related to the patient.</td>\n</tr>\n<tr>\n<td>intro_video_id</td>\n<td>uuid</td>\n<td>Patient's Driver License, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n<tr>\n<td>is_sms_enabled</td>\n<td>boolean</td>\n<td>Control the SMS delivery</td>\n</tr>\n<tr>\n<td>is_email_enabled</td>\n<td>boolean</td>\n<td>Control the email delivery</td>\n</tr>\n<tr>\n<td>notify</td>\n<td>boolean</td>\n<td>Notifies the patient's clinicians about the changes</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","patients",":patient"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"}]}},"response":[],"_postman_id":"b3b6cf9e-a987-45ef-ab1f-40f46f2638fe"},{"name":"Request patient data","id":"d8d9ed9f-3c8f-4d85-869a-c7311f9e4694","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"patient_id\": \"d12bf2f6-4dad-4723-94c7-1676fd9026c1\",\n    \"patient_email\": \"patient@email.com\"\n}"},"url":"https://api.mdintegrations.com/v1/patient/patients/:patient/data","description":"<p>Sends the patient data requested to the patient.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>patient_id</td>\n<td>uuid</td>\n<td>Required if not use the patient email to request their data.</td>\n</tr>\n<tr>\n<td>patient_email</td>\n<td>string</td>\n<td>Required if the patient_id is empty.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","patient","patients",":patient","data"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"}]}},"response":[],"_postman_id":"d8d9ed9f-3c8f-4d85-869a-c7311f9e4694"},{"name":"Get authenticated patient","id":"ddf37f98-7c05-489e-9cc1-a8d1a796c55c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/patients/:patient","description":"<p>Return the authenticated patient information.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","patients",":patient"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"}]}},"response":[],"_postman_id":"ddf37f98-7c05-489e-9cc1-a8d1a796c55c"},{"name":"Request patient data deletion","id":"11093ea5-94db-49ee-8378-7d6115405298","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/patients/:patient","description":"<p>Patient data deletion request.</p>\n<p>We send an email to the patient to confirm the deletion request. Once confirmed we deactivate the patient on MD Integrations application.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient","patients",":patient"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"}]}},"response":[],"_postman_id":"11093ea5-94db-49ee-8378-7d6115405298"}],"id":"43614842-9344-436d-be18-a4c6799b292a","_postman_id":"43614842-9344-436d-be18-a4c6799b292a","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Voucher","item":[{"name":"Files","item":[{"name":"Create file","id":"44d8bc65-ee85-4b25-b6a9-81bfcd0d00db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content","value":"multipart/form-data;","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"face - left side","description":"<p>File name * string(255)</p>\n","type":"text"},{"key":"file","description":"<p>File *  any type of file - max 25MB</p>\n","type":"file","src":"TFYBa4A-A/800px-Sunflower_from_Silesia2.jpg"},{"key":"type","value":"other","description":"<p>File type  * string(255)</p>\n","type":"text"}]},"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/files","description":"<p>Upload a single file to MD Integrations using <strong>multipart/form-data</strong>.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient",":voucher_id","files"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"214dbfc9-18ed-4c03-acb7-c31a9d587965","key":"voucher_id"}]}},"response":[],"_postman_id":"44d8bc65-ee85-4b25-b6a9-81bfcd0d00db"},{"name":"Get file","id":"de73c3f7-ba4d-46ab-98be-ceead0745093","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/files/:file_id","description":"<p>Get information from a given file ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient",":voucher_id","files",":file_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"46b187f2-de72-4daa-88f9-cf5b3c41bafc","description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"214dbfc9-18ed-4c03-acb7-c31a9d587965","key":"voucher_id"},{"id":"2b12809e-4dc3-4c23-97b0-e8f646ef1992","description":{"content":"<p>File ID</p>\n","type":"text/plain"},"type":"any","value":"8ebea5fa-a67d-4f2e-a085-a6fa68bc5797","key":"file_id"}]}},"response":[],"_postman_id":"de73c3f7-ba4d-46ab-98be-ceead0745093"},{"name":"Delete file","id":"61ae53f1-0105-497a-a9d5-33d27c0a4f4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/files/:file_id","description":"<p>Delete a given file ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient",":voucher_id","files",":file_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d6499049-b41b-47d3-b01c-2663c0fc9924","description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"214dbfc9-18ed-4c03-acb7-c31a9d587965","key":"voucher_id"},{"id":"4ce2e041-e6b6-44b3-8972-348bf5fbac16","description":{"content":"<p>File ID</p>\n","type":"text/plain"},"type":"any","value":"f0180178-6355-4c25-8fb3-f9697e2cbd98","key":"file_id"}]}},"response":[],"_postman_id":"61ae53f1-0105-497a-a9d5-33d27c0a4f4a"}],"id":"3a900708-0038-456a-9ab4-03a0f7281793","description":"<p>The files endpoints from MD Integrations allows you to easily upload, get and delete image files.</p>\n<h2 id=\"response\">Response</h2>\n<p>The request response to upload a file contains the following information:</p>\n<ul>\n<li><code>file_id</code>: corresponding created file ID. This information is used to attach files to cases or messages;</li>\n<li><code>name</code>: file name;</li>\n<li><code>url</code>: URL from original file;</li>\n<li><code>url_thumbnail</code>: URL from thumbnail image with <strong>180x110px</strong>.</li>\n</ul>\n","_postman_id":"3a900708-0038-456a-9ab4-03a0f7281793","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Questionnaires","item":[{"name":"Questions","item":[{"name":"Statistics","item":[{"name":"Set completion time","id":"e2ec9b74-b20f-40f7-91cb-5db40993d9f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"completion_time\": \"00:10:53\"\n}"},"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/questions/:question_id/statistics/completion-time","description":"<p>Set the completion time of the question.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>completion_time</td>\n<td>string*</td>\n<td>Time in the format \"hh:mm:ss\"</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient",":voucher_id","questions",":question_id","statistics","completion-time"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"902b8c8d-096d-4118-80e3-cfe59e2d660c","description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"a4d58fd0-2e64-4c9a-955a-a5fcc01584c1","key":"voucher_id"},{"id":"4cf84ab3-42a0-4038-8be3-e2fb7f41b920","description":{"content":"<p>Question ID</p>\n","type":"text/plain"},"type":"any","value":"a4d58fd0-2e64-4c9a-955a-a5fcc01584c1","key":"question_id"}]}},"response":[],"_postman_id":"e2ec9b74-b20f-40f7-91cb-5db40993d9f4"}],"id":"7b5bca65-ce2b-49b0-b3bc-43c7d39c2846","_postman_id":"7b5bca65-ce2b-49b0-b3bc-43c7d39c2846","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"List questions","id":"e1e346d3-3378-473c-b893-3575ce86e49e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/questionnaires/:questionnaire_id/questions","description":"<p>Return all questions given a voucher ID and a questionnaire ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient",":voucher_id","questionnaires",":questionnaire_id","questions"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"1179a0e1-5313-4a21-87d2-f145782ceeb6","key":"voucher_id"},{"description":{"content":"<p>Questionnaire ID</p>\n","type":"text/plain"},"type":"any","value":"bbfb47d7-e256-47d3-9525-56305c3f6a3f","key":"questionnaire_id"}]}},"response":[],"_postman_id":"e1e346d3-3378-473c-b893-3575ce86e49e"},{"name":"List questions translation","id":"212999ad-4a46-401f-b5da-a601100a5324","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Origin","value":"localhost"}],"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/questionnaires/:questionnaire_id/questions/translate?target_language=es-MX","description":"<p>Return all questions given a voucher ID and a questionnaire ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient",":voucher_id","questionnaires",":questionnaire_id","questions","translate"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"source_language","value":"en"},{"key":"target_language","value":"es-MX"}],"variable":[{"id":"fcfebb0d-4bed-45b5-b25d-568464c715ea","description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"17e36ad3-b917-4e7c-a10f-822e81bba812","key":"voucher_id"},{"id":"321a2415-fe6d-48e7-8752-98c1e24527f4","description":{"content":"<p>Questionnaire ID</p>\n","type":"text/plain"},"type":"any","value":"{{partner_questionnaire_id}}","key":"questionnaire_id"}]}},"response":[],"_postman_id":"212999ad-4a46-401f-b5da-a601100a5324"}],"id":"4bedc1b8-263c-4d44-b7ae-e9744562cb5e","_postman_id":"4bedc1b8-263c-4d44-b7ae-e9744562cb5e","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Statistics","item":[{"name":"Set dropped from","id":"919fcaa1-3447-4939-ab9e-d555c289eac0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"dropped_from\": \"allergies page\"\n}"},"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/questionnaires/:questionnaire_id/statistics/dropped-from","description":"<p>Set the completion time of the questionnaire.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>dropped_from</td>\n<td>string*</td>\n<td>The page or step the user dropped from</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient",":voucher_id","questionnaires",":questionnaire_id","statistics","dropped-from"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f34f03f2-1095-4c16-83d3-5f958da0d719","description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"a4d58fd0-2e64-4c9a-955a-a5fcc01584c1","key":"voucher_id"},{"id":"cdbe7e65-2e75-4c19-8131-8342cb7b53c8","description":{"content":"<p>Questionnaire ID</p>\n","type":"text/plain"},"type":"any","value":"a4d58fd0-2e64-4c9a-955a-a5fcc01584c1","key":"questionnaire_id"}]}},"response":[],"_postman_id":"919fcaa1-3447-4939-ab9e-d555c289eac0"}],"id":"c0249bb6-88ac-4de2-ba17-9f95a203b257","_postman_id":"c0249bb6-88ac-4de2-ba17-9f95a203b257","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"List questionnaires","id":"cf0d7760-183b-405e-b085-f202992c6f9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/questionnaires","description":"<p>Return all enabled partner questionnaires given a voucher ID created by a partner.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient",":voucher_id","questionnaires"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a6958eff-a739-458e-927b-920c5fa02a92","description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"0110212e-d3f9-4a7c-9fc8-3fe3f718605b","key":"voucher_id"}]}},"response":[],"_postman_id":"cf0d7760-183b-405e-b085-f202992c6f9d"},{"name":"Get questionnaire","id":"b214d1e6-3ac0-481f-89cc-61af6844f1fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/questionnaires/:questionnaire_id","description":"<p>Return the specific enabled partner questionnaire given a voucher ID created by a partner.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient",":voucher_id","questionnaires",":questionnaire_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ba33d4ad-a8a4-43a2-abc5-66fd6c891aab","description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"0110212e-d3f9-4a7c-9fc8-3fe3f718605b","key":"voucher_id"},{"id":"3d6e3bef-8156-4285-934e-7683a92538a3","description":{"content":"<p>Questionnaire ID</p>\n","type":"text/plain"},"type":"any","value":"33778db3-8707-4628-81af-4c6451f9f0b6","key":"questionnaire_id"}]}},"response":[],"_postman_id":"b214d1e6-3ac0-481f-89cc-61af6844f1fc"},{"name":"Get questionnaire translation","id":"048c2704-93ee-4fc6-865c-446597b25a9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Origin","value":"localhost"}],"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/questionnaires/:questionnaire_id/translate?target_language=es-MX","description":"<p>Return the translated questionnaire</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient",":voucher_id","questionnaires",":questionnaire_id","translate"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"source_language","value":"en"},{"key":"target_language","value":"es-MX"}],"variable":[{"id":"62bfb597-94f8-4899-ad62-0b772bf4d449","description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"17e36ad3-b917-4e7c-a10f-822e81bba812","key":"voucher_id"},{"id":"3543e62a-a5cf-420a-b624-5a9e42d86b92","description":{"content":"<p>Questionnaire ID</p>\n","type":"text/plain"},"type":"any","value":"{{partner_questionnaire_id}}","key":"questionnaire_id"}]}},"response":[],"_postman_id":"048c2704-93ee-4fc6-865c-446597b25a9b"}],"id":"827be8a2-853f-47e5-bf6c-e79b46ced7af","_postman_id":"827be8a2-853f-47e5-bf6c-e79b46ced7af","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Metadata","item":[{"name":"States","item":[{"name":"List states by partner operation country","id":"02e6a6b2-402e-44f0-9b6c-1e35a9bd8958","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/states","description":"<p>Return all states based on the partner operation country.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient",":voucher_id","states"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"07fcbabb-d600-46eb-b941-8d2f82e93ede","description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"214dbfc9-18ed-4c03-acb7-c31a9d587965","key":"voucher_id"}]}},"response":[],"_postman_id":"02e6a6b2-402e-44f0-9b6c-1e35a9bd8958"}],"id":"0da38695-b119-4ef6-972e-7e9733eea382","_postman_id":"0da38695-b119-4ef6-972e-7e9733eea382","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Pharmacies","item":[{"name":"Get pharmacies","id":"1dc318d5-fe41-44c1-a489-064bd6ae6a19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/pharmacies?name=Curexa","description":"<p>Search DoseSpot pharmacies according to a given query parameter. At least <strong>one</strong> query parameter is required. If no query parameter is provided, an error will be thrown.</p>\n<p>This API endpoint forwards the request to DoseSpot in order to search for pharmacies.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient",":voucher_id","pharmacies"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"city","value":"Cleveland"},{"disabled":true,"description":{"content":"<p>Two letter abbreviation of state</p>\n","type":"text/plain"},"key":"state","value":"OH"},{"disabled":true,"key":"zip","value":"12345"},{"disabled":true,"key":"address","value":"5th avenue"},{"disabled":true,"key":"phoneOrFax","value":"111-22222"},{"disabled":true,"description":{"content":"<p>1 - Mail Order;\n8 - Retail;\n16 - SpecialtyPharmacy;\n32 - LongTermCarePhamacy;\n64 - TwentyFourHourPhamacy;\n2048 - EPCS;</p>\n","type":"text/plain"},"key":"specialty[0]","value":"16"},{"disabled":true,"key":"specialty[1]","value":"16"},{"disabled":true,"description":{"content":"<p>National Council for Prescription Drug Programs Pharmacy ID</p>\n","type":"text/plain"},"key":"ncpdpID","value":"123456"},{"key":"name","value":"Curexa"}],"variable":[{"id":"6a2bd741-2f76-47d0-bcf8-b5c8a5060261","description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"214dbfc9-18ed-4c03-acb7-c31a9d587965","key":"voucher_id"}]}},"response":[],"_postman_id":"1dc318d5-fe41-44c1-a489-064bd6ae6a19"},{"name":"Get pharmacy","id":"15dc9ae7-5f5b-4938-a17d-a01ae5187004","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/pharmacies/:pharmacy_id","description":"<p>Get DoseSpot pharmacy details from a given pharmacy ID.</p>\n<p>This API endpoint forwards the request to DoseSpot in order to retrieve the pharmacy details.</p>\n<p><strong>Important note</strong>: </p>\n<p>For each environment (<strong>staging</strong> and <strong>production</strong>) Dosespot works with different IDs for the pharmacies.</p>\n<p>For example:</p>\n<ul>\n<li><p>In a <strong>Staging</strong> environment, the <strong>Curexa</strong> pharmacy ID is <strong>13012</strong>.</p>\n</li>\n<li><p>In a <strong>Production</strong> environment, the <strong>Curexa</strong> pharmacy ID changes to <strong>29992</strong>.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient",":voucher_id","pharmacies",":pharmacy_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"80bcebbb-2304-4cdb-9462-61c11498b925","description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"214dbfc9-18ed-4c03-acb7-c31a9d587965","key":"voucher_id"},{"id":"a7fb8ced-3933-4ac5-b245-1e0881c5b1a2","description":{"content":"<p>Partner ID</p>\n","type":"text/plain"},"type":"any","value":"33778db3-8707-4628-81af-4c6451f9f0b6","key":"pharmacy_id"}]}},"response":[],"_postman_id":"15dc9ae7-5f5b-4938-a17d-a01ae5187004"}],"id":"43fdd36a-207b-4833-96b0-14575907bcf5","description":"<p>Pharmacy routes</p>\n","_postman_id":"43fdd36a-207b-4833-96b0-14575907bcf5","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"993dea4d-f9fa-4f87-a19c-997f1fde7bc2","_postman_id":"993dea4d-f9fa-4f87-a19c-997f1fde7bc2","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get voucher","id":"1c02fa56-7396-47c7-a204-5e51e8c29e17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/patient/vouchers/:voucher_id","description":"<p>Return partner data given a partner ID.</p>\n","urlObject":{"path":["v1","patient","vouchers",":voucher_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"0110212e-d3f9-4a7c-9fc8-3fe3f718605b","key":"voucher_id"}]}},"response":[],"_postman_id":"1c02fa56-7396-47c7-a204-5e51e8c29e17"},{"name":"Validate Patient information","id":"a35149c6-4c5e-4651-9d7a-61208ef70d7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"patient\": {\n        \"first_name\": \"Oberyn\",\n        \"last_name\": \"Martell\",\n        \"ssn\": \"111223333\",\n        \"gender\": 2,\n        \"weight\": 80,\n        \"date_of_birth\": \"1990-11-11\",\n        \"phone_number\": \"\",\n        \"phone_type\": 2,\n        \"email\": \"oberyn@mdintegrations.com\",\n        \"address\": {\n            \"address\": \"10001, new test mall\",\n            \"zip_code\": \"12345\",\n            \"city_name\": \"New York\",\n            \"state_name\": \"NY\"\n        }\n    }\n}"},"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/patients/validate","description":"<p>Validates patient data as they are passed in the request.</p>\n<h1 id=\"patient-payload\">Patient Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string(35)</td>\n<td>First name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string(35)</td>\n<td>Last name</td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>string(11)</td>\n<td>Security Social Number. <strong>Format</strong>: <code>AAAGGSSSS</code></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string(80)</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>date</td>\n<td>Date of birth, as YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>driver_license_id</td>\n<td>uuid</td>\n<td>Patient's Driver License, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>integer</td>\n<td>Gender (ISO 5218 format)</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the patient. (e.g., an ID that will be used to identify this patient in another database)</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>string(25)</td>\n<td>Phone number - <em>US format</em></td>\n</tr>\n<tr>\n<td>phone_type</td>\n<td>integer</td>\n<td>Phone type. Available options: 2 (cell) or 4 (home)</td>\n</tr>\n<tr>\n<td>address.address</td>\n<td>string(35)</td>\n<td>Address</td>\n</tr>\n<tr>\n<td>address.address2</td>\n<td>string(35)</td>\n<td>Additional address - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>address.zip_code</td>\n<td>string(9)</td>\n<td>US zip code - _5 or 9 digit format  <br />OR  <br />_CA zip code - 6 alphanumeric characters</td>\n</tr>\n<tr>\n<td>address.city_name</td>\n<td>string(35)</td>\n<td>City name.</td>\n</tr>\n<tr>\n<td>address.state_name</td>\n<td>string</td>\n<td>State name or State USPS abbreviation.</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>float (from 0 to 999)</td>\n<td>Weight in KG * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>height</td>\n<td>integer (from 0 to 300)</td>\n<td>Height in CM * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>allergies</td>\n<td>text</td>\n<td>Known patient's allergies</td>\n</tr>\n<tr>\n<td>pregnancy</td>\n<td>boolean</td>\n<td>Define the patient with a pregnancy</td>\n</tr>\n<tr>\n<td>current_medications</td>\n<td>text</td>\n<td>Medications that the patient is currently taking</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","patient",":voucher_id","patients","validate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"214dbfc9-18ed-4c03-acb7-c31a9d587965","key":"voucher_id"}]}},"response":[],"_postman_id":"a35149c6-4c5e-4651-9d7a-61208ef70d7e"},{"name":"Create Patient and Case","id":"f6ea2789-cb97-48f2-86c8-741c38154f79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"preferred_pharmacy_id\": 13012,\n    \"questionnaire_id\": \"368f95e5-cbd9-4a2f-8275-6f9258bbdf46\",\n    \"completion_time\": \"00:12:53\",\n    \"patient\": {\n        \"prefix\": \"Sr\",\n        \"first_name\": \"Oberyn\",\n        \"last_name\": \"Martell\",\n        \"ssn\": \"111-22-3333\",\n        \"gender\": 2,\n        \"weight\": 80,\n        \"date_of_birth\": \"1990-11-11\",\n        \"phone_number\": \"\",\n        \"phone_type\": 2,\n        \"email\": \"oberyn@mdintegrations.com\",\n        \"medical_conditions\": \"medical conditions example\",\n        \"blood_pressure\": \"120-80\",\n        \"body_temperature\": 36.9,\n        \"oxygen_saturation\": 99,\n        \"special_necessities\": \"special necessities example\",\n        \"address\": {\n            \"address\": \"10001, new test mall\",\n            \"zip_code\": \"12345\",\n            \"city_name\": \"New York\",\n            \"state_name\": \"NY\"\n        },\n        \"intro_video_id\": \"9d8df900-5b97-4d12-86e7-488fcb891b22\",\n        \"is_sms_enabled\": true,\n        \"is_email_enabled\": true,\n        \"shopify_customer_id\": null,\n        \"woocommerce_customer_id\": null\n    },\n    \"case\": {\n        \"clinician_id\": \"20b0e825-041d-4ea9-97b1-cec9d237ff3a\",\n        \"metadata\": \"example of metadata\",\n        \"hold_status\": true,\n        \"is_additional_approval_needed\": false,\n        \"case_files\": [],\n        \"case_services\": [\n            {\n                \"description\": \"Device that...\",\n                \"service_type\": \"device\",\n                \"title\": \"Device 14\",\n                \"additional_note\": \"Service additional note\",\n                \"clinical_notes\": \"Some clinical note\",\n                \"thank_you_note\": \"Some thank you note\",\n                \"pharmacy_fax_number\": \"+587965462919\",\n                \"include_drivers_license\": true,\n                \"send_pdf_file_automatically\": false,\n                \"order\": 1\n            }\n        ],\n        \"case_prescriptions\": [\n            {\n                \"dosespot_medication_id\": 310964,\n                \"refills\": 2,\n                \"quantity\": 1.5,\n                \"days_supply\": 30,\n                \"directions\": \"Take one at the morning and another before bed\",\n                \"dispense_unit_id\": 2,\n                \"pharmacy_id\": 13012,\n                \"no_substitutions\": true,\n                \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n                \"effective_date\": \"2023-05-10\",\n                \"order\": 1\n            }\n        ],\n        \"case_questions\": [\n            {\n                \"question\": \"Are you pregnant?\",\n                \"answer\": \"false\",\n                \"type\": \"boolean\",\n                \"important\": true,\n                \"is_critical\": true,\n                \"display_in_pdf\": true\n            }\n        ],\n        \"diseases\": [\n            {\n                \"disease_id\": \"000d2152-7838-4fc7-8a13-ae8a1748a9eb\"\n            }\n        ],\n        \"tags\": [\n            {\n                \"tag_id\": \"d99ac893-9bd6-49ae-befe-4cf625e97d7c\"\n            }\n        ]\n    }\n}"},"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/cases","description":"<p>Create a new patient and case.</p>\n<h1 id=\"case-payload\">Case Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>preferred_pharmacy_id</td>\n<td>integer</td>\n<td>Dosespot Pharmacy ID</td>\n</tr>\n<tr>\n<td>questionnaire_id</td>\n<td>uuid*</td>\n<td>Questionnaire ID</td>\n</tr>\n<tr>\n<td>completion_time</td>\n<td>string*</td>\n<td>Time in the format \"hh:mm:ss\"</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"patient-payload\">Patient Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>prefix</td>\n<td>string(10)*</td>\n<td>Prefix</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string(35)*</td>\n<td>First name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string(35)*</td>\n<td>Last name</td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>string(11)</td>\n<td>Security Social Number. <strong>Format</strong>: <code>AAAGGSSSS</code></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string(80)*</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>date*</td>\n<td>Date of birth, as YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>driver_license_id</td>\n<td>uuid</td>\n<td>Patient's Driver License, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>integer*</td>\n<td>Gender (ISO 5218 format)</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the patient. (e.g., an ID that will be used to identify this patient in another database)</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>string(25)*</td>\n<td>Phone number - <em>US format</em></td>\n</tr>\n<tr>\n<td>phone_type</td>\n<td>integer*</td>\n<td>Phone type. Available options: 2 (cell) or 4 (home)</td>\n</tr>\n<tr>\n<td>address.address</td>\n<td>string(35)*</td>\n<td>Address</td>\n</tr>\n<tr>\n<td>address.address2</td>\n<td>string(35)</td>\n<td>Additional address - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>address.zip_code</td>\n<td>string(9)*</td>\n<td>US zip code - _5 or 9 digit format*_OR*CA zip code - 6 alphanumeric characters</td>\n</tr>\n<tr>\n<td>address.city_name</td>\n<td>string(35)*</td>\n<td>City name.</td>\n</tr>\n<tr>\n<td>address.state_name</td>\n<td>string*</td>\n<td>State name or State USPS abbreviation.</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>float (from 0 to 999)</td>\n<td>Weight in KG * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>height</td>\n<td>integer (from 0 to 300)</td>\n<td>Height in CM * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>body_temperature</td>\n<td>float (from 0.0 to 100.0)</td>\n<td>Body temperature in Celsius</td>\n</tr>\n<tr>\n<td>oxygen_saturation</td>\n<td>integer (from 0 to 100)</td>\n<td>Oxygen Saturation in percentage</td>\n</tr>\n<tr>\n<td>special_necessities</td>\n<td>text</td>\n<td>Special necessities to be informed about in this case</td>\n</tr>\n<tr>\n<td>allergies</td>\n<td>text</td>\n<td>Known patient's allergies</td>\n</tr>\n<tr>\n<td>pregnancy</td>\n<td>boolean</td>\n<td>Define the patient with a pregnancy</td>\n</tr>\n<tr>\n<td>current_medications</td>\n<td>text</td>\n<td>Medications that the patient is currently taking</td>\n</tr>\n<tr>\n<td>medical_conditions</td>\n<td>text</td>\n<td>Medical conditions related to the patient.</td>\n</tr>\n<tr>\n<td>intro_video_id</td>\n<td>uuid</td>\n<td>Patient's Intro Video, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"case-payload-1\">Case Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the case. (e.g., an ID that will be used to identify this case in another database)</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n<td>Clinician to assign the case to, in case there is a preference for a specific clinician in a specific case. If the field is not sent, a clinician will be assigned according to MDIntegrations algorithm.</td>\n</tr>\n<tr>\n<td>case_prescriptions</td>\n<td>array(Prescription)</td>\n<td>List of prescriptions to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>case_files</td>\n<td>array(uuid)</td>\n<td>Files ID to be attached to the case. The files must be uploaded before creating a case. To upload files check <strong>Partners &gt; Files</strong></td>\n</tr>\n<tr>\n<td>case_questions</td>\n<td>array(Question)</td>\n<td>Questions and answers list</td>\n</tr>\n<tr>\n<td>case_services</td>\n<td>array(Services)</td>\n<td>List of services to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array(uuid)</td>\n<td>Tags ID to be attached to the case.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"prescription-properties\">Prescription Properties</h2>\n<p><strong>Important</strong>: a prescription object must always contain <strong>exactly one</strong> drug type ID from the following:</p>\n<p>[<code>partner_medication_id</code>, <code>partner_compound_id</code>, <code>partner_supply_id</code>]</p>\n<p><strong>Note</strong>: We strongly advise asking our medical team to add medications to your company's dashboard so it's easier to manage prescriptions details from there. Should you need to add a one-time-only medication, you can use the dosespot_medication_id to reference a Dosespot medication directly.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_compound_id</td>\n<td>uuid</td>\n<td>Partner compound ID. Check <strong>Partners &gt; Compounds</strong> to get a <code>partner_compound_id</code> for a given compound. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_medication_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_medication_id</td>\n<td>uuid</td>\n<td>Partner medication ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_supply_id</td>\n<td>uuid</td>\n<td>Partner supply ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_supply_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer (from 0 to 99)</td>\n<td>Total of refills for the given medication * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n<td>Medication quantity string representing a float number (from 0 to 9999999999) <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer (from 0 to 365)</td>\n<td>Number of days of supply of the medication provided - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string(140)</td>\n<td>Instructions about how the medication is administered <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the prescription</td>\n</tr>\n<tr>\n<td>no_substitutions</td>\n<td>boolean</td>\n<td>Whether or not a medication or compound can be changed</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n<td>- <strong>Medication</strong> (prescription with a <code>dosespot_medication_id</code> included): each medication has one associated dispense unit ID. To get the dispense unit ID associated with a given medication check <strong>Partners &gt; Medications &gt; Get details for a specific medication</strong>;  <br />  <br />- <strong>Compound</strong> (prescription with <code>partner_compound_id</code> included): compounds can be associated with any available dispense unit ID. For a list of all available dispense units check <strong>Partners &gt; Dispense Units</strong>. * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer*</td>\n<td>Pharmacy where the prescription must be sent to. Check <strong>Partners &gt; Pharmacies &gt; Get pharmacies</strong> to get a list of all pharmacies available.  <br />  <br /><strong>Required if</strong>: <code>dosespot_medication_id</code> is present.  <br /><strong>Required if</strong>: <code>partner_medication_id</code> or <code>partner_medication_id</code> does not have a registered default pharmacy.  <br />  <br /><strong>Important note</strong>:  <br />  <br />Dosespot works with <strong>different IDs</strong> for pharmacies according to the environment.  <br />Example:  <br />- Curexa pharmacy ID in <strong>staging</strong> environment: 133012  <br />- Curexa pharmacy ID in <strong>production</strong> environment: 29992</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>string</td>\n<td>Date from which prescription is effective (time will always be 00:00:00). Format: <code>Y-m-d</code></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td>The presrcription ordering</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"question-properties\">Question Properties</h1>\n<p>For more information about <code>questions</code> and how they affect prescriptions, contact us via Slack or send an email to:<br /><a href=\"https://mailto:mserota@mdintegrations.com\">mserota@mdintegrations.com</a> and <a href=\"https://mailto:jeff@mdintegrations.com\">jeff@mdintegrations.com</a></p>\n<p>We are also available through Slack (partner's channel).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>question</td>\n<td>string(255)*</td>\n<td>Question</td>\n</tr>\n<tr>\n<td>answer</td>\n<td>text*</td>\n<td>Answer</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string*</td>\n<td>Question type. Available options: <code>boolean</code>, <code>number</code> or <code>string</code></td>\n</tr>\n<tr>\n<td>important</td>\n<td>boolean</td>\n<td>Flag to set a question as <code>important</code>.  <br />  <br /><strong>Important Note</strong>:  <br />This flag is used to identify which questions could affect the final prescription. You could also implement custom logic to set this flag only when specific answers are selected.</td>\n</tr>\n<tr>\n<td>display_in_pdf</td>\n<td>boolean</td>\n<td>Flag to set if this question will be displayed in the case PDF file</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"diseases\">Diseases</h1>\n<p><strong>Important</strong>: Every disease object will add the disease with the ICD (International Classification of Disease) to the case.</p>\n<p><strong>Note</strong>: Diseses can be found on the diseases page on the Admin panel. Once you know a disease id, you can also retrieve its information through the API using the Get Disease route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>disease_id</td>\n<td>UUID</td>\n<td>Disease ID. It can be found through the diseases endpoints.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"service-properties\">Service Properties</h2>\n<p><strong>Important</strong>: a service object can include a <strong>partner_service_id</strong> in order to use predefined information from a partner service.</p>\n<p><strong>Note</strong>: Partner services can be found under your company's offerings from the Partners Website. Once you know a partner's service id, you can also retrieve its information through the api using the <strong>Get Service</strong> route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>service_type</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>additional_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>partner_service_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>clinical_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_fax_number</td>\n<td>string</td>\n</tr>\n<tr>\n<td>include_drivers_license</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>send_pdf_file_automatically</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","patient",":voucher_id","cases"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"0a6e176d-19a3-4738-ad80-d778f7348654","key":"voucher_id"}]}},"response":[],"_postman_id":"f6ea2789-cb97-48f2-86c8-741c38154f79"},{"name":"Create Patient","id":"78078ec2-9693-4b14-9d23-9d0bd853b44d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"prefix\": \"Sr\",\n    \"first_name\": \"Oberyn\",\n    \"last_name\": \"Martell\",\n    \"ssn\": \"111-22-3333\",\n    \"gender\": 2,\n    \"weight\": 80,\n    \"date_of_birth\": \"1990-11-11\",\n    \"phone_number\": \"\",\n    \"phone_type\": 2,\n    \"email\": \"oberyn@mdintegrations.com\",\n    \"medical_conditions\": \"medical conditions example\",\n    \"body_temperature\": 36.9,\n    \"oxygen_saturation\": 99,\n    \"special_necessities\": \"special necessities example\",\n    \"address\": {\n        \"address\": \"10001, new test mall\",\n        \"zip_code\": \"12345\",\n        \"city_name\": \"New York\",\n        \"state_name\": \"NY\"\n    },\n    \"intro_video_id\": \"9d8df900-5b97-4d12-86e7-488fcb891b22\",\n    \"is_sms_enabled\": true,\n    \"is_email_enabled\": true,\n    \"shopify_customer_id\": null,\n    \"woocommerce_customer_id\": null\n}"},"url":"https://api.mdintegrations.com/v1/patient/:voucher_id/patients","description":"<p>Create a new patient and case.</p>\n<h1 id=\"case-payload\">Case Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>preferred_pharmacy_id</td>\n<td>integer</td>\n<td>Dosespot Pharmacy ID</td>\n</tr>\n<tr>\n<td>questionnaire_id</td>\n<td>uuid*</td>\n<td>Questionnaire ID</td>\n</tr>\n<tr>\n<td>completion_time</td>\n<td>string*</td>\n<td>Time in the format \"hh:mm:ss\"</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"patient-payload\">Patient Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>prefix</td>\n<td>string(10)*</td>\n<td>Prefix</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string(35)*</td>\n<td>First name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string(35)*</td>\n<td>Last name</td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>string(11)</td>\n<td>Security Social Number. <strong>Format</strong>: <code>AAAGGSSSS</code></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string(80)*</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>date*</td>\n<td>Date of birth, as YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>driver_license_id</td>\n<td>uuid</td>\n<td>Patient's Driver License, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>integer*</td>\n<td>Gender (ISO 5218 format)</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the patient. (e.g., an ID that will be used to identify this patient in another database)</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>string(25)*</td>\n<td>Phone number - <em>US format</em></td>\n</tr>\n<tr>\n<td>phone_type</td>\n<td>integer*</td>\n<td>Phone type. Available options: 2 (cell) or 4 (home)</td>\n</tr>\n<tr>\n<td>address.address</td>\n<td>string(35)*</td>\n<td>Address</td>\n</tr>\n<tr>\n<td>address.address2</td>\n<td>string(35)</td>\n<td>Additional address - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>address.zip_code</td>\n<td>string(9)*</td>\n<td>US zip code - _5 or 9 digit format*_OR*CA zip code - 6 alphanumeric characters</td>\n</tr>\n<tr>\n<td>address.city_name</td>\n<td>string(35)*</td>\n<td>City name.</td>\n</tr>\n<tr>\n<td>address.state_name</td>\n<td>string*</td>\n<td>State name or State USPS abbreviation.</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>float (from 0 to 999)</td>\n<td>Weight in KG * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>height</td>\n<td>integer (from 0 to 300)</td>\n<td>Height in CM * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>body_temperature</td>\n<td>float (from 0.0 to 100.0)</td>\n<td>Body temperature in Celsius</td>\n</tr>\n<tr>\n<td>oxygen_saturation</td>\n<td>integer (from 0 to 100)</td>\n<td>Oxygen Saturation in percentage</td>\n</tr>\n<tr>\n<td>special_necessities</td>\n<td>text</td>\n<td>Special necessities to be informed about in this case</td>\n</tr>\n<tr>\n<td>allergies</td>\n<td>text</td>\n<td>Known patient's allergies</td>\n</tr>\n<tr>\n<td>pregnancy</td>\n<td>boolean</td>\n<td>Define the patient with a pregnancy</td>\n</tr>\n<tr>\n<td>current_medications</td>\n<td>text</td>\n<td>Medications that the patient is currently taking</td>\n</tr>\n<tr>\n<td>medical_conditions</td>\n<td>text</td>\n<td>Medical conditions related to the patient.</td>\n</tr>\n<tr>\n<td>intro_video_id</td>\n<td>uuid</td>\n<td>Patient's Intro Video, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"case-payload-1\">Case Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the case. (e.g., an ID that will be used to identify this case in another database)</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n<td>Clinician to assign the case to, in case there is a preference for a specific clinician in a specific case. If the field is not sent, a clinician will be assigned according to MDIntegrations algorithm.</td>\n</tr>\n<tr>\n<td>case_prescriptions</td>\n<td>array(Prescription)</td>\n<td>List of prescriptions to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>case_files</td>\n<td>array(uuid)</td>\n<td>Files ID to be attached to the case. The files must be uploaded before creating a case. To upload files check <strong>Partners &gt; Files</strong></td>\n</tr>\n<tr>\n<td>case_questions</td>\n<td>array(Question)</td>\n<td>Questions and answers list</td>\n</tr>\n<tr>\n<td>case_services</td>\n<td>array(Services)</td>\n<td>List of services to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array(uuid)</td>\n<td>Tags ID to be attached to the case.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"prescription-properties\">Prescription Properties</h2>\n<p><strong>Important</strong>: a prescription object must always contain <strong>exactly one</strong> drug type ID from the following:</p>\n<p>[<code>partner_medication_id</code>, <code>partner_compound_id</code>, <code>partner_supply_id</code>]</p>\n<p><strong>Note</strong>: We strongly advise to add a medication to the Admin Panel so it's easier to manage a prescription's details from there. Should you need to add a one-time-only medication, you can use the dosespot_medication_id to reference a Dosespot medication directly.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_compound_id</td>\n<td>uuid</td>\n<td>Partner compound ID. Check <strong>Partners &gt; Compounds</strong> to get a <code>partner_compound_id</code> for a given compound. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_medication_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_medication_id</td>\n<td>uuid</td>\n<td>Partner medication ID. It can be found at the Admin Panel. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_supply_id</td>\n<td>uuid</td>\n<td>Partner supply ID. It can be found at the Admin Panel. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_supply_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer (from 0 to 99)</td>\n<td>Total of refills for the given medication * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n<td>Medication quantity string representing a float number (from 0 to 9999999999) <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer (from 0 to 365)</td>\n<td>Number of days of supply of the medication provided - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string(140)</td>\n<td>Instructions about how the medication is administered <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the prescription</td>\n</tr>\n<tr>\n<td>no_substitutions</td>\n<td>boolean</td>\n<td>Whether or not a medication or compound can be changed</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n<td>- <strong>Medication</strong> (prescription with a <code>dosespot_medication_id</code> included): each medication has one associated dispense unit ID. To get the dispense unit ID associated with a given medication check <strong>Partners &gt; Medications &gt; Get details for a specific medication</strong>;  <br />  <br />- <strong>Compound</strong> (prescription with <code>partner_compound_id</code> included): compounds can be associated with any available dispense unit ID. For a list of all available dispense units check <strong>Partners &gt; Dispense Units</strong>. * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer*</td>\n<td>Pharmacy where the prescription must be sent to. Check <strong>Partners &gt; Pharmacies &gt; Get pharmacies</strong> to get a list of all pharmacies available.  <br />  <br /><strong>Required if</strong>: <code>dosespot_medication_id</code> is present.  <br /><strong>Required if</strong>: <code>partner_medication_id</code> or <code>partner_medication_id</code> does not have a registered default pharmacy.  <br />  <br /><strong>Important note</strong>:  <br />  <br />Dosespot works with <strong>different IDs</strong> for pharmacies according to the environment.  <br />Example:  <br />- Curexa pharmacy ID in <strong>staging</strong> environment: 133012  <br />- Curexa pharmacy ID in <strong>production</strong> environment: 29992</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>string</td>\n<td>Date from which prescription is effective (time will always be 00:00:00). Format: <code>Y-m-d</code></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td>The presrcription ordering</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"question-properties\">Question Properties</h1>\n<p>For more information about <code>questions</code> and how they affect prescriptions, contact us via Slack or send an email to:<br /><a href=\"https://mailto:mserota@mdintegrations.com\">mserota@mdintegrations.com</a> and <a href=\"https://mailto:jeff@mdintegrations.com\">jeff@mdintegrations.com</a></p>\n<p>We are also available through Slack (partner's channel).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>question</td>\n<td>string(255)*</td>\n<td>Question</td>\n</tr>\n<tr>\n<td>answer</td>\n<td>text*</td>\n<td>Answer</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string*</td>\n<td>Question type. Available options: <code>boolean</code>, <code>number</code> or <code>string</code></td>\n</tr>\n<tr>\n<td>important</td>\n<td>boolean</td>\n<td>Flag to set a question as <code>important</code>.  <br />  <br /><strong>Important Note</strong>:  <br />This flag is used to identify which questions could affect the final prescription. You could also implement custom logic to set this flag only when specific answers are selected.</td>\n</tr>\n<tr>\n<td>display_in_pdf</td>\n<td>boolean</td>\n<td>Flag to set if this question will be displayed in the case PDF file</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"diseases\">Diseases</h1>\n<p><strong>Important</strong>: Every disease object will add the disease with the ICD (International Classification of Disease) to the case.</p>\n<p><strong>Note</strong>: Diseases can be found in the diseases list on the Admin panel. Once you know a disease's id, you can also retrieve its information through the API using the <strong>Get Disease</strong> route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>disease_id</td>\n<td>UUID</td>\n<td>Disease ID. It can be found at the Admin Panel or through the diseases endpoints.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"service-properties\">Service Properties</h2>\n<p><strong>Important</strong>: a service object can include a <strong>partner_service_id</strong> in order to use predefined information from a partner service.</p>\n<p><strong>Note</strong>: Partner services can be found at the partner details page on the Admin panel. Once you know a partner's service id, you can also retrieve its information through the api using the <strong>Get Service</strong> route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>service_type</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>additional_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>partner_service_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>clinical_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_fax_number</td>\n<td>string</td>\n</tr>\n<tr>\n<td>include_drivers_license</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>send_pdf_file_automatically</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","patient",":voucher_id","patients"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"0a6e176d-19a3-4738-ad80-d778f7348654","key":"voucher_id"}]}},"response":[],"_postman_id":"78078ec2-9693-4b14-9d23-9d0bd853b44d"},{"name":"Patch Questionnaire Progress","id":"bc40a0f3-c542-4014-8dc9-2ebddd07af92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"questionnaire_progress\": [\n        {\n            \"question_id\": \"b2873efd-26a6-4301-aaa4-d649db7a4f9b\",\n            \"answers\": [\n                \"Answer 1 to question 1\"\n            ]\n        },\n        {\n            \"question_id\": \"336292ad-d5b7-475c-abcf-18c54aca1f95\",\n            \"answers\": \"Answer 2 to question 2\"\n        \n        },\n        {\n            \"question_id\": \"a09a8dba-4980-4199-8419-a6dbfd282927\",\n            \"answers\": 101\n        },\n        {\n            \"file_id\": \"0a5b4de1-bc62-40b9-9d7c-f5c64bd43e0f\"\n        }\n    ]\n}"},"url":"https://api.mdintegrations.com/v1/patient/vouchers/:voucher_id/progress","description":"<p>Save the progress of intake responses.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>question_id</td>\n<td>uuid*</td>\n<td>Questionnaire ID</td>\n</tr>\n<tr>\n<td>answers</td>\n<td>string*</td>\n<td>Answer</td>\n</tr>\n<tr>\n<td>file_id</td>\n<td>uuid*</td>\n<td>Files</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","patient","vouchers",":voucher_id","progress"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6686876f-bb91-4b46-8ec7-a7e6a7a71910","description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"0a6e176d-19a3-4738-ad80-d778f7348654","key":"voucher_id"}]}},"response":[],"_postman_id":"bc40a0f3-c542-4014-8dc9-2ebddd07af92"}],"id":"72eee049-47bd-4788-9fa9-a94b24460961","_postman_id":"72eee049-47bd-4788-9fa9-a94b24460961","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Messages","item":[{"name":"Get Messages","id":"958267b9-0117-4082-834b-a8791359ff1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/patient/patients/:patient/messages?channel=patient","description":"<p>Get the patient's messages (paginated).</p>\n","urlObject":{"path":["v1","patient","patients",":patient","messages"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"per_page","value":"15"},{"key":"channel","value":"patient"},{"disabled":true,"key":"order","value":"desc"}],"variable":[{"type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"}]}},"response":[],"_postman_id":"958267b9-0117-4082-834b-a8791359ff1e"},{"name":"Create Message","id":"706478c6-7100-45d4-afb7-d731e84bb523","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"channel\": \"patient\",\n    \"text\": \"Message text.\",\n    \"reference_message_id\": \"ce36bba7-3932-4197-9d92-4565a890edf8\",\n    \"files\": [\n        {\n            \"id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\"\n        },\n        {\n            \"id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\"\n        }\n    ],\n    \"notified_model_type\": \"App\\\\Models\\\\SupportStaff\",\n    \"notified_model_id\": \"08fe7d65-f58f-4923-bb0b-9ec0821c0c61\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/patient/patients/:patient/messages","description":"<p>Creates a patient's message, and attaches its files.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>channel*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>text</td>\n<td>string</td>\n</tr>\n<tr>\n<td>reference_message_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>files</td>\n<td>array</td>\n</tr>\n<tr>\n<td>notified_model_type</td>\n<td>string</td>\n</tr>\n<tr>\n<td>notified_model_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-files\">Payload (files)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id*</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","patient","patients",":patient","messages"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"}]}},"response":[],"_postman_id":"706478c6-7100-45d4-afb7-d731e84bb523"},{"name":"Get Message","id":"9dca2091-c519-4386-975e-9ed9621ebe2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/patient/patients/:patient/messages/:message","description":"<p>Get the patient's message details.</p>\n","urlObject":{"path":["v1","patient","patients",":patient","messages",":message"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"},{"type":"any","value":"0682c481-dd31-4047-a5ae-38c35ff216ea","key":"message"}]}},"response":[],"_postman_id":"9dca2091-c519-4386-975e-9ed9621ebe2f"},{"name":"Read Message","id":"542fbac3-2e43-49b8-8573-a4f8de2cbb35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/patient/patients/:patient/messages/:message/read","description":"<p>Reads the patient's message.</p>\n","urlObject":{"path":["v1","patient","patients",":patient","messages",":message","read"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"},{"type":"any","value":"0682c481-dd31-4047-a5ae-38c35ff216ea","key":"message"}]}},"response":[],"_postman_id":"542fbac3-2e43-49b8-8573-a4f8de2cbb35"}],"id":"752cc911-d622-4dba-a1c5-315aa9977620","_postman_id":"752cc911-d622-4dba-a1c5-315aa9977620","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Payments","item":[{"name":"Create Payment","id":"78c08dac-4f90-4663-8d86-b29abd487a5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_questionnaire_id\": null,\n    \"partner_voucher_id\": \"0001d490-eda8-4b61-8852-8c23cad21446\",\n    \"success_url\": \"https://patient.mdintegrations.com/payments/success?sessionId=123\",\n    \"cancel_url\": \"https://patient.mdintegrations.com/payments/success?sessionId=123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/patient/patients/:patient/payments","description":"<p>Creates a patient's payment.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_questionnaire_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>partner_voucher_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>success_url</td>\n<td>string</td>\n</tr>\n<tr>\n<td>cancel_url</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","patient","patients",":patient","payments"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d3f17004-7207-4fdc-952b-da837c467b17","type":"any","value":"7c260287-0148-4920-ad14-70bf3b87fd7e","key":"patient"}]}},"response":[],"_postman_id":"78c08dac-4f90-4663-8d86-b29abd487a5b"}],"id":"125af6f2-d7fa-4596-aa11-7da953f7f33d","_postman_id":"125af6f2-d7fa-4596-aa11-7da953f7f33d","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"521f5bfd-3ae2-4472-b4ab-1d2f509095af","_postman_id":"521f5bfd-3ae2-4472-b4ab-1d2f509095af","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Clinicians App (V1)","item":[{"name":"Articles","item":[{"name":"Get Articles","id":"2e229888-a396-4b48-84ff-ab9acdc29d25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/articles?page=1&per_page=15","description":"<p>Get the articles (paginated).</p>\n","urlObject":{"path":["v1","clinician","articles"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"disabled":true,"key":"type","value":"faq"},{"disabled":true,"key":"key","value":"key"}],"variable":[]}},"response":[],"_postman_id":"2e229888-a396-4b48-84ff-ab9acdc29d25"},{"name":"Get Article","id":"3eab542c-df23-4383-97d0-2e1ca1adbc18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/articles/:article","description":"<p>Get the article details.</p>\n","urlObject":{"path":["v1","clinician","articles",":article"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"455a287a-55d1-475d-99a1-dc3673cec98e","type":"any","value":"24ce8059-2de8-4c9d-ac27-9eb3738762cf","key":"article"}]}},"response":[],"_postman_id":"3eab542c-df23-4383-97d0-2e1ca1adbc18"}],"id":"f297094d-45ee-486a-8389-6314360075eb","_postman_id":"f297094d-45ee-486a-8389-6314360075eb","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Auth","item":[{"name":"Create access token","id":"5f425c06-789f-4583-9136-9cbcfa353351","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Origin","value":"localhost"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"john@mdintegrations.com\",\n    \"password\": \"nhOdasdaur%s\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/auth/login","description":"<p>Send a 2FA code to the clinician email to allow to login in the application.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>username</td>\n<td>string(80)*</td>\n<td>Clinician's e-mail</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string(35)*</td>\n<td>Clinician's password</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","auth","login"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f425c06-789f-4583-9136-9cbcfa353351"},{"name":"Validate 2FA Code","id":"3ae1797b-1141-42bd-99f5-3e2111b54596","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Origin","value":"localhost"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"john@mdintegrations.com\",\n    \"password\": \"nhOds45asd%s\",\n    \"code\": \"A3D52B\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/auth/2fa/validate","description":"<p>Generate an access token for a clinician.</p>\n<p>Considering you have a registered clinician record, you may request an access token using the user's e-mail address and the 2FA code sent to the email.</p>\n<p>Access tokens expire <strong>24 hours</strong> after they are issued. Once a token gets expired you will start receiving <strong>401 Unauthorized HTTP</strong> responses. To refresh your access token check <em>Clinician &gt; Access Tokens &gt; Refresh access token</em>.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>string(80)*</td>\n<td>Clinician's e-mail</td>\n</tr>\n<tr>\n<td>code</td>\n<td>string(6)*</td>\n<td>Clinician's code sent to their email.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","auth","2fa","validate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ae1797b-1141-42bd-99f5-3e2111b54596"},{"name":"Check inactivity","id":"0fb2a823-5df3-4e46-b804-ad3df13b1d28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"password\": \"#123@MDI1\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/auth/inactivity/check","description":"<p>Check the clinician inactivity using the Bearer Token and the passoword.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>password</td>\n<td>string(80)*</td>\n<td>Clinician's password</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","auth","inactivity","check"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0fb2a823-5df3-4e46-b804-ad3df13b1d28"},{"name":"Refresh access token","id":"5b4894dc-c369-49bf-bd62-0af2bac2dbc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n     \"refresh_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJkZDBmMDA1ZS00MDU1LTRjNzMtYjkyMS01M2M...\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/auth/refresh","description":"<p>Refreshes an access token for a clinician.</p>\n<p>Considering you have an expired access token, you can issue a new access token using the <code>refresh_token</code>.</p>\n<p>The <code>refresh_token</code> information is obtained on the response after generating a new access token (<em>Clinician &gt; Access Tokens &gt; Create access token</em>).</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refresh_token</td>\n<td>JWT*</td>\n<td>Refresh token information obtained when a new access token is created (<em>Clinician &gt; Access Tokens &gt; Create access token</em>)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","auth","refresh"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b4894dc-c369-49bf-bd62-0af2bac2dbc0"}],"id":"a38b2347-5a09-4a95-8f83-d79bf3eb6af9","_postman_id":"a38b2347-5a09-4a95-8f83-d79bf3eb6af9","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Patients","item":[{"name":"Dosespot","item":[{"name":"Get coverage","id":"9d8d3a24-7d5c-45f9-97de-511695f2dc58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/dosespot/formulary?patient_eligibility_id=999876278&ndc=000777761616","description":"<p>This endpoint returns the coverage information based on medication NDC and patient eligibility ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","dosespot","formulary"],"host":["https://api.mdintegrations.com"],"query":[{"key":"patient_eligibility_id","value":"999876278"},{"description":{"content":"<p>(Required) Medication NDC</p>\n","type":"text/plain"},"key":"ndc","value":"000777761616"}],"variable":[{"type":"any","value":"21b72e8f-d27e-4186-b093-28b0eff1a78b","key":"patient_id"}]}},"response":[],"_postman_id":"9d8d3a24-7d5c-45f9-97de-511695f2dc58"},{"name":"Cache Medications History","id":"914f95f3-2972-4585-988c-95fcaaea4296","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/dosespot/medications/history","description":"<p>It gets the Dosespot eligibilities and caches it on Patient.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","dosespot","medications","history"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"197482cf-d677-462a-87d3-082cdd313941","key":"patient_id"}]}},"response":[],"_postman_id":"914f95f3-2972-4585-988c-95fcaaea4296"},{"name":"Cache Patient Eligibilities","id":"7c175752-f8c9-4cbb-8315-96d17981b1c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/dosespot/eligibilities","description":"<p>It gets the Dosespot medications history and caches it to the given patient.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","dosespot","eligibilities"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5db9179f-5078-414f-8e58-3f107352c7c8","description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"197482cf-d677-462a-87d3-082cdd313941","key":"patient_id"}]}},"response":[],"_postman_id":"7c175752-f8c9-4cbb-8315-96d17981b1c2"}],"id":"ea9f6bc3-c48e-45e2-8c27-fe324c042d2f","_postman_id":"ea9f6bc3-c48e-45e2-8c27-fe324c042d2f","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Messages","item":[{"name":"Files","item":[{"name":"Get Files","id":"a9e4206b-b578-4f5c-9f7d-f8f1539fc8fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient/messages/:message/files?per_page=15&page=1","description":"<p>Get the patient's message's files (paginated).</p>\n","urlObject":{"path":["v1","clinician","patients",":patient","messages",":message","files"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"4e2082cd-e669-449f-89e8-d60997e75b81","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"9dfbb020-7224-4e76-8154-459a49473000","type":"any","value":"9b6c7e17-add4-4d65-8442-9c22d8377f4a","key":"message"}]}},"response":[],"_postman_id":"a9e4206b-b578-4f5c-9f7d-f8f1539fc8fe"},{"name":"Attach File","id":"500fcfb9-0798-4433-9fb8-7c88d8d61be2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient/messages/:message/files/:file","description":"<p>Attach the file to the patient's message.</p>\n","urlObject":{"path":["v1","clinician","patients",":patient","messages",":message","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2b747816-348c-4200-8000-4259b324c66f","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"8fb5ca78-84e2-47a1-910a-3cefabd50bc2","type":"any","value":"0682c481-dd31-4047-a5ae-38c35ff216ea","key":"message"},{"id":"04f03882-496a-46a1-9c8a-e220102135c5","type":"any","value":"3f7b155c-c235-476c-9688-3fa7c1d59ed2","key":"file"}]}},"response":[],"_postman_id":"500fcfb9-0798-4433-9fb8-7c88d8d61be2"}],"id":"49962025-cebf-439c-93d7-ec08f0e1d3d0","_postman_id":"49962025-cebf-439c-93d7-ec08f0e1d3d0","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Readings","item":[{"name":"Get Readings","id":"9142e62a-8846-483d-acec-c5709ce902ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient/messages/:message/readings?per_page=15&page=1","description":"<p>Get the patient's message's readings (paginated).</p>\n","urlObject":{"path":["v1","clinician","patients",":patient","messages",":message","readings"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"95dbf65d-7288-446d-9e45-24efb141dd21","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"77e78eb7-645d-4d20-b7f6-129042248266","type":"any","value":"5c555f3c-50dc-43b4-9de2-cd4b4bd4055e","key":"message"}]}},"response":[],"_postman_id":"9142e62a-8846-483d-acec-c5709ce902ed"}],"id":"36df495c-5136-4742-aa6c-fc6c8bfdda08","_postman_id":"36df495c-5136-4742-aa6c-fc6c8bfdda08","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Messages","id":"99c0213a-2ac6-416a-8f57-06570963d741","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient/messages?channel=patient","description":"<p>Get the patient's messages (paginated).</p>\n","urlObject":{"path":["v1","clinician","patients",":patient","messages"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"per_page","value":"15"},{"key":"channel","value":"patient"},{"disabled":true,"key":"order","value":"desc"}],"variable":[{"id":"61060ea4-af25-411a-b8fa-7e9fe73ca265","type":"any","value":"757479af-30a7-4725-a46a-4a31fb2b813a","key":"patient"}]}},"response":[],"_postman_id":"99c0213a-2ac6-416a-8f57-06570963d741"},{"name":"Create Message","id":"a79c5950-4e8d-4eed-a460-84ba62834267","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"channel\": \"patient\",\n    \"reference_message_id\": \"ce36bba7-3932-4197-9d92-4565a890edf8\",\n    \"files\": [\n        {\n            \"id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\"\n        },\n        {\n            \"id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\"\n        }\n    ],\n    \"is_notification_sent\": true,\n    \"notified_models\": [\n        {\n            \"notified_model_type\": \"support-staff\",\n            \"notified_model_id\": \"12a07dec-9f53-41e3-bfef-5c544c27854a\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient/messages","description":"<p>Creates a patient's message, and attaches its files.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>channel*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>text</td>\n<td>string</td>\n</tr>\n<tr>\n<td>reference_message_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>files</td>\n<td>array</td>\n</tr>\n<tr>\n<td>is_notification_sent</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>notified_models</td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-files\">Payload (files)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id*</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-notified_models\">Payload (notified_models)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notified_model_type*</td>\n<td>clinician or support-staff or mdi-support-staff</td>\n</tr>\n<tr>\n<td>notified_model_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","patients",":patient","messages"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"}]}},"response":[],"_postman_id":"a79c5950-4e8d-4eed-a460-84ba62834267"},{"name":"Get Message","id":"3226cf0e-1e30-4b97-9bf0-82d602b07e90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient/messages/:message","description":"<p>Get the patient's message details.</p>\n","urlObject":{"path":["v1","clinician","patients",":patient","messages",":message"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d5ed7f3d-a80f-470d-b58d-f6bdcc832d47","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"5e5693a6-eede-4212-a4d8-ef09e6315e86","type":"any","value":"0682c481-dd31-4047-a5ae-38c35ff216ea","key":"message"}]}},"response":[],"_postman_id":"3226cf0e-1e30-4b97-9bf0-82d602b07e90"},{"name":"Read Message","id":"63e305d4-7778-4446-91dd-09cc860990c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient/messages/:message/read","description":"<p>Reads the patient's message.</p>\n","urlObject":{"path":["v1","clinician","patients",":patient","messages",":message","read"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8d1d50ea-7f30-483e-817c-9b9ccb7ec89e","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"61f3addc-566c-49f0-a712-2f4ed59dcfc5","type":"any","value":"0682c481-dd31-4047-a5ae-38c35ff216ea","key":"message"}]}},"response":[],"_postman_id":"63e305d4-7778-4446-91dd-09cc860990c4"},{"name":"Unread Message","id":"e949e106-8525-46b7-abaa-fd27ed188c59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient/messages/:message/unread","description":"<p>Unreads the patient's message.</p>\n","urlObject":{"path":["v1","clinician","patients",":patient","messages",":message","unread"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"084624f4-78bd-4b88-9e90-ce10892f3c57","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"69aba792-2ac6-49d4-b260-cef4957ef183","type":"any","value":"90e96706-7620-4b3f-b0fc-8f7d520a013b","key":"message"}]}},"response":[],"_postman_id":"e949e106-8525-46b7-abaa-fd27ed188c59"},{"name":"Dismiss Messages","id":"63393952-e136-41c4-8413-ef002d902738","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient/messages/dismiss?channel=patient","description":"<p>Dismisses the patient's messages.</p>\n","urlObject":{"path":["v1","clinician","patients",":patient","messages","dismiss"],"host":["https://api.mdintegrations.com"],"query":[{"key":"channel","value":"patient"}],"variable":[{"id":"e53516da-7823-4e24-9903-2c60cdce9a85","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"}]}},"response":[],"_postman_id":"63393952-e136-41c4-8413-ef002d902738"},{"name":"Forward Message","id":"5513cf40-410d-44db-8ff9-328d30f2d8fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"channel\": \"support\",\n    \"notes\": \"msg test\",\n    \"is_send_to_patient\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient/messages/:message/forward","description":"<p>Forward the patient's message to the channel.</p>\n","urlObject":{"path":["v1","clinician","patients",":patient","messages",":message","forward"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"aa3eb056-0ab1-4f11-9558-cf5c3fa5ec8d","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"eb7f84d0-221e-48f0-92bc-0097e82eef45","type":"any","value":"0682c481-dd31-4047-a5ae-38c35ff216ea","key":"message"}]}},"response":[],"_postman_id":"5513cf40-410d-44db-8ff9-328d30f2d8fa"},{"name":"Undismiss Message","id":"ebbc3687-ee35-46d4-92c5-13dd2e284657","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient/messages/:message/undismiss","description":"<p>Undismisses the patient's message.</p>\n","urlObject":{"path":["v1","clinician","patients",":patient","messages",":message","undismiss"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"aab795bb-091f-4d2c-8638-91a0475020ba","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"594313d6-7f90-446b-9e60-ea97e3d7f1fc","type":"any","value":"05eaf32f-845d-40c3-b75c-3eb30e25c1cf","key":"message"}]}},"response":[],"_postman_id":"ebbc3687-ee35-46d4-92c5-13dd2e284657"}],"id":"94aa8d17-d1cf-4db9-b6fb-e35a8e72d8a8","_postman_id":"94aa8d17-d1cf-4db9-b6fb-e35a8e72d8a8","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Statistics","item":[{"name":"Get patients metrics","id":"cf9d7687-9d6b-47e7-9c79-2a5e352cbd6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"partner_id\": \"03b3ec25-28c0-46d4-845c-e941816c6d60\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/patients/metrics","description":"<p>This route returns Patient metrics by Partner.</p>\n<h2 id=\"payload\">Payload</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid*</td>\n<td>Should be a valid partner ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","patients","metrics"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf9d7687-9d6b-47e7-9c79-2a5e352cbd6f"}],"id":"6111fa17-2798-4ce9-b95d-59fd73174fae","_postman_id":"6111fa17-2798-4ce9-b95d-59fd73174fae","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Preferred Pharmacies","item":[{"name":"Get pharmacies from patient","id":"ec462fbc-8fdb-4cbf-9c4b-c877cf76117c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patientId/pharmacies?sort=updated_at&order=desc","description":"<p>Retrieves a detailed list of preferred pharmacies in the patient’s record. This API endpoint forwards the request to DoseSpot API in order to retrieve this information.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patientId","pharmacies"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>Sortering between store_name or updated_at.</p>\n","type":"text/plain"},"key":"sort","value":"updated_at"},{"description":{"content":"<p>Ordering between asc or desc.</p>\n","type":"text/plain"},"key":"order","value":"desc"}],"variable":[{"description":{"content":"<p>Patient ID</p>\n","type":"text/plain"},"type":"any","value":"5b803d51-b6e4-4ae5-b7d2-ee3e1dba7d2d","key":"patientId"}]}},"response":[],"_postman_id":"ec462fbc-8fdb-4cbf-9c4b-c877cf76117c"}],"id":"24a807bb-163b-4cee-a2d7-8fa4a58df302","_postman_id":"24a807bb-163b-4cee-a2d7-8fa4a58df302","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Workflows","item":[{"name":"Post Preferred Pharmacy Request","id":"67311054-79e7-413c-8deb-45312d98a1a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token_clinician}}"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"notify\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient/preferred-pharmacy-request","description":"<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notify</td>\n<td>boolean</td>\n<td>Notifies the clinicians when the file is uploaded.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","patients",":patient","preferred-pharmacy-request"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7d784206-c69b-47fd-a17b-be109355491c","key":"patient"}]}},"response":[],"_postman_id":"67311054-79e7-413c-8deb-45312d98a1a1"},{"name":"Post Offering Recommendation Request","id":"ea8b02f7-c98d-49c8-a73a-9a8b940c6e0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token_clinician}}"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"related_offerings\": [\n        {\n            \"offering_ig\": \"7d784206-c69b-47fd-a17b-be109355491c\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient/offering-recommendation-request","description":"<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notify</td>\n<td>boolean</td>\n<td>Notifies the clinicians when the file is uploaded.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","patients",":patient","offering-recommendation-request"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"80a79e4b-ed60-45d2-b049-c86ea9ed7f86","type":"any","value":"7d784206-c69b-47fd-a17b-be109355491c","key":"patient"}]}},"response":[],"_postman_id":"ea8b02f7-c98d-49c8-a73a-9a8b940c6e0a"},{"name":"Post Drivers License Request","id":"25fff901-5316-4d59-967c-b87f2e6cf344","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notify\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/drivers-license-request","description":"<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notify</td>\n<td>boolean</td>\n<td>Notifies the clinicians when the file is uploaded.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","drivers-license-request"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"14476c0b-b633-4a5d-a51e-69aca9cde68b","key":"patient_id"}]}},"response":[],"_postman_id":"25fff901-5316-4d59-967c-b87f2e6cf344"},{"name":"Get PatientApp URL","id":"935b34d2-18e2-4e84-85dc-c3359aebff51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/auth","description":"<p>Get Patient App auth link.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","auth"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9bd61b76-773e-4976-8724-408d31575a5e","description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"4750bc4b-7456-4b3c-a96f-d3eeafb2b246","key":"patient_id"}]}},"response":[],"_postman_id":"935b34d2-18e2-4e84-85dc-c3359aebff51"},{"name":"Request Patient Data","id":"14489fcf-ea24-474b-b3c0-2ee3f9e9c640","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"patient_id\": \"00025819-a890-4526-ae6e-1a1decade76a\",\n    \"patient_email\": \"patient@email.com\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/patients/data","description":"<p>Sends the patient data requested to the patient.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>patient_id</td>\n<td>uuid</td>\n<td>Required if not use the patient email to request their data.</td>\n</tr>\n<tr>\n<td>patient_email</td>\n<td>string</td>\n<td>Required if the patient_id is empty.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients","data"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"14489fcf-ea24-474b-b3c0-2ee3f9e9c640"},{"name":"Post Intro Video Request","id":"eac9837a-3fbb-4eee-beec-2b6867e11afb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notify\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/intro-video-request","description":"<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notify</td>\n<td>boolean</td>\n<td>Notifies the clinicians when the file is uploaded.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","intro-video-request"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"14476c0b-b633-4a5d-a51e-69aca9cde68b","key":"patient_id"}]}},"response":[],"_postman_id":"eac9837a-3fbb-4eee-beec-2b6867e11afb"},{"name":"Exams Request","id":"5a09ccdc-d636-4221-83fd-9c99445be6fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notify\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/exams-request","description":"<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notify</td>\n<td>boolean</td>\n<td>Notifies the clinicians when the file is uploaded.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","exams-request"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"14476c0b-b633-4a5d-a51e-69aca9cde68b","key":"patient_id"}]}},"response":[],"_postman_id":"5a09ccdc-d636-4221-83fd-9c99445be6fb"}],"id":"2874e92f-25d2-4387-acc2-90bcaadb56e8","_postman_id":"2874e92f-25d2-4387-acc2-90bcaadb56e8","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Vouched","item":[{"name":"Create Vouched","id":"ccb90eca-8dcd-4a26-bace-3bd16128c1a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"payload\": \"{\\\"key\\\": \\\"value\\\"}\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/vouched","description":"<p>Create a new Vouched integration entry for the patient.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>payload</td>\n<td>string</td>\n<td>The Vouched integration json</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","vouched"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"21b72e8f-d27e-4186-b093-28b0eff1a78b","key":"patient_id"}]}},"response":[],"_postman_id":"ccb90eca-8dcd-4a26-bace-3bd16128c1a7"},{"name":"Get Recent Vouched","id":"a638bda6-5e40-4f6a-bffb-c333bb461fd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/vouched","description":"<p>Get the last Vouched integration related to the given patient.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","vouched"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"21b72e8f-d27e-4186-b093-28b0eff1a78b","key":"patient_id"}]}},"response":[],"_postman_id":"a638bda6-5e40-4f6a-bffb-c333bb461fd2"}],"id":"adaf9ed7-d771-4a94-9030-d7cc28346564","_postman_id":"adaf9ed7-d771-4a94-9030-d7cc28346564","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Exams","item":[{"name":"Get patient exam","id":"179f4ca7-5df1-4699-b285-7edb374834d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/exams/:exam_id","description":"<p>This endpoint returns the patient's exam detail.</p>\n","urlObject":{"path":["v1","clinician","patients",":patient_id","exams",":exam_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"29b9c3f9-1b40-4ab8-95d5-a22b3dba0855","type":"any","value":"1926d7b6-e192-45ee-9e3f-9479bbe7a129","key":"patient_id"},{"id":"3ec08fcf-8e38-4fec-80ed-f6deea79aa9f","type":"any","value":"8cc8e948-1578-409b-9e18-0a771d349355","key":"exam_id"}]}},"response":[],"_postman_id":"179f4ca7-5df1-4699-b285-7edb374834d2"},{"name":"Get patient exams","id":"c949e3e0-9415-4ba2-b565-a914c764155d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/exams?sort=created_at&order=desc&per_page=15&page=1","description":"<p>This endpoint returns all exams related to the patient passed on the request.</p>\n","urlObject":{"path":["v1","clinician","patients",":patient_id","exams"],"host":["https://api.mdintegrations.com"],"query":[{"key":"sort","value":"created_at"},{"key":"order","value":"desc"},{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"type":"any","value":"1926d7b6-e192-45ee-9e3f-9479bbe7a129","key":"patient_id"}]}},"response":[],"_postman_id":"c949e3e0-9415-4ba2-b565-a914c764155d"}],"id":"70e92f33-e48c-49e3-9fd3-c1b7ead508fb","_postman_id":"70e92f33-e48c-49e3-9fd3-c1b7ead508fb","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tags","item":[{"name":"Attach patient tag","id":"ab642dc5-6ea2-4afe-86a6-0f21709a62cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"patient notes\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/tags/:tag_id","description":"<p>Attach the tag to the patient.</p>\n","urlObject":{"path":["v1","clinician","patients",":patient_id","tags",":tag_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8426ac87-e4d6-487a-bc96-17c9442f9efb","type":"any","value":"21b72e8f-d27e-4186-b093-28b0eff1a78b","key":"patient_id"},{"id":"ac032fe6-ec24-4657-b48a-a95421c46444","type":"any","value":"87aff3ed-4cd6-4177-81fb-897dadc2b9ba","key":"tag_id"}]}},"response":[],"_postman_id":"ab642dc5-6ea2-4afe-86a6-0f21709a62cf"},{"name":"Patch patient tag","id":"1fe40b3f-5d86-480d-9d20-0a711e57d92f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"update patient notes\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/tags/:tag_id","description":"<p>Update the tag from the patient.</p>\n","urlObject":{"path":["v1","clinician","patients",":patient_id","tags",":tag_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"334740ca-8074-4114-bb4a-424449c720e1","type":"any","value":"21b72e8f-d27e-4186-b093-28b0eff1a78b","key":"patient_id"},{"id":"e561c6c6-3473-4783-a2e3-6a269e81d7a3","type":"any","value":"87aff3ed-4cd6-4177-81fb-897dadc2b9ba","key":"tag_id"}]}},"response":[],"_postman_id":"1fe40b3f-5d86-480d-9d20-0a711e57d92f"},{"name":"Detach patient tag","id":"afab9e0c-d455-418b-8eb9-77c252106a70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/tags/:tag_id","description":"<p>Detach the tag from the patient.</p>\n","urlObject":{"path":["v1","clinician","patients",":patient_id","tags",":tag_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"78b72202-af7e-494b-9bc7-b43444f254dd","type":"any","value":"21b72e8f-d27e-4186-b093-28b0eff1a78b","key":"patient_id"},{"id":"2a7bca4e-0042-4753-961f-52ede959a960","type":"any","value":"87aff3ed-4cd6-4177-81fb-897dadc2b9ba","key":"tag_id"}]}},"response":[],"_postman_id":"afab9e0c-d455-418b-8eb9-77c252106a70"}],"id":"870e49f1-1fff-4776-837c-826a2758c8e2","_postman_id":"870e49f1-1fff-4776-837c-826a2758c8e2","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Vouchers","item":[{"name":"Get Vouchers","id":"c7479eab-8e93-42ca-b5f1-050415762adb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/vouchers?with_patient_auth=false","description":"<p>It gets patient vouchers.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","vouchers"],"host":["https://api.mdintegrations.com"],"query":[{"key":"with_patient_auth","value":"false"}],"variable":[{"id":"1301386f-bd74-4b3f-b8d9-0f77a56ee5db","description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"197482cf-d677-462a-87d3-082cdd313941","key":"patient_id"}]}},"response":[],"_postman_id":"c7479eab-8e93-42ca-b5f1-050415762adb"},{"name":"Expire voucher","id":"61f1b64b-3bda-4c80-93e5-04027e99f4b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/vouchers/:voucher_id","description":"<p>It deletes/expire a voucher.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","vouchers",":voucher_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4d093834-8985-4582-bdd9-5a490459336e","description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"197482cf-d677-462a-87d3-082cdd313941","key":"patient_id"},{"id":"20459056-e22b-4c48-b81a-c94f3b01e4cb","description":{"content":"<p>(Required) Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"197482cf-d677-462a-87d3-082cdd313941","key":"voucher_id"}]}},"response":[],"_postman_id":"61f1b64b-3bda-4c80-93e5-04027e99f4b3"}],"id":"0d935989-53c9-4fea-8d5d-2a71ed6bff74","_postman_id":"0d935989-53c9-4fea-8d5d-2a71ed6bff74","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Patient","id":"ad24103f-dc9e-4361-8b8a-2d1fc40f71ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id","description":"<p>Get patient details.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"197482cf-d677-462a-87d3-082cdd313941","key":"patient_id"}]}},"response":[],"_postman_id":"ad24103f-dc9e-4361-8b8a-2d1fc40f71ec"},{"name":"Get Patients","id":"5be3d88d-6f7a-41da-9113-ad53708685c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"partner_id\": \"750094c6-ac80-446a-a120-f9bc51f142b9\",\r\n    \"dob_period\": [\"1960-01-01\", \"1980-01-01\"],\r\n    \"gender\": 2,\r\n    \"search\": \"Name\",\r\n    \"state_id\": \"315769cc-5db7-492d-aafa-dc1423da318c\",\r\n    \"sort_direction\": \"asc\",\r\n    \"sort_by\": \"first_name\",\r\n    \"is_live\": true,\r\n    \"is_sandbox\": false,\r\n    \"patient_category_type\": \"lead\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/patients/list","description":"<p>This route returns a paginated list of Patients.</p>\n<h2 id=\"payload\">Payload</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid*</td>\n<td>Should be a valid partner ID.</td>\n</tr>\n<tr>\n<td>state_id</td>\n<td>uuid</td>\n<td>Should be a valid state ID.</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>integer</td>\n<td>Identifies the patient gender: 0 = \"not known\", 1 = \"male\", 2 = \"female\", 0 = \"not applicable\".</td>\n</tr>\n<tr>\n<td>dob_period</td>\n<td>array</td>\n<td>An array containing two dates, if passed, the patients returned from the route will have their birthday between these two dates.</td>\n</tr>\n<tr>\n<td>sort_direction</td>\n<td>string</td>\n<td>The direction of ordering records.  <br />They can be: <em>asc</em> or <em>desc</em></td>\n</tr>\n<tr>\n<td>sort_by</td>\n<td>string</td>\n<td>The fields that can be sorted.  <br />They can be: <em>first_name</em>, <em>last_name</em> or <em>created_at</em></td>\n</tr>\n<tr>\n<td>is_live</td>\n<td>boolean</td>\n<td>Defines if the live patients should be returned (defaults to true)</td>\n</tr>\n<tr>\n<td>is_sandbox</td>\n<td>boolean</td>\n<td>Defines if the sandbox patients should be returned (defaults to false</td>\n</tr>\n<tr>\n<td>patient_category_type</td>\n<td>string</td>\n<td>lead, first-time, recurrent</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients","list"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"limit","value":"5"}],"variable":[]}},"response":[],"_postman_id":"5be3d88d-6f7a-41da-9113-ad53708685c8"},{"name":"Update patient","id":"ae1add41-6992-4573-ad66-81a66c8a1580","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"prefix\": \"Sr\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"gender\": 1,\n    \"date_of_birth\": \"2000-12-31\",\n    \"active\": false,\n    \"weight\": 200,\n    \"height\": 180,\n    \"medical_conditions\": \"medical conditions example\",\n    \"body_temperature\": 36.9,\n    \"oxygen_saturation\": 99,\n    \"special_necessities\": \"special necessities example\",\n    \"blood_pressure\": \"120-129\",\n    \"email\": \"john@doe.com\",\n    \"phone_number\": \"(415) 555-2671\",\n    \"phone_type\": 4,\n    \"pregnancy\": true,\n    \"is_sms_enabled\": true,\n    \"is_email_enabled\": true,\n    \"shopify_customer_id\":  \"123456789\",\n    \"woocommerce_customer_id\": \"123456789\",\n    \"address\": {\n        \"address\": \"1901 1st Avenue, New York\",\n        \"address2\": \"NY 10029\",\n        \"zip_code\": \"80247\",\n        \"city_id\": \"9f3c4995-8416-4d19-a1e0-3d469afa3a7b\",\n        \"city_name\": \"Tazlima\",\n        \"state_name\": \"Ohio\"\n    },\n    \"metafields\": [\n        {\n            \"key\": \"smoke\",\n            \"title\": \"Does the patient smoke??\",\n            \"value\": \"false\",\n            \"type\": \"boolean\"\n        },\n        {\n            \"key\": \"internal_id\",\n            \"title\": \"Patient internal ID\",\n            \"value\": \"id-522\",\n            \"type\": \"string\"\n        }\n    ]\n}"},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id","description":"<p>Update a patient record both on MD Integrations and DoseSpot.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Prefix</td>\n<td>string(10)</td>\n<td>Prefix</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string(35)</td>\n<td>First name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string(35)</td>\n<td>Last name</td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>string(11)</td>\n<td>Security Social Number. <strong>Format</strong>: <code>AAAGGSSSS</code></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string(80)</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>driver_license_id</td>\n<td>uuid</td>\n<td>Patient's Driver License, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>date</td>\n<td>Date of birth, as YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>integer</td>\n<td>Gender (ISO 5218 format)</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>string(25)</td>\n<td>Phone number - <em>US format</em></td>\n</tr>\n<tr>\n<td>phone_type</td>\n<td>integer</td>\n<td>Phone type. Available options: 2 (cell) or 4 (home)</td>\n</tr>\n<tr>\n<td>address.address</td>\n<td>string(35)</td>\n<td>Address</td>\n</tr>\n<tr>\n<td>address.address2</td>\n<td>string(35)</td>\n<td>Additional address - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>address.zip_code</td>\n<td>string(9)</td>\n<td>US zip code - _5 or 9 digit format  <br />OR  <br />_CA zip code - 6 alphanumeric characters</td>\n</tr>\n<tr>\n<td>address.city_name</td>\n<td>string(35)</td>\n<td>City name. If you use this parameter you don't need use <strong>city_id</strong> parameter.</td>\n</tr>\n<tr>\n<td>address.state_name</td>\n<td>string</td>\n<td>State name or State USPS abbreviation. If you use this parameter you don't need to use <strong>city_id</strong> parameter.</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>float (from 0 to 999)</td>\n<td>Weight in KG * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>height</td>\n<td>integer (from 0 to 300)</td>\n<td>Height in CM * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>body_temperature</td>\n<td>float (from 0.0 to 100.0)</td>\n<td>Body temperature in Celsius</td>\n</tr>\n<tr>\n<td>oxygen_saturation</td>\n<td>integer (from 0 to 100)</td>\n<td>Oxygen Saturation in percentage</td>\n</tr>\n<tr>\n<td>special_necessities</td>\n<td>text</td>\n<td>Special necessities to be informed about in this case</td>\n</tr>\n<tr>\n<td>allergies</td>\n<td>text</td>\n<td>Known patient's allergies</td>\n</tr>\n<tr>\n<td>pregnancy</td>\n<td>boolean</td>\n<td>Define the patient with a pregnancy</td>\n</tr>\n<tr>\n<td>current_medications</td>\n<td>text</td>\n<td>Medications that the patient is currently taking</td>\n</tr>\n<tr>\n<td>medical_conditions</td>\n<td>text</td>\n<td>Medical conditions related to the patient</td>\n</tr>\n<tr>\n<td>is_sms_enabled</td>\n<td>boolean</td>\n<td>Control the SMS delivery</td>\n</tr>\n<tr>\n<td>is_email_enabled</td>\n<td>boolean</td>\n<td>Control the email delivery</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"197482cf-d677-462a-87d3-082cdd313941","key":"patient_id"}]}},"response":[],"_postman_id":"ae1add41-6992-4573-ad66-81a66c8a1580"},{"name":"Get patient events","id":"8b40f761-4701-4308-8fe3-5971cdd783a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/events?page=1&per_page=50","description":"<p>This endpoint returns all events related to the patient passed on the request.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","events"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"50"}],"variable":[{"type":"any","value":"21b72e8f-d27e-4186-b093-28b0eff1a78b","key":"patient_id"}]}},"response":[],"_postman_id":"8b40f761-4701-4308-8fe3-5971cdd783a6"},{"name":"Get patient cases","id":"4ba39e1f-52d6-4253-a900-9b1f311c8791","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/cases","description":"<p>This endpoint returns all cases related to the patient passed on the request.</p>\n","urlObject":{"path":["v1","clinician","patients",":patient_id","cases"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"1926d7b6-e192-45ee-9e3f-9479bbe7a129","key":"patient_id"}]}},"response":[],"_postman_id":"4ba39e1f-52d6-4253-a900-9b1f311c8791"},{"name":"Get patient files","id":"6554bd58-9236-44dd-96d7-16b3229fd1e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/files?per_page=15&page=1","description":"<p>This endpoint returns all cases files related to the patient passed on the request.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","files"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"68041ecd-e973-4c03-86a6-c0fd47b2b0d5","type":"any","value":"21b72e8f-d27e-4186-b093-28b0eff1a78b","key":"patient_id"}]}},"response":[],"_postman_id":"6554bd58-9236-44dd-96d7-16b3229fd1e2"},{"name":"Get patient clinical notes","id":"c40b2698-4c53-4c47-a07e-33456492e772","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/notes?per_page=15&page=1","description":"<p>This endpoint returns all cases notes related to the patient passed on the request.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","notes"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"74ae4524-54ea-4626-be92-dae076682cc4","type":"any","value":"21b72e8f-d27e-4186-b093-28b0eff1a78b","key":"patient_id"}]}},"response":[],"_postman_id":"c40b2698-4c53-4c47-a07e-33456492e772"},{"name":"Search patients","id":"4afc02c4-812c-4806-a4d2-780ee2e829d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"partner_id\": \"750094c6-ac80-446a-a120-f9bc51f142b9\",\r\n    \"search\": \"John\",\r\n    \"is_live\": true,\r\n    \"is_sandbox\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/patients/search","description":"<p>This route returns a list of Patients based on the <code>\"search\"</code> string parameter passed, as long as the Clinician and the patient are linked to the Partner being passed through the <code>\"partner_id\"</code> parameter.</p>\n<h2 id=\"payload\">Payload</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n<td>Should be a valid partner ID.</td>\n</tr>\n<tr>\n<td>search</td>\n<td>string*</td>\n<td>Should be either the patient's full name, phone number, last name or e-mail.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","patients","search"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4afc02c4-812c-4806-a4d2-780ee2e829d5"},{"name":"Create patient","id":"04b84170-e3f0-4ca8-b0a9-f54964c4af0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"25c590c9-be00-4e92-99b6-b3945cd3b32f\",\n    \"is_live\": true,\n    \"prefix\": \"Sr\",\n    \"first_name\": \"Arun\",\n    \"last_name\": \"Saini\",\n    \"gender\": 2,\n    \"date_of_birth\": \"1990-11-11\",\n    \"phone_number\": \"941-924-3019\",\n    \"phone_type\": 2,\n    \"email\": \"arun.s+501@w3dev.email\",\n    \"medical_conditions\": \"medical conditions example\",\n    \"blood_pressure\": \"120-129\",\n    \"body_temperature\": 36.9,\n    \"oxygen_saturation\": 99,\n    \"special_necessities\": \"special necessities example\",\n    \"is_sms_enabled\": true,\n    \"is_email_enabled\": true,\n    \"shopify_customer_id\":  \"123456789\",\n    \"woocommerce_customer_id\": \"123456789\",\n    \"address\": {\n        \"address\": \"10001, new test mall\",\n        \"zip_code\": \"10001\",\n        \"city_name\": \"New York\",\n        \"state_name\": \"NY\"\n    },\n    \"metafields\": [\n        {\n            \"key\": \"smoke\",\n            \"title\": \"Does the patient smoke??\",\n            \"value\": \"false\",\n            \"type\": \"boolean\"\n        },\n        {\n            \"key\": \"internal_id\",\n            \"title\": \"Patient internal ID\",\n            \"value\": \"id-522\",\n            \"type\": \"string\"\n        }\n    ]\n}"},"url":"https://api.mdintegrations.com/v1/clinician/patients","description":"<p>Creates a new patient record both on MD Integrations and DoseSpot.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>prefix</td>\n<td>string(10)*</td>\n<td>Prefix</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string(35)*</td>\n<td>First name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string(35)*</td>\n<td>Last name</td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>string(11)</td>\n<td>Security Social Number. <strong>Format</strong>: <code>AAAGGSSSS</code></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string(80)*</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>date*</td>\n<td>Date of birth, as YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>driver_license_id</td>\n<td>uuid</td>\n<td>Patient's Driver License, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>integer*</td>\n<td>Gender (ISO 5218 format)</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the patient. (e.g., an ID that will be used to identify this patient in another database)</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>string(25)*</td>\n<td>Phone number - <em>US format</em></td>\n</tr>\n<tr>\n<td>phone_type</td>\n<td>integer*</td>\n<td>Phone type. Available options: 2 (cell) or 4 (home)</td>\n</tr>\n<tr>\n<td>address.address</td>\n<td>string(35)*</td>\n<td>Address</td>\n</tr>\n<tr>\n<td>address.address2</td>\n<td>string(35)</td>\n<td>Additional address - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>address.zip_code</td>\n<td>string(9)*</td>\n<td>Zip code - <em>5 or 9 digit format</em></td>\n</tr>\n<tr>\n<td>address.city_id</td>\n<td>uuid</td>\n<td>City ID. Required if you do not use the <strong>city_name</strong> and <strong>state_name</strong> parameters. Check <strong>Metadata &gt; States &gt; Cities&gt; Get cities from a given state</strong> to get city ID.</td>\n</tr>\n<tr>\n<td>address.city_name</td>\n<td>string(35)</td>\n<td>City name. Required if you do not use the <strong>city_id</strong> parameter. Required if you use <strong>state_name</strong> parameter.</td>\n</tr>\n<tr>\n<td>address.state_name</td>\n<td>string</td>\n<td>State name or State USPS abbreviation. Required if you do not use the <strong>city_id</strong> parameter. Required if you use <strong>city_name</strong> parameter.</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>float (from 0 to 999)</td>\n<td>Weight in KG * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>height</td>\n<td>integer (from 0 to 300)</td>\n<td>Height in CM * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>body_temperature</td>\n<td>float (from 0.0 to 100.0)</td>\n<td>Body temperature in Celsius</td>\n</tr>\n<tr>\n<td>oxygen_saturation</td>\n<td>integer (from 0 to 100)</td>\n<td>Oxygen Saturation in percentage</td>\n</tr>\n<tr>\n<td>special_necessities</td>\n<td>text</td>\n<td>Special necessities to be informed about in this case</td>\n</tr>\n<tr>\n<td>allergies</td>\n<td>text</td>\n<td>Known patient's allergies</td>\n</tr>\n<tr>\n<td>pregnancy</td>\n<td>boolean</td>\n<td>Define the patient with a pregnancy</td>\n</tr>\n<tr>\n<td>current_medications</td>\n<td>text</td>\n<td>Medications that the patient is currently taking</td>\n</tr>\n<tr>\n<td>medical_conditions</td>\n<td>text</td>\n<td>Medical conditions related to the patient</td>\n</tr>\n<tr>\n<td>partner_id*</td>\n<td>uuid</td>\n<td>Partner ID.</td>\n</tr>\n<tr>\n<td>is_live*</td>\n<td>boolean</td>\n<td>Define the patient's environment (live or sandbox)</td>\n</tr>\n<tr>\n<td>is_sms_enabled</td>\n<td>boolean</td>\n<td>Control the SMS delivery</td>\n</tr>\n<tr>\n<td>is_email_enabled</td>\n<td>boolean</td>\n<td>Control the email delivery</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"04b84170-e3f0-4ca8-b0a9-f54964c4af0b"},{"name":"Disable patient","id":"38087774-95be-415e-a24d-86d49075bd86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"bfd16f21-14cb-4fea-a9c1-8102dad72b05","type":"any","value":"14476c0b-b633-4a5d-a51e-69aca9cde68b","key":"patient_id"}]}},"response":[],"_postman_id":"38087774-95be-415e-a24d-86d49075bd86"},{"name":"Post Patient Primary Clinician","id":"08336b7f-c0d2-4d48-bfa4-57beccd51e7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"clinician_id\": \"b126c278-56da-402f-ac81-6383a4324759\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/clinician","description":"<p>Set the patient's primary Clinician.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clinician_id</td>\n<td>uuid*</td>\n<td>Should be a valid Clinician ID.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","clinician"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"","key":"patient_id"}]}},"response":[],"_postman_id":"08336b7f-c0d2-4d48-bfa4-57beccd51e7f"},{"name":"Post scan patient file","id":"aa642da1-711b-42c3-9d3d-3f288ca813ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \n    \"document_type\": \"driver-license\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/scan","description":"<p>This endpoint will start the scan file.<br />Eg. driver-license scan.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","scan"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7a870754-9394-47af-9e4c-b153c419cad8","type":"any","value":"21b72e8f-d27e-4186-b093-28b0eff1a78b","key":"patient_id"}]}},"response":[],"_postman_id":"aa642da1-711b-42c3-9d3d-3f288ca813ce"},{"name":"Get Medications History","id":"c68886e7-6ba7-4e7e-ba40-153f4c0de955","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/dosespot/medications/history","description":"<p>It returns the patient's medication history cached from Dosespot.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","dosespot","medications","history"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Patient ID</p>\n","type":"text/plain"},"type":"any","value":"197482cf-d677-462a-87d3-082cdd313941","key":"patient_id"}]}},"response":[],"_postman_id":"c68886e7-6ba7-4e7e-ba40-153f4c0de955"},{"name":"Patch Verified Manually","id":"76fff0dd-3d29-4450-9c62-ecefec62838e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"is_manually_verified\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/drivers-license/:file_id","description":"<p>Patch the file.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","drivers-license",":file_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"709947e1-0435-462a-a541-6b57fcfe2c65","type":"any","value":"","key":"patient_id"},{"id":"5883b4b1-6674-416d-a9c7-74322846b227","type":"any","value":"","key":"file_id"}]}},"response":[],"_postman_id":"76fff0dd-3d29-4450-9c62-ecefec62838e"},{"name":"Get Notifications","id":"33e4b9cc-5f27-41ec-b9e3-8926ba38a6af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/notifications","description":"<p>Get all notifications where the patient is the notifier.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","notifications"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"description":{"content":"<p>Options: clinician, support-staff, patient</p>\n","type":"text/plain"},"key":"notified_model_types[]","value":"App\\Models\\Clinician"},{"disabled":true,"key":"notified_model_ids[]","value":"c522a64c-43c7-4c03-ae39-3e44da64d510"},{"disabled":true,"key":"event","value":"message_created"},{"disabled":true,"key":"page","value":"2"},{"disabled":true,"key":"per_page","value":"40"},{"disabled":true,"key":"order","value":"asc"}],"variable":[{"id":"347b57b4-9146-4c7e-b916-1c19dd7e2649","type":"any","value":"c522a64c-43c7-4c03-ae39-3e44da64d510","key":"patient_id"}]}},"response":[],"_postman_id":"33e4b9cc-5f27-41ec-b9e3-8926ba38a6af"},{"name":"Duplicate patient","id":"d53aa087-1a6a-4f80-ab71-d1f8f139a567","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"fc35baf1-863a-404d-a093-5aecaabd8794\",\n    \"is_delete_original\": true\n}"},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/duplicate","description":"<p>This endpoint duplicates a patient to a partner and deletes the original patient.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","duplicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"0b3dd532-b901-42f7-8ded-b8a4df950e99","type":"any","value":"19131723-0f16-43d3-8da9-9d607f671e19","key":"patient_id"}]}},"response":[],"_postman_id":"d53aa087-1a6a-4f80-ab71-d1f8f139a567"},{"name":"Restore patient","id":"9ff7cb6f-3652-4248-98dc-e3dca767dbfa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/restore","description":"<p>This endpoint is used to restore a patient record.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","patients",":patient_id","restore"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"065a86c0-6be9-4e53-8d8c-46b401cf9140","type":"any","value":"19131723-0f16-43d3-8da9-9d607f671e19","key":"patient_id"}]}},"response":[],"_postman_id":"9ff7cb6f-3652-4248-98dc-e3dca767dbfa"},{"name":"Get Orders","id":"d41ebe52-0c6b-4eda-9824-343082fa7a0c","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/patients/:patient_id/orders","description":"<p>Return a list of patient's orders.</p>\n","urlObject":{"path":["v1","clinician","patients",":patient_id","orders"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"1551adfa-591d-4d90-8f05-f74bab5c210a","type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"patient_id"}]}},"response":[],"_postman_id":"d41ebe52-0c6b-4eda-9824-343082fa7a0c"}],"id":"f3f8da97-8494-48b3-881e-10d48181a0d6","_postman_id":"f3f8da97-8494-48b3-881e-10d48181a0d6","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Dispense Units","item":[{"name":"Get dispense units","id":"56129cfd-e3d4-43f9-93af-489a3169b59b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/dispense-units","description":"<p>Get DoseSpot dispense units. You can search for dispenses units using the <code>name</code> query parameter.</p>\n<p>This API endpoint forwards the request to DoseSpot in order to retrieve dispense units.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","dispense-units"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"description":{"content":"<p>Requires at least 3 letters</p>\n","type":"text/plain"},"key":"name","value":"box"}],"variable":[]}},"response":[],"_postman_id":"56129cfd-e3d4-43f9-93af-489a3169b59b"}],"id":"e461ff3e-1b67-4dd4-aeff-4a7a434478a4","description":"<p>Dispense Unit routes</p>\n","_postman_id":"e461ff3e-1b67-4dd4-aeff-4a7a434478a4","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Pharmacies","item":[{"name":"Get pharmacies","id":"d8272558-132e-44ea-8237-ca31e473b24a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/pharmacies?name=Super","description":"<p>Search DoseSpot pharmacies according to a given query parameter. At least <strong>one</strong> query parameter is required. If no query parameter is provided, an error will be thrown.</p>\n<p>This API endpoint forwards the request to DoseSpot in order to search for pharmacies.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","pharmacies"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>Must be at least 3 letters.</p>\n","type":"text/plain"},"key":"name","value":"Super"},{"disabled":true,"key":"city","value":"Cleveland"},{"disabled":true,"description":{"content":"<p>Two letter abbreviation of state</p>\n","type":"text/plain"},"key":"state","value":"OH"},{"disabled":true,"key":"zip","value":"12345"},{"disabled":true,"key":"address","value":"5th avenue"},{"disabled":true,"key":"phoneOrFax","value":"111-22222"},{"disabled":true,"description":{"content":"<p>1 - Mail Order;\n8 - Retail;\n16 - SpecialtyPharmacy;\n32 - LongTermCarePhamacy;\n64 - TwentyFourHourPhamacy;\n2048 - EPCS;</p>\n","type":"text/plain"},"key":"specialty[0]","value":"16"},{"disabled":true,"key":"specialty[1]","value":"16"},{"disabled":true,"description":{"content":"<p>National Council for Prescription Drug Programs Pharmacy ID</p>\n","type":"text/plain"},"key":"ncpdpID","value":"123456"}],"variable":[]}},"response":[],"_postman_id":"d8272558-132e-44ea-8237-ca31e473b24a"},{"name":"Get pharmacy","id":"a791ef5a-1055-4f64-a57d-d4536a160eeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/pharmacies/:pharmacy_id","description":"<p>Get DoseSpot pharmacy details from a given pharmacy ID.</p>\n<p>This API endpoint forwards the request to DoseSpot in order to retrieve the pharmacy details.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","pharmacies",":pharmacy_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"32f50c3b-278a-4b09-a137-ff028466c7e4","description":{"content":"<p>(Required) Pharmacy ID</p>\n","type":"text/plain"},"type":"any","value":"55","key":"pharmacy_id"}]}},"response":[],"_postman_id":"a791ef5a-1055-4f64-a57d-d4536a160eeb"}],"id":"afb820fe-3d81-4f78-887a-0d25ce82dcb1","description":"<p>Pharmacy routes</p>\n","_postman_id":"afb820fe-3d81-4f78-887a-0d25ce82dcb1","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Logout","item":[{"name":"Revoke the access token used in the request","id":"2ee6b09f-0018-4aa7-aede-169dd6e4b6fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.mdintegrations.com/v1/clinician/auth/logout","description":"<p>Revoke the access token used in the request for the clinician.</p>\n<p>In case the clinician has any other valid access tokens (e.g.: the clinician is logged in more than one browser), they will still be valid.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","auth","logout"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ee6b09f-0018-4aa7-aede-169dd6e4b6fd"},{"name":"Revoke all access tokens belonging to the logged user","id":"a99c5300-1798-4aaa-a984-80277b385131","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.mdintegrations.com/v1/clinician/auth/logout/all","description":"<p>Revoke <strong>all the access tokens</strong> belonging to the logged clinician.</p>\n<p>In case the clinician has any other valid access tokens (e.g.: the clinician is logged in more than one browser), they will all be revoked.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","auth","logout","all"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a99c5300-1798-4aaa-a984-80277b385131"}],"id":"84829b70-6ea1-4536-9abd-6b3a8c5bb54e","_postman_id":"84829b70-6ea1-4536-9abd-6b3a8c5bb54e","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Offerings","item":[{"name":"Get Offerings","id":"cc9b64f6-e345-4ab6-9010-718146619aa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/clinician/offerings?partner_id=0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","description":"<p>Get the clinician offerings list.</p>\n","urlObject":{"path":["clinician","offerings"],"host":["https://api.mdintegrations.com"],"query":[{"key":"partner_id","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6"},{"disabled":true,"key":"type","value":"exclusive"}],"variable":[]}},"response":[],"_postman_id":"cc9b64f6-e345-4ab6-9010-718146619aa3"},{"name":"Get Offering","id":"d09a5781-39ed-4029-9810-8372e548bde5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/clinician/offerings/:offering","description":"<p>Get the clinician offering's details.</p>\n","urlObject":{"path":["clinician","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e1be2c5c-3c01-4172-8277-88e3bb82bc29","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"}]}},"response":[],"_postman_id":"d09a5781-39ed-4029-9810-8372e548bde5"},{"name":"Attach Offering","id":"0bf22825-2fc5-4c2b-b40f-bd1aacbe10b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"disabled\",\n    \"notes\": \"Clinician notes.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/clinician/offerings/:offering","description":"<p>Attach the clinician to the partner's offering.</p>\n","urlObject":{"path":["clinician","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7c0ec625-bba9-4463-9f3e-e198acd49da2","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"}]}},"response":[],"_postman_id":"0bf22825-2fc5-4c2b-b40f-bd1aacbe10b3"},{"name":"Update Offering","id":"792962e7-66be-429c-b376-9dda7e5d6b7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"exclusive\",\n    \"notes\": \"This clinician only works with this offering.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/clinician/offerings/:offering","description":"<p>Update the clinician bond with the partner's offering.</p>\n","urlObject":{"path":["clinician","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d1808493-25ef-487e-8ec0-e9eedcc6d63b","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"}]}},"response":[],"_postman_id":"792962e7-66be-429c-b376-9dda7e5d6b7c"},{"name":"Detach Offering","id":"249596d1-7e94-4c70-9b5c-3e923d8603f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/clinician/offerings/:offering","description":"<p>Detach the clinician from the partner's offering.</p>\n","urlObject":{"path":["clinician","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"54b0b523-8daf-46dc-8473-d639bb250ebe","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"}]}},"response":[],"_postman_id":"249596d1-7e94-4c70-9b5c-3e923d8603f6"}],"id":"a46055e2-d8e8-4d89-a9a7-e9ef24dd7372","_postman_id":"a46055e2-d8e8-4d89-a9a7-e9ef24dd7372","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Partners","item":[{"name":"Automations","item":[{"name":"Get Manual Automations","id":"77b35669-a95c-4b56-b275-983701e93338","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/automations","description":"<p>Returns all Manual Automations.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["clinician","partners",":partner_id","automations"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"dd798c03-aa9f-4d8b-aaca-9fb1ce32a83b","description":{"content":"<p>(Required) Partner ID</p>\n","type":"text/plain"},"type":"any","value":"197482cf-d677-462a-87d3-082cdd313941","key":"partner_id"}]}},"response":[],"_postman_id":"77b35669-a95c-4b56-b275-983701e93338"},{"name":"Post Execute Automation","id":"533fdbe0-76d1-4bb4-b42a-df3ba3145421","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"context\": [\n        {\n            \"key\": \"value\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/automations/:automation_id","description":"<p>It performs a manual automation.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["clinician","partners",":partner_id","automations",":automation_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"c2e1d1fa-d503-4eba-a629-79926f9a0ddf","description":{"content":"<p>(Required) Partner ID</p>\n","type":"text/plain"},"type":"any","value":"197482cf-d677-462a-87d3-082cdd313941","key":"partner_id"},{"id":"cb95d2ea-42e7-4ab7-a7a0-ca60ea20bb38","description":{"content":"<p>(Required) Automation ID</p>\n","type":"text/plain"},"type":"any","value":"197482cf-d677-462a-87d3-082cdd313941","key":"automation_id"}]}},"response":[],"_postman_id":"533fdbe0-76d1-4bb4-b42a-df3ba3145421"}],"id":"3a73509f-0e0d-49a9-ae3f-ca2cb6158bb9","_postman_id":"3a73509f-0e0d-49a9-ae3f-ca2cb6158bb9","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Compounds","item":[{"name":"Search for compounds from a given partner","id":"fd649736-c64d-4200-b0b4-343b7651eb91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/compounds/search?name=acid&patient_id=4c37c0d4-9028-4559-a944-890c8f0dcb34","description":"<p>Search compounds belonging to a given partner. </p>\n<p>In case a search term is not provided, all the available compounds are returned.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","partners",":partner_id","compounds","search"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>Compound search filter</p>\n","type":"text/plain"},"key":"name","value":"acid"},{"key":"patient_id","value":"4c37c0d4-9028-4559-a944-890c8f0dcb34"}],"variable":[{"description":{"content":"<p>(Required) Partner ID</p>\n","type":"text/plain"},"type":"any","value":"03b3ec25-28c0-46d4-845c-e941816c6d60","key":"partner_id"}]}},"response":[],"_postman_id":"fd649736-c64d-4200-b0b4-343b7651eb91"},{"name":"Create compound for a given partner","id":"4226b222-e6b4-46bc-9379-5fce6aec4245","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"This is a new compound.\",\r\n    \"name\": \"New compound\",\r\n    \"dispense_unit_id\": 60,\r\n    \"pharmacy_id\": 2970,\r\n    \"pharmacy_notes\": \"pharmacy notes example\",\r\n    \"quantity\": \"1\",\r\n    \"directions\": \"twice a day\",\r\n    \"days_supply\": 1,\r\n    \"refills\": 1,\r\n    \"allow_substitutions\": true,\r\n    \"clinical_note\": \"clinical note example\",\r\n    \"thank_you_note\": \"thank you note example\",\r\n    \"order\": 1,\r\n    \"metadata\": \"metadata example\",\r\n    \"diseases\": [\r\n        {\r\n            \"disease_id\": \"a82b63a8-4375-4eaa-b82e-10a98740d81f\"\r\n        }\r\n    ],\r\n    \"effective_date\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/compounds","description":"<p>Create compounds for a given partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>string(105)</td>\n<td>Title of compound</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string(105)*</td>\n<td>Name of compound</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer*</td>\n<td>Compounds can be associated with any available dispense unit ID. For a list of all available dispense units check <em>Partners &gt; Dispense Units</em>.</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n<td>Pharmacy where the prescription must be sent to. Check <em>Partners &gt; Pharmacies &gt; Get pharmacies</em> to get a list of all pharmacies available.  <br />  <br /><em>Important note</em>:  <br />  <br />Dosespot works with different IDs for pharmacies according to the environment.  <br />Example:  <br />- Curexa pharmacy ID in staging environment: 13012  <br />- Curexa pharmacy ID in production environment: 29992</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the prescription</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string*</td>\n<td>Medication quantity string representing a float number</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string(140)*</td>\n<td>Instructions about how the medication is administered</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer</td>\n<td>Between 0 and 365 - Number of days of supply of the medication provided - Allows null value</td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer*</td>\n<td>Between 0 and 99 - Total of refills for the given medication</td>\n</tr>\n<tr>\n<td>allow_substitutions</td>\n<td>boolean</td>\n<td>Allows a substitute medication/compound</td>\n</tr>\n<tr>\n<td>clinical_note</td>\n<td>string</td>\n<td>Additional clinical information</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n<td>Additional information</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string(800)</td>\n<td>Additional information</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td>The compound ordering</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>integer</td>\n<td>Number of days. It will set the prescription effective date. <code>E.g.: Prescription date + 30 days</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","partners",":partner_id","compounds"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Partner ID</p>\n","type":"text/plain"},"type":"any","value":"47f2b48b-7b98-4a95-8ace-3aa0f7050221","key":"partner_id"}]}},"response":[],"_postman_id":"4226b222-e6b4-46bc-9379-5fce6aec4245"}],"id":"12ac93c5-9263-4965-a7dc-f2b8aac0be1d","_postman_id":"12ac93c5-9263-4965-a7dc-f2b8aac0be1d","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Medications","item":[{"name":"Partner Medications","id":"5727f3f8-ddfd-49c2-ac59-84c93ae9e9bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/medications?patient_id=4c37c0d4-9028-4559-a944-890c8f0dcb34","description":"<p>Returns all Medications linked to Partner.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","partners",":partner_id","medications"],"host":["https://api.mdintegrations.com"],"query":[{"key":"patient_id","value":"4c37c0d4-9028-4559-a944-890c8f0dcb34"}],"variable":[{"type":"any","value":"","key":"partner_id"}]}},"response":[],"_postman_id":"5727f3f8-ddfd-49c2-ac59-84c93ae9e9bc"}],"id":"818ffd89-dcb9-40b1-837d-6426551bdd12","_postman_id":"818ffd89-dcb9-40b1-837d-6426551bdd12","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Supplies","item":[{"name":"Partner Supplies","id":"a395a0db-7af2-451d-8fd6-fab2f47a1fb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/supplies?patient_id=4c37c0d4-9028-4559-a944-890c8f0dcb34","description":"<p>Returns all Supplies linked to Partner.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["clinician","partners",":partner_id","supplies"],"host":["https://api.mdintegrations.com/v1"],"query":[{"key":"patient_id","value":"4c37c0d4-9028-4559-a944-890c8f0dcb34"}],"variable":[{"description":{"content":"<p>(Required) Partner ID</p>\n","type":"text/plain"},"type":"any","value":"197482cf-d677-462a-87d3-082cdd313941","key":"partner_id"}]}},"response":[],"_postman_id":"a395a0db-7af2-451d-8fd6-fab2f47a1fb4"}],"id":"48d454c3-3ec2-4969-81ab-d99a82399047","_postman_id":"48d454c3-3ec2-4969-81ab-d99a82399047","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Cases","item":[{"name":"Get completed cases","id":"78cd54da-e56d-455c-bf4a-9f3fd80b8763","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/completed-cases?page=1&limit=5&is_sandbox=1&is_live=0&is_assigned_to_me=1&is_sync=1&is_additional_approval_needed=1&tags[]=3a89fd30-47b0-484a-a231-6625ef5ce2a4&clinicians[]=3a89fd30-47b0-484a-a231-6625ef5ce2a4&states[]=3a89fd30-47b0-484a-a231-6625ef5ce2a4&diseases[]=3a89fd30-47b0-484a-a231-6625ef5ce2a4&case_type=new","description":"<p>Get all partner cases, filter by cases that have services or not using <strong>only_with_services</strong> parameter equal to <strong>true</strong>.</p>\n","urlObject":{"path":["clinician","partners",":partner_id","completed-cases"],"host":["https://api.mdintegrations.com/v1"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"5"},{"disabled":true,"key":"sort","value":"asc"},{"disabled":true,"key":"only_with_services","value":"true"},{"key":"is_sandbox","value":"1"},{"key":"is_live","value":"0"},{"key":"is_assigned_to_me","value":"1"},{"key":"is_sync","value":"1"},{"key":"is_additional_approval_needed","value":"1"},{"key":"tags[]","value":"3a89fd30-47b0-484a-a231-6625ef5ce2a4"},{"key":"clinicians[]","value":"3a89fd30-47b0-484a-a231-6625ef5ce2a4"},{"key":"states[]","value":"3a89fd30-47b0-484a-a231-6625ef5ce2a4"},{"key":"diseases[]","value":"3a89fd30-47b0-484a-a231-6625ef5ce2a4"},{"key":"case_type","value":"new"}],"variable":[{"type":"any","value":"03b3ec25-28c0-46d4-845c-e941816c6d60","key":"partner_id"}]}},"response":[],"_postman_id":"78cd54da-e56d-455c-bf4a-9f3fd80b8763"}],"id":"330d183d-5312-4725-ac0e-2ee25e980b35","_postman_id":"330d183d-5312-4725-ac0e-2ee25e980b35","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tags","item":[{"name":"Get partner tags","id":"6936ffdf-9239-49ad-91ed-64e2760d7b3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/tags","description":"<p>Get all partners's tags given a partner ID.</p>\n<p>It also returns Global and System tags.</p>\n","urlObject":{"path":["clinician","partners",":partner_id","tags"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"b6039b5b-61bf-4978-b370-141c19ed5eb2","description":{"content":"<p>Partner ID (required)</p>\n","type":"text/plain"},"type":"any","value":"94124ff7-7942-415b-b556-2702c77ebaa7","key":"partner_id"}]}},"response":[],"_postman_id":"6936ffdf-9239-49ad-91ed-64e2760d7b3f"}],"id":"16f268f0-ba42-4939-b125-b222418f511b","_postman_id":"16f268f0-ba42-4939-b125-b222418f511b","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Notifications","item":[{"name":"Get Partner Notifications","id":"56ba65f6-aada-4bf8-9038-3a21b73625e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/notifications","description":"<p>List all partner notifications related to the partner UUID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["clinician","partners",":partner_id","notifications"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"142247ca-2498-4fb6-9657-c4d16930ce51","type":"any","value":null,"key":"partner_id"}]}},"response":[],"_postman_id":"56ba65f6-aada-4bf8-9038-3a21b73625e3"},{"name":"Get Partner Notification","id":"a6d15729-e9d5-4ec5-979c-240322d504b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/notifications/:partner_notification_id","description":"<p>View a single partner notification, belongs to a partner</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["clinician","partners",":partner_id","notifications",":partner_notification_id"],"host":["https://api.mdintegrations.com/v1"],"query":[],"variable":[{"id":"923cfd93-3cf9-4979-a615-1e7522efbf82","type":"any","value":null,"key":"partner_id"},{"id":"3bf9c82c-ffe7-4141-9f29-66e8d2799c0f","type":"any","value":null,"key":"partner_notification_id"}]}},"response":[],"_postman_id":"a6d15729-e9d5-4ec5-979c-240322d504b8"}],"id":"5d9468f6-e971-4d6f-a07f-11f4b884f193","_postman_id":"5d9468f6-e971-4d6f-a07f-11f4b884f193","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Offerings","item":[{"name":"Clinicians","item":[{"name":"Get Clinician","id":"9862e197-3486-497e-aeb2-9dde90de8b81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/clinician/partners/:partner/offerings/:offering/clinicians","description":"<p>Get the partner's offering's clinician details.</p>\n","urlObject":{"path":["clinician","partners",":partner","offerings",":offering","clinicians"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f22d7d9f-587b-4f2d-b0af-fabbd0f8a748","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"acd7de52-ec00-4634-bb7e-7eb1243e2ae0","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"}]}},"response":[],"_postman_id":"9862e197-3486-497e-aeb2-9dde90de8b81"},{"name":"Attach Clinician","id":"52770bd8-67f6-4802-aab8-3d55f6f8c2ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"disabled\",\n    \"notes\": \"Clinician notes.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/clinician/partners/:partner/offerings/:offering/clinicians","description":"<p>Attach the clinician to the partner's offering.</p>\n","urlObject":{"path":["clinician","partners",":partner","offerings",":offering","clinicians"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b708971c-70c0-41b5-bc5c-a91e38e649ee","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"686b7412-3fd8-4326-b68c-acab5e170cbc","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"}]}},"response":[],"_postman_id":"52770bd8-67f6-4802-aab8-3d55f6f8c2ce"},{"name":"Update Clinician","id":"1eb510a8-e513-47ba-ad70-5018c7e1e426","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"exclusive\",\n    \"notes\": \"This clinician only works with this offering.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/clinician/partners/:partner/offerings/:offering/clinicians","description":"<p>Update the clinician bond with the partner's offering.</p>\n","urlObject":{"path":["clinician","partners",":partner","offerings",":offering","clinicians"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b526402b-b474-4859-90fb-c47dfcc79a08","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"c3dbe83e-f52b-4690-b034-09dc33fd3063","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"}]}},"response":[],"_postman_id":"1eb510a8-e513-47ba-ad70-5018c7e1e426"},{"name":"Detach Clinician","id":"07e12425-4833-4a78-be78-7215641e2a7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/clinician/partners/:partner/offerings/:offering/clinicians","description":"<p>Detach the clinician from the partner's offering.</p>\n","urlObject":{"path":["clinician","partners",":partner","offerings",":offering","clinicians"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"04f30376-6997-4323-8618-abac0e80ba07","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"d4a2f009-838c-45ab-b06b-303df47dfa38","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"}]}},"response":[],"_postman_id":"07e12425-4833-4a78-be78-7215641e2a7b"}],"id":"54d2c39a-20ff-45ac-a16c-be734c31a2e1","_postman_id":"54d2c39a-20ff-45ac-a16c-be734c31a2e1","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Partner Offerings","id":"dc7a596d-4bc7-4f90-ab42-40e87b9cb4f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/offerings?patient_id=4c37c0d4-9028-4559-a944-890c8f0dcb34","description":"<p>Returns all Supplies linked to Partner.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["clinician","partners",":partner_id","offerings"],"host":["https://api.mdintegrations.com/v1"],"query":[{"key":"patient_id","value":"4c37c0d4-9028-4559-a944-890c8f0dcb34"}],"variable":[{"id":"5fd185a3-b66a-44c6-b5d4-85ec873fc00c","description":{"content":"<p>(Required) Partner ID</p>\n","type":"text/plain"},"type":"any","value":"197482cf-d677-462a-87d3-082cdd313941","key":"partner_id"}]}},"response":[],"_postman_id":"dc7a596d-4bc7-4f90-ab42-40e87b9cb4f6"},{"name":"Get Offering Offerings","id":"588fe9c0-e563-4dfc-957f-ebc050723aa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/offerings/:offering/offerings?type=recommendation/similar","description":"<p>It gets all Offerings linked to Partner Offering.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["clinician","partners",":partner_id","offerings",":offering","offerings"],"host":["https://api.mdintegrations.com/v1"],"query":[{"key":"type","value":"recommendation/similar"}],"variable":[{"description":{"content":"<p>(Required) Partner ID</p>\n","type":"text/plain"},"type":"any","value":"197482cf-d677-462a-87d3-082cdd313941","key":"partner_id"},{"type":"any","value":"4c37c0d4-9028-4559-a944-890c8f0dcb34","key":"offering"}]}},"response":[],"_postman_id":"588fe9c0-e563-4dfc-957f-ebc050723aa3"}],"id":"ffa88b27-a002-4fb3-a105-01952c2bcfa4","_postman_id":"ffa88b27-a002-4fb3-a105-01952c2bcfa4","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Questionnaires","item":[{"name":"List questionnaires","id":"5aff52d5-f3f0-4777-ab92-90f66e49f811","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/questionnaires?page=1&per_page=15","description":"<p>Return all enabled partner questionnaires based on the logged in partner.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","partners",":partner_id","questionnaires"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>Optional</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Optional</p>\n","type":"text/plain"},"key":"per_page","value":"15"}],"variable":[{"id":"56f7f9bd-264c-40c8-b2e1-5802eb89c84d","type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner_id"}]}},"response":[{"id":"e4495b31-8a64-402b-9de8-1c395241bf1c","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/questionnaires?page=1&per_page=15","host":["https://api.mdintegrations.com/v1"],"path":["clinician","partners",":partner_id","questionnaires"],"query":[{"key":"page","value":"1","description":"Optional"},{"key":"per_page","value":"15","description":"Optional"}],"variable":[{"key":"partner_id","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"fc433dee-07f4-4ce8-801b-48d87da0aef1\",\n            \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n            \"active\": true,\n            \"name\": \"Urgent Medical Issue - Sore throat\",\n            \"intro_title\": \"Lets get started\",\n            \"intro_description\": \"Please make sure to provide accurate information which your doctor will review to help create a treatment plan for you.\",\n            \"outro_title\": \"Test ontro title\",\n            \"outro_description\": \"Test ontro description\",\n            \"terms_of_service\": null,\n            \"redirect_url\": null,\n            \"redirect_title\": null,\n            \"has_pharmacy\": false,\n            \"always_ask_weight_height\": false,\n            \"created_at\": \"2022-06-28T15:53:52.000000Z\",\n            \"updated_at\": \"2023-11-22T16:07:01.000000Z\",\n            \"deleted_at\": null\n        }\n    ],\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"per_page\": 15,\n        \"to\": 11,\n        \"total\": 11\n    }\n}"}],"_postman_id":"5aff52d5-f3f0-4777-ab92-90f66e49f811"}],"id":"b15ba36c-d74b-4669-8946-72a9bb7eba48","_postman_id":"b15ba36c-d74b-4669-8946-72a9bb7eba48","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Vouchers","item":[{"name":"Get voucher","id":"ac6d2108-0cbe-4d54-95bc-21a17ce46a6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/vouchers/:voucher_id","description":"<p>Return voucher data given a voucher ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","partners",":partner_id","vouchers",":voucher_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"99f24082-b862-493a-b689-6c2a7288f762","type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner_id"},{"id":"f2f7506e-faeb-49b5-a1c8-e402ef1c39d2","type":"any","value":"edf5feaa-549a-43ff-8a11-fcfa036cf7dd","key":"voucher_id"}]}},"response":[{"id":"e0490334-0fc1-4360-87bd-f4abcecf75a8","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseURL}}/clinician/partners/:partner_id/vouchers/:voucher_id","host":["{{baseURL}}"],"path":["clinician","partners",":partner_id","vouchers",":voucher_id"],"variable":[{"key":"partner_id","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5"},{"key":"voucher_id","value":"edf5feaa-549a-43ff-8a11-fcfa036cf7dd"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"edf5feaa-549a-43ff-8a11-fcfa036cf7dd\",\n    \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n    \"case_id\": null,\n    \"expires_at\": \"2023-12-30T17:19:05.000000Z\",\n    \"payload\": {\n        \"hold_status\": false,\n        \"environment_id\": \"bf77c962-3915-4d3f-91a3-53cd64799531\",\n        \"questionnaire_id\": \"8d19aa30-de44-40a1-8350-47d6fdbbd96c\"\n    },\n    \"demo\": false,\n    \"metadata\": null,\n    \"created_at\": \"2023-11-30T17:19:12.000000Z\",\n    \"updated_at\": \"2023-11-30T17:19:12.000000Z\",\n    \"deleted_at\": null,\n    \"is_expired\": false,\n    \"onboarding_url\": \"http://127.0.0.1:8000?token=edf5feaa-549a-43ff-8a11-fcfa036cf7dd\"\n}"}],"_postman_id":"ac6d2108-0cbe-4d54-95bc-21a17ce46a6a"},{"name":"Expire Voucher","id":"78214e9b-336d-4613-906b-db98f4281f3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/vouchers/:voucher_id/expire","description":"<p>It expires the given voucher.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","partners",":partner_id","vouchers",":voucher_id","expire"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"731468fc-523e-49c0-8193-ec00a78c286e","type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner_id"},{"id":"d9c8beec-d91a-416c-8dcd-fa43282856d2","type":"any","value":"edf5feaa-549a-43ff-8a11-fcfa036cf7dd","key":"voucher_id"}]}},"response":[{"id":"5e59b495-2b87-4b24-a5c1-fba961f1edcb","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseURL}}/clinician/partners/:partner_id/vouchers/:voucher_id","host":["{{baseURL}}"],"path":["clinician","partners",":partner_id","vouchers",":voucher_id"],"variable":[{"key":"partner_id","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5"},{"key":"voucher_id","value":"edf5feaa-549a-43ff-8a11-fcfa036cf7dd"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"edf5feaa-549a-43ff-8a11-fcfa036cf7dd\",\n    \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n    \"case_id\": null,\n    \"expires_at\": \"2023-12-30T17:19:05.000000Z\",\n    \"payload\": {\n        \"hold_status\": false,\n        \"environment_id\": \"bf77c962-3915-4d3f-91a3-53cd64799531\",\n        \"questionnaire_id\": \"8d19aa30-de44-40a1-8350-47d6fdbbd96c\"\n    },\n    \"demo\": false,\n    \"metadata\": null,\n    \"created_at\": \"2023-11-30T17:19:12.000000Z\",\n    \"updated_at\": \"2023-11-30T17:19:12.000000Z\",\n    \"deleted_at\": null,\n    \"is_expired\": false,\n    \"onboarding_url\": \"http://127.0.0.1:8000?token=edf5feaa-549a-43ff-8a11-fcfa036cf7dd\"\n}"}],"_postman_id":"78214e9b-336d-4613-906b-db98f4281f3c"},{"name":"Get vouchers","id":"699c4f83-b209-4fb0-8ab5-e3e4e4a18d58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/vouchers","description":"<p>Return voucher data given a voucher ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","partners",":partner_id","vouchers"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d3181711-e93f-47af-82dd-f4c3d696c1b7","type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner_id"}]}},"response":[{"id":"a59c3d27-d0b5-4aae-b1d0-0e46c7bb6248","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseURL}}/clinician/partners/:partner_id/vouchers/:voucher_id","host":["{{baseURL}}"],"path":["clinician","partners",":partner_id","vouchers",":voucher_id"],"variable":[{"key":"partner_id","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5"},{"key":"voucher_id","value":"edf5feaa-549a-43ff-8a11-fcfa036cf7dd"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"edf5feaa-549a-43ff-8a11-fcfa036cf7dd\",\n    \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n    \"case_id\": null,\n    \"expires_at\": \"2023-12-30T17:19:05.000000Z\",\n    \"payload\": {\n        \"hold_status\": false,\n        \"environment_id\": \"bf77c962-3915-4d3f-91a3-53cd64799531\",\n        \"questionnaire_id\": \"8d19aa30-de44-40a1-8350-47d6fdbbd96c\"\n    },\n    \"demo\": false,\n    \"metadata\": null,\n    \"created_at\": \"2023-11-30T17:19:12.000000Z\",\n    \"updated_at\": \"2023-11-30T17:19:12.000000Z\",\n    \"deleted_at\": null,\n    \"is_expired\": false,\n    \"onboarding_url\": \"http://127.0.0.1:8000?token=edf5feaa-549a-43ff-8a11-fcfa036cf7dd\"\n}"}],"_postman_id":"699c4f83-b209-4fb0-8ab5-e3e4e4a18d58"},{"name":"Create voucher","id":"334738b6-6d1f-4ae7-a107-9a3581c1693a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"demo\": true,\n    \"hold_status\": true,\n    \"questionnaire_id\": \"8d19aa30-de44-40a1-8350-47d6fdbbd96c\",\n    \"expires_at\": \"2024-01-01\",\n    \"environment_id\": \"bf77c962-3915-4d3f-91a3-53cd64799531\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/partners/:partner_id/vouchers","description":"<p>Create a new voucher for the questionnaire's flow.</p>\n<h2 id=\"payload\">Payload</h2>\n<p><strong>Important</strong>: When creating a voucher you can specify the medications, compounds and services to be used.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>questionnaire_id</strong></td>\n<td>uuid</td>\n<td>Partner Questionnaire ID. It can be found under your company's intake forms from the Partners Website or using <strong>Patient App &gt; Questionnaires &gt; List questionnaires</strong></td>\n</tr>\n<tr>\n<td>patient_id</td>\n<td>uuid</td>\n<td>Patient ID.</td>\n</tr>\n<tr>\n<td><strong>hold_status</strong></td>\n<td>boolean</td>\n<td>Flag to hold the status to not enter into the MDI flow. It will be <strong>false</strong> by default.</td>\n</tr>\n<tr>\n<td>demo</td>\n<td>boolean</td>\n<td>Demo vouchers will not create any patient or cases and will not expire. Default <code>false</code></td>\n</tr>\n<tr>\n<td><strong>case_services</strong></td>\n<td>array</td>\n<td>It can be empty.</td>\n</tr>\n<tr>\n<td>**case_services.*.**partner_service_id</td>\n<td>uuid*</td>\n<td>Partner Service ID. It can be found under your company's offerings from the Partners Website. Required if is present.</td>\n</tr>\n<tr>\n<td><strong>case_prescriptions</strong></td>\n<td>array</td>\n<td>It can be empty.</td>\n</tr>\n<tr>\n<td>**case_prescriptions.*.**partner_compound_id</td>\n<td>uuid*</td>\n<td>Partner compound ID. Check <strong>Partners &gt; Compounds</strong> to get a <code>partner_compound_id</code> for a given compound. Required if is present.</td>\n</tr>\n<tr>\n<td>**case_prescriptions.*.**partner_medication_id</td>\n<td>uuid*</td>\n<td>Partner medication ID. It can be found under your company's offerings from the Partners Website. Required if is present.</td>\n</tr>\n<tr>\n<td><strong>diseases</strong></td>\n<td>array</td>\n<td>it can be empty or null.</td>\n</tr>\n<tr>\n<td>**diseases.*.**disease_id</td>\n<td>UUID</td>\n<td>Disease ID. It can be found through the diseases endpoint. Nullable.</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string (255)</td>\n<td>Metadata value. It can be empty.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","partners",":partner_id","vouchers"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner_id"}]}},"response":[{"id":"cc9efbcb-cbc0-4584-b921-f405d4d41b7d","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"expires_at\": \"2023-09-13 12:11:43\",\n    \"demo\": false,\n    \"patient_id\": \"0003941f-698b-4cf0-9837-462cbccec39f\",\n    \"medications\": [\n        {\n            \"id\": \"006eb7a5-5f15-4df1-9a96-2c0e453c7ba6\",\n            \"pharmacy_id\": null,\n            \"force_pharmacy\": false\n        }\n    ],\n    \"compounds\": [\n        {\n            \"id\": \"01642f8b-6935-45d3-8931-928f8e4b38b6\",\n            \"pharmacy_id\": null,\n            \"force_pharmacy\": false\n        }\n    ],\n    \"supplies\": [\n        {\n            \"id\": \"9aaa4a37-7602-4fe1-a444-99c9d61ebf9b\",\n            \"pharmacy_id\": 4,\n            \"force_pharmacy\": true\n        }\n    ],\n    \"services\": [\n        {\n            \"id\": \"19dfc03d-bfff-4302-9c70-c9df88410b9a\"\n        }\n    ],\n    \"diseases\": [\n        {\n            \"id\": \"0004b70f-d56f-4234-af25-475349f956f3\"\n        }\n    ],\n    \"hold_status\": false,\n    \"questionnaire_id\": \"56d833f1-21e1-4c61-aab1-d61a15ec43ea\",\n    \"clinician_id\": \"0302a480-da56-41ee-91eb-af93b41c9c24\",\n    \"environment_id\": \"5698c890-e79b-4d27-9a92-500dfffb1ae6\"\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseURL}}/clinician/partners/:partner_id/vouchers","host":["{{baseURL}}"],"path":["clinician","partners",":partner_id","vouchers"],"variable":[{"key":"partner_id","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"edf5feaa-549a-43ff-8a11-fcfa036cf7dd\",\n    \"partner_id\": \"dcc32340-6606-4756-a4f8-cc7a08b615b5\",\n    \"case_id\": null,\n    \"expires_at\": \"2023-12-30T17:19:05.000000Z\",\n    \"payload\": {\n        \"hold_status\": false,\n        \"environment_id\": \"bf77c962-3915-4d3f-91a3-53cd64799531\",\n        \"questionnaire_id\": \"8d19aa30-de44-40a1-8350-47d6fdbbd96c\"\n    },\n    \"demo\": false,\n    \"metadata\": null,\n    \"pharmacy_id\": null,\n    \"pharmacy_name\": null,\n    \"created_at\": \"2023-11-30T17:19:12.000000Z\",\n    \"updated_at\": \"2023-11-30T17:19:12.000000Z\",\n    \"deleted_at\": null,\n    \"is_expired\": false,\n    \"onboarding_url\": \"http://127.0.0.1:8000?token=edf5feaa-549a-43ff-8a11-fcfa036cf7dd\"\n}"}],"_postman_id":"334738b6-6d1f-4ae7-a107-9a3581c1693a"}],"id":"50844967-0be0-461e-8b69-20fc6caa03b6","_postman_id":"50844967-0be0-461e-8b69-20fc6caa03b6","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Wildcards","item":[{"name":"Get Wildcards","id":"30b690a5-2db9-4094-b6c4-0a7b311957aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/wildcards?per_page=15&page=1","description":"<p>Get the partner's wildcards.</p>\n","urlObject":{"path":["web","partners",":partner","wildcards"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"disabled":true,"key":"key","value":"wirldcard-key"}],"variable":[{"id":"1e49ecb5-8bc9-4247-bb19-1d1c4af1125c","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"30b690a5-2db9-4094-b6c4-0a7b311957aa"}],"id":"6a89c7a6-ff19-45b0-bff5-97bb99f2d917","_postman_id":"6a89c7a6-ff19-45b0-bff5-97bb99f2d917","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get eligible partners to receive patient transfers","id":"c24d3cc4-3cd8-4469-826b-e8e4b69fed1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Origin","value":"localhost"}],"url":"https://api.mdintegrations.com/v1/clinician/partners/transfer-eligible","description":"<p>This endpoint returns all partners eligible to receive patient transfers.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","partners","transfer-eligible"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c24d3cc4-3cd8-4469-826b-e8e4b69fed1d"}],"id":"20877c47-1f18-4b5a-9bd8-88537d2cdec3","_postman_id":"20877c47-1f18-4b5a-9bd8-88537d2cdec3","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Metadata","item":[{"name":"States","item":[{"name":"Cities","item":[{"name":"Get cities from a given state","id":"14588a4f-6bb7-44f0-b58e-e317c3fcb458","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/metadata/states/:state_id/cities?search=Los Angeles","description":"<p>Return a list of all cities from a given state in the USA.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","metadata","states",":state_id","cities"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>City name filter</p>\n","type":"text/plain"},"key":"search","value":"Los Angeles"}],"variable":[{"id":"f00caa69-35c8-43ce-ba65-bd0ca8444ac7","description":{"content":"<p>(Required) State ID</p>\n","type":"text/plain"},"type":"any","value":"15c79e96-3095-4346-b390-224ccd1ab947","key":"state_id"}]}},"response":[],"_postman_id":"14588a4f-6bb7-44f0-b58e-e317c3fcb458"}],"id":"931f1fda-5bda-4c9c-bbfa-f508376121bf","_postman_id":"931f1fda-5bda-4c9c-bbfa-f508376121bf","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get all states","id":"045abbad-7d71-4c3b-a02c-e4ed9254dddd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/metadata/states?search=California","description":"<p>Return a list of all cities from a given state in the USA.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","metadata","states"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>State name filter</p>\n","type":"text/plain"},"key":"search","value":"California"}],"variable":[]}},"response":[],"_postman_id":"045abbad-7d71-4c3b-a02c-e4ed9254dddd"}],"id":"dbef31ae-1b8f-4f51-8de3-86de6bb007c9","_postman_id":"dbef31ae-1b8f-4f51-8de3-86de6bb007c9","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Diseases","item":[{"name":"Get all Disease Codes","id":"4f4002d8-c338-4e5a-944e-135a694c124c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/metadata/diseases","description":"<p>Return a list of all diseases codes.</p>\n","urlObject":{"path":["v1","clinician","metadata","diseases"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"description","value":"cholera"},{"disabled":true,"key":"icd","value":"A030"},{"disabled":true,"key":"per_page","value":"10"},{"disabled":true,"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"4f4002d8-c338-4e5a-944e-135a694c124c"},{"name":"Get diseases by ID","id":"898f32cf-f93d-4f8f-9e5d-6acf36e26e8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/metadata/diseases/:disease_id","description":"<p>Return the disease data by its ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","metadata","diseases",":disease_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d3d6fa14-9a21-48bd-8307-ffae1c9585b6","type":"any","value":"32f62f6e-32b7-4145-a375-15a2bd8b8dfa","key":"disease_id"}]}},"response":[],"_postman_id":"898f32cf-f93d-4f8f-9e5d-6acf36e26e8b"}],"id":"0448d76d-f093-48d0-aa74-2013953fe6c8","_postman_id":"0448d76d-f093-48d0-aa74-2013953fe6c8","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Environments","item":[{"name":"Get Environments","id":"3a2c12f5-328b-4aab-a99a-0e2b884d240c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/metadata/environments","description":"<p>Return a list of all environments (paginated).</p>\n","urlObject":{"path":["v1","clinician","metadata","environments"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"per_page","value":"10"},{"disabled":true,"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"3a2c12f5-328b-4aab-a99a-0e2b884d240c"}],"id":"d939d86b-e5bc-4efa-b9c2-f777d83f8346","_postman_id":"d939d86b-e5bc-4efa-b9c2-f777d83f8346","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get all license types","id":"b5c9f99a-0f2a-4da2-9809-32fd7810ca93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/metadata/license-types","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","metadata","license-types"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b5c9f99a-0f2a-4da2-9809-32fd7810ca93"}],"id":"d09e0f3b-6db9-46b5-b93a-d0577ead0a2a","_postman_id":"d09e0f3b-6db9-46b5-b93a-d0577ead0a2a","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Cases","item":[{"name":"Files","item":[{"name":"Tags","item":[{"name":"Get case file tags","id":"74a4b68f-9988-450c-9e2e-5bd3efe84c0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/files/:file_id/tags","description":"<p>Get the case file's tags.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","files",":file_id","tags"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"per_page","value":"10"},{"disabled":true,"key":"page","value":"15"}],"variable":[{"id":"d40887c7-74f4-4103-8bf7-e533e59b4aae","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"id":"f16fd663-8a7f-42b7-b099-a40f81e33917","type":"any","value":"6bdd8fa4-a24d-4d0a-8c06-99970f090929","key":"file_id"}]}},"response":[],"_postman_id":"74a4b68f-9988-450c-9e2e-5bd3efe84c0e"},{"name":"Attach a tag to a case file","id":"8d498183-107d-43e6-bda6-75e1d1180b06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"case file tag notes\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/files/:file_id/tags/:tag_id","description":"<p>Attach the tag to the case file.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","files",":file_id","tags",":tag_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"570e4a8e-e147-4b58-a9a1-2c03a798da68","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"id":"1cf9bd76-05a6-413b-b5c2-ac01a7c11305","description":{"content":"<p>(Required) File ID</p>\n","type":"text/plain"},"type":"any","value":"a909fbd2-e048-4a6e-ae40-daccd5cb4641","key":"file_id"},{"id":"b4c2905b-5563-4995-ba22-6ab316caf785","type":"any","value":"22c9c828-5a08-4db0-8124-2c0384016f76","key":"tag_id"}]}},"response":[],"_postman_id":"8d498183-107d-43e6-bda6-75e1d1180b06"},{"name":"Update a case file tag","id":"7ac08723-e414-453f-9019-e1bd5084b437","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"file tag notes\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/files/:file_id/tags/:tag_id","description":"<p>Update the case file tag.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","files",":file_id","tags",":tag_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b4ec748d-d386-40e2-aa4b-356411dfca6a","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"id":"d30fceab-84e2-474b-b5d8-2239d3d019af","type":"any","value":"6bdd8fa4-a24d-4d0a-8c06-99970f090929","key":"file_id"},{"id":"82fc9323-f960-4bdb-a6b4-7a94a2719ab3","type":"any","value":"22c9c828-5a08-4db0-8124-2c0384016f76","key":"tag_id"}]}},"response":[],"_postman_id":"7ac08723-e414-453f-9019-e1bd5084b437"},{"name":"Detach a tag from the case file","id":"3d0e6909-dcf3-42ba-a55b-c745adeff31a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/files/:file_id/tags/:tag_id","description":"<p>Detach the tag from the case file.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","files",":file_id","tags",":tag_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5f8a1acd-2e3f-4c5b-93e4-ee48e79874c5","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"id":"4fc81f33-2b47-4885-8d5a-654b56c48df5","description":{"content":"<p>(Required) File ID</p>\n","type":"text/plain"},"type":"any","value":"a909fbd2-e048-4a6e-ae40-daccd5cb4641","key":"file_id"},{"id":"487ad00f-4af4-448f-a4e1-0c01082f7c2f","type":"any","value":"22c9c828-5a08-4db0-8124-2c0384016f76","key":"tag_id"}]}},"response":[],"_postman_id":"3d0e6909-dcf3-42ba-a55b-c745adeff31a"}],"id":"3eaf5440-6217-4b6a-9855-2b662f42d6a3","_postman_id":"3eaf5440-6217-4b6a-9855-2b662f42d6a3","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get case files","id":"6b7e91d7-b2aa-4eaf-92bd-d256716d5142","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/files","description":"<p>Returns a list of all attached files to the case.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","files"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9eba4a04-cf71-4fea-8fc8-f25212804fdb","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"6b7e91d7-b2aa-4eaf-92bd-d256716d5142"},{"name":"Update case files","id":"e81fbf9a-16ec-4a9e-85f0-b9b5a44f00bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"case_files\": [\n        \"71a8d737-05bd-53eb-9af5-5b4900947fa4\",\n        \"c2bc014b-81fd-1828-b3cf-2bfaf159054e\"\n    ]\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/files","description":"<p>Update cases files.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>case_files</td>\n<td>array(uuid)*</td>\n<td>Files ID to be attached to the case. The files must be uploaded before creating a case. To upload files check <strong>Partners &gt; Files</strong></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","files"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c4a01b88-070c-4f7c-8b17-f65b2ff1e4c6","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"e81fbf9a-16ec-4a9e-85f0-b9b5a44f00bb"},{"name":"Attach a file to a case","id":"942c63c5-9875-4a10-bb0f-3809d40c7b0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/files/:file_id","description":"<p>Attach a file to a case.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","files",":file_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a4ac32be-b307-4407-833e-ab84ca71bcf2","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"id":"b667c331-7f4a-4430-a216-f2f24cb80901","description":{"content":"<p>(Required) File ID</p>\n","type":"text/plain"},"type":"any","value":"a909fbd2-e048-4a6e-ae40-daccd5cb4641","key":"file_id"}]}},"response":[],"_postman_id":"942c63c5-9875-4a10-bb0f-3809d40c7b0c"},{"name":"Detach a file from a case","id":"2e9cf7d4-f9dd-45b4-91dd-db01fca47aeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/files/:file_id","description":"<p>Attach a file to a case.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","files",":file_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f2bba036-77da-4a0a-a9e1-c280626e7d93","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"id":"79204dec-32ab-4878-8de4-e487eb8231a1","description":{"content":"<p>(Required) File ID</p>\n","type":"text/plain"},"type":"any","value":"a909fbd2-e048-4a6e-ae40-daccd5cb4641","key":"file_id"}]}},"response":[],"_postman_id":"2e9cf7d4-f9dd-45b4-91dd-db01fca47aeb"}],"id":"306c70a5-7828-428c-b2a8-d9721f73d5cf","_postman_id":"306c70a5-7828-428c-b2a8-d9721f73d5cf","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Prescriptions","item":[{"name":"Update case prescriptions","id":"ba7a08bc-c52b-4a29-98e2-3380b472490c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"dosespot_medication_id\": 310964,\n        \"refills\": 50,\n        \"quantity\": \"1779333.590\",\n        \"days_supply\": 47,\n        \"directions\": \"Voluptas corporis id maiores blanditiis. Minus iste nostrum vitae voluptas enim consequuntur aliquid. Maiores adipisci qui cum eum et. Accusamus id pariatur quo quibusdam.\",\n        \"partner_compound_id\": null,\n        \"dispense_unit_id\": 62,\n        \"pharmacy_id\": 79,\n        \"no_substitutions\": true,\n        \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n        \"effetive_date\": \"2023-05-10\",\n        \"title\": \"Prescription title example\",\n        \"is_charged_separately\": false\n    }\n]"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/prescriptions","description":"<p>Update cases prescriptions.</p>\n<h1 id=\"payload\">Payload</h1>\n<p>Receives an array of <strong>Prescriptions</strong>.</p>\n<h2 id=\"prescription-properties\">Prescription Properties</h2>\n<p><strong>Important</strong>: a prescription object must always contain <strong>exactly one</strong> drug type ID from the following:</p>\n<p>[<code>partner_medication_id</code>, <code>partner_compound_id</code>, <code>partner_supply_id</code>, <code>dosespot_supply_ndc</code>]</p>\n<p><strong>Note</strong>: We strongly advise asking our medical team to add medications to your company's dashboard so it's easier to manage prescriptions details from there. Should you need to add a one-time-only medication, you can use the dosespot_medication_id to reference a Dosespot medication directly.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_compound_id</td>\n<td>uuid</td>\n<td>Partner compound ID. Check <strong>Partners &gt; Compounds</strong> to get a <code>partner_compound_id</code> for a given compound. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_supply_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_medication_id</td>\n<td>uuid</td>\n<td>Partner medication ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_medication_id</code> and <code>partner_supply_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_supply_id</td>\n<td>uuid</td>\n<td>Partner supply ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_medication_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>dosespot_supply_ndc</td>\n<td>string</td>\n<td>Dosespot Supply NDC code. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_medication_id</code> and <code>partner_supply_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer (from 0 to 99)</td>\n<td>Total of refills for the given medication * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n<td>Medication quantity string representing a float number (from 0 to 9999999999) <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer (from 0 to 365)</td>\n<td>Number of days of supply of the medication provided - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string(140)</td>\n<td>Instructions about how the medication is administered <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the prescription</td>\n</tr>\n<tr>\n<td>no_substitutions</td>\n<td>boolean</td>\n<td>Whether or not a medication or compound can be changed</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n<td>- <strong>Medication</strong> (prescription with a <code>dosespot_medication_id</code> included): each medication has one associated dispense unit ID. To get the dispense unit ID associated with a given medication check <strong>Partners &gt; Medications &gt; Get details for a specific medication</strong>;  <br />  <br />- <strong>Compound</strong> (prescription with <code>partner_compound_id</code> included): compounds can be associated with any available dispense unit ID. For a list of all available dispense units check <strong>Partners &gt; Dispense Units</strong>. * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer*</td>\n<td>Pharmacy where the prescription must be sent to. Check <strong>Partners &gt; Pharmacies &gt; Get pharmacies</strong> to get a list of all pharmacies available</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>string</td>\n<td>Date from which prescription is effective (time will always be 00:00:00). Format: <code>Y-m-d</code></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td>The prescription ordering</td>\n</tr>\n<tr>\n<td>is_charged_separately</td>\n<td>boolean</td>\n<td>Allow to charge the precription separateley</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","prescriptions"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"ba7a08bc-c52b-4a29-98e2-3380b472490c"},{"name":"Update case prescription","id":"8b071650-c328-4069-bec3-fd9f05965184","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"refills\": 50,\n    \"quantity\": \"1779333.590\",\n    \"days_supply\": 47,\n    \"directions\": \"Voluptas corporis id maiores blanditiis. Maiores adipisci qui cum eum et. Accusamus id pariatur quo quibusdam.\",\n    \"dispense_unit_id\": 62,\n    \"pharmacy_id\": 79,\n    \"no_substitutions\": true,\n    \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n    \"effective_date\": \"2023-05-10\",\n    \"title\": \"Prescription title example\",\n    \"order\": 1,\n    \"is_charged_separately\": true\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/prescriptions/:prescription_id","description":"<p>Update a specific case prescription.</p>\n<h1 id=\"payload\">Payload</h1>\n<p>Receives an array of <strong>Prescriptions</strong>.</p>\n<h2 id=\"prescription-properties\">Prescription Properties</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refills</td>\n<td>integer (from 0 to 99)</td>\n<td>Total of refills for the given medication * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n<td>Medication quantity string representing a float number (from 0 to 9999999999) <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer (from 0 to 365)</td>\n<td>Number of days of supply of the medication provided - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string(140)</td>\n<td>Instructions about how the medication is administered <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the prescription</td>\n</tr>\n<tr>\n<td>no_substitutions</td>\n<td>boolean</td>\n<td>Whether or not a medication or compound can be changed</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n<td>- <strong>Medication</strong> (prescription with a <code>dosespot_medication_id</code> included): each medication has one associated dispense unit ID. To get the dispense unit ID associated with a given medication check <strong>Partners &gt; Medications &gt; Get details for a specific medication</strong>;  <br />  <br />- <strong>Compound</strong> (prescription with <code>partner_compound_id</code> included): compounds can be associated with any available dispense unit ID. For a list of all available dispense units check <strong>Partners &gt; Dispense Units</strong>. * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n<td>Pharmacy where the prescription must be sent to. Check <strong>Partners &gt; Pharmacies &gt; Get pharmacies</strong> to get a list of all pharmacies available</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>string</td>\n<td>Date from which prescription is effective (time will always be 00:00:00). Format: <code>Y-m-d</code></td>\n</tr>\n<tr>\n<td>is_charged_separately</td>\n<td>boolean</td>\n<td>Allow to charge the prescription separately</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","prescriptions",":prescription_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"description":{"content":"<p>(Required) Case Prescription ID</p>\n","type":"text/plain"},"type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"prescription_id"}]}},"response":[],"_postman_id":"8b071650-c328-4069-bec3-fd9f05965184"},{"name":"Create case prescription","id":"89fd4363-de35-448a-ac6a-4eed10bb9683","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"dosespot_medication_id\": 310964,\n    \"refills\": 50,\n    \"quantity\": \"1779333.590\",\n    \"days_supply\": 47,\n    \"directions\": \"Voluptas corporis id maiores blanditiis. Minus iste nostrum vitae voluptas enim consequuntur aliquid. Maiores adipisci qui cum eum et. Accusamus id pariatur quo quibusdam.\",\n    \"partner_compound_id\": null,\n    \"dispense_unit_id\": 62,\n    \"pharmacy_id\": 79,\n    \"no_substitutions\": true,\n    \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n    \"effective_date\": \"2023-05-10\",\n    \"title\": \"Prescription title example\",\n    \"is_charged_separately\": true\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/prescriptions","description":"<p>Create a case prescription.</p>\n<h1 id=\"payload\">Payload</h1>\n<p>Receives an object of <strong>Prescription</strong>.</p>\n<h2 id=\"prescription-properties\">Prescription Properties</h2>\n<p><strong>Important</strong>: a prescription object must always contain <strong>exactly one</strong> drug type ID from the following:</p>\n<p>[<code>partner_medication_id</code>, <code>partner_compound_id</code>, <code>partner_supply_id</code>, <code>dosespot_supply_ndc</code>]</p>\n<p><strong>Note</strong>: We strongly advise asking our medical team to add medications to your company's dashboard so it's easier to manage prescriptions details from there. Should you need to add a one-time-only medication, you can use the dosespot_medication_id to reference a Dosespot medication directly.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_compound_id</td>\n<td>uuid</td>\n<td>Partner compound ID. Check <strong>Partners &gt; Compounds</strong> to get a <code>partner_compound_id</code> for a given compound. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_supply_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_medication_id</td>\n<td>uuid</td>\n<td>Partner medication ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_medication_id</code> and <code>partner_supply_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_supply_id</td>\n<td>uuid</td>\n<td>Partner supply ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_medication_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>dosespot_supply_ndc</td>\n<td>string</td>\n<td>Dosespot Supply NDC code. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_medication_id</code> and <code>partner_supply_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer (from 0 to 99)</td>\n<td>Total of refills for the given medication * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n<td>Medication quantity string representing a float number (from 0 to 9999999999) <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer (from 0 to 365)</td>\n<td>Number of days of supply of the medication provided - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string(140)</td>\n<td>Instructions about how the medication is administered <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the prescription</td>\n</tr>\n<tr>\n<td>no_substitutions</td>\n<td>boolean</td>\n<td>Whether or not a medication or compound can be changed</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n<td>- <strong>Medication</strong> (prescription with a <code>dosespot_medication_id</code> included): each medication has one associated dispense unit ID. To get the dispense unit ID associated with a given medication check <strong>Partners &gt; Medications &gt; Get details for a specific medication</strong>;  <br />  <br />- <strong>Compound</strong> (prescription with <code>partner_compound_id</code> included): compounds can be associated with any available dispense unit ID. For a list of all available dispense units check <strong>Partners &gt; Dispense Units</strong>. * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer*</td>\n<td>Pharmacy where the prescription must be sent to. Check <strong>Partners &gt; Pharmacies &gt; Get pharmacies</strong> to get a list of all pharmacies available</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>string</td>\n<td>Date from which prescription is effective (time will always be 00:00:00). Format: <code>Y-m-d</code></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td>The prescription ordering</td>\n</tr>\n<tr>\n<td>is_charged_separately</td>\n<td>boolean</td>\n<td>Allow to charge the prescription separately</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"prescription-status-flow\">Prescription Status Flow</h3>\n<p><code>pending</code>: When prescription is created on MDI side and not synced with Dosespot yet;<br /><code>processing</code>: When MDI receives the Dosespot ID and send through the Dosespot the prescription to Pharmacy;<br /><code>completed</code>: When Dosespot responds to the MDI that this prescription has been verified by the pharmacy;<br /><code>cancelled</code>: When a doctor cancel the prescription (<em>when it was synced with Dosespot we try to cancel it there too</em>)</p>\n<img src=\"https://content.pstmn.io/f2e85db2-8cd9-4f25-ae04-8e72d17fdb0a/aW1hZ2UucG5n\" width=\"1637\" height=\"421\" />","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","prescriptions"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"89fd4363-de35-448a-ac6a-4eed10bb9683"},{"name":"Delete case prescription","id":"b629a777-c96c-4cd8-b4a3-9a9f92467685","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/prescriptions/:prescription_id","description":"<p>Delete a specific case prescription.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","prescriptions",":prescription_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"afdfd959-fbed-4064-8124-74b7f4e60548","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"id":"67c751f5-f0e1-4960-8333-f1c929e53ab7","description":{"content":"<p>(Required) Case Prescription ID</p>\n","type":"text/plain"},"type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"prescription_id"}]}},"response":[],"_postman_id":"b629a777-c96c-4cd8-b4a3-9a9f92467685"},{"name":"Cancel case prescription","id":"c1bd3e91-96ab-4a10-8e82-1cfdf226a83d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"reason","value":"Lorem ipsum","description":"<p>Reason to cancel this cancel Prescripion (Nonobligatory)</p>\n","type":"text"}]},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/prescriptions/:prescription_id/cancel","description":"<p>Cancels a specific case prescription.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","prescriptions",":prescription_id","cancel"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8f604798-c879-4686-bd3b-27669a1cdc97","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"id":"5716c3d2-ac11-4271-93f1-0f531b940c51","description":{"content":"<p>(Required) Case Prescription ID</p>\n","type":"text/plain"},"type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"prescription_id"}]}},"response":[],"_postman_id":"c1bd3e91-96ab-4a10-8e82-1cfdf226a83d"},{"name":"Get case prescriptions","id":"f384b50f-8239-431d-8372-b7e1140adf49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/prescriptions","description":"<p>Return all prescriptions for a given case ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","prescriptions"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"99bdc89e-28be-468d-bbb4-ade1e5ed15c1","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"f384b50f-8239-431d-8372-b7e1140adf49"},{"name":"Get case prescription events","id":"26e603e0-91db-43e2-9320-a7b458e7e998","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/prescriptions/:prescription_id/events?page=1&per_page=50","description":"<p>Return all prescriptions events for a given case prescription ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","prescriptions",":prescription_id","events"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"50"}],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"description":{"content":"<p>(Required) Prescription ID</p>\n","type":"text/plain"},"type":"any","value":"d65549f4-3617-4b7f-9b9b-788c9a044f5b","key":"prescription_id"}]}},"response":[],"_postman_id":"26e603e0-91db-43e2-9320-a7b458e7e998"},{"name":"Update case prescriptions statuses","id":"6a896120-5d7c-4f9e-a8f9-1d184da1af84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/prescriptions/status","description":"<p>Update cases prescriptions statuses. In case the encounter has all prescriptions as \"pharmacy_verified\" it will also set the case as completed.<br />In case it finds an error in any of the prescription statuses, it will set the case to support.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","prescriptions","status"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c6d2e9bb-5758-46c4-bbde-bbd8a6f81b3d","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"6a896120-5d7c-4f9e-a8f9-1d184da1af84"},{"name":"Resubmit case prescription","id":"253d2738-c912-4f9f-b3fb-467062f313e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"pharmacy_id\": 4351,\n    \"offering_id\": \"fef07ab6-28ef-489e-9782-6885d12cc905\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/prescriptions/:prescription_id/resubmit","description":"<p>Resubmit the case prescription.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n<td>Dosespot Pharmacy ID</td>\n</tr>\n<tr>\n<td>offering_id</td>\n<td>uuid</td>\n<td>The new offering id to be created</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","prescriptions",":prescription_id","resubmit"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"description":{"content":"<p>(Required) Case Prescription ID</p>\n","type":"text/plain"},"type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"prescription_id"}]}},"response":[],"_postman_id":"253d2738-c912-4f9f-b3fb-467062f313e0"},{"name":"Cancel case prescriptions","id":"dc193e2d-e904-4224-8258-22ae0ce5cafb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/prescriptions/cancel","description":"<p>Cancel cases prescriptions and move the case to assigned.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","prescriptions","cancel"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"838e3d3b-b0c6-40b1-b9ba-37171d269095","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"dc193e2d-e904-4224-8258-22ae0ce5cafb"},{"name":"Reset case prescriptions","id":"4687e5c8-8413-4276-b0d0-a21498763977","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/prescriptions/reset","description":"<p>Update cases prescriptions statuses. In case the encounter has all prescriptions as \"pharmacy_verified\" it will also set the case as completed.<br />In case it finds an error in any of the prescription statuses, it will set the case to support.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","prescriptions","reset"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e1453347-7468-4502-a8e3-52393c19ee7f","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"4687e5c8-8413-4276-b0d0-a21498763977"}],"id":"fc7502de-54b3-4d27-980f-c3183fafba98","_postman_id":"fc7502de-54b3-4d27-980f-c3183fafba98","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Offerings","item":[{"name":"Diseases","item":[{"name":"Get case diseases","id":"f612a532-d064-4f6a-aefd-147995e4a54c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/:offering/diseases","description":"<p>List all diseases for a given case prescription/offering ID.</p>\n","urlObject":{"path":["v1","clinician","cases",":case_id","offerings",":offering","diseases"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"11233488-0cd5-4cd3-8ae3-3506a0fd6504","type":"any","value":"177ad982-7495-48c8-b78e-86eec4b6a585","key":"case_id"},{"id":"5677d416-9a03-47dc-ab0e-f1a547e55e41","type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"offering"}]}},"response":[],"_postman_id":"f612a532-d064-4f6a-aefd-147995e4a54c"},{"name":"Delete diseases","id":"68abc03d-91ca-48c5-b6d4-445f23d40f6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/:offering/diseases/:disease_id","description":"<p>Delete disease from a case prescription/offering.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings",":offering","diseases",":disease_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f82d6c82-9a24-416d-ba8f-e57e3b904796","type":"any","value":"177ad982-7495-48c8-b78e-86eec4b6a585","key":"case_id"},{"id":"6de400f2-318d-49e2-8ea9-256ee00da28c","type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"offering"},{"id":"9b47d0cd-1cd9-4802-a19d-2ca7e6142862","type":"any","value":"0b333a71-8e31-4b5d-834c-27f724ac14ff","key":"disease_id"}]}},"response":[],"_postman_id":"68abc03d-91ca-48c5-b6d4-445f23d40f6b"},{"name":"Attach new diseases","id":"7a80e117-2145-4bef-a2ed-a3db3c40041b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"disease_id\": \"0b333a71-8e31-4b5d-834c-27f724ac14ff\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/:offering/diseases","description":"<p>Post a disease to the case prescription/offering.</p>\n<h1 id=\"payload\">Payload</h1>\n<p>Note: Use the \"Get all Disease Codes\" endpoint under the metadata folder to find a list of all availables UUID to be used. Once you know a disease id, you can also retrieve its information through the API using the Get Disease route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>disease_id</td>\n<td>UUID (<strong>required)</strong></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings",":offering","diseases"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d356f395-c6ea-4feb-a18d-bc017c02a66e","type":"any","value":"a6ae207c-fb6f-45f7-9752-6f85c839b5f6","key":"case_id"},{"id":"bdc5c94f-56a1-4add-be68-578275e71e58","type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"offering"}]}},"response":[],"_postman_id":"7a80e117-2145-4bef-a2ed-a3db3c40041b"},{"name":"Set primary disease","id":"4e83c6d3-5f0a-4dbb-ada0-944935aa9c9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/:offering/diseases/:disease_id/primary","description":"<p>Set a case prescription/offering disease as primary to be sent to Dosespot.</p>\n","urlObject":{"path":["v1","clinician","cases",":case_id","offerings",":offering","diseases",":disease_id","primary"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6fc320f4-0c33-421a-949e-6af59fac1061","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"177ad982-7495-48c8-b78e-86eec4b6a585","key":"case_id"},{"id":"62cc60e3-066e-4f39-8640-979fcaa81035","type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"offering"},{"id":"75811ca8-c116-4f85-aa7a-55f493352f12","description":{"content":"<p>Disease ID</p>\n","type":"text/plain"},"type":"any","value":"28932569-d923-4d47-ae0f-8e0ef1978a70","key":"disease_id"}]}},"response":[],"_postman_id":"4e83c6d3-5f0a-4dbb-ada0-944935aa9c9b"}],"id":"174dd84d-f8d3-48e3-8bdb-95ef7251f088","_postman_id":"174dd84d-f8d3-48e3-8bdb-95ef7251f088","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Update case offering","id":"893bd722-0a8c-42cf-9e77-60fb0be23900","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"quantity\": 3,\n        \"directions\": \"One per day\",\n        \"day_supply\": 2\n    }\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/:offering_id","description":"<p>Update a specific case offering.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings",":offering_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"fd40308d-349d-46bc-83b0-eee55d873977","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"id":"574b835c-54cd-4b6f-ada1-d14551564184","type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"offering_id"}]}},"response":[],"_postman_id":"893bd722-0a8c-42cf-9e77-60fb0be23900"},{"name":"Create case offering","id":"f2667232-9a8d-4040-8227-4a204cde98a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"offering_id\": \"dbcc21c5-53d4-4da2-8cf6-7156563a035c\",\n\n    \"active\": true,\n    \"is_additional_approval_needed\": true,\n    \"title\": \"Liraglutide 6 mg/mL (15 mL) title\",\n    \"clinical_note\": \"Notes from the MD.\",\n    \"thank_you_note\": \"Thank you!\",\n    \"order\": 1,\n    \"metadata\": \"Metadata\",\n    \"upcharge\": 1.01,\n    \"clinician_extra_fee\": 1.02,\n    \n    \"product\": {\n        \"sku\": \"12745\",\n        \"pharmacy_notes\": \"Notes for the parmacy.\",\n        \"quantity\": 4,\n        \"days_supply\": 2,\n        \"directions\": \"One per day.\"\n    }\n}\n"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings","description":"<p>Create a case offering.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ffbcf843-d605-4667-b110-ed4ba850aa53","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"f2667232-9a8d-4040-8227-4a204cde98a9"},{"name":"Delete case offering","id":"21c7e8a9-b3a7-421f-9b38-919aad1f4090","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/:offering_id","description":"<p>Delete a specific case offering.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings",":offering_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"3a7dc4d2-23df-4381-8fae-285102f01f12","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"id":"949bad4b-818d-437f-ad06-7f5339da4325","type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"offering_id"}]}},"response":[],"_postman_id":"21c7e8a9-b3a7-421f-9b38-919aad1f4090"},{"name":"Get case offerings","id":"cec1ec6d-f2ae-446e-bd25-6884250f55e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings","description":"<p>Return all offerings for a given case ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"02599f55-69f5-4315-bd61-0155b61995e2","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"cec1ec6d-f2ae-446e-bd25-6884250f55e0"},{"name":"Get case offerings events","id":"ef24c40b-94c1-4a38-80f5-e53eb2968f85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/:offering_id/events?page=1&per_page=50","description":"<p>Return all offering events for a given case offering ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings",":offering_id","events"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"50"}],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"type":"any","value":"d65549f4-3617-4b7f-9b9b-788c9a044f5b","key":"offering_id"}]}},"response":[],"_postman_id":"ef24c40b-94c1-4a38-80f5-e53eb2968f85"},{"name":"Update case offerings statuses","id":"c8e671cd-815f-401a-a22c-0ce5adc6499a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/status","description":"<p>Update cases offering statuses.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings","status"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"dc5ccf70-0618-49bb-a19c-770481d90f8b","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"c8e671cd-815f-401a-a22c-0ce5adc6499a"},{"name":"Reset case offerings","id":"e0d445c3-6d76-4990-9ba4-96419d50cc93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/reset","description":"<p>Update cases prescriptions statuses. In case the encounter has all prescriptions as \"pharmacy_verified\" it will also set the case as completed.<br />In case it finds an error in any of the prescription statuses, it will set the case to support.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings","reset"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"db959cac-2615-41f4-a1e7-24673aa53d7d","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"e0d445c3-6d76-4990-9ba4-96419d50cc93"},{"name":"Cancel case offerings","id":"7501d637-0216-4066-bf40-2feca6ca8a08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/cancel","description":"<p>Cancel cases prescriptions and move the case to assigned.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings","cancel"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"dbe46ea6-f32d-4494-a3b3-62be4a75d5b5","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"7501d637-0216-4066-bf40-2feca6ca8a08"},{"name":"Resubmit case offering","id":"df672d47-a652-49a4-8d3f-63dea5b0a849","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"pharmacy_id\": 4351,\n    \"offering_id\": \"fef07ab6-28ef-489e-9782-6885d12cc905\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/:prescription_id/resubmit","description":"<p>Resubmit the case prescription.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n<td>Dosespot Pharmacy ID</td>\n</tr>\n<tr>\n<td>offering_id</td>\n<td>uuid</td>\n<td>The new offering id to be created</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings",":prescription_id","resubmit"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"description":{"content":"<p>(Required) Case Prescription ID</p>\n","type":"text/plain"},"type":"any","value":"4564bd63-eb14-4d2f-b95b-1dfd31d6d801","key":"prescription_id"}]}},"response":[],"_postman_id":"df672d47-a652-49a4-8d3f-63dea5b0a849"},{"name":"Get Offerings PDF","id":"a4439bd6-b490-48eb-b40c-396c4406aea0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/pdf?is_automatic_only=false&export_type=file/base64/temporary_link&scope=all/prescriptions/services","description":"<p>Get a case offerings PDF.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>export_type</td>\n<td>string</td>\n<td>The type of response.</td>\n</tr>\n<tr>\n<td>scope</td>\n<td>string</td>\n<td>The type of offerings to be filtered.</td>\n</tr>\n<tr>\n<td>is_automatic_only</td>\n<td>boolean</td>\n<td>Only services with is automatic only flag.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings","pdf"],"host":["https://api.mdintegrations.com"],"query":[{"key":"is_automatic_only","value":"false"},{"key":"export_type","value":"file/base64/temporary_link"},{"key":"scope","value":"all/prescriptions/services"}],"variable":[{"id":"9dfe178a-8d0e-4fec-aec6-50b9fe767b56","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"a4439bd6-b490-48eb-b40c-396c4406aea0"}],"id":"bd4d795e-b4f0-4bef-a4ac-c88305d496ae","_postman_id":"bd4d795e-b4f0-4bef-a4ac-c88305d496ae","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Questions","item":[{"name":"Get case questions","id":"961da280-674e-49ae-a761-dbaaa86f8c8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/questions","description":"<p>Return all questions for a given case ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","questions"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ea9b0fc0-e796-4a92-a693-959f528200f0","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"961da280-674e-49ae-a761-dbaaa86f8c8f"},{"name":"Update question","id":"99665adc-0caf-435c-aecb-9e31132be5c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"question\": \"Are you pregnant?\",\n    \"answer\": \"false\",\n    \"type\": \"boolean\",\n    \"important\": true,\n    \"is_critical\": true,\n    \"display_in_pdf\": true,\n    \"description\": \"Here is the question description\",\n    \"label\": \"Question Label Example\",\n    \"metadata\": \"example of metatada #123 for question\",\n    \"displayed_options\": [\n        \"true\",\n        \"false\"\n    ]\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/questions/:case_question_id","description":"<p>Update a question.</p>\n<h1 id=\"question-properties\">Question Properties</h1>\n<p>For more information about <code>questions</code> and how they affect prescriptions, contact us via email: <a href=\"mailto:mj.serota@gmail.com\">mj.serota@gmail.com</a> and <a href=\"mailto:lepurdy2@gmail.com\">lepurdy2@gmail.com</a></p>\n<p>We are also available through Slack (partner's channel).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>question</td>\n<td>text*</td>\n<td>Question</td>\n</tr>\n<tr>\n<td>answer</td>\n<td>text*</td>\n<td>Answer</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string*</td>\n<td>Question type. Available options: <code>boolean</code>, <code>number</code> or <code>string</code></td>\n</tr>\n<tr>\n<td>important</td>\n<td>boolean</td>\n<td>Flag to set a question as important</td>\n</tr>\n<tr>\n<td>display_in_pdf</td>\n<td>boolean</td>\n<td>Flag to set if this question will be displayed in the case PDF file</td>\n</tr>\n<tr>\n<td>description</td>\n<td>text</td>\n<td>A description for your question</td>\n</tr>\n<tr>\n<td>label</td>\n<td>string(50)</td>\n<td>The question label</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>text</td>\n<td>A metadata field</td>\n</tr>\n<tr>\n<td>displayed_options</td>\n<td>array</td>\n<td>An array of options that were displayed to the patient</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","questions",":case_question_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"},{"description":{"content":"<p>(Required) Case Question ID</p>\n","type":"text/plain"},"type":"any","value":"014d6282-469e-4459-8a22-6cacc0effbc0","key":"case_question_id"}]}},"response":[],"_postman_id":"99665adc-0caf-435c-aecb-9e31132be5c5"}],"id":"4da14ea2-b3e5-4041-b419-4676b8b349a2","_postman_id":"4da14ea2-b3e5-4041-b419-4676b8b349a2","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Clinical Notes","item":[{"name":"Create note","id":"0b264f80-4d65-4381-a6fd-2e63234115d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"text\": \"This is a clinical note.\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/notes","description":"<p>Create a new clinical note for a given case.</p>\n<p>In order to have access to a given patient, the clinician must belong to the partner which the given patient belongs to.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>text</td>\n<td>text*</td>\n<td>Clinical note content.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","notes"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4c84a5ed-7881-46e3-bfe6-09eda4854659","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"45c05b82-e045-4892-810f-581d8a97f7d6","key":"case_id"}]}},"response":[],"_postman_id":"0b264f80-4d65-4381-a6fd-2e63234115d7"},{"name":"Get notes","id":"03d427d5-97d4-414a-8f4a-802f224e83d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/notes","description":"<p>Return all the clinical notes for a given case.</p>\n<p>In order to have access to a given patient, the clinician must belong to the partner which the given patient belongs to.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","notes"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ca649d3d-9ecc-4ee7-8485-9083e284036e","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"45c05b82-e045-4892-810f-581d8a97f7d6","key":"case_id"}]}},"response":[],"_postman_id":"03d427d5-97d4-414a-8f4a-802f224e83d2"}],"id":"77effbf5-4eda-49ba-8f6e-2df1dc885c9d","_postman_id":"77effbf5-4eda-49ba-8f6e-2df1dc885c9d","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Case Status","item":[{"name":"Transfer case to Support","id":"53febf93-517f-4628-b685-089ed23b096d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"There is an issue with this case.\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/support","description":"<p>Transfer case to support.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>reason</td>\n<td>string*</td>\n<td>Support reason description</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","support"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"8cf564ba-9752-4f84-9d29-377ac9ae8aaf","key":"case_id"}]}},"response":[],"_postman_id":"53febf93-517f-4628-b685-089ed23b096d"},{"name":"Set case as Waiting","id":"5e656db9-f60e-43d3-adef-6bc5542454fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"There is an issue with this case.\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/waiting","description":"<p>Set a given case as waiting.</p>\n<p>Waiting cases indicate that the clinician is waiting for a patient action (reply to a message, attach a blood exam, etc)</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>reason</td>\n<td>string*</td>\n<td>Reason description</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","waiting"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"8cf564ba-9752-4f84-9d29-377ac9ae8aaf","key":"case_id"}]}},"response":[],"_postman_id":"5e656db9-f60e-43d3-adef-6bc5542454fa"},{"name":"Set case as Completed","id":"c170aae4-d66d-4150-a07e-7b2fa05f814e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/completed","description":"<p>Set a given case as completed.</p>\n<p><strong>Note:</strong> When this endpoint is called all case prescriptions will be deleted.</p>\n<p>A case goes to completed through successfully sending in a prescription or when moved manually from assigned clinician.</p>\n<p>In case something goes wrong with the <strong>DoseSpot</strong> integration then the case will be automatically added to the <strong>support</strong> queue.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","completed"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"c170aae4-d66d-4150-a07e-7b2fa05f814e"},{"name":"Set case as Processing","id":"eac6080b-3e5c-4ef9-92f0-de81d645918c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/processing","description":"<p>Set a given case as processing.</p>\n<p>Prescriptions will be sent to Dosespot and while there is no confirmation from <strong>DoseSpot</strong>, the case remains in Processing status.</p>\n<p>In case something goes wrong with the <strong>DoseSpot</strong> integration then the case will be automatically added to the <strong>support</strong> queue.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","processing"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"eac6080b-3e5c-4ef9-92f0-de81d645918c"},{"name":"Set case as Approved","id":"00acbab0-ff12-4cf9-9c6b-b60157998ea8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"thank_you_message\": \"A thank you message to be sent when the case goes to processing status\",\n    \"extra_message\": \"A extra message to be sent when the case goes to processing status\",\n    \"clinical_note\": \"A clinical note to be added to the case\",\n    \"files\": [\n        \"99821097-d46c-49cd-a70d-b29a9b7d1231\"\n    ],\n    \"workflows\": [\n        {\n            \"key\": \"patient-av-request\"\n        },\n        {\n            \"key\": \"case-file-attach-request\",\n            \"reason\": \"Because I need.\"\n        },\n        {\n            \"key\": \"offering-recommendation\",\n            \"related_offerings\": [\n                {\n                    \"offering_id\": \"39c9524f-1723-492b-879e-75beaf5393aa\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/approved","description":"<p>Set a given case as Approved status.</p>\n<p>It will create all prescriptions on Dosespot but not send them to the pharmacy yet.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>thank_you_message</td>\n<td>string</td>\n<td>A thank you message to be sent when the case goes to processing status</td>\n</tr>\n<tr>\n<td>extra_message</td>\n<td>string</td>\n<td>An extra message to be sent when the case goes to processing status</td>\n</tr>\n<tr>\n<td>clinical_note</td>\n<td>string</td>\n<td>A clinical note to be added to the case</td>\n</tr>\n<tr>\n<td>files</td>\n<td>array</td>\n<td>Files to be attached and sent as a message to the patient when the case goes to processing status</td>\n</tr>\n<tr>\n<td>files.*</td>\n<td>uuid*</td>\n<td>Valid and existent UUID from files table</td>\n</tr>\n<tr>\n<td>workflows</td>\n<td>array</td>\n<td>Workflows to be executed after the case is approved.</td>\n</tr>\n<tr>\n<td>workflows.*</td>\n<td></td>\n<td>Workflow identifier, e.g. \"patient-av-request\", \"patient-dl-request\", \"patient-exam-request\", \"case-file-attach-request\" and \"offering-recommendation\"</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","approved"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"00acbab0-ff12-4cf9-9c6b-b60157998ea8"},{"name":"Set case as Assigned","id":"06d17df1-1991-40b1-84fe-3ae5e0397aed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/assigned","description":"<p>Set a given case as assigned.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","assigned"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"06d17df1-1991-40b1-84fe-3ae5e0397aed"},{"name":"Set case as Cancelled","id":"469ac40d-dd65-4684-95d2-088995007133","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"reason\": \"This is an example of a cancelled case.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/cancelled","description":"<p>Set a given case as cancelled.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>reason</td>\n<td>string*</td>\n<td>A reason description</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","cancelled"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"469ac40d-dd65-4684-95d2-088995007133"}],"id":"3d3437bf-a587-4f9a-90ed-54adb5b8d04e","_postman_id":"3d3437bf-a587-4f9a-90ed-54adb5b8d04e","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Services","item":[{"name":"Remove services","id":"29eec565-7033-4a58-b07f-303a54850bbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"case_services\": [\n        \"ab72af97-f3fc-41b4-89e3-d4d4800459e3\"\n    ]\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/services/:service_id","description":"<p>Delete case services from a case.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>case_services</td>\n<td>array*</td>\n<td>An array of uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","services",":service_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"ab72af97-f3fc-41b4-89e3-d4d4800459e3","key":"case_id"},{"type":"any","value":"ab72af97-f3fc-41b4-89e3-d4d4800459e9","key":"service_id"}]}},"response":[],"_postman_id":"29eec565-7033-4a58-b07f-303a54850bbf"},{"name":"Get case services","id":"733f4295-7500-42a8-970b-f3e61ee7252a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/services","description":"<p>Get all case services.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","services"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"153b5a55-3d63-41f9-bada-59bc1199ba64","type":"any","value":"ab72af97-f3fc-41b4-89e3-d4d4800459e3","key":"case_id"}]}},"response":[],"_postman_id":"733f4295-7500-42a8-970b-f3e61ee7252a"},{"name":"Get case service events","id":"7d56a552-85d9-4271-9680-88ceb865209e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/services/:service_id/events?page=1&per_page=50","description":"<p>Get case service events.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","services",":service_id","events"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"50"}],"variable":[{"type":"any","value":"ab72af97-f3fc-41b4-89e3-d4d4800459e3","key":"case_id"},{"type":"any","value":"961639e1-3e5f-4360-a3c2-7c88daa3226d","key":"service_id"}]}},"response":[],"_postman_id":"7d56a552-85d9-4271-9680-88ceb865209e"},{"name":"Add new services","id":"d2f6f0e7-00cb-4b61-b6d7-21b056fa3f78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Some title\",\n    \"description\": \"Some description\",\n    \"additional_note\": \"Some additional note\",\n    \"service_type\": \"lab order\",\n    \"clinical_notes\": \"Some clinical note\",\n    \"thank_you_note\": \"Some thank you note\",\n    \"pharmacy_fax_number\": \"+587965462316\",\n    \"include_drivers_license\": true\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/services","description":"<p>Update cases prescriptions.</p>\n<h1 id=\"payload\">Payload</h1>\n<p>Receives an array of <strong>Services</strong>.</p>\n<p><strong>## Service Properties</strong></p>\n<p><strong>Important</strong>: a service object can include a <strong>partner_service_id</strong> in order to use predefined information from a partner service.</p>\n<p><strong>Note</strong>: Partner services can be found under your company's offerings from the Partners Website. Once you know a partner's service id, you can also retrieve its information through the api using the <strong>Get Service</strong> route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>service_type</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>additional_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>partner_service_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>clinical_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_fax_number</td>\n<td>string</td>\n</tr>\n<tr>\n<td>include_drivers_license</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","services"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"0dcab951-55f2-404c-970a-8703a5064d5a","key":"case_id"}]}},"response":[],"_postman_id":"d2f6f0e7-00cb-4b61-b6d7-21b056fa3f78"},{"name":"Update case services","id":"5e9dbb68-8466-4418-8407-6264232ec28c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"additional_note\": \"Do not accept other brands.\",\r\n    \"description\": \"Pregnancy test\",\r\n    \"service_type\" : \"device\",\r\n    \"title\": \"Qualitative hCG blood test\",\r\n    \"clinical_notes\": \"Follow instructions on the package.\",\r\n    \"thank_you_note\": \"Some thank you note\",\r\n    \"pharmacy_fax_number\": \"+587965462316\",\r\n    \"include_drivers_license\": true,\r\n    \"order\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/services/:service_id","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","services",":service_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"308fc7bc-3c01-4138-bc5d-0ea974c18370","key":"case_id"},{"description":{"content":"<p>Case Service ID</p>\n","type":"text/plain"},"type":"any","value":"d26bea7a-fb76-48e6-a125-8c8b981eab68","key":"service_id"}]}},"response":[],"_postman_id":"5e9dbb68-8466-4418-8407-6264232ec28c"}],"id":"725e7595-b6fd-4ada-8e65-e6193b09b239","_postman_id":"725e7595-b6fd-4ada-8e65-e6193b09b239","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Orders","item":[{"name":"Get Case Orders","id":"987057f6-9a91-4ebc-b683-1276891dd0c0","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/orders","description":"<p>Return a list of case's orders.</p>\n","urlObject":{"path":["v1","clinician","cases",":case_id","orders"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"49823ff6-2362-4067-b813-652b964cb89e","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"case_id"}]}},"response":[],"_postman_id":"987057f6-9a91-4ebc-b683-1276891dd0c0"},{"name":"Get Case Order Events","id":"6de28e80-2260-44fd-b075-ac11acdba47e","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/orders/:order/events?page=1&per_page=50","description":"<p>Return a list of order's events.</p>\n","urlObject":{"path":["v1","clinician","cases",":case_id","orders",":order","events"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"50"}],"variable":[{"id":"f833efbb-c61d-430f-aa5e-2f7c107b7e7d","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"case_id"},{"id":"c4972745-688e-4f97-bbda-250a314fab3c","type":"any","value":"9b6f16f8-8a4f-4168-933a-4f2c0f8a5628","key":"order"}]}},"response":[],"_postman_id":"6de28e80-2260-44fd-b075-ac11acdba47e"},{"name":"Update Case Order","id":"dd8eb583-b285-4a67-9ec1-aef30e100704","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"date\": \"2026-01-01\",\n    \"payment_status\": \"paid\",\n    \"payment_date\": \"2026-01-01\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/orders/:order_id","description":"<p>Updates the case order;</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date</td>\n<td>date</td>\n</tr>\n<tr>\n<td>payment_status</td>\n<td>string</td>\n</tr>\n<tr>\n<td>payment_date</td>\n<td>date</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","cases",":case_id","orders",":order_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e8fc2135-6109-4630-98e9-4ba7535a4de1","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"case_id"},{"id":"5535f94f-83d5-46b6-8413-943cf0438f6a","type":"any","value":"9b6f16f8-8a4f-4168-933a-4f2c0f8a5628","key":"order_id"}]}},"response":[],"_postman_id":"dd8eb583-b285-4a67-9ec1-aef30e100704"},{"name":"Submit Case Order","id":"324907ff-8a83-41a5-85a4-1f19670d6950","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/orders/:order_id/submit","description":"<p>Submit the order to be created in the PharmacyApi.</p>\n","urlObject":{"path":["v1","clinician","cases",":case_id","orders",":order_id","submit"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9ba91710-6749-4763-8e6c-7c46496e73d4","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"case_id"},{"id":"f6691e82-9871-48a1-9b11-5a4cf89d5ff3","type":"any","value":"9b6f16f8-8a4f-4168-933a-4f2c0f8a5628","key":"order_id"}]}},"response":[],"_postman_id":"324907ff-8a83-41a5-85a4-1f19670d6950"},{"name":"Cancel Case Order","id":"700dd94a-e128-4b88-aaae-31d3ba298da8","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/orders/:order_id/cancel","description":"<p>Cancels the order in the PharmacyApi.</p>\n","urlObject":{"path":["v1","clinician","cases",":case_id","orders",":order_id","cancel"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7a611735-2190-417f-a9bf-b6c1a15686c0","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"case_id"},{"id":"7e954c6e-bbd8-4657-ae18-991cd7adb937","type":"any","value":"9b6f16f8-8a4f-4168-933a-4f2c0f8a5628","key":"order_id"}]}},"response":[],"_postman_id":"700dd94a-e128-4b88-aaae-31d3ba298da8"}],"id":"33e7387b-cc49-430b-a1b2-cb7d64e49be2","_postman_id":"33e7387b-cc49-430b-a1b2-cb7d64e49be2","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Events","item":[{"name":"Get case events","id":"a2a46042-a286-45e3-bca4-6570826da290","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/events?page=1&per_page=50","description":"<p>Returns a list of events related to the case.</p>\n","urlObject":{"path":["v1","clinician","cases",":case_id","events"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"50"}],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"0dcab951-55f2-404c-970a-8703a5064d5a","key":"case_id"}]}},"response":[],"_postman_id":"a2a46042-a286-45e3-bca4-6570826da290"},{"name":"Add case events","id":"c88b3fef-6cab-435a-bc9a-4b66e3042cc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"custom\",\n    \"old\": \"{ \\\"any\\\": \\\"value\\\" }\",\n    \"new\": \"{ \\\"any\\\": \\\"value\\\" }\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/events","description":"<p>Insert a new audit event to the related case.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","events"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"fd73d823-e716-4651-a720-3d22cba2e7ea","key":"case_id"}]}},"response":[],"_postman_id":"c88b3fef-6cab-435a-bc9a-4b66e3042cc3"},{"name":"Add clinician events","id":"51075453-a9de-4572-8db3-cc7c9df3cefd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"unlock-phi\",\n    \"old\": \"{ \\\"any\\\": \\\"value\\\" }\",\n    \"new\": \"{ \\\"any\\\": \\\"value\\\" }\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/clinicians/:clinician_id/events","description":"<p>Returns a list of events related to the case.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","clinicians",":clinician_id","events"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e75a7cff-c75d-44a1-b549-c3f689986425","type":"any","value":"f2fbeae4-4473-4cc8-8199-507ddf0f12ba","key":"clinician_id"}]}},"response":[],"_postman_id":"51075453-a9de-4572-8db3-cc7c9df3cefd"}],"id":"852c70cd-0a88-46dd-908a-605460394694","_postman_id":"852c70cd-0a88-46dd-908a-605460394694","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Pinned Cases","item":[{"name":"Attach case","id":"2e1a8ce8-150f-4d9c-90b5-44b6b8317394","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content","value":"multipart/form-data;"}],"body":{"mode":"raw","raw":"{\n    \"clinician_id\": \"33778db3-8707-4628-81af-4c6451f9f0b6\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/pin","description":"<p>Attach a case to the logged in clinician or a clinician passed as a parameter.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param</strong></th>\n<th><strong>type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>reason</td>\n<td>string(255)</td>\n<td>A reason for the case pinned.</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n<td>Clinician ID to attach the case to. If not passed then the logged in clinician will be attached.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","pin"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"0d9ff3b4-e7a0-4800-a42e-b9aad074679e","key":"case_id"}]}},"response":[],"_postman_id":"2e1a8ce8-150f-4d9c-90b5-44b6b8317394"},{"name":"Get pinned cases to me","id":"774da12f-dde6-422d-aed6-0e3cd9a98923","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/cases/pinned/to-me?is_live=1&is_sandbox=0","description":"<p>Get all cases pinned to the logged in clinican</p>\n<h2 id=\"filters\">Filters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partners</td>\n<td>array(uuid)</td>\n<td>If passed, only cases will belong to this partner.</td>\n</tr>\n<tr>\n<td>clinicians</td>\n<td>array(uuid)</td>\n<td>If passed, only cases assigned to this clinician will be displayed.</td>\n</tr>\n<tr>\n<td>states</td>\n<td>array(uuid)</td>\n<td>If passed, only cases with patients from these states will be returned.</td>\n</tr>\n<tr>\n<td>diseases</td>\n<td>array(uuid)</td>\n<td>If passed, only cases with these diseases will be returned.</td>\n</tr>\n<tr>\n<td>case_type</td>\n<td>string ('new' or \"follow-up')</td>\n<td>If passed, only cases from the type will be returned</td>\n</tr>\n<tr>\n<td>is_sync</td>\n<td>boolean</td>\n<td>If passed, only cases that are Routine or Extended Care will be returned.</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>string</td>\n<td>Sorts by created_at from the Case Status, desc or asc.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array(uuid)</td>\n<td>Filter by an array of Tag UUID.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases","pinned","to-me"],"host":["https://api.mdintegrations.com"],"query":[{"key":"is_live","value":"1"},{"key":"is_sandbox","value":"0"},{"disabled":true,"key":"case_type","value":"new"},{"disabled":true,"key":"states[]","value":"80fea5e1-1c09-4bba-9bd7-6f08259bd005"},{"disabled":true,"key":"is_additional_approval_needed","value":"true"},{"disabled":true,"key":"is_sync","value":"true"}],"variable":[]}},"response":[],"_postman_id":"774da12f-dde6-422d-aed6-0e3cd9a98923"},{"name":"Get pinned cases by me","id":"f047afe8-fb7e-4c25-ba79-0d7bd4680a28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/cases/pinned/by-me?is_live=1&is_sandbox=0","description":"<p>Get all cases pinned by the the logged in clinican</p>\n<h2 id=\"filters\">Filters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partners</td>\n<td>array(uuid)</td>\n<td>If passed, only cases will belong to this partner.</td>\n</tr>\n<tr>\n<td>clinicians</td>\n<td>array(uuid)</td>\n<td>If passed, only cases assigned to this clinician will be displayed.</td>\n</tr>\n<tr>\n<td>states</td>\n<td>array(uuid)</td>\n<td>If passed, only cases with patients from these states will be returned.</td>\n</tr>\n<tr>\n<td>diseases</td>\n<td>array(uuid)</td>\n<td>If passed, only cases with these diseases will be returned.</td>\n</tr>\n<tr>\n<td>case_type</td>\n<td>string ('new' or \"follow-up')</td>\n<td>If passed, only cases from the type will be returned</td>\n</tr>\n<tr>\n<td>is_sync</td>\n<td>boolean</td>\n<td>If passed, only cases that are Routine or Extended Care will be returned.</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>string</td>\n<td>Sorts by created_at from the Case Status, desc or asc.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array(uuid)</td>\n<td>Filter by an array of Tag UUID.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases","pinned","by-me"],"host":["https://api.mdintegrations.com"],"query":[{"key":"is_live","value":"1"},{"key":"is_sandbox","value":"0"},{"disabled":true,"key":"is_additional_approval_needed","value":"true"},{"disabled":true,"key":"is_sync","value":"true"},{"disabled":true,"key":"case_type","value":"new"}],"variable":[]}},"response":[],"_postman_id":"f047afe8-fb7e-4c25-ba79-0d7bd4680a28"},{"name":"Unpin case pinned to me","id":"6c8091f3-4a39-4e8c-b97b-fcae70d32dd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"clinician_id\": \"0d9ff3b4-e7a0-4800-a42e-b9aad074679e\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/unpin/to-me","description":"<p>Detach a case pinned to the logged in clinician.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","unpin","to-me"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"0d9ff3b4-e7a0-4800-a42e-b9aad074679e","key":"case_id"}]}},"response":[],"_postman_id":"6c8091f3-4a39-4e8c-b97b-fcae70d32dd5"},{"name":"Unpin case pinned by me","id":"3aae3a22-96ba-4806-83dd-0fd4d4e7e2ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/unpin/by-me","description":"<p>Detach a case pinned by the logged in clinician.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","unpin","by-me"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a70f7b9b-6f2a-40ad-94f3-e21c8abdae55","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"0d9ff3b4-e7a0-4800-a42e-b9aad074679e","key":"case_id"}]}},"response":[],"_postman_id":"3aae3a22-96ba-4806-83dd-0fd4d4e7e2ca"}],"id":"189c2487-64e4-49be-882f-c0cb777329f0","description":"<p>The files endpoints from MD Integrations allows you to easily upload, get and delete image files.</p>\n<p>If you want to <strong>attach files to cases</strong> or <strong>attach files to messages</strong>, first you will need to upload the file using <code>POST /partners/files</code> described in this section. After uploading a file, you will obtain the <code>file_id</code> information, which is the required information in order to attach files to cases or messages.</p>\n<h2 id=\"attach-files-to-cases\">Attach Files To Cases</h2>\n<p>Files can be attached to cases through <strong>Clinicians &gt; Cases &gt; Files</strong>.</p>\n<h2 id=\"attach-files-to-messages\">Attach Files To Messages</h2>\n<p>Files can be attached to messages through <strong>Clinicians &gt; Cases &gt; Messages</strong>.</p>\n<h2 id=\"response\">Response</h2>\n<p>The request response to upload a file contains the following information:</p>\n<ul>\n<li><code>file_id</code>: corresponding created file ID. This information is used to attach files to cases or messages;</li>\n<li><code>name</code>: file name;</li>\n<li><code>url</code>: URL from original file;</li>\n<li><code>url_thumbnail</code>: URL from thumbnail image with <strong>180x110px</strong>.</li>\n</ul>\n","_postman_id":"189c2487-64e4-49be-882f-c0cb777329f0","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tags","item":[{"name":"Attach tag","id":"f2254ccc-64b7-4370-85c2-fd785da652b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"Notes to add to tag\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/tags/:tag_id","description":"<p>Attach a tag to case.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notes</td>\n<td>string</td>\n<td>Allow to add a note when attaching tags</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","tags",":tag_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"2df99685-5cfd-49ae-83fa-79d5ff014813","key":"case_id"},{"type":"any","value":"db15a5b7-853a-4a45-aee9-6085bc32b7fc","key":"tag_id"}]}},"response":[],"_postman_id":"f2254ccc-64b7-4370-85c2-fd785da652b7"},{"name":"Detach tag","id":"d2aace9d-e270-46d8-8463-ef278ac3d14c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"A note example\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/tags/:tag_id","description":"<p>Detach a tag from case.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","tags",":tag_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"2df99685-5cfd-49ae-83fa-79d5ff014813","key":"case_id"},{"type":"any","value":"db15a5b7-853a-4a45-aee9-6085bc32b7fc","key":"tag_id"}]}},"response":[],"_postman_id":"d2aace9d-e270-46d8-8463-ef278ac3d14c"},{"name":"Update tag note","id":"f7dfbfa3-ac36-466a-b06f-b4a1e76ccc3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"Notes to add to tag\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/tags/:tag_id","description":"<p>Allow to update the tag note related to case.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notes</td>\n<td>string*</td>\n<td>Allow to add a note when attaching tags</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","tags",":tag_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"2df99685-5cfd-49ae-83fa-79d5ff014813","key":"case_id"},{"type":"any","value":"db15a5b7-853a-4a45-aee9-6085bc32b7fc","key":"tag_id"}]}},"response":[],"_postman_id":"f7dfbfa3-ac36-466a-b06f-b4a1e76ccc3f"}],"id":"4c0b1c34-1667-4faf-a58d-0b331ef8de64","_postman_id":"4c0b1c34-1667-4faf-a58d-0b331ef8de64","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Workflows","item":[{"name":"File Attach Request","id":"f651925c-9225-442d-b38e-9c3fbb8456c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"reason\": \"Driver license photo\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/files-request","description":"<p>Notify the patient that an additional file is needed to continue processing the case.</p>\n<h2 id=\"payload\">Payload</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>reason</td>\n<td>string*</td>\n<td>The files that need to be sent</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","files-request"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"14476c0b-b633-4a5d-a51e-69aca9cde68b","key":"case_id"}]}},"response":[],"_postman_id":"f651925c-9225-442d-b38e-9c3fbb8456c9"}],"id":"845f750c-85a4-414d-9cd2-ceb2d2fd6b85","_postman_id":"845f750c-85a4-414d-9cd2-ceb2d2fd6b85","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Wildcards","item":[{"name":"Swap Wildcards","id":"a7e1a71f-2c56-4a50-b36d-6ce7b6ef27cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"Hello [patient_name].\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/wildcards/swap","description":"<p>It swaps the wildcards based on the given case.</p>\n<h2 id=\"payload\">Payload</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>text</td>\n<td>string*</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","wildcards","swap"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8f3d95ee-823f-494d-96cc-d9742ee748a7","type":"any","value":"14476c0b-b633-4a5d-a51e-69aca9cde68b","key":"case_id"}]}},"response":[],"_postman_id":"a7e1a71f-2c56-4a50-b36d-6ce7b6ef27cc"}],"id":"cc95f40e-4be6-477d-acd1-0f951eddaa16","_postman_id":"cc95f40e-4be6-477d-acd1-0f951eddaa16","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Create case","id":"f427111c-cc27-4ea1-84b0-87df00526026","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"patient_id\": \"5b803d51-b6e4-4ae5-b7d2-ee3e1dba7d2d\",\n    \"clinician_id\": \"00115b3a-cda1-475d-b1c9-0315bb8b906f\",\n    \"metadata\": \"case number 15\",\n    \"is_chargeable\": true,\n    \"case_files\": [],\n    \"case_services\": [\n        {\n            \"description\": \"Device that...\",\n            \"service_type\": \"device\",\n            \"title\": \"Device 14\",\n            \"additional_note\": \"Service additional note\",\n            \"clinical_notes\": \"Some clinical note\",\n            \"thank_you_note\": \"Some thank you note\",\n            \"pharmacy_fax_number\": \"+587965462316\",\n            \"include_drivers_license\": true,\n            \"send_pdf_file_automatically\": false,\n            \"is_charged_separately\": false\n        },\n        {\n            \"partner_service_id\": \"a1f8fc44-b939-4b46-a646-7c3245d6ee62\"\n        }\n    ],\n    \"case_prescriptions\": [\n        {\n            \"dosespot_medication_id\": 310964,\n            \"refills\": 2,\n            \"quantity\": 1.5,\n            \"days_supply\": 30,\n            \"directions\": \"Take one at the morning and another before bed\",\n            \"dispense_unit_id\": 99,\n            \"pharmacy_id\": 13012,\n            \"no_substitutions\": true,\n            \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n            \"effective_date\": \"2023-05-10\",\n            \"is_charged_separately\": true\n        }\n    ],\n    \"case_questions\": [\n        {\n            \"question\": \"Are you pregnant?\",\n            \"answer\": \"false\",\n            \"type\": \"boolean\",\n            \"important\": true,\n            \"is_critical\": true,\n            \"display_in_pdf\": true,\n            \"description\": \"Here is the question description\",\n            \"label\": \"Question Label Example\",\n            \"metadata\": \"example of metatada #123 for question\",\n            \"displayed_options\": [\n                \"true\",\n                \"false\"\n            ]\n        }\n    ],\n    \"tags\": [\n        {\n            \"tag_id\": \"d99ac893-9bd6-49ae-befe-4cf625e97d7c\"\n        }\n    ]\n}"},"url":"https://api.mdintegrations.com/v1/clinician/cases","description":"<p>Create a new case for a given patient.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>patient_id</td>\n<td>uuid*</td>\n<td>Patient ID. Check <strong>Partners &gt; Cases &gt; Patients</strong> to create new patients</td>\n</tr>\n<tr>\n<td>reference_case_id</td>\n<td>uuid</td>\n<td>The referenced case UUID</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the case. (e.g., an ID that will be used to identify this case in another database)</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n<td>Clinician to assign the case to, in case there is a preference for a specific clinician in a specific case. If the field is not sent, a clinician will be assigned according to MDIntegrations algorithm.</td>\n</tr>\n<tr>\n<td>case_prescriptions</td>\n<td>array(Prescription)</td>\n<td>List of prescriptions to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>case_services</td>\n<td>array(Service)</td>\n<td>List of services to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>case_files</td>\n<td>array(uuid)</td>\n<td>Files ID to be attached to the case. The files must be uploaded before creating a case. To upload files check <strong>Partners &gt; Files</strong></td>\n</tr>\n<tr>\n<td>case_questions</td>\n<td>array(Question)</td>\n<td>Questions and answers list</td>\n</tr>\n<tr>\n<td>is_chargeable</td>\n<td>boolean</td>\n<td>Whether or not the case should be charged</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array(object(uuid))</td>\n<td>Tags ID to be attached to the case.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"prescription-properties\">Prescription Properties</h2>\n<p><strong>Important</strong>: a prescription object must always contain <strong>exactly one</strong> drug type ID from the following:</p>\n<p>[<code>partner_medication_id</code>, <code>partner_compound_id</code>, <code>partner_supply_id</code>, <code>dosespot_supply_ndc</code>]</p>\n<p><strong>Note</strong>: We strongly advise asking our medical team to add medications to your company's dashboard so it's easier to manage prescriptions details from there. Should you need to add a one-time-only medication, you can use the dosespot_medication_id to reference a Dosespot medication directly.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_compound_id</td>\n<td>uuid</td>\n<td>Partner compound ID. Check <strong>Partners &gt; Compounds</strong> to get a <code>partner_compound_id</code> for a given compound. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_supply_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_medication_id</td>\n<td>uuid</td>\n<td>Partner medication ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_medication_id</code> and <code>partner_supply_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_supply_id</td>\n<td>uuid</td>\n<td>Partner supply ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_medication_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>dosespot_supply_ndc</td>\n<td>string</td>\n<td>Dosespot Supply NDC code. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_medication_id</code> and <code>partner_supply_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer (from 0 to 99)</td>\n<td>Total of refills for the given medication * <strong>Required if</strong> <code>dosespot_medication_id</code> or <code>dosespot_supply_ndc</code> is present</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n<td>Medication quantity string representing a float number (from 0 to 9999999999) <strong>Required if</strong> <code>dosespot_medication_id</code> or <code>dosespot_supply_ndc</code> is present</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer (from 0 to 365)</td>\n<td>Number of days of supply of the medication provided - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string(140)</td>\n<td>Instructions about how the medication is administered <strong>Required if</strong> <code>dosespot_medication_id</code> or <code>dosespot_supply_ndc</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the prescription</td>\n</tr>\n<tr>\n<td>no_substitutions</td>\n<td>boolean</td>\n<td>Whether or not a medication or compound can be changed</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n<td>- <strong>Medication</strong> (prescription with a <code>dosespot_medication_id</code> included): each medication has one associated dispense unit ID. To get the dispense unit ID associated with a given medication check <strong>Partners &gt; Medications &gt; Get details for a specific medication</strong>;  <br />  <br />- <strong>Compound</strong> (prescription with <code>partner_compound_id</code> included): compounds can be associated with any available dispense unit ID. For a list of all available dispense units check <strong>Partners &gt; Dispense Units</strong>. * <strong>Required if</strong> <code>dosespot_medication_id</code> or <code>dosespot_supply_ndc</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n<td>Pharmacy where the prescription must be sent to. Check <strong>Partners &gt; Pharmacies &gt; Get pharmacies</strong> to get a list of all pharmacies available.  <br />  <br /><strong>Important note</strong>:  <br />  <br />Dosespot works with <strong>different IDs</strong> for pharmacies according to the environment.  <br />Example:  <br />- Curexa pharmacy ID in <strong>staging</strong> environment: 133012  <br />- Curexa pharmacy ID in <strong>production</strong> environment: 29992</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>string</td>\n<td>Date from which prescription is effective (time will always be 00:00:00). Format: <code>Y-m-d</code></td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n<td>The prescriptions ordering</td>\n</tr>\n<tr>\n<td>is_charged_separately</td>\n<td>boolean</td>\n<td>Allow to charge the prescription separately</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"prescription-status-flow\">Prescription Status Flow</h3>\n<p><code>pending</code>: When prescription is created on MDI side and not synced with Dosespot yet;<br /><code>processing</code>: When MDI receives the Dosespot ID and send through the Dosespot the prescription to Pharmacy;<br /><code>completed</code>: When Dosespot responds to the MDI that this prescription has been verified by the pharmacy;<br /><code>cancelled</code>: When a doctor cancel the prescription (<em>when it was synced with Dosespot we try to cancel it there too</em>)</p>\n<img src=\"https://content.pstmn.io/b5039151-5d8d-48e7-8fda-24feff80438b/aW1hZ2UucG5n\" width=\"1637\" height=\"421\" />\n\n<h1 id=\"question-properties\">Question Properties</h1>\n<p>For more information about <code>questions</code> and how they affect prescriptions, contact us via Slack or send an email to:<br /><a href=\"https://mailto:mserota@mdintegrations.com\">mserota@mdintegrations.com</a> and <a href=\"https://mailto:jeff@mdintegrations.com\">jeff@mdintegrations.com</a></p>\n<p>We are also available through Slack (partner's channel).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>question</td>\n<td>string(255)*</td>\n<td>Question</td>\n</tr>\n<tr>\n<td>answer</td>\n<td>text*</td>\n<td>Answer</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string*</td>\n<td>Question type. Available options: <code>boolean</code>, <code>number</code> or <code>string</code></td>\n</tr>\n<tr>\n<td>important</td>\n<td>boolean</td>\n<td>Flag to set a question as <code>important</code>.  <br />  <br /><strong>Important Note</strong>:  <br />This flag is used to identify which questions could affect the final prescription. You could also implement custom logic to set this flag only when specific answers are selected.</td>\n</tr>\n<tr>\n<td>display_in_pdf</td>\n<td>boolean</td>\n<td>Flag to set if this question will be displayed in the case PDF file</td>\n</tr>\n<tr>\n<td>description</td>\n<td>text</td>\n<td>A description for your question</td>\n</tr>\n<tr>\n<td>label</td>\n<td>string(50)</td>\n<td>The question label</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>text</td>\n<td>A metadata field</td>\n</tr>\n<tr>\n<td>displayed_options</td>\n<td>array</td>\n<td>An array of options that were displayed to the patient</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"service-properties\">Service Properties</h2>\n<p><strong>Important</strong>: a service object can include a <strong>partner_service_id</strong> in order to use predefined information from a partner service.</p>\n<p><strong>Note</strong>: Partner services can be found under your company's offerings from the Partners Website. Once you know a partner's service id, you can also retrieve its information through the api using the <strong>Get Service</strong> route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>service_type</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>additional_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>partner_service_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>clinical_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_fax_number</td>\n<td>string</td>\n</tr>\n<tr>\n<td>include_drivers_license</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>send_pdf_file_automatically</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f427111c-cc27-4ea1-84b0-87df00526026"},{"name":"Get case","id":"5c38ec5c-3849-4285-af4d-165d4027da15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id","description":"<p>Get the following case details:</p>\n<ul>\n<li>Patient</li>\n<li>Partner</li>\n<li>Priority status and reason</li>\n<li>Status</li>\n</ul>\n<p>To get details from <code>prescriptions</code>, <code>files</code> and <code>questions</code> you must use specific API endpoints:</p>\n<ul>\n<li>Files: check <strong>\"Clinicians &gt; Cases &gt; Files\"</strong></li>\n<li>Prescriptions: check <strong>\"Clinicians &gt; Cases &gt; Prescriptions\"</strong></li>\n<li>Questions: check <strong>\"Clinicians &gt; Cases &gt; Questions\"</strong></li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9301e645-883a-4672-85a5-742c87c78f0e","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"8ad0ddbc-96de-4f23-9f04-105060af8f83","key":"case_id"}]}},"response":[],"_postman_id":"5c38ec5c-3849-4285-af4d-165d4027da15"},{"name":"Get case assignment","id":"6b0c0202-d52f-4ee8-825a-be61ffd7d748","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/assignment","description":"<p>Get the current assignment for a given case.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","assignment"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9301e645-883a-4672-85a5-742c87c78f0e","description":{"content":"<p>(Required) Case ID</p>\n","type":"text/plain"},"type":"any","value":"8ad0ddbc-96de-4f23-9f04-105060af8f83","key":"case_id"}]}},"response":[],"_postman_id":"6b0c0202-d52f-4ee8-825a-be61ffd7d748"},{"name":"Generate PDF","id":"c09928ed-4083-4930-bda8-52098c248cd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"03b3ec25-28c0-46d4-845c-e941816c6d60\",\n    \"date_range\": [\n        \"2022-05-30\",\n        \"2022-05-31\"\n    ],\n    \"use_creation_date\": true,\n    \"cases_id\": [\n        \"303936a2-efc6-43c7-a332-6e7aa98e02e1\"\n    ],\n    \"is_sandbox\": false,\n    \"is_live\": true,\n    \"status\": \"completed\",\n    \"sort\": \"desc\",\n    \"is_assigned_to_me\": false,\n    \"is_sync\": false,\n    \"is_additional_approval_needed\": false,\n    \"tags\": [\"3a89fd30-47b0-484a-a231-6625ef5ce2a4\"],\n    \"clinicians\": [\"3a89fd30-47b0-484a-a231-6625ef5ce2a4\"],\n    \"states\": [\"3a89fd30-47b0-484a-a231-6625ef5ce2a4\"],\n    \"diseases\": [\"3a89fd30-47b0-484a-a231-6625ef5ce2a4\"],\n    \"case_type\": \"new\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/generate-pdf","description":"<p>Create pdf files for each case service.</p>\n<p>If the case has more than one service then it returns a Zip file with all PDF files into it.</p>\n<p>If the case has only one service then it returns the PDF file.</p>\n<p>Returns the URL to download a zip file containing all files.</p>\n<h2 id=\"payload\">Payload</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid*</td>\n<td></td>\n</tr>\n<tr>\n<td>date_range</td>\n<td>array</td>\n<td>Required if cases_id param is empty. A date range to search cases.</td>\n</tr>\n<tr>\n<td>use_creation_date</td>\n<td>boolean</td>\n<td>Default false. If not passed then we use the completed status date</td>\n</tr>\n<tr>\n<td>cases_id</td>\n<td>array</td>\n<td>Array of case_id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","cases","generate-pdf"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c09928ed-4083-4930-bda8-52098c248cd0"},{"name":"Generate Medical Necessity PDF","id":"dc264b03-9ebd-4872-9f72-cd49daba5fe5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/generate-medical-necessity-pdf","description":"<p>Generates a medical necessity PDF for a case and sends it to the patient via message.</p>\n","urlObject":{"path":["v1","clinician","cases",":case_id","generate-medical-necessity-pdf"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5139bcbf-eb17-4f0c-b0fb-b1af27adea7b","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"536837c8-d63f-4db9-8108-856fcf755c6b","key":"case_id"}]}},"response":[],"_postman_id":"dc264b03-9ebd-4872-9f72-cd49daba5fe5"},{"name":"Update Service PDF Exported flag","id":"ef943027-3f28-4d24-9e5f-afb390836e5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"exported\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/service-pdf-exported","description":"<p>This route changes the service pdf exported flag for a case.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>exported</td>\n<td>boolean*</td>\n<td>Whether or not the case service file was already exported.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","service-pdf-exported"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"198e6bfc-4adc-4964-8222-3625517f7557","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"303936a2-efc6-43c7-a332-6e7aa98e02e1","key":"case_id"}]}},"response":[],"_postman_id":"ef943027-3f28-4d24-9e5f-afb390836e5b"},{"name":"Get Offerings PDF","id":"4c7476f3-ec68-4938-a824-78b5db201531","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/offerings/pdf","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","offerings","pdf"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"is_automatic_only","value":"false"},{"disabled":true,"key":"export_type","value":"file/base64/temporary_link"},{"disabled":true,"key":"scope","value":"all/prescriptions/services"}],"variable":[{"id":"aa9e9704-3f88-42f3-a45f-ab767a8d1278","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"ff206ab6-88f2-45cc-acb3-a444782aa8e3","key":"case_id"}]}},"response":[],"_postman_id":"4c7476f3-ec68-4938-a824-78b5db201531"},{"name":"Create PDF file","id":"1c5d4af5-4503-48e2-b264-bfa5f7cc07ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/pdf?create_as_file=true&automatic_only=false&is_only_prescriptions=false&is_create_as_base64=false","description":"<p>Create pdf files for each case service given a case.</p>\n<p>Or create a pdf file with all case precriptions given a case.</p>\n<p>If the case has more than one service then it returns a Zip file with all PDF files into it.</p>\n<p>If the case has only one service then it returns the PDF file.</p>\n<p>Returns the URL to download a zip file containing all files.</p>\n<p>If the <em>create_as_file</em> option is passed then we store the file as return it as a normally file object.</p>\n<p>If the <em>is_create_as_base64</em> option is passed then we return the file as base64 format.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","pdf"],"host":["https://api.mdintegrations.com"],"query":[{"key":"create_as_file","value":"true"},{"key":"automatic_only","value":"false"},{"key":"is_only_prescriptions","value":"false"},{"key":"is_create_as_base64","value":"false"}],"variable":[{"type":"any","value":"3bdee05c-2162-4038-84a0-1653a21b1b86","key":"case_id"}]}},"response":[],"_postman_id":"1c5d4af5-4503-48e2-b264-bfa5f7cc07ef"},{"name":"Get cases by status","id":"b0eee3e6-376d-47b1-8838-7606b8222313","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"status\": \"completed\",\r\n    \"sort\": \"desc\",\r\n    \"is_assigned_to_me\": false,\r\n    \"is_sync\": false,\r\n    \"is_additional_approval_needed\": false,\r\n    \"tags\": [],\r\n    \"partners\": [],\r\n    \"clinicians\": [],\r\n    \"states\": [],\r\n    \"diseases\": [],\r\n    \"case_type\": \"New\",\r\n    \"is_live\": true,\r\n    \"is_sandbox\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/status/:status","description":"<p>Return a list of cases according to a given status.</p>\n<p>The following statuses are available:</p>\n<ul>\n<li><p><strong>Created</strong>: a list of cases create and not assigned yet;</p>\n</li>\n<li><p><strong>Assigned</strong>: a list of cases assigned to the clinician waiting for review;</p>\n</li>\n<li><p><strong>Waiting</strong>: a list of cases assigned to the clinician, waiting for the patient information or review;</p>\n</li>\n<li><p><strong>Cancelled</strong>: a list of cases assigned to the clinician and canceled by the partner;</p>\n</li>\n<li><p><strong>Support</strong>: a list of cases assigned to the clinician and transferred to support;</p>\n</li>\n<li><p><strong>Processing</strong>: a list of cases assigned to the clinician that were already reviewed and finished by the clinician, but with one or more prescriptions waiting for DoseSpot confirmation;</p>\n</li>\n<li><p><strong>Completed</strong>: a list of cases assigned to the clinician with all its prescriptions already confirmed by DoseSpot (prescriptions already verified by the pharmacies).</p>\n</li>\n</ul>\n<h2 id=\"payload\">Payload</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partners</td>\n<td>array(uuid)</td>\n<td>If passed, all cases will belong to this partner.</td>\n</tr>\n<tr>\n<td>clinicians</td>\n<td>array(uuid)</td>\n<td>If passed, all cases assigned to this clinician will be displayed.</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>string</td>\n<td>Sorts by created_at from the Case Status, desc or asc.</td>\n</tr>\n<tr>\n<td>is_assigned_to_me</td>\n<td>boolean</td>\n<td>Cases returned will be assigned to the clinician calling the route.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array(uuid)</td>\n<td>Filter by an array of Tag UUID.</td>\n</tr>\n<tr>\n<td>diseases</td>\n<td>array(uuid)</td>\n<td>Filter by an array of Diseases UUID</td>\n</tr>\n<tr>\n<td>states</td>\n<td>array(uuid)</td>\n<td>Filter by an array of State UUID</td>\n</tr>\n<tr>\n<td>case_type</td>\n<td>string</td>\n<td>Case Type can by New or Follow-up</td>\n</tr>\n<tr>\n<td>is_sync</td>\n<td>boolean</td>\n<td>Searchs for Routine or Extended Care encounters. If missing, returns both.</td>\n</tr>\n<tr>\n<td>is_live</td>\n<td>boolean</td>\n<td>Defines if the cases from live patients should be returned (defaults to true)</td>\n</tr>\n<tr>\n<td>is_sandbox</td>\n<td>boolean</td>\n<td>Defines if the cases from sandbox patients should be returned (defaults to false)</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolan</td>\n<td>Search for cases that needs an additional approvel</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases","status",":status"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"completed","key":"status"}]}},"response":[],"_postman_id":"b0eee3e6-376d-47b1-8838-7606b8222313"},{"name":"Search cases","id":"f719d0c8-5588-43e7-b957-467aec99e37b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"patient_name\": \"Margaretta Heidenreich\",\n    \"partners\": [\n        \"ce58cd39-18c7-488e-a1de-6c07cc464d2d\"\n    ],\n    \"license_states\": [\n        \"40d3942c-bb08-44da-86f5-42bfb3a4e3cd\"\n    ],\n    \"sort_by_queue_time\": \"asc\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/search?page=1&limit=5","description":"<p>Return a list of cases matching the provided parameters.</p>\n<p>In the case where multiple parameters are provided, the response will contain cases that match all the provided parameters, effectively making a logical 'AND'.</p>\n<p>All parameters are <strong>optional</strong>. In the case where none is provided, the response will contain all the assigned cases to the clinician. </p>\n<h2 id=\"payload\">Payload</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>patient_name</td>\n<td>string</td>\n<td>Search cases by the related patient full name.</td>\n</tr>\n<tr>\n<td>partners</td>\n<td>array of uuid</td>\n<td>Search cases by the related Partners. Each item should be a valid partner ID.</td>\n</tr>\n<tr>\n<td>license_states</td>\n<td>array of uuid</td>\n<td>Search cases for  the given license states. Each item should be a valid state ID.</td>\n</tr>\n<tr>\n<td>sort_by_queue_time</td>\n<td>'desc' | 'asc'</td>\n<td>Sets the returned cases to be sorted by their queue time in ascending or descending order.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases","search"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"5"}],"variable":[]}},"response":[],"_postman_id":"f719d0c8-5588-43e7-b957-467aec99e37b"},{"name":"Reassign clinician randomly to case","id":"aac894d5-0989-4787-ab4a-bc75f358778f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/reassign-randomly","description":"<p>Reassign clinician randomly to a given case.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","reassign-randomly"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6cb455e5-c73f-45f6-a165-6eb22444046b","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"aac894d5-0989-4787-ab4a-bc75f358778f"},{"name":"Update Case synchronicity status","id":"d487abeb-30a3-4b8c-8b6a-83fe5762997d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"is_sync\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/sync","description":"<p>This route changes synchronicity status for a case as long as it is not complete or cancelled.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>is_sync</td>\n<td>boolean*</td>\n<td>Whether or not the MD is dealing with the case synchronously or asynchronously</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","sync"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"41d92269-b581-42a9-b688-29c06f61f786","type":"any","value":"1132e8c5-a01d-47f3-8163-097a297bb669","key":"case_id"}]}},"response":[],"_postman_id":"d487abeb-30a3-4b8c-8b6a-83fe5762997d"},{"name":"Update Case Recommendation flag","id":"a0356b01-1f85-474e-9bb7-2e92bff7dadf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"is_upsell_generated\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/upsell","description":"<p>It changes the recommendation flag.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>is_upsell_generated</td>\n<td>boolean*</td>\n<td>Whether or not the case is from recommendation.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","upsell"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"adff9606-03c6-4d41-935b-bbe56423e931","type":"any","value":"1132e8c5-a01d-47f3-8163-097a297bb669","key":"case_id"}]}},"response":[],"_postman_id":"a0356b01-1f85-474e-9bb7-2e92bff7dadf"},{"name":"Update Case Chargeability Status","id":"ba0c7a4b-536d-4004-a80a-fb1a4893c4f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"is_chargeable\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/chargeable","description":"<p>This route changes chargeability status for a case as long as it is not complete or cancelled.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>is_chargeable</td>\n<td>boolean*</td>\n<td>Whether or not the case can be charged for.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","chargeable"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8450c5c7-8a9e-454c-8e46-36879782110c","type":"any","value":"1132e8c5-a01d-47f3-8163-097a297bb669","key":"case_id"}]}},"response":[],"_postman_id":"ba0c7a4b-536d-4004-a80a-fb1a4893c4f2"},{"name":"Reassign clinician to case","id":"e55e4211-a59e-4747-812e-c5a8870ee12a","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"clinician_id\": \"2657524c-b4b8-4727-a414-3f8750020766\",\r\n    \"reason\": \"Here an example of a reason.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/reassign","description":"<p>Reassign a given clinician to a given case.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clinician_id</td>\n<td>uuid*</td>\n<td>Clinician UUID</td>\n</tr>\n<tr>\n<td>reason</td>\n<td>string</td>\n<td>A reason for the assignment.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","reassign"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"e55e4211-a59e-4747-812e-c5a8870ee12a"},{"name":"Resubmit case prescriptions","id":"4b3f1682-86a6-4ce8-a0c8-a8ecfec70b6a","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"pharmacy_id\": 4351\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/resubmit","description":"<p>Resubmit the case prescriptions.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n<td>Dosespot Pharmacy ID</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","resubmit"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a14fc422-cd59-46b0-bde7-3db20d82557c","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"case_id"}]}},"response":[],"_postman_id":"4b3f1682-86a6-4ce8-a0c8-a8ecfec70b6a"},{"name":"Set case priority","id":"b8adfa71-2505-48e0-8659-5510613b27fa","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"is_priority\": true,\r\n    \"reason\": \"A priority reason\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/priority","description":"<p>Set a case as priority.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>is_priority</td>\n<td>boolean*</td>\n</tr>\n<tr>\n<td>reason</td>\n<td>string*</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","cases",":case_id","priority"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"case_id"}]}},"response":[],"_postman_id":"b8adfa71-2505-48e0-8659-5510613b27fa"},{"name":"Patch Additional Approval flag","id":"f74c088f-fa27-4707-82e2-78e18b282896","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"is_additional_approval_needed\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/additional-approval","description":"<p>It updates the Is Additional Approval Needed flag.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>is_priority</td>\n<td>boolean*</td>\n</tr>\n<tr>\n<td>reason</td>\n<td>string*</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","cases",":case_id","additional-approval"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"1c8c3dfa-3a82-4b93-bc61-1ca809215f7a","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"case_id"}]}},"response":[],"_postman_id":"f74c088f-fa27-4707-82e2-78e18b282896"},{"name":"Submit Order","id":"513ba874-b500-4ce1-af1f-96474c4c1fc2","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/submit-order","description":"<p>Set a case as priority.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>is_priority</td>\n<td>boolean*</td>\n</tr>\n<tr>\n<td>reason</td>\n<td>string*</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","cases",":case_id","submit-order"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"558d3a7b-4f32-4375-9a74-fccae8661a32","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"case_id"}]}},"response":[],"_postman_id":"513ba874-b500-4ce1-af1f-96474c4c1fc2"},{"name":"Send Partner Escalation Email","id":"d536f21d-31ad-4b1c-83ca-8c9182a44179","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"note\": \"Text Note.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/cases/:case_id/partner-escalation-email-send","description":"<p>This route changes the service pdf exported flag for a case.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>note</td>\n<td>String*</td>\n<td>Text with some notes. This description will be in the content of the email.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","cases",":case_id","partner-escalation-email-send"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"023759e7-976e-41fe-a79f-3960ed40788a","description":{"content":"<p>Case ID</p>\n","type":"text/plain"},"type":"any","value":"303936a2-efc6-43c7-a332-6e7aa98e02e1","key":"case_id"}]}},"response":[],"_postman_id":"d536f21d-31ad-4b1c-83ca-8c9182a44179"}],"id":"d4519fed-32ba-4e07-ac65-2c05bb71d130","description":"<h2 id=\"case-status\">Case Status</h2>\n<p>A case can have one of the following status:</p>\n<ul>\n<li><strong>accepted</strong>: the case was accepted by a MD clinician. When a case is accepted all the case prescriptions are created on DoseSpot side and are automatically sent to the pharmacies;</li>\n<li><strong>support</strong>: the MD clinician transferred the case to support;</li>\n<li><strong>pending</strong>: the case is waiting for a MD clinician to review it.</li>\n</ul>\n","_postman_id":"d4519fed-32ba-4e07-ac65-2c05bb71d130","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Files","item":[{"name":"Create file","id":"69fe9a1d-ee68-447f-bb80-e2e83a97d1f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content","value":"multipart/form-data;","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"face - left side","description":"<p>File name * string(255)</p>\n","type":"text"},{"key":"file","description":"<p>Image file *  image - max 25MB</p>\n","type":"file","src":"TFYBa4A-A/800px-Sunflower_from_Silesia2.jpg"},{"key":"type","value":"other","description":"<p>File type  * string(255)</p>\n","type":"text"}]},"url":"https://api.mdintegrations.com/v1/clinician/files","description":"<p>Upload a single file to MD Integrations using <strong>multipart/form-data</strong>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Type</strong></th>\n<th><strong>Maximum Size</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Images files</td>\n<td>25mb</td>\n</tr>\n<tr>\n<td>Video files</td>\n<td>140mb</td>\n</tr>\n<tr>\n<td>Other types</td>\n<td>16mb</td>\n</tr>\n</tbody>\n</table>\n</div><p>Accepted types:</p>\n<ul>\n<li><p>document</p>\n</li>\n<li><p>review</p>\n</li>\n<li><p>other</p>\n</li>\n<li><p>insurance-policy</p>\n</li>\n<li><p>contract</p>\n</li>\n<li><p>driver-license</p>\n</li>\n<li><p>lab-result</p>\n</li>\n<li><p>photo</p>\n</li>\n<li><p>av-video</p>\n</li>\n<li><p>full-body-photo</p>\n</li>\n<li><p>back-photo</p>\n</li>\n<li><p>face-photo</p>\n</li>\n<li><p>avatar-photo</p>\n</li>\n<li><p>ipledge-document</p>\n</li>\n<li><p>auth-form</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","files"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"69fe9a1d-ee68-447f-bb80-e2e83a97d1f2"},{"name":"Get file","id":"8bcd41af-feeb-4be6-ac04-d4a7371d8407","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/files/:file_id","description":"<p>Get information from a given file ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","files",":file_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"07f10c21-f97d-4340-9b37-3dde10db8867","description":{"content":"<p>File ID</p>\n","type":"text/plain"},"type":"any","value":"8ebea5fa-a67d-4f2e-a085-a6fa68bc5797","key":"file_id"}]}},"response":[],"_postman_id":"8bcd41af-feeb-4be6-ac04-d4a7371d8407"},{"name":"Delete file","id":"dce7f140-d11f-44fb-80f3-f5700bd97598","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.mdintegrations.com/v1/clinician/files/:file_id","description":"<p>Delete a given file ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","files",":file_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"77f0e3d2-e825-4f5a-9633-461f4b6e0221","description":{"content":"<p>File ID</p>\n","type":"text/plain"},"type":"any","value":"f0180178-6355-4c25-8fb3-f9697e2cbd98","key":"file_id"}]}},"response":[],"_postman_id":"dce7f140-d11f-44fb-80f3-f5700bd97598"},{"name":"Patch File","id":"5f8eb735-8cfe-4a53-8b82-57ae7a8d3e24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"rotate\": 90\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/files/:file_id","description":"<p>Patch the file.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","files",":file_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5bd92f42-5c23-4ddb-99f0-b661ab0ff158","description":{"content":"<p>File ID</p>\n","type":"text/plain"},"type":"any","value":"f0180178-6355-4c25-8fb3-f9697e2cbd98","key":"file_id"}]}},"response":[],"_postman_id":"5f8eb735-8cfe-4a53-8b82-57ae7a8d3e24"}],"id":"300efa19-b729-437a-80bc-b09451117c3a","description":"<p>The files endpoints from MD Integrations allows you to easily upload, get and delete image files.</p>\n<p>If you want to <strong>attach files to cases</strong> or <strong>attach files to messages</strong>, first you will need to upload the file using <code>POST /partners/files</code> described in this section. After uploading a file, you will obtain the <code>file_id</code> information, which is the required information in order to attach files to cases or messages.</p>\n<h2 id=\"attach-files-to-cases\">Attach Files To Cases</h2>\n<p>Files can be attached to cases through <strong>Clinicians &gt; Cases &gt; Files</strong>.</p>\n<h2 id=\"attach-files-to-messages\">Attach Files To Messages</h2>\n<p>Files can be attached to messages through <strong>Clinicians &gt; Cases &gt; Messages</strong>.</p>\n<h2 id=\"response\">Response</h2>\n<p>The request response to upload a file contains the following information:</p>\n<ul>\n<li><code>file_id</code>: corresponding created file ID. This information is used to attach files to cases or messages;</li>\n<li><code>name</code>: file name;</li>\n<li><code>url</code>: URL from original file;</li>\n<li><code>url_thumbnail</code>: URL from thumbnail image with <strong>180x110px</strong>.</li>\n</ul>\n","_postman_id":"300efa19-b729-437a-80bc-b09451117c3a","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Files Snippets","item":[{"name":"Attach file snippet","id":"954aeae7-2c98-4690-a499-1943986aba00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content","value":"multipart/form-data;"}],"body":{"mode":"raw","raw":"{\n    \"file_id\": \"8fe3d509-440b-4864-948a-d213c8eb581e\",\n    \"partner_id\": \"33778db3-8707-4628-81af-4c6451f9f0b6\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/snippets","description":"<p>Attach a file to the logged in clinician and link it to a partner.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param</strong></th>\n<th><strong>type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>file_id</td>\n<td>uuid*</td>\n<td>File ID</td>\n</tr>\n<tr>\n<td>partner_id</td>\n<td>uuid*</td>\n<td>Partner ID</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","snippets"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"954aeae7-2c98-4690-a499-1943986aba00"},{"name":"Get file snippets","id":"a207fa5b-48d9-43f2-a639-0138dcb67a18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/snippets/:partner_id","description":"<p>Get all file snippets related to the logged in clinican and to the given partner.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","snippets",":partner_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b71119c0-ebc5-4615-bcb5-69919f606e91","description":{"content":"<p>Optional Partner ID</p>\n","type":"text/plain"},"type":"any","value":"33778db3-8707-4628-81af-4c6451f9f0b6","key":"partner_id"}]}},"response":[],"_postman_id":"a207fa5b-48d9-43f2-a639-0138dcb67a18"},{"name":"Detach file snippet","id":"030b2a67-36c0-4dac-bb1c-0a253f984c76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.mdintegrations.com/v1/clinician/snippets/:file_id","description":"<p>Detach a given file ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","snippets",":file_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"33873d03-0961-4d65-bd5a-1423dace261b","description":{"content":"<p>File ID* (required)</p>\n","type":"text/plain"},"type":"any","value":"f0180178-6355-4c25-8fb3-f9697e2cbd98","key":"file_id"}]}},"response":[],"_postman_id":"030b2a67-36c0-4dac-bb1c-0a253f984c76"}],"id":"020e246d-32dc-4e65-a8b3-77fef00ada6d","description":"<p>The files endpoints from MD Integrations allows you to easily upload, get and delete image files.</p>\n<p>If you want to <strong>attach files to cases</strong> or <strong>attach files to messages</strong>, first you will need to upload the file using <code>POST /partners/files</code> described in this section. After uploading a file, you will obtain the <code>file_id</code> information, which is the required information in order to attach files to cases or messages.</p>\n<h2 id=\"attach-files-to-cases\">Attach Files To Cases</h2>\n<p>Files can be attached to cases through <strong>Clinicians &gt; Cases &gt; Files</strong>.</p>\n<h2 id=\"attach-files-to-messages\">Attach Files To Messages</h2>\n<p>Files can be attached to messages through <strong>Clinicians &gt; Cases &gt; Messages</strong>.</p>\n<h2 id=\"response\">Response</h2>\n<p>The request response to upload a file contains the following information:</p>\n<ul>\n<li><code>file_id</code>: corresponding created file ID. This information is used to attach files to cases or messages;</li>\n<li><code>name</code>: file name;</li>\n<li><code>url</code>: URL from original file;</li>\n<li><code>url_thumbnail</code>: URL from thumbnail image with <strong>180x110px</strong>.</li>\n</ul>\n","_postman_id":"020e246d-32dc-4e65-a8b3-77fef00ada6d","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Supplies","item":[{"name":"Dosespot","item":[{"name":"Search Supplies","id":"dc48d91a-4b7b-4700-b3d2-124164cc04e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/supplies/search?name=Masks&ndc=1234567890","description":"<p>Search DoseSpot supplies based on <code>name</code> and/or <code>NDC</code>.</p>\n<p>This API endpoint forwards the request to DoseSpot API in order to retrieve the supplies.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","supplies","search"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>(Required without NDC) Supply name search filter. Must be at least 3 letters.</p>\n","type":"text/plain"},"key":"name","value":"Masks"},{"description":{"content":"<p>(Required without name) NDC</p>\n","type":"text/plain"},"key":"ndc","value":"1234567890"}],"variable":[]}},"response":[],"_postman_id":"dc48d91a-4b7b-4700-b3d2-124164cc04e0"}],"id":"ccf3cec7-0de0-455d-8da9-4b72b5f94544","_postman_id":"ccf3cec7-0de0-455d-8da9-4b72b5f94544","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"3d353a24-491d-428a-86a3-fd9818ef56e6","_postman_id":"3d353a24-491d-428a-86a3-fd9818ef56e6","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Predefined Messages","item":[{"name":"Create Predefined Message","id":"54171c65-b965-465e-8e11-561bf23e5fe4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"text\": \"This is a predefined message.\",\n    \"title\": \"Title for the message\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/predefined_messages","description":"<p>Create a new predefined message for the authenticated clinician.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","predefined_messages"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"54171c65-b965-465e-8e11-561bf23e5fe4"},{"name":"Get Predefined Messages","id":"556a21aa-1070-44fe-95e4-23a8bc74b54e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/predefined_messages","description":"<p>Return all the predefined messages for the authenticated clinician.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","predefined_messages"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"556a21aa-1070-44fe-95e4-23a8bc74b54e"},{"name":"Delete Predefined Message","id":"49d9b1fc-8638-4dca-86b6-b73cea4d0da0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.mdintegrations.com/v1/clinician/predefined_messages/:id","description":"<p>Delete a predefined message by ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","predefined_messages",":id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a93f2bc4-eb71-4dc9-aadd-c7ff0998f261","description":{"content":"<p>Predefined message ID</p>\n","type":"text/plain"},"type":"any","value":"daf78b13-5290-4e8b-a793-a0773b9f09b0","key":"id"}]}},"response":[],"_postman_id":"49d9b1fc-8638-4dca-86b6-b73cea4d0da0"},{"name":"Update Predefined Message","id":"c87bc06e-18bd-43d6-80c3-d238dbd8cc95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"text\": \"This is a predefined message.\",\n    \"title\": \"Title for the message\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/predefined_messages/:predefined_message_id","description":"<p>Update a predefined message by ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","predefined_messages",":predefined_message_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"10ce7b5d-ea6d-4e42-8bc1-99c1a642cd22","description":{"content":"<p>Predefined message ID</p>\n","type":"text/plain"},"type":"any","value":"daf78b13-5290-4e8b-a793-a0773b9f09b0","key":"predefined_message_id"}]}},"response":[],"_postman_id":"c87bc06e-18bd-43d6-80c3-d238dbd8cc95"},{"name":"Update Predefined Messages Order","id":"23541c62-0fa8-4baf-a3c0-279666a7a00e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"predefined_messages\": [\n        \"2c0beb38-1bb2-4683-a860-35e76ea14b55\",\n        \"3799892e-b022-4e9c-b1a8-88c5b32026a3\",\n        \"bae29d77-b2f2-4236-9b90-3be591e0687a\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/predefined_messages/order","description":"<p>Update the messages order based on the array order sent.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","predefined_messages","order"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"23541c62-0fa8-4baf-a3c0-279666a7a00e"}],"id":"24e65e8f-7667-4959-ac21-a4a6d549c103","_postman_id":"24e65e8f-7667-4959-ac21-a4a6d549c103","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Prescriptions","item":[{"name":"Dosespot","item":[{"name":"Prior Auth Appeal","id":"8885feae-ec93-4977-b919-5f26a4456051","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/prescriptions/:prescription_id/dosespot/prior-auth/appeal","description":"<p>This endpoint appeals an existing Prior Authorization on a Dosespot Prescription.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","prescriptions",":prescription_id","dosespot","prior-auth","appeal"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"db8f5caa-5d44-44ea-b210-8d95e2eff44a","type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"prescription_id"}]}},"response":[],"_postman_id":"8885feae-ec93-4977-b919-5f26a4456051"},{"name":"Prior Auth Cancel","id":"6f51c9b1-9240-4df9-9d90-2af9b2ad48f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/prescriptions/:prescription_id/dosespot/prior-auth/cancel","description":"<p>This endpoint cancels an existing Prior Authorization on a Dosespot Prescription.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","prescriptions",":prescription_id","dosespot","prior-auth","cancel"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"43da9716-0e78-4c06-8f9c-ef131a203f0b","type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"prescription_id"}]}},"response":[],"_postman_id":"6f51c9b1-9240-4df9-9d90-2af9b2ad48f5"},{"name":"Get Prior Auth Question","id":"c1b77bc4-6359-4b56-88df-f4bd4305722f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/prescriptions/:prescription_id/dosespot/prior-auth/questions/:question_id","description":"<p>It returns a Dosespot question related to the Prescription Prior Authorization.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","prescriptions",":prescription_id","dosespot","prior-auth","questions",":question_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6365edad-e424-444e-961d-8e9e8ad4dcb3","description":{"content":"<p>MDI Prescription ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"prescription_id"},{"id":"445327ba-94ad-4d95-b9a9-223860ed3ef0","description":{"content":"<p>It's a Dosespot question ID</p>\n","type":"text/plain"},"type":"any","value":"12345","key":"question_id"}]}},"response":[],"_postman_id":"c1b77bc4-6359-4b56-88df-f4bd4305722f"},{"name":"Answer Prior Auth Question","id":"b99c3426-c934-452c-b1b3-f4cdfb0665a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/v1/clinician/prescriptions/:prescription_id/dosespot/prior-auth/questions/:question_id/answer","description":"<p>It will answer a Dosespot Prior Authorization Question based on the Get Question endpoint where the params will be exactly the Dosespot returned on Get Question.  </p>\n<p>It will have question types, question options and etc.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","prescriptions",":prescription_id","dosespot","prior-auth","questions",":question_id","answer"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"0a95c430-7b32-47af-9534-2a50efd00067","description":{"content":"<p>MDI Prescription ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"prescription_id"},{"id":"a9c5442c-5717-44c9-b599-103eacf22fc0","description":{"content":"<p>It's a Dosespot question ID</p>\n","type":"text/plain"},"type":"any","value":"12345","key":"question_id"}]}},"response":[],"_postman_id":"b99c3426-c934-452c-b1b3-f4cdfb0665a5"},{"name":"Add Attachment to a Prior Auth","id":"cb6d6277-bcc0-49b6-86cd-5a74f50955e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"file","description":"<p>Required file</p>\n","type":"file","value":null}]},"url":"https://api.mdintegrations.com/v1/clinician/prescriptions/:prescription_id/dosespot/prior-auth/attachments","description":"<p>It attaches a file to a Dosespot Prior Authorization when needed.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","prescriptions",":prescription_id","dosespot","prior-auth","attachments"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"962f3f52-13c5-4c32-b8e5-381b0f2254b1","description":{"content":"<p>MDI Prescription ID</p>\n","type":"text/plain"},"type":"any","value":"39c9524f-1723-492b-879e-75beaf5393aa","key":"prescription_id"}]}},"response":[],"_postman_id":"cb6d6277-bcc0-49b6-86cd-5a74f50955e0"}],"id":"1288c3d7-28ea-4e81-aeea-f656db6f34a0","_postman_id":"1288c3d7-28ea-4e81-aeea-f656db6f34a0","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"81f3fdc4-f22d-4600-b546-831e6ec0401a","_postman_id":"81f3fdc4-f22d-4600-b546-831e6ec0401a","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Password","item":[{"name":"Reset Password","item":[{"name":"Request Reset Password","id":"574ffc92-0c31-46ce-a764-04df5bc72a63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"john@doe.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/auth/password/reset/request","description":"<p>Request to reset the password corresponding to the given e-mail.</p>\n<p>If the e-mail corresponds to a valid clinician, then an e-mail will be sent with the link to set a new password. </p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>text*</td>\n<td>Clinician's e-mail.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","auth","password","reset","request"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"574ffc92-0c31-46ce-a764-04df5bc72a63"},{"name":"Submit New Password","id":"52fb459e-304c-4f47-ab38-e9ac572ea324","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"email\": \"jhon@doe.io\",\n    \"token\": \"8e16a2bf288a1495012553e6350d616bb9345946d868c52030c3469d4f4218ad\",\n    \"password\": \"NewPa$$word123\",\n    \"password_confirmation\": \"NewPa$$word123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/auth/password/reset/submit","description":"<p>Submit a new password for the given e-mail.</p>\n<p>If the e-mail corresponds to a valid clinician and the given token is valid, then the password for the clinician will be updated.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>text*</td>\n<td>Clinician's e-mail.</td>\n</tr>\n<tr>\n<td>token</td>\n<td>text*</td>\n<td>Token received by e-mail when a request to reset the password is sent.</td>\n</tr>\n<tr>\n<td>password</td>\n<td>text*</td>\n<td>New password.</td>\n</tr>\n<tr>\n<td>password_confirmation</td>\n<td>text*</td>\n<td>New password confirmation.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","auth","password","reset","submit"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"52fb459e-304c-4f47-ab38-e9ac572ea324"}],"id":"8fcbf2ec-f9db-43af-9ae9-9c5e307c7732","_postman_id":"8fcbf2ec-f9db-43af-9ae9-9c5e307c7732","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Change Password","id":"c2081124-beb7-46d9-9fdf-a6f172448932","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"new_password\": \"NewP4$$word\",\n    \"new_password_confirmation\": \"NewP4$$word\",\n    \"current_password\": \"abcdefg\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/password/change","description":"<p>Update the password from the authenticated clinician.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>new_password</td>\n<td>text*</td>\n<td>New password.</td>\n</tr>\n<tr>\n<td>new_password_confirmation</td>\n<td>text*</td>\n<td>New password confirmation.</td>\n</tr>\n<tr>\n<td>current_password</td>\n<td>text*</td>\n<td>Current password for the authenticated clinician.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","password","change"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c2081124-beb7-46d9-9fdf-a6f172448932"}],"id":"542c7ba0-b07a-431f-89d6-8144ef17adec","_postman_id":"542c7ba0-b07a-431f-89d6-8144ef17adec","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Licenses","item":[{"name":"Update authenticated clinician's license","id":"05e7d455-2665-4cc4-9ee8-627447abb06d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"value\": \"1740410463\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/licenses/:license","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","licenses",":license"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"af3f666e-2e06-4b0b-b2c3-aefa1112698e","description":{"content":"<p>License's ID</p>\n","type":"text/plain"},"type":"any","value":"25296316-7902-469d-bd2b-0be76970dc9c","key":"license"}]}},"response":[],"_postman_id":"05e7d455-2665-4cc4-9ee8-627447abb06d"},{"name":"Create license for authenticated clinician","id":"5616ed39-4d14-47d8-996d-a2a88f4ca2ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"type\": \"NPI\",\r\n    \"value\": \"1134296023\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/licenses","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","licenses"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5616ed39-4d14-47d8-996d-a2a88f4ca2ed"}],"id":"fcc51ed1-598a-475a-afea-b0d274f8d841","_postman_id":"fcc51ed1-598a-475a-afea-b0d274f8d841","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Statistics","item":[{"name":"Get clinician's average response time","id":"96ec9242-c3c6-4f72-b6fe-3c0780969870","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/statistics/average/clinician-response-time?partner_id=1bdfd754-0ccc-48cc-b1fa-78b647ec1061&all_clinicians=true&is_live=1&is_sandbox=0","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","statistics","average","clinician-response-time"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>(Optional) Partner ID</p>\n","type":"text/plain"},"key":"partner_id","value":"1bdfd754-0ccc-48cc-b1fa-78b647ec1061"},{"description":{"content":"<p>(Optional) Gets results for all clinicians</p>\n","type":"text/plain"},"key":"all_clinicians","value":"true"},{"key":"is_live","value":"1"},{"key":"is_sandbox","value":"0"}],"variable":[]}},"response":[],"_postman_id":"96ec9242-c3c6-4f72-b6fe-3c0780969870"},{"name":"Get average processing cases time","id":"dff65b8b-38a1-496e-bc48-b5db10fb64cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/statistics/average/processing-cases-time/?partner_id=197482cf-d677-462a-87d3-082cdd313941&all_clinicians=true&is_live=1&is_sandbox=0","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","statistics","average","processing-cases-time",""],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>(Optional) Partner ID</p>\n","type":"text/plain"},"key":"partner_id","value":"197482cf-d677-462a-87d3-082cdd313941"},{"description":{"content":"<p>(Optional) Gets results for all clinicians</p>\n","type":"text/plain"},"key":"all_clinicians","value":"true"},{"key":"is_live","value":"1"},{"key":"is_sandbox","value":"0"}],"variable":[]}},"response":[],"_postman_id":"dff65b8b-38a1-496e-bc48-b5db10fb64cc"},{"name":"Get average patient wait treatment time","id":"b8648132-ff75-49df-9c94-6e10ea5fec1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/statistics/average/patient-wait-treatment-time/?partner_id=197482cf-d677-462a-87d3-082cdd313941&all_clinicians=true&is_live=1&is_sandbox=0","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","statistics","average","patient-wait-treatment-time",""],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>(Optional) Partner ID</p>\n","type":"text/plain"},"key":"partner_id","value":"197482cf-d677-462a-87d3-082cdd313941"},{"description":{"content":"<p>(Optional) Gets results for all clinicians</p>\n","type":"text/plain"},"key":"all_clinicians","value":"true"},{"key":"is_live","value":"1"},{"key":"is_sandbox","value":"0"}],"variable":[]}},"response":[],"_postman_id":"b8648132-ff75-49df-9c94-6e10ea5fec1a"},{"name":"Get count of completed cases by period","id":"00f2b71a-07b4-47ef-b20f-aff90c913edc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/statistics/count/completed-cases/:year/:month/:day?all_clinicians=true&is_live=1&is_sandbox=0","description":"<p>Get count of processing cases by period</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","statistics","count","completed-cases",":year",":month",":day"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"description":{"content":"<p>(Optional) Partner ID</p>\n","type":"text/plain"},"key":"partner_id","value":"197482cf-d677-462a-87d3-082cdd313941"},{"description":{"content":"<p>(Optional) Gets results for all clinicians</p>\n","type":"text/plain"},"key":"all_clinicians","value":"true"},{"key":"is_live","value":"1"},{"key":"is_sandbox","value":"0"}],"variable":[{"description":{"content":"<p>(Optional) Year with 4 digits</p>\n","type":"text/plain"},"type":"any","value":"2021","key":"year"},{"description":{"content":"<p>(Optional) Month with 2 digits</p>\n","type":"text/plain"},"type":"any","value":"05","key":"month"},{"description":{"content":"<p>(Optional) Day with 2 digits</p>\n","type":"text/plain"},"type":"any","value":"04","key":"day"}]}},"response":[],"_postman_id":"00f2b71a-07b4-47ef-b20f-aff90c913edc"},{"name":"Get amount due for completed cases by period","id":"2bdd31e8-4274-4f47-888f-49ed34fb4687","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/statistics/amount-due/completed-cases/:year/:month/:day?all_clinicians=true&is_live=1&is_sandbox=0","description":"<p>Get clinician amount due for completed cases by period.</p>\n","urlObject":{"path":["v1","clinician","statistics","amount-due","completed-cases",":year",":month",":day"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"description":{"content":"<p>(Optional) Partner ID</p>\n","type":"text/plain"},"key":"partner_id","value":"197482cf-d677-462a-87d3-082cdd313941"},{"description":{"content":"<p>(Optional) Gets results for all clinicians</p>\n","type":"text/plain"},"key":"all_clinicians","value":"true"},{"key":"is_live","value":"1"},{"key":"is_sandbox","value":"0"}],"variable":[{"description":{"content":"<p>(Optional) Year with 4 digits</p>\n","type":"text/plain"},"type":"any","value":"2021","key":"year"},{"description":{"content":"<p>(Optional) Month with 2 digits</p>\n","type":"text/plain"},"type":"any","value":"05","key":"month"},{"description":{"content":"<p>(Optional) Day with 2 digits</p>\n","type":"text/plain"},"type":"any","value":"04","key":"day"}]}},"response":[],"_postman_id":"2bdd31e8-4274-4f47-888f-49ed34fb4687"},{"name":"Get count of cases on each status","id":"ea9bd02f-3147-4e95-84d6-daeb6ef35c2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"is_assigned_to_me\": false,\r\n    \"tags\": [],\r\n    \"partners\": [],\r\n    \"clinicians\": [],\r\n    \"states\": [],\r\n    \"diseases\": [],\r\n    \"is_sync\": false,\r\n    \"is_additional_approval_needed\": false,\r\n    \"case_type\": \"New\",\r\n    \"is_live\": true,\r\n    \"is_sandbox\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/statistics/count/cases-by-status/","description":"<p>Get count of cases on each status.</p>\n<h2 id=\"payload\">Payload</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partners</td>\n<td>array(uuid)</td>\n<td>If passed, all cases will belong to this partner.</td>\n</tr>\n<tr>\n<td>clinicians</td>\n<td>array(uuid)</td>\n<td>If passed, all cases assigned to this clinician will be displayed.</td>\n</tr>\n<tr>\n<td>is_assigned_to_me</td>\n<td>boolean</td>\n<td>Cases returned will be assigned to the clinician calling the route.</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array(uuid)</td>\n<td>Filter by an array of Tag UUID.</td>\n</tr>\n<tr>\n<td>diseases</td>\n<td>array(uuid)</td>\n<td>Filter by an array of Diseases UUID</td>\n</tr>\n<tr>\n<td>states</td>\n<td>array(uuid)</td>\n<td>Filter by an array of State UUID</td>\n</tr>\n<tr>\n<td>case_type</td>\n<td>string</td>\n<td>Case Type can by New or Follow-up</td>\n</tr>\n<tr>\n<td>is_sync</td>\n<td>boolean</td>\n<td>Searchs for Routine or Extended Care encounters. If missing, returns both.</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolean</td>\n<td>Filter cases that needs an additional approval.</td>\n</tr>\n<tr>\n<td>is_live</td>\n<td>boolean</td>\n<td>Defines if the cases from live patients should be returned (defaults to true)</td>\n</tr>\n<tr>\n<td>is_sandbox</td>\n<td>boolean</td>\n<td>Defines if the cases from sandbox patients should be returned (defaults to false)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","statistics","count","cases-by-status",""],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"description":{"content":"<p>(Optional) Partner ID</p>\n","type":"text/plain"},"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"ea9bd02f-3147-4e95-84d6-daeb6ef35c2f"},{"name":"Get statistics","id":"ec14e268-1812-4c39-a450-57360354792f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/statistics","description":"<p>Get statistics available for the clinician.</p>\n","urlObject":{"path":["v1","clinician","statistics"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec14e268-1812-4c39-a450-57360354792f"},{"name":"Get statistic","id":"11a6df20-a868-4382-bfe0-fcc7ec5d0a3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/statistics/:identifier","description":"<p>Get statistic by identifier.</p>\n","urlObject":{"path":["v1","clinician","statistics",":identifier"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4e2eed80-9dd6-4007-a178-70e32b00cdf8","type":"any","value":"clinician_encounters","key":"identifier"}]}},"response":[],"_postman_id":"11a6df20-a868-4382-bfe0-fcc7ec5d0a3d"}],"id":"7d0b84a4-2861-4e01-8bed-9d6a3c19a39b","_postman_id":"7d0b84a4-2861-4e01-8bed-9d6a3c19a39b","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Medical Assistant","item":[{"name":"Get Medical Assistants","id":"ba10896e-7fcd-4e1c-92c9-c80df4aaea44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": \"Ma name\",\r\n    \"last_name\": \"MA last name\",\r\n    \"email\": \"leandro+ma@mdintegrations.com\",\r\n    \"active\": true,\r\n    \"timezone_id\": \"52b8e437-e6cc-4558-b2a6-23f126fe3931\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/medical-assistants","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","medical-assistants"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba10896e-7fcd-4e1c-92c9-c80df4aaea44"},{"name":"Create Medical Assistant","id":"4e436c13-79fd-47f0-b640-e792ea494695","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": \"Ma name\",\r\n    \"last_name\": \"MA last name\",\r\n    \"email\": \"leandro+ma@mdintegrations.com\",\r\n    \"active\": true,\r\n    \"timezone_id\": \"52b8e437-e6cc-4558-b2a6-23f126fe3931\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/medical-assistants","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","medical-assistants"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4e436c13-79fd-47f0-b640-e792ea494695"},{"name":"Delete Medical Assistant","id":"c4f3ce52-1cde-4584-b8a3-55eddc3cbf9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.mdintegrations.com/v1/clinician/medical-assistants/:medical-assistant","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","medical-assistants",":medical-assistant"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f018a65e-1d2f-4fc8-841a-78277cef3f9c","type":"any","value":"4a57113d-c386-45da-8e7d-1d28ee93ec71","key":"medical-assistant"}]}},"response":[],"_postman_id":"c4f3ce52-1cde-4584-b8a3-55eddc3cbf9f"}],"id":"e906ae61-6ef7-4ec2-b06a-ed0819b30b50","_postman_id":"e906ae61-6ef7-4ec2-b06a-ed0819b30b50","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Medications","item":[{"name":"Dosespot","item":[{"name":"Search Medications","id":"59d2415f-754b-4f6c-a3f9-1006cb7cff8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/medications/search?name=Ibuprofen (oral - capsule)","description":"<p>Search DoseSpot medications by name.</p>\n<p>This API endpoint forwards the request to DoseSpot in order to retrieve the medications.</p>\n<p>The returned results can be used to get details for a given medication (check <strong>\"Clinicians &gt; Medications &gt; Get Details For a Specific Medication\"</strong>).</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","medications","search"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>(Required) Medication name search filter. Must be at least 3 letters</p>\n","type":"text/plain"},"key":"name","value":"Ibuprofen (oral - capsule)"}],"variable":[]}},"response":[],"_postman_id":"59d2415f-754b-4f6c-a3f9-1006cb7cff8e"},{"name":"Get Details For a Specific Medication","id":"89f88269-46a1-4c81-bb31-05020be1b0f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/medications/select?dispensable_drug_id=1234567&ndc=098765431&rxcui=654311","description":"<p>Get DoseSpot medication details according given <strong>name</strong> and <strong>strength</strong>.</p>\n<p>This API endpoint forwards the request to Dosespot in order to retrieve the medication details.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","medications","select"],"host":["https://api.mdintegrations.com"],"query":[{"key":"dispensable_drug_id","value":"1234567"},{"key":"ndc","value":"098765431"},{"key":"rxcui","value":"654311"}],"variable":[]}},"response":[],"_postman_id":"89f88269-46a1-4c81-bb31-05020be1b0f5"}],"id":"72c0785b-c56a-4e9a-ac90-32537e5d23a3","_postman_id":"72c0785b-c56a-4e9a-ac90-32537e5d23a3","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"dffe5795-a32b-4b12-9f5e-bd292949a803","_postman_id":"dffe5795-a32b-4b12-9f5e-bd292949a803","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Notifications","item":[{"name":"Get Notifications","id":"5a26218e-bde8-4794-8d32-a556e609be41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/notifications?inbox=clinician&with_relationships=notified&states[]=7b06e111-2c05-4419-9be0-e18f3f9a45e8","description":"<p>Get the user's notifications (paginated).</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","notifications"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"description":{"content":"<p>Options: clinician, support-staff, patient</p>\n","type":"text/plain"},"key":"notified_model_types[]","value":"App\\Models\\Clinician"},{"disabled":true,"key":"notified_model_ids[]","value":"c522a64c-43c7-4c03-ae39-3e44da64d510"},{"disabled":true,"description":{"content":"<p>Options: clinician, support-staff, patient</p>\n","type":"text/plain"},"key":"notifier_model_types[]","value":"App\\Models\\Clinician"},{"disabled":true,"key":"notifier_model_ids[]","value":"c522a64c-43c7-4c03-ae39-3e44da64d510"},{"disabled":true,"key":"partners[]","value":"c11f3cca-b332-4c90-8be9-fce9ac55f03d"},{"disabled":true,"description":{"content":"<p>Patient address's state ID</p>\n","type":"text/plain"},"key":"state_id","value":"4f552dac-cf48-4fca-a518-d64466dd6688"},{"disabled":true,"key":"event","value":"message_created"},{"disabled":true,"key":"page","value":"2"},{"disabled":true,"key":"per_page","value":"40"},{"disabled":true,"key":"order","value":"asc"},{"description":{"content":"<p>clinician, support_staff, internal_support_staff, dismissed</p>\n","type":"text/plain"},"key":"inbox","value":"clinician"},{"description":{"content":"<p>notified, notifier, source, partner</p>\n","type":"text/plain"},"key":"with_relationships","value":"notified"},{"key":"states[]","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8"}],"variable":[]}},"response":[],"_postman_id":"5a26218e-bde8-4794-8d32-a556e609be41"},{"name":"Get Notifications Events","id":"83d56bfb-1631-4595-8887-8cd9145146ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/notifications/:notification/events?page=1&per_page=50","description":"<p>Get the user's notifications (paginated).</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","notifications",":notification","events"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"50"}],"variable":[{"id":"b772801a-6b3f-498b-a74a-34fb7389bfb9","type":"any","value":"f26eeba3-d69e-4bb9-9057-7e151c0874cf","key":"notification"}]}},"response":[],"_postman_id":"83d56bfb-1631-4595-8887-8cd9145146ee"},{"name":"Get Notifications Count","id":"baace337-695b-4fc4-b080-c15a608138c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/notifications?inbox=clinician","description":"<p>Get the user's notifications count by inbox.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","notifications"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"notified_model_ids[]","value":"c522a64c-43c7-4c03-ae39-3e44da64d510"},{"disabled":true,"description":{"content":"<p>Options: clinician, support-staff, patient</p>\n","type":"text/plain"},"key":"notifier_model_types[]","value":"App\\Models\\Clinician"},{"disabled":true,"key":"notifier_model_ids[]","value":"c522a64c-43c7-4c03-ae39-3e44da64d510"},{"disabled":true,"key":"partners[]","value":"c11f3cca-b332-4c90-8be9-fce9ac55f03d"},{"disabled":true,"key":"event","value":"message_created"},{"disabled":true,"key":"page","value":"2"},{"disabled":true,"key":"per_page","value":"40"},{"disabled":true,"key":"order","value":"asc"},{"description":{"content":"<p>clinician, support_staff, internal_support_staff, dismissed</p>\n","type":"text/plain"},"key":"inbox","value":"clinician"},{"disabled":true,"key":"state_id","value":"4f552dac-cf48-4fca-a518-d64466dd6688"}],"variable":[]}},"response":[],"_postman_id":"baace337-695b-4fc4-b080-c15a608138c5"},{"name":"Dismiss a notification","id":"1cccba91-67ad-4c29-a06d-34770813f485","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/notifications/:notification/dismiss","description":"<p>Dismiss a given notification.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","notifications",":notification","dismiss"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f6ccd672-6754-42a3-b578-76bfdf0d0cb1","type":"any","value":"dcdc5fbe-7acd-4651-9762-6d595efe95b0","key":"notification"}]}},"response":[],"_postman_id":"1cccba91-67ad-4c29-a06d-34770813f485"},{"name":"Change notified user","id":"74c701ae-55cb-4026-8ba9-7f7dc77352f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notified_model_type\": \"clinician\",\n    \"notified_model_id\": \"ba78cadd-2fc7-468c-b21f-8d20d7c8ca98\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/notifications/:notification/notify","description":"<p>Send this given notification to another group and/or a specific user.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notified_model_type</td>\n<td>string*</td>\n<td>clinician, support-staff, mdi-support-staff</td>\n</tr>\n<tr>\n<td>notified_model_id</td>\n<td>uuid</td>\n<td>User ID</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","notifications",":notification","notify"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e60deac1-76a7-4eee-9b6e-22ce12777104","type":"any","value":"dcdc5fbe-7acd-4651-9762-6d595efe95b0","key":"notification"}]}},"response":[],"_postman_id":"74c701ae-55cb-4026-8ba9-7f7dc77352f6"}],"id":"ebe9280a-e205-41e8-be5b-3b3f94496012","_postman_id":"ebe9280a-e205-41e8-be5b-3b3f94496012","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Orders","item":[{"name":"Get Orders","id":"d1bdff3f-038a-447e-b65d-7757041473b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"search_field\": \"a string here\",\r\n    \"status\": \"completed\",\r\n    \"order_status\": \"completed\",\r\n    \"sort\": \"desc\",\r\n    \"limit\": 15,\r\n    \"is_assigned_to_me\": false,\r\n    \"is_sync\": false,\r\n    \"is_additional_approval_needed\": false,\r\n    \"tags\": [],\r\n    \"partners\": [],\r\n    \"clinicians\": [],\r\n    \"states\": [],\r\n    \"case_type\": \"New\",\r\n    \"is_live\": true,\r\n    \"is_sandbox\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/orders?order_status=completed&pharmacy_id=123123-sdfsdf-432423-asd12312&case_type=New&is_live=true&is_sandbox=false","description":"<p>Return a list of orders.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","orders"],"host":["https://api.mdintegrations.com"],"query":[{"key":"order_status","value":"completed"},{"disabled":true,"key":"partners","value":"[]"},{"disabled":true,"key":"clinicians","value":"[]"},{"key":"pharmacy_id","value":"123123-sdfsdf-432423-asd12312"},{"key":"case_type","value":"New"},{"key":"is_live","value":"true"},{"key":"is_sandbox","value":"false"}],"variable":[]}},"response":[],"_postman_id":"d1bdff3f-038a-447e-b65d-7757041473b4"}],"id":"edeccb40-7a0b-42f4-a11c-572c8979a50d","_postman_id":"edeccb40-7a0b-42f4-a11c-572c8979a50d","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Clinicians","item":[{"name":"Practice Areas","item":[{"name":"List practice areas","id":"6d9452ea-f032-49ec-9045-656c427dd3a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/practice-areas","description":"<p>List all clinician's practice areas registered.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","practice-areas"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d9452ea-f032-49ec-9045-656c427dd3a5"},{"name":"Attach a practice area","id":"058b6c5e-88db-4841-9dd7-7b8b7a817430","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"state_id\": \"2037d5b8-8e58-4717-84e0-02222a007f46\",\n    \"expires_at\": \"2022-12-31\",\n    \"is_sync\": true,\n    \"license_number\": \"NPI123EXAMPLE321NUMBER\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/practice-areas","description":"<p>Attach a state to the authenticated clinician as a practice area.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","practice-areas"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"058b6c5e-88db-4841-9dd7-7b8b7a817430"},{"name":"Update a practice area","id":"77df9ff7-defe-46cc-ab25-95109e1507cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"expires_at\": \"2022-12-31\",\n    \"is_sync\": true,\n    \"license_number\": \"NPI123EXAMPLE321NUMBER\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/practice-areas/:state_id","description":"<p>Update informations from a attached practice area.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","practice-areas",":state_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>State ID</p>\n","type":"text/plain"},"type":"any","value":"d3c882c9-dc0d-47fc-97bf-cf7590af1afe","key":"state_id"}]}},"response":[],"_postman_id":"77df9ff7-defe-46cc-ab25-95109e1507cf"},{"name":"Detach a practice area","id":"7a59e0de-a1d4-441c-b586-f74ab75a3ae7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.mdintegrations.com/v1/clinician/practice-areas/:state_id","description":"<p>Detach a state from the authenticated clinician.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","practice-areas",":state_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"cdd00134-4e48-49f2-ba10-ccdadfca8133","description":{"content":"<p>State ID</p>\n","type":"text/plain"},"type":"any","value":"d3c882c9-dc0d-47fc-97bf-cf7590af1afe","key":"state_id"}]}},"response":[],"_postman_id":"7a59e0de-a1d4-441c-b586-f74ab75a3ae7"}],"id":"63515d3d-8c73-4e9d-8163-b98b6ac04e0d","_postman_id":"63515d3d-8c73-4e9d-8163-b98b6ac04e0d","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get clinician information","id":"b7db5a9a-f8ef-4d8f-9b61-8199dafe9508","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/clinicians/:clinician_id","description":"<p>Get clinician information based on the passed clinician_id.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","clinicians",":clinician_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"description":{"content":"<p>Clinician ID</p>\n","type":"text/plain"},"type":"any","value":"3d503ba7-76e2-4865-ab95-d200feb93e1a","key":"clinician_id"}]}},"response":[],"_postman_id":"b7db5a9a-f8ef-4d8f-9b61-8199dafe9508"},{"name":"Search associated Clinicians/Support staffs","id":"11ddc4eb-b531-4dec-9802-0d01a0b46c96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"partners\": [\n        \"18596d70-8084-400e-b356-3ca824c0bf15\"\n    ],\n    \"only_clinicians\": true,\n    \"is_live\": true,\n    \"is_sandbox\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/associated-users","description":"<p>Search for all clinician and support staff users by using filters.</p>\n<p>You can send an array of partners, if not passed, we will be using the clinician's partners.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>only_clinicians</td>\n<td>boolean</td>\n<td>If passed it returns only clinicians, if not, it returns clinicians and support staff. <strong>Default</strong>: <code>false</code></td>\n</tr>\n<tr>\n<td>partners</td>\n<td>array</td>\n<td>Array of partner Ids.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","associated-users"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"11ddc4eb-b531-4dec-9802-0d01a0b46c96"}],"id":"439ed4d1-4d35-447c-939d-08bb0a0488e3","_postman_id":"439ed4d1-4d35-447c-939d-08bb0a0488e3","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Changelogs","item":[{"name":"List changelogs","id":"7e2f2931-e8a8-42d8-8143-fae3d8dd3ef8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"scope\": \"messages-app\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/changelogs","description":"<p>List all existing Clinicians App changelogs.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param</strong></th>\n<th><strong>Options</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>scope</td>\n<td><code>api</code> <code>clinicians-app</code> <code>messages-app</code> <code>native-apps</code> <code>general</code> <code>patient-apps</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","changelogs"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e2f2931-e8a8-42d8-8143-fae3d8dd3ef8"}],"id":"e1616446-ca62-49d4-ac20-97add4c19368","_postman_id":"e1616446-ca62-49d4-ac20-97add4c19368","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Services","item":[{"name":"Get Service","id":"1c410401-582a-4a22-8bc6-a97200442a54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/clinician/services/:partner_service_id","description":"<p>Returns a single Partner Service that can be used as a template to generate a Case Service.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","services",":partner_service_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d1d23f89-1b34-45fb-a811-dda22b79b907","type":"any","value":"c78727b9-8354-4e74-b9b2-20ecd649aa13","key":"partner_service_id"}]}},"response":[],"_postman_id":"1c410401-582a-4a22-8bc6-a97200442a54"},{"name":"List Services","id":"202a9725-bf93-4f02-b59f-7a83ecc7e55a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.mdintegrations.com/v1/clinician/services?partner_id=b5bc7e5a-c1d8-4243-a90b-1fea101e2062&patient_id=4c37c0d4-9028-4559-a944-890c8f0dcb34","description":"<p>Returns a single Partner Service that can be used as a template to generate a Case Service.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","services"],"host":["https://api.mdintegrations.com"],"query":[{"key":"partner_id","value":"b5bc7e5a-c1d8-4243-a90b-1fea101e2062"},{"key":"patient_id","value":"4c37c0d4-9028-4559-a944-890c8f0dcb34"}],"variable":[]}},"response":[],"_postman_id":"202a9725-bf93-4f02-b59f-7a83ecc7e55a"}],"id":"0dcaf3c3-8682-4cab-80b5-06c572850c41","_postman_id":"0dcaf3c3-8682-4cab-80b5-06c572850c41","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Service Notifications","item":[{"name":"List service notifications","id":"36d6c2eb-c66c-4bd4-9b0f-1369f5bc7e99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"data-leak\",\n    \"status\": \"ongoing\",\n    \"scope\": \"clinicians-app\",\n    \"severity\": \"low\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/service-notifications","description":"<p>List all existing Clinicians App service notifications.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param</strong></th>\n<th><strong>Options</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td><code>data-leak</code> <code>service-disruption</code> <code>maintenance</code> <code>other</code></td>\n</tr>\n<tr>\n<td>status</td>\n<td><code>scheduled</code> <code>ongoing</code> <code>completed</code></td>\n</tr>\n<tr>\n<td>scope</td>\n<td><code>api</code> <code>clinicians-app</code> <code>messages-app</code> <code>native-apps</code> <code>general</code> <code>patient-apps</code></td>\n</tr>\n<tr>\n<td>severity</td>\n<td><code>low</code> <code>medium</code> <code>high</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","service-notifications"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"36d6c2eb-c66c-4bd4-9b0f-1369f5bc7e99"}],"id":"3f272ea4-8938-4adf-a9b3-dc89acf10438","_postman_id":"3f272ea4-8938-4adf-a9b3-dc89acf10438","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tags","item":[{"name":"Favorite Tags","item":[{"name":"Attach favorite tag","id":"6472a624-87a7-41a6-bc5b-c2c3acbce754","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[],"url":"https://api.mdintegrations.com/v1/clinician/tags/:tag_id/favorite","description":"<p>Allow to attach a favorite tag to clinician.</p>\n","urlObject":{"path":["v1","clinician","tags",":tag_id","favorite"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f6c178e9-3225-4ebc-8c51-475af0f58193","type":"any","value":"7af7618a-5711-4485-8b35-63b65b3f56cc","key":"tag_id"}]}},"response":[],"_postman_id":"6472a624-87a7-41a6-bc5b-c2c3acbce754"},{"name":"Detach favorite tag","id":"ece598bf-f7fd-4d43-8eb4-17ccc1048e66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.mdintegrations.com/v1/clinician/tags/:tag_id/favorite","description":"<p>Allow to detach a favorite tag from clinician.</p>\n","urlObject":{"path":["v1","clinician","tags",":tag_id","favorite"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7853632d-898a-49f7-ad84-e2e0a3ecb7d7","type":"any","value":"7af7618a-5711-4485-8b35-63b65b3f56cc","key":"tag_id"}]}},"response":[],"_postman_id":"ece598bf-f7fd-4d43-8eb4-17ccc1048e66"},{"name":"Get favorite tags","id":"0fa71ad1-5036-4981-a807-b56cff5cc07f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/tags/favorite","description":"<p>Get all clinician's favorite tags.</p>\n<p>It also returns Global and System tags.</p>\n","urlObject":{"path":["v1","clinician","tags","favorite"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0fa71ad1-5036-4981-a807-b56cff5cc07f"}],"id":"1ddf24aa-c2c3-48ff-97b1-34ec387ce4f8","_postman_id":"1ddf24aa-c2c3-48ff-97b1-34ec387ce4f8","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get tags","id":"42cdfa47-76c3-4f2c-a13a-b81ba9b37488","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/tags","description":"<p>Get all tags created by the logged in clinician.</p>\n<p>It also returns Global and System tags.</p>\n","urlObject":{"path":["v1","clinician","tags"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"42cdfa47-76c3-4f2c-a13a-b81ba9b37488"},{"name":"Create tag","id":"9941c2ba-47a2-4b3e-85bf-c90f64bae3ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"My own tag two one step\",\n    \"key\": \"minha.key\",\n    \"color\": \"#fff\",\n    \"description\": \"My tag description\",\n    \"removable_role\": \"admin\",\n    \"auto_detach_status\": [\n        \"waiting\",\n        \"cancelled\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/tags","description":"<p>It allow clinicians to create private tags.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Description</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>sring*</td>\n</tr>\n<tr>\n<td>key</td>\n<td>string*</td>\n</tr>\n<tr>\n<td>color</td>\n<td>string*</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>removable_role</td>\n<td>string (admin)</td>\n</tr>\n<tr>\n<td>auto_detach_status</td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","tags"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9941c2ba-47a2-4b3e-85bf-c90f64bae3ab"},{"name":"Update tag","id":"eb81524b-abec-4ec4-9a7d-0a02b389531b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Update my tag\",\n    \"color\": \"#fff\",\n    \"description\": \"Update tag description\",\n    \"removable_role\": \"admin\",\n    \"auto_detach_status\": [\n        \"waiting\",\n        \"cancelled\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/tags/:tag_id","description":"<p>It allow clinicians to update private tags.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Description</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>sring*</td>\n</tr>\n<tr>\n<td>color</td>\n<td>string*</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>removable_role</td>\n<td>string (admin)</td>\n</tr>\n<tr>\n<td>auto_detach_status</td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","tags",":tag_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7a543229-8d6c-441d-a91b-ec16fbd4b0b8","key":"tag_id"}]}},"response":[],"_postman_id":"eb81524b-abec-4ec4-9a7d-0a02b389531b"},{"name":"Delete tag","id":"6663833d-e9b6-448f-ae5d-ca6a72371047","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.mdintegrations.com/v1/clinician/tags/:tag_id","description":"<p>It allow clinicians to delete private tags.</p>\n","urlObject":{"path":["v1","clinician","tags",":tag_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8a681cd0-7b5c-434d-86c9-0508a5855b97","type":"any","value":"7a543229-8d6c-441d-a91b-ec16fbd4b0b8","key":"tag_id"}]}},"response":[],"_postman_id":"6663833d-e9b6-448f-ae5d-ca6a72371047"}],"id":"1f9d21c3-f955-47a4-a791-caf00a22eb3f","_postman_id":"1f9d21c3-f955-47a4-a791-caf00a22eb3f","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tickets","item":[{"name":"Get Tickets","id":"d4ba0154-9625-4dc8-8790-a1b410194770","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/tickets?per_page=15&page=1","description":"<p>Get the partner's tickets (paginated).</p>\n","urlObject":{"path":["v1","clinician","tickets"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"disabled":true,"key":"status","value":"completed"},{"disabled":true,"key":"product","value":"other"}],"variable":[]}},"response":[],"_postman_id":"d4ba0154-9625-4dc8-8790-a1b410194770"},{"name":"Get Ticket","id":"486d1c40-1bbc-4865-aeff-1a96f294ff60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/tickets/:ticket_id","description":"<p>Get the partner's ticket details.</p>\n","urlObject":{"path":["v1","clinician","tickets",":ticket_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9c7da75b-6ca9-47bd-a17c-d9d2f6efa547","type":"any","value":"a3f2d4e3-4400-42c8-91a0-b3a6dd7e6d71","key":"ticket_id"}]}},"response":[],"_postman_id":"486d1c40-1bbc-4865-aeff-1a96f294ff60"},{"name":"Create Ticket","id":"13c630c9-7573-4acb-a4f9-7a9f2124dc29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Title\",\n    \"description\": \"Description\",\n    \"type\": \"bug-report\",\n    \"environment\": \"development\",\n    \"product\": \"other\",\n    \"is_urgent\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/tickets","description":"<p>Creates a ticket for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>description*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>type*</td>\n<td>string (bug-report, feature-suggestion, question-help, other)</td>\n</tr>\n<tr>\n<td>environment*</td>\n<td>string (development, staging, production, not-applicable)</td>\n</tr>\n<tr>\n<td>product*</td>\n<td>string (api, clinician-portal, admin-panel, messaging-app, messaging-widget, onboarding-app, api-documentation, other)</td>\n</tr>\n<tr>\n<td>is_urgent*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>requester_email*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","tickets"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"13c630c9-7573-4acb-a4f9-7a9f2124dc29"},{"name":"Delete Ticket","id":"e61265ea-a221-4486-a635-d398e4c9f313","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/tickets/:ticket","description":"<p>Deletes the partner's ticket.</p>\n","urlObject":{"path":["v1","clinician","tickets",":ticket"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f9bec4d8-58a1-4d8a-91cb-ca9f659cf497","type":"any","value":"a3f2d4e3-4400-42c8-91a0-b3a6dd7e6d71","key":"ticket"}]}},"response":[],"_postman_id":"e61265ea-a221-4486-a635-d398e4c9f313"}],"id":"9492d27e-c029-4e14-837b-6701b68445a0","_postman_id":"9492d27e-c029-4e14-837b-6701b68445a0","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Messages","item":[{"name":"Get Messages","id":"85d590ff-f6f8-413d-8ef3-57dbb64328e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/v1/clinician/notifications/messages?status=unread&channel=patient&states[]=83ee06d2-feef-4678-9bf6-14d8e6bd1795&assigned_to_me=false&per_page=40&order=asc","description":"<p>Get the user's notifications (messages) (paginated).</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","notifications","messages"],"host":["https://api.mdintegrations.com"],"query":[{"key":"status","value":"unread"},{"key":"channel","value":"patient"},{"disabled":true,"key":"partners[]","value":"c522a64c-43c7-4c03-ae39-3e44da64d510"},{"disabled":true,"key":"partners[]","value":"fe3d9cb1-fe8d-451e-b9bb-1c8b031d6a7e"},{"disabled":true,"key":"clinicians[]","value":"c11f3cca-b332-4c90-8be9-fce9ac55f03d"},{"disabled":true,"key":"clinicians[]","value":"99b020bf-3961-4eb9-9c4d-76f60d357cae"},{"key":"states[]","value":"83ee06d2-feef-4678-9bf6-14d8e6bd1795"},{"disabled":true,"key":"environments[]","value":"sandbox"},{"disabled":true,"key":"states[]","value":"99b020bf-3961-4eb9-9c4d-76f60d357cae"},{"disabled":true,"key":"environments[]","value":"live"},{"disabled":true,"key":"is_live","value":"true"},{"disabled":true,"key":"is_sandbox","value":"false"},{"key":"assigned_to_me","value":"false"},{"disabled":true,"key":"page","value":"2"},{"key":"per_page","value":"40"},{"key":"order","value":"asc"}],"variable":[]}},"response":[],"_postman_id":"85d590ff-f6f8-413d-8ef3-57dbb64328e0"}],"id":"40bf33b2-bab8-43a7-8b69-0913c155eeeb","_postman_id":"40bf33b2-bab8-43a7-8b69-0913c155eeeb","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Devices","item":[{"name":"Get devices","id":"90a3a86f-85a5-49ba-b732-9610f00febf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[],"url":"https://api.mdintegrations.com/v1/clinician/devices","description":"<p>Get all active devices</p>\n","urlObject":{"path":["v1","clinician","devices"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"90a3a86f-85a5-49ba-b732-9610f00febf7"},{"name":"Delete device","id":"830993ba-9d18-4c62-9025-927353230411","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"devices\": [\r\n        \"mfUvVG3mxzwF4rfeed26d\",\r\n        \"...\",\r\n        \"...\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/devices/:device_id","description":"<p>Delete clinician device</p>\n","urlObject":{"path":["v1","clinician","devices",":device_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"60f46931-a691-40a4-9087-46a5bc028a22","type":"any","value":"","key":"device_id"}]}},"response":[],"_postman_id":"830993ba-9d18-4c62-9025-927353230411"}],"id":"1423db4c-92a6-4317-afea-89fe15f89adc","_postman_id":"1423db4c-92a6-4317-afea-89fe15f89adc","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Wildcards","item":[{"name":"Swap wildcards","id":"b404f98f-d2c9-41e4-89a0-ecaf4bf5a3f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"text\": \"Hello [patient_name]\",\n    \"patient_id\": \"d8621e06-f1de-4cc1-8e89-d06b84c42d73\",\n    \"case_id\": \"724c468a-1209-4182-84fc-d010b67f2944\",\n    \"clinician_id\": \"724c468a-1209-4182-84fc-d010b67f2944\",\n    \"partner_id\": \"724c468a-1209-4182-84fc-d010b67f2944\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/wildcards/swap","description":"<p>It swaps the wildcards based on past information.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>text*</td>\n<td>string*</td>\n</tr>\n<tr>\n<td>patient_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>case_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","wildcards","swap"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b404f98f-d2c9-41e4-89a0-ecaf4bf5a3f4"}],"id":"040c3a76-89f2-4fe9-91d1-2942c899c41d","_postman_id":"040c3a76-89f2-4fe9-91d1-2942c899c41d","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get available clinicians","id":"8702907b-2fc5-4be3-ade0-8bc8ad48ef22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"partner_id\": \"03b3ec25-28c0-46d4-845c-e941816c6d60\",\r\n    \"state_id\": \"94f8abd3-1885-42dc-9f4e-6c8416a40122\",\r\n    \"is_live\": true,\r\n    \"is_sandbox\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/available/list","description":"<p>Get available clinicians to be assigned to cases for a given partner.\nThe <code>state_id</code> will be used to filter by Clinician's Licenses State.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid*</td>\n<td>Partner ID</td>\n</tr>\n<tr>\n<td>state_id</td>\n<td>uuid</td>\n<td>State ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","clinician","available","list"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8702907b-2fc5-4be3-ade0-8bc8ad48ef22"},{"name":"Update authenticated clinician","id":"106907e4-e5ba-47fe-bcdb-8220697c3de0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"prefix\": \"Sr\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"suffix\": \"M.D.\",\n    \"date_of_birth\": \"2000-12-31\",\n    \"phone_number\": \"541-754-3010\",\n    \"phone_type\": 2,\n    \"specialty\": \"General Practice\",\n    \"photo_id\": \"ce2c4f22-800f-4939-b04a-95f80f1b8888\",\n    \"signature_id\": \"ce2c4f22-800f-4939-b04a-95f80f1b8888\",\n    \"npdb_id\": \"ce2c4f22-800f-4939-b04a-95f80f1b8888\",\n    \"fax_number\": \"212-9876543\",\n    \"email\": \"john@doe.com\",\n    \"profile_url\": \"http://profileurlexample.com\",\n    \"case_assignment_availability\": false,\n    \"is_message_availability\": false,\n    \"is_out_of_office\": true,\n    \"out_of_office_return_at\": \"2024-08-25\",\n    \"automatic_sync_video_id\": \"80d2b683-4c3b-401b-a188-ffc875aabc68\",\n    \"thank_you_video_file_id\": \"80d2b683-4c3b-401b-a188-ffc875aabc68\",\n    \"address\": {\n        \"address\": \"1901 1st Avenue, New York, NY 10029\",\n        \"zip_code\": \"12345\",\n        \"city_name\": \"New York\",\n        \"state_name\": \"NY\",\n        \"country_code\": \"US\"\n    },\n    \"practice_areas\": [\n        \"15c79e96-3095-4346-b390-224ccd1ab947\",\n        \"007e6605-7b9e-4317-a1e5-c5c721d3aac7\"\n    ],\n    \"licenses\": [\n        {\n            \"license_id\": \"007e6605-7b9e-4317-a1e5-c5c721d3aac7\",\n            \"type\": \"npi\",\n            \"value\": \"1234567890\"\n        }\n    ],\n    \"bio_details\": \"Here is a bio detail example.\"\n}"},"url":"https://api.mdintegrations.com/v1/clinician","description":"<p>Update the currently authenticated clinician record on both MD Integrations and DoseSpot.</p>\n","urlObject":{"path":["v1","clinician"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"106907e4-e5ba-47fe-bcdb-8220697c3de0"},{"name":"Get authenticated clinician","id":"e871b1db-6867-44a2-bc1b-3a27c0b47690","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Origin","value":"localhost"}],"url":"https://api.mdintegrations.com/v1/clinician","description":"<p>Get the following information from the currently authenticated clinician:</p>\n<ul>\n<li>Profile</li>\n<li>Address</li>\n<li>Licenses</li>\n</ul>\n<p>In order for a clinician to start prescribing medications or compounds, the clinician must be confirmed by DoseSpot (<code>dosespot_confirmed</code>). The confirmation is not instantaneous, so it may take a while.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e871b1db-6867-44a2-bc1b-3a27c0b47690"},{"name":"Get translation","id":"e7bb557a-5585-41a9-84a5-72a449ab1ac0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    //\"source_language\": \"en\",\r\n    \"target_language\": \"es-MX\",\r\n    \"text\": \"hello world\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/v1/clinician/translate","description":"<p>Get translation for a text.</p>\n<p>The Language Code uses <a href=\"https://www.loc.gov/standards/iso639-2/php/code_list.php\">ISO 639-1</a> two-digit language codes. For a country variant of a language, the table follows the <a href=\"https://www.rfc-editor.org/rfc/rfc5646.html\">RFC 5646</a> format of appending a dash followed by an <a href=\"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes\">ISO 3166</a> 2-digit country code. For example, the language code for the Mexican variant of Spanish is <code>es-MX</code>.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>source_language</td>\n<td>text</td>\n<td>Source Language Code</td>\n</tr>\n<tr>\n<td>target_language</td>\n<td>text*</td>\n<td>Target Language Code</td>\n</tr>\n<tr>\n<td>text</td>\n<td>text*</td>\n<td>Text to be translated</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["v1","clinician","translate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e7bb557a-5585-41a9-84a5-72a449ab1ac0"},{"name":"Get Statistic","id":"d604e46c-746e-4da3-9683-84afcba975ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/clinician/statistics/:statistic?start_date=2023-01-01&end_date=2024-01-01","description":"<p>Get the statistic by identifier.</p>\n","urlObject":{"path":["clinician","statistics",":statistic"],"host":["https://api.mdintegrations.com"],"query":[{"key":"start_date","value":"2023-01-01"},{"key":"end_date","value":"2024-01-01"},{"disabled":true,"key":"view","value":"table"},{"disabled":true,"key":"columns[]","value":"amount_voucheds"}],"variable":[{"id":"03f48ab9-3524-47da-8d8e-c737a6d3df3f","type":"any","value":"","key":"statistic"}]}},"response":[],"_postman_id":"d604e46c-746e-4da3-9683-84afcba975ee"},{"name":"Get Statistics","id":"63f4208f-1e6f-4684-afef-07a936108f68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/clinician/statistics?start_date=2023-01-01&end_date=2024-01-01","description":"<p>Get statistics based on clinician's profile.</p>\n","urlObject":{"path":["clinician","statistics"],"host":["https://api.mdintegrations.com"],"query":[{"key":"start_date","value":"2023-01-01"},{"key":"end_date","value":"2024-01-01"},{"disabled":true,"key":"view","value":"table"},{"disabled":true,"key":"columns[]","value":"amount_voucheds"}],"variable":[]}},"response":[],"_postman_id":"63f4208f-1e6f-4684-afef-07a936108f68"},{"name":"Ping activity","id":"8672ef4b-0704-4923-8da2-d982bafd05b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/clinician/ping-activity","description":"<p>Get statistics based on clinician's profile.</p>\n","urlObject":{"path":["clinician","ping-activity"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8672ef4b-0704-4923-8da2-d982bafd05b1"}],"id":"ed36decc-5dbb-4545-bd09-20ffccace5b2","description":"<h1 id=\"md-integrations-api-for-clinicians\">MD Integrations API for Clinicians</h1>\n<h2 id=\"intro\">Intro</h2>\n<p>The MD Integrations API for clinicians is a set of HTTP endpoints that allows clinicians to perform all the required actions in order to review cases for patients on MD Integrations.</p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>MD Integrations for Clinician supports OAuth 2.0 password grant for authorizing API requests. You will need to obtain an access token using an email address and password. Check <strong>Clinician &gt; Access Tokens &gt; Create access token</strong> for more details.</p>\n<p>In order to make an authorized request to the API you should use an <code>Authorization</code> header with the value Bearer . E.g.:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-http\">GET /clinician HTTP/1.1\n...\nAuthorization: Bearer eyJ0eXAiOiJKV1Q...\n</code></pre>\n","_postman_id":"ed36decc-5dbb-4545-bd09-20ffccace5b2","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Admin","item":[{"name":"Statuses","item":[{"name":"Get Status","id":"8ab78d04-a705-4610-9663-20446462b4b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/admin/status","description":"<p>Get the status details.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["admin","status"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ab78d04-a705-4610-9663-20446462b4b7"}],"id":"bd790906-0b6b-4455-aa24-6932578ff2a6","_postman_id":"bd790906-0b6b-4455-aa24-6932578ff2a6","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Partners","item":[{"name":"Compounds","item":[{"name":"Replicate Compound","id":"40565038-c9cc-4e05-850f-9af25fb82247","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/admin/partners/:partner/compounds/:compound/replicate","description":"<p>Replicates the partner's compound.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["admin","partners",":partner","compounds",":compound","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4857754f-2c28-4661-ab24-07ab1458cf18","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"e065dae0-c3bb-410f-b7e6-d856f0ff419a","type":"any","value":"fccb247c-ca2c-470e-b2ed-df04e5ef96aa","key":"compound"}]}},"response":[],"_postman_id":"40565038-c9cc-4e05-850f-9af25fb82247"}],"id":"e19501b2-397e-46f5-b810-2be726eb9f5a","_postman_id":"e19501b2-397e-46f5-b810-2be726eb9f5a","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Medications","item":[{"name":"Replicate Medication","id":"1d09a2de-a737-432a-9e50-c0dcc4894e35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/admin/partners/:partner/medications/:medication/replicate","description":"<p>Replicates the partner's medication.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["admin","partners",":partner","medications",":medication","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c32906bf-a5fc-4f98-a5a4-89bd08f4f1ad","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"88bed242-744d-4835-9c4e-c63f92de1dc6","type":"any","value":"52edad60-5426-4fbe-a261-a73947494073","key":"medication"}]}},"response":[],"_postman_id":"1d09a2de-a737-432a-9e50-c0dcc4894e35"}],"id":"fec9a46c-15c2-4e8b-abb2-05492faa33b2","_postman_id":"fec9a46c-15c2-4e8b-abb2-05492faa33b2","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Offerings","item":[{"name":"Replicate Offerings","id":"722cdbed-de6a-4f93-8608-6872e7df08cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/admin/partners/:partner/offerings/replicate","description":"<p>Replicates all the partner's offerings.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["admin","partners",":partner","offerings","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f25c2e0d-91b6-43c2-a25e-adefc02ae406","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"722cdbed-de6a-4f93-8608-6872e7df08cd"}],"id":"f6c9bd9f-ff37-41b6-b2a6-c14fe8bfc0f5","_postman_id":"f6c9bd9f-ff37-41b6-b2a6-c14fe8bfc0f5","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Questionnaires","item":[{"name":"Replicate Questionnaire","id":"ec42c06a-3422-453a-91a6-927d4ecee20e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/admin/partners/:partner/questionnaires/:questionnaire/replicate","description":"<p>Replicates the partner's questionnaire.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["admin","partners",":partner","questionnaires",":questionnaire","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6ef07c22-a825-4bc9-9f49-cc27b08992c9","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"1162e2a5-7ded-4705-b375-c496fa178f0d","type":"any","value":"4a70f660-bad5-40be-a76d-a47e988a3005","key":"questionnaire"}]}},"response":[],"_postman_id":"ec42c06a-3422-453a-91a6-927d4ecee20e"}],"id":"1a1c2319-2f18-41b4-9c20-5a065302a1b9","_postman_id":"1a1c2319-2f18-41b4-9c20-5a065302a1b9","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Services","item":[{"name":"Replicate Service","id":"1c57cfc9-2d76-4a76-99a3-68e1665b5ada","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/admin/partners/:partner/services/:service/replicate","description":"<p>Replicates the partner's service.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["admin","partners",":partner","services",":service","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c9451f1e-12ab-4779-8714-2dd8dcb1b675","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"4f3b31f2-afa9-4564-9cfa-9f172586d581","type":"any","value":"22ab6ae0-3985-4c94-b0c1-435a7cc10246","key":"service"}]}},"response":[],"_postman_id":"1c57cfc9-2d76-4a76-99a3-68e1665b5ada"}],"id":"73779b17-67ce-44b7-894c-e8122c7c3986","_postman_id":"73779b17-67ce-44b7-894c-e8122c7c3986","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Supply","item":[{"name":"Replicate Supply","id":"b2a196c2-ac63-4e4e-a099-37ebfa55572e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/admin/partners/:partner/supplies/:supply/replicate","description":"<p>Replicates the partner's supply.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["admin","partners",":partner","supplies",":supply","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"797eaa68-bc65-4866-b51a-63b46fb59bee","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"01b901ba-9187-479c-b9d5-d726b8e90385","type":"any","value":"4cf2652f-16cc-4784-b97c-4be02a171eec","key":"supply"}]}},"response":[],"_postman_id":"b2a196c2-ac63-4e4e-a099-37ebfa55572e"}],"id":"8ffca0cb-0faf-4b22-9bb4-ddc44c2ce70d","_postman_id":"8ffca0cb-0faf-4b22-9bb4-ddc44c2ce70d","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"bdb0a877-5514-443b-bbe1-6bf817350db8","_postman_id":"bdb0a877-5514-443b-bbe1-6bf817350db8","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Dosespot","item":[{"name":"Medications","item":[{"name":"Get Medications (Search)","id":"0f016f4b-59bc-4a12-ad11-d1a89e9731bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"2"},{"key":"Signature","value":"eyJpdiI6IlAyMjhjVEs3Zm5GRzB1UU1iWk9PdlE9PSIsInZhbHVlIjoic3pUMTRoOXhRSHZGYkc5NDJTQWhIRlQxaDc3eWdmT3VWSTc1VHMxWUdoND0iLCJtYWMiOiIwNDU3MDQ1YmIyMDYxY2YwOTVmNjNmOGIxNmJjYTI4ZDJkYWIzNDM4NGQwMWYyZGViNDkzNjkwMGU5NGE3ODQyIiwidGFnIjoiIn0="}],"url":"https://api.mdintegrations.com/admin/dosespot/medications/search?name=ibupr","description":"<p>Get the DoseSpot's medications with the search terms.</p>\n","urlObject":{"path":["admin","dosespot","medications","search"],"host":["https://api.mdintegrations.com"],"query":[{"key":"name","value":"ibupr"}],"variable":[]}},"response":[],"_postman_id":"0f016f4b-59bc-4a12-ad11-d1a89e9731bd"},{"name":"Get Medication (Select)","id":"c429c6af-d27a-4326-b21a-7fdf7eb3b554","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/admin/dosespot/medications/select?name=dexAMETHasone (oral - tablet)&strength=6 mg","description":"<p>Get the DoseSpot's medication details with the select terms.</p>\n","urlObject":{"path":["admin","dosespot","medications","select"],"host":["https://api.mdintegrations.com"],"query":[{"key":"name","value":"dexAMETHasone (oral - tablet)"},{"key":"strength","value":"6 mg"}],"variable":[]}},"response":[],"_postman_id":"c429c6af-d27a-4326-b21a-7fdf7eb3b554"}],"id":"459046ce-ce78-4494-b4b5-2534d7eb887a","_postman_id":"459046ce-ce78-4494-b4b5-2534d7eb887a","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Pharmacies","item":[{"name":"Get Pharmacies (Search)","id":"b0d6889b-8bab-4ccc-a5be-8370b1a0aaf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/admin/dosespot/pharmacies/search?name=USA","description":"<p>Get the DoseSpot's pharmacies with the search terms.</p>\n","urlObject":{"path":["admin","dosespot","pharmacies","search"],"host":["https://api.mdintegrations.com"],"query":[{"key":"name","value":"USA"}],"variable":[]}},"response":[],"_postman_id":"b0d6889b-8bab-4ccc-a5be-8370b1a0aaf4"},{"name":"Get Pharmacy","id":"b7e747b9-f6d2-46d5-861a-377211b640ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/admin/dosespot/pharmacies/:pharmacy","description":"<p>Get the DoseSpot's pharmacy details.</p>\n","urlObject":{"path":["admin","dosespot","pharmacies",":pharmacy"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"3e3d308d-255f-41cd-8672-cc7c4aa9a84d","type":"any","value":"294","key":"pharmacy"}]}},"response":[],"_postman_id":"b7e747b9-f6d2-46d5-861a-377211b640ef"}],"id":"4bc6e4a0-bfe1-40f8-affd-bb8ede749ae0","_postman_id":"4bc6e4a0-bfe1-40f8-affd-bb8ede749ae0","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Supplies","item":[{"name":"Get Supplies (Search)","id":"32563a4a-5876-4967-b6fe-f9497e6ae244","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/admin/dosespot/supplies/search?name=Dex&ndc=49452246901","description":"<p>Get the DoseSpot's supplies with the search terms.</p>\n","urlObject":{"path":["admin","dosespot","supplies","search"],"host":["https://api.mdintegrations.com"],"query":[{"key":"name","value":"Dex"},{"key":"ndc","value":"49452246901"}],"variable":[]}},"response":[],"_postman_id":"32563a4a-5876-4967-b6fe-f9497e6ae244"},{"name":"Get Supply","id":"f905f7f0-3cc4-455f-91da-016ea49f0445","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/admin/dosespot/supplies/:supplyId","description":"<p>Get the DoseSpot's supply.</p>\n","urlObject":{"path":["admin","dosespot","supplies",":supplyId"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"bc6e0515-1385-4228-8f46-ec7f7890454f","type":"any","value":"6138","key":"supplyId"}]}},"response":[],"_postman_id":"f905f7f0-3cc4-455f-91da-016ea49f0445"}],"id":"3d6ac489-6657-4139-9988-9b48f9bd36c4","_postman_id":"3d6ac489-6657-4139-9988-9b48f9bd36c4","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"a58d82d1-7a0a-4775-9cc7-73075ead138c","_postman_id":"a58d82d1-7a0a-4775-9cc7-73075ead138c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"44a1b6fc-3bd3-4d21-96fd-c0c9ee76f230","_postman_id":"44a1b6fc-3bd3-4d21-96fd-c0c9ee76f230","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"AI","item":[{"name":"Generate Text","id":"1745f8c0-96be-415b-9afc-1e55d31681e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"model\": \"meta_llama_38B\",\n    \"prompt\": \"You prompt here?\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/ai/text","description":"<p>Generate texts, get answers, etc., based on the given prompt using AI.</p>\n","urlObject":{"path":["ai","text"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1745f8c0-96be-415b-9afc-1e55d31681e9"},{"name":"Create Rating","id":"ec28d495-69f8-4fcc-a332-497c3baf5c34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"model\": \"meta_llama_38B\",\n    \"prompt\": \"You prompt here?\",\n    \"key\": \"messages\",\n    \"rating\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/ai/text","description":"<p>It creates a rating record for the model and prompt.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>model</td>\n<td>The model used.</td>\n</tr>\n<tr>\n<td>prompt</td>\n<td>The prompt used</td>\n</tr>\n<tr>\n<td>rating</td>\n<td>It can be either 1 or -1 value</td>\n</tr>\n<tr>\n<td>key</td>\n<td>The product or where it was used to.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["ai","text"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec28d495-69f8-4fcc-a332-497c3baf5c34"}],"id":"91573d9d-93af-4ac1-8cdd-ff485c69da36","_postman_id":"91573d9d-93af-4ac1-8cdd-ff485c69da36","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"App","item":[{"name":"Articles","item":[{"name":"Get Articles","id":"1364505b-1372-4cda-bc1c-72a43c614983","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/articles?page=1&per_page=15","description":"<p>Get the articles (paginated).</p>\n","urlObject":{"path":["app","articles"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"disabled":true,"key":"type","value":"faq"},{"disabled":true,"key":"key","value":"key"}],"variable":[]}},"response":[],"_postman_id":"1364505b-1372-4cda-bc1c-72a43c614983"},{"name":"Get Article","id":"2ebdab1c-903e-477b-ace7-8deed83db635","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/articles/:article","description":"<p>Get the article details.</p>\n","urlObject":{"path":["app","articles",":article"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"24ce8059-2de8-4c9d-ac27-9eb3738762cf","key":"article"}]}},"response":[],"_postman_id":"2ebdab1c-903e-477b-ace7-8deed83db635"}],"id":"0b352dd1-3eb1-4160-86c7-891208eaf2e5","_postman_id":"0b352dd1-3eb1-4160-86c7-891208eaf2e5","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Environments","item":[{"name":"Get Environments","id":"5974c14c-bae6-4c37-8886-6db720d71449","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/environments?page=1&per_page=15","description":"<p>Get the environments (paginated).</p>\n","urlObject":{"path":["app","environments"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"disabled":true,"key":"identifier","value":"production"},{"disabled":true,"key":"identifiers[]","value":"sandbdox"},{"disabled":true,"key":"identifiers[]","value":"live"}],"variable":[]}},"response":[],"_postman_id":"5974c14c-bae6-4c37-8886-6db720d71449"},{"name":"Get Environment","id":"6b1c4e4d-3771-4055-8059-1c6485dedf0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/environments/:environment","description":"<p>Get the environment details.</p>\n","urlObject":{"path":["app","environments",":environment"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"bbdab29e-4306-4d1a-a102-c23217f75897","type":"any","value":"314b0cbe-0e35-4049-b27d-8eee486e03b4","key":"environment"}]}},"response":[],"_postman_id":"6b1c4e4d-3771-4055-8059-1c6485dedf0d"}],"id":"c3b9f7f7-1237-4ae2-8a73-213282f663a5","_postman_id":"c3b9f7f7-1237-4ae2-8a73-213282f663a5","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Patients","item":[{"name":"Messages","item":[{"name":"Files","item":[{"name":"Get Files","id":"ceefedc3-3be3-4f64-b46e-9eccace1d1e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/patients/:patient/messages/:message/files?per_page=15&page=1","description":"<p>Get the patient's message's files (paginated).</p>\n","urlObject":{"path":["app","patients",":patient","messages",":message","files"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"f3c22832-bd65-42f8-bf44-229f427b51e2","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"3ebd3830-04de-48ac-84a1-b1954cb4f2b3","type":"any","value":"9f2b23a9-9c3a-483b-9559-0f4f8bdfd667","key":"message"}]}},"response":[],"_postman_id":"ceefedc3-3be3-4f64-b46e-9eccace1d1e3"},{"name":"Attach File","id":"683cc3eb-5317-402e-a4f9-e22692c57821","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/patients/:patient/messages/:message/files/:file","description":"<p>Attach the file to the patient's message.</p>\n","urlObject":{"path":["app","patients",":patient","messages",":message","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"3d9aaeeb-19e6-4d56-82f3-548fd24c9687","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"11e1bed0-f9dc-48d1-9bff-2a266d42dd97","type":"any","value":"0682c481-dd31-4047-a5ae-38c35ff216ea","key":"message"},{"id":"a99b726d-7dd3-47eb-99ce-5d48f772fed7","type":"any","value":"3f7b155c-c235-476c-9688-3fa7c1d59ed2","key":"file"}]}},"response":[],"_postman_id":"683cc3eb-5317-402e-a4f9-e22692c57821"}],"id":"ebcd6caf-7e0c-4d0b-a81d-ba9fee514bdc","_postman_id":"ebcd6caf-7e0c-4d0b-a81d-ba9fee514bdc","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Readings","item":[{"name":"Get Readings","id":"c78c28c3-d3f1-4674-a64a-9af08aad7cd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/patients/:patient/messages/:message/readings?per_page=15&page=1","description":"<p>Get the patient's message's readings (paginated).</p>\n","urlObject":{"path":["app","patients",":patient","messages",":message","readings"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"f2a1756f-6fea-4a08-b10f-53cfbbf3e86f","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"f1afc979-8207-4635-8ddc-106444b39cf5","type":"any","value":"5c555f3c-50dc-43b4-9de2-cd4b4bd4055e","key":"message"}]}},"response":[],"_postman_id":"c78c28c3-d3f1-4674-a64a-9af08aad7cd2"}],"id":"035caa68-006e-4f73-a316-e262e0d142f1","_postman_id":"035caa68-006e-4f73-a316-e262e0d142f1","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Messages","id":"81e5c4d3-b6b0-4b3d-9b86-f0fa601e66ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/patients/:patient/messages?channel=patient&order=desc","description":"<p>Get the patient's messages (paginated).</p>\n","urlObject":{"path":["app","patients",":patient","messages"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"per_page","value":"15"},{"key":"channel","value":"patient"},{"key":"order","value":"desc"}],"variable":[{"id":"fab43750-9d18-4a69-8d14-dcbdbc8c4a0d","type":"any","value":"757479af-30a7-4725-a46a-4a31fb2b813a","key":"patient"}]}},"response":[],"_postman_id":"81e5c4d3-b6b0-4b3d-9b86-f0fa601e66ec"},{"name":"Create Message","id":"e719d37a-b648-45bc-8518-36a558b7f84a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"channel\": \"patient\",\n    \"text\": \"Message text.\",\n    \"reference_message_id\": \"ce36bba7-3932-4197-9d92-4565a890edf8\",\n    \"files\": [\n        {\n            \"id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\"\n        },\n        {\n            \"id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/app/patients/:patient/messages","description":"<p>Creates a patient's message, and attaches its files.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>channel*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>text</td>\n<td>string</td>\n</tr>\n<tr>\n<td>reference_message_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>files</td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-files\">Payload (files)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id*</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["app","patients",":patient","messages"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a986696c-044f-49ef-9032-fdd7c2bfeadb","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"}]}},"response":[],"_postman_id":"e719d37a-b648-45bc-8518-36a558b7f84a"},{"name":"Get Message","id":"8cf72722-14b4-4eb8-9336-9ea3404ad775","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/patients/:patient/messages/:message","description":"<p>Get the patient's message details.</p>\n","urlObject":{"path":["app","patients",":patient","messages",":message"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a779d362-8c8a-4735-ac14-7a7be0a764f6","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"2e67e2a1-f25a-4542-8345-46f1c1566167","type":"any","value":"0682c481-dd31-4047-a5ae-38c35ff216ea","key":"message"}]}},"response":[],"_postman_id":"8cf72722-14b4-4eb8-9336-9ea3404ad775"},{"name":"Read Message","id":"13ea38fe-85a6-4f5e-a78d-7e467dc621f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/patients/:patient/messages/:message/read","description":"<p>Reads the patient's message.</p>\n","urlObject":{"path":["app","patients",":patient","messages",":message","read"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"85ac6780-8e67-4771-885f-46e967972659","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"3af70025-179a-46f9-96f8-2e61a0ec764c","type":"any","value":"0682c481-dd31-4047-a5ae-38c35ff216ea","key":"message"}]}},"response":[],"_postman_id":"13ea38fe-85a6-4f5e-a78d-7e467dc621f1"},{"name":"Unread Message","id":"3e23a76d-d9f3-4b3d-8107-bb6e9fb0edbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/patients/:patient/messages/:message/unread","description":"<p>Unreads the patient's message.</p>\n","urlObject":{"path":["app","patients",":patient","messages",":message","unread"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4df14a70-56da-4b51-b80a-f508aae2e76e","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"14a20cbc-0282-44ae-9459-260470e62a4e","type":"any","value":"90e96706-7620-4b3f-b0fc-8f7d520a013b","key":"message"}]}},"response":[],"_postman_id":"3e23a76d-d9f3-4b3d-8107-bb6e9fb0edbd"},{"name":"Dismiss Messages","id":"fbe31a4b-da1b-4753-9154-b727a715d9b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/patients/:patient/messages/dismiss?channel=patient","description":"<p>Dismisses the patient's messages.</p>\n","urlObject":{"path":["app","patients",":patient","messages","dismiss"],"host":["https://api.mdintegrations.com"],"query":[{"key":"channel","value":"patient"}],"variable":[{"id":"652380ad-1d29-4691-bc13-ec49231063a1","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"}]}},"response":[],"_postman_id":"fbe31a4b-da1b-4753-9154-b727a715d9b8"},{"name":"Undismiss Message","id":"9dfcffd8-8e1c-405c-9dce-45bb6a26fb75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/patients/:patient/messages/:message/undismiss","description":"<p>Undismisses the patient's message.</p>\n","urlObject":{"path":["app","patients",":patient","messages",":message","undismiss"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7f090f73-f39d-4374-bd46-bac665092b49","type":"any","value":"8e1cb3f5-23ae-465b-9f5d-929b11f97e98","key":"patient"},{"id":"69935e79-6472-4047-8bd3-ebcc0403f9de","type":"any","value":"05eaf32f-845d-40c3-b75c-3eb30e25c1cf","key":"message"}]}},"response":[],"_postman_id":"9dfcffd8-8e1c-405c-9dce-45bb6a26fb75"}],"id":"661fce34-744a-44b1-87c4-0e474a7cb007","_postman_id":"661fce34-744a-44b1-87c4-0e474a7cb007","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"4610a6d4-5244-49ea-aeec-b6d9e5f1f3e6","_postman_id":"4610a6d4-5244-49ea-aeec-b6d9e5f1f3e6","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Statuses","item":[{"name":"Get Status","id":"556e40b8-b9bc-4eb4-8d9a-aaa47a49752d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/status","description":"<p>Get the status details.</p>\n","urlObject":{"path":["app","status"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"556e40b8-b9bc-4eb4-8d9a-aaa47a49752d"}],"id":"50656ec2-0430-42af-a02e-c1fc9b27c2e9","_postman_id":"50656ec2-0430-42af-a02e-c1fc9b27c2e9","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"User","item":[{"name":"Logins","item":[{"name":"Login User","id":"6a74553b-601f-41ee-990d-86523e4f4f48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"clinician@user.com\",\n\t\"password\": \"password\",\n    \"code\": \"PASSC0\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/app/user/login","description":"<p>Logins the user.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>code*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["app","user","login"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a74553b-601f-41ee-990d-86523e4f4f48"}],"id":"3d4b6a63-a230-4874-918f-727be1ab7e36","_postman_id":"3d4b6a63-a230-4874-918f-727be1ab7e36","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Logouts","item":[{"name":"Logout User","id":"f122bb32-f614-4272-955a-6be86453597a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/user/logout","description":"<p>Logouts the user from the current device.</p>\n","urlObject":{"path":["app","user","logout"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f122bb32-f614-4272-955a-6be86453597a"},{"name":"Logout User (All)","id":"094b4dc2-bba4-470d-8e33-5e862f579078","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/user/logout/all","description":"<p>Logouts the user from all devices.</p>\n","urlObject":{"path":["app","user","logout","all"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"094b4dc2-bba4-470d-8e33-5e862f579078"}],"id":"a23f7cc7-4caa-4926-977e-a1f76caf43e3","_postman_id":"a23f7cc7-4caa-4926-977e-a1f76caf43e3","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Passcodes","item":[{"name":"Create Passcode","id":"3f2ea7c7-46ec-411f-bee5-dd5257356941","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"panel@user.com\",\n    \"password\": \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/app/user/passcodes","description":"<p>Creates a passcode for the user.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["app","user","passcodes"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f2ea7c7-46ec-411f-bee5-dd5257356941"}],"id":"6c239956-45b5-435c-8060-564bbd20d03a","_postman_id":"6c239956-45b5-435c-8060-564bbd20d03a","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Notifications","item":[{"name":"Get Notifications (Messages)","id":"eda7f861-8d08-40ac-b14e-15c8e6262552","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/user/notifications/messages?status=unread","description":"<p>Get the user's notifications (messages) (paginated).</p>\n","urlObject":{"path":["app","user","notifications","messages"],"host":["https://api.mdintegrations.com"],"query":[{"key":"status","value":"unread"},{"disabled":true,"key":"channel","value":"patient"},{"disabled":true,"key":"partners[]","value":"c522a64c-43c7-4c03-ae39-3e44da64d510"},{"disabled":true,"key":"partners[]","value":"fe3d9cb1-fe8d-451e-b9bb-1c8b031d6a7e"},{"disabled":true,"key":"clinicians[]","value":"a8f51b2a-c544-4088-bc46-d1da54e93410"},{"disabled":true,"key":"clinicians[]","value":"00054f0f-f1cd-44e3-8f9a-24f0dd658b15"},{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"per_page","value":"15"},{"disabled":true,"key":"order","value":"asc"},{"disabled":true,"key":"environments[]","value":"sandbox"},{"disabled":true,"key":"environments[]","value":"live"}],"variable":[]}},"response":[],"_postman_id":"eda7f861-8d08-40ac-b14e-15c8e6262552"}],"id":"809ed1a4-4a97-4bff-a7b9-ca97f0f8007c","_postman_id":"809ed1a4-4a97-4bff-a7b9-ca97f0f8007c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get User","id":"f08f8f70-d67c-47bc-abe4-bceea6f66c0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/app/user","description":"<p>Get the user details.</p>\n","urlObject":{"path":["app","user"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f08f8f70-d67c-47bc-abe4-bceea6f66c0d"}],"id":"8d47caf2-e6a2-4d81-a34d-c4bc4aa72ce9","_postman_id":"8d47caf2-e6a2-4d81-a34d-c4bc4aa72ce9","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"14b8fd91-35de-46a7-a8c8-3f522db40c43","_postman_id":"14b8fd91-35de-46a7-a8c8-3f522db40c43","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Boothwyn","item":[{"name":"Offerings","item":[{"name":"Get Offerings (Search)","id":"396b46a5-97f8-49de-817d-a7f5a4b737e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/boothwyn/offerings/search?name=Ibupro","description":"<p>Get the Boothwyn's offerings with the search terms.</p>\n","urlObject":{"path":["boothwyn","offerings","search"],"host":["https://api.mdintegrations.com"],"query":[{"key":"name","value":"Ibupro"}],"variable":[]}},"response":[],"_postman_id":"396b46a5-97f8-49de-817d-a7f5a4b737e9"}],"id":"c26f9ffd-daeb-4bd5-94eb-742b97a98ee8","_postman_id":"c26f9ffd-daeb-4bd5-94eb-742b97a98ee8","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"3f03a8b6-468d-4db8-b301-ca4bb0b916a6","_postman_id":"3f03a8b6-468d-4db8-b301-ca4bb0b916a6","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Dosespot","item":[{"name":"Medications","item":[{"name":"Get Medications (Search)","id":"3eebc8f1-b83e-4008-a0df-4a5fb1aed63d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/dosespot/medications/search?name=Ibupro","description":"<p>Get the DoseSpot's medications with the search terms.</p>\n","urlObject":{"path":["dosespot","medications","search"],"host":["https://api.mdintegrations.com"],"query":[{"key":"name","value":"Ibupro"}],"variable":[]}},"response":[],"_postman_id":"3eebc8f1-b83e-4008-a0df-4a5fb1aed63d"},{"name":"Get Medication (Select)","id":"c77e206e-d427-4378-8a5a-4c6f7e5216a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/dosespot/medications/select?rxcui=310964","description":"<p>Get the DoseSpot's medication details with the select terms.</p>\n","urlObject":{"path":["dosespot","medications","select"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"dispensable_drug_id","value":"867"},{"disabled":true,"key":"ndc","value":"70000057103"},{"key":"rxcui","value":"310964"}],"variable":[]}},"response":[],"_postman_id":"c77e206e-d427-4378-8a5a-4c6f7e5216a9"}],"id":"10db2eca-bf97-499c-8c0f-c60cb527034f","_postman_id":"10db2eca-bf97-499c-8c0f-c60cb527034f","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Pharmacies","item":[{"name":"Get Pharmacies (Search)","id":"1a4f5fc6-cdfe-460a-867c-bbcaaa2559a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/dosespot/pharmacies/search?name=USA","description":"<p>Get the DoseSpot's pharmacies with the search terms.</p>\n","urlObject":{"path":["dosespot","pharmacies","search"],"host":["https://api.mdintegrations.com"],"query":[{"key":"name","value":"USA"}],"variable":[]}},"response":[],"_postman_id":"1a4f5fc6-cdfe-460a-867c-bbcaaa2559a1"},{"name":"Get Pharmacy","id":"83fbaa00-3483-480f-8600-c2210c2072d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/dosespot/pharmacies/:pharmacy","description":"<p>Get the DoseSpot's pharmacy details.</p>\n","urlObject":{"path":["dosespot","pharmacies",":pharmacy"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"3fada7bd-cb2a-4f9a-86ac-4439701bd444","type":"any","value":"294","key":"pharmacy"}]}},"response":[],"_postman_id":"83fbaa00-3483-480f-8600-c2210c2072d6"}],"id":"0b439cfa-0b65-4d3c-88fe-a45b9edae87c","_postman_id":"0b439cfa-0b65-4d3c-88fe-a45b9edae87c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Statuses","item":[{"name":"Get Status","id":"f7c2879e-4f99-41d0-a04d-4ec3dd409680","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/dosespot/status","description":"<p>Get the status details.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["dosespot","status"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7c2879e-4f99-41d0-a04d-4ec3dd409680"}],"id":"49afdc5e-4768-43a4-83ea-e7675db642a7","_postman_id":"49afdc5e-4768-43a4-83ea-e7675db642a7","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Supplies","item":[{"name":"Get Supplies (Search)","id":"4b1a660b-fd4b-48e5-86ba-7584b59dec9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/dosespot/supplies/search?name=Dex&ndc=49452246901","description":"<p>Get the DoseSpot's supplies with the search terms.</p>\n","urlObject":{"path":["dosespot","supplies","search"],"host":["https://api.mdintegrations.com"],"query":[{"key":"name","value":"Dex"},{"key":"ndc","value":"49452246901"}],"variable":[]}},"response":[],"_postman_id":"4b1a660b-fd4b-48e5-86ba-7584b59dec9d"},{"name":"Get Supply","id":"2ec1baac-2407-475b-ad80-08edd445901c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/dosespot/supplies/:supply_id","description":"<p>Get the DoseSpot's supply by ID.</p>\n","urlObject":{"path":["dosespot","supplies",":supply_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"91691a9d-1f98-4812-b96e-4e653004eb27","description":{"content":"<p>Dosespot Supply ID</p>\n","type":"text/plain"},"type":"any","value":"12345","key":"supply_id"}]}},"response":[],"_postman_id":"2ec1baac-2407-475b-ad80-08edd445901c"}],"id":"6bc37938-ccc6-46b9-80bf-b77257214a74","_postman_id":"6bc37938-ccc6-46b9-80bf-b77257214a74","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Patients","item":[{"name":"Get Patient Prescription Benefits","id":"a884327b-b796-4bba-a8c0-7c6f87180c1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/dosespot/patients/:patient_id/prescriptionbenefits?patient_eligibility_id=12345&ndc=12345&pharmacy_id=1324&quantity=1&days_supply=1&dispense_unit_type_id=12","description":"<p>Get the Dosespot's Patient prescription benefits</p>\n","urlObject":{"path":["dosespot","patients",":patient_id","prescriptionbenefits"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>Required</p>\n","type":"text/plain"},"key":"patient_eligibility_id","value":"12345"},{"description":{"content":"<p>Required</p>\n","type":"text/plain"},"key":"ndc","value":"12345"},{"description":{"content":"<p>Required</p>\n","type":"text/plain"},"key":"pharmacy_id","value":"1324"},{"description":{"content":"<p>Required</p>\n","type":"text/plain"},"key":"quantity","value":"1"},{"description":{"content":"<p>Required</p>\n","type":"text/plain"},"key":"days_supply","value":"1"},{"description":{"content":"<p>Required</p>\n","type":"text/plain"},"key":"dispense_unit_type_id","value":"12"}],"variable":[{"id":"a2303a59-720c-41d0-9b25-21baccf14b52","description":{"content":"<p>Dosespot Patient ID</p>\n","type":"text/plain"},"type":"any","value":"123456789","key":"patient_id"}]}},"response":[],"_postman_id":"a884327b-b796-4bba-a8c0-7c6f87180c1f"},{"name":"Get Patient Medications History","id":"8585a9e6-1bdc-4495-95f7-d872bb495076","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/dosespot/patients/:patient_id/medications/history?start_date=2024-01-01&end_date=2024-06-01&page_number=1","description":"<p>Get the Dosespot's Patient medications history.</p>\n","urlObject":{"path":["dosespot","patients",":patient_id","medications","history"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>Optional</p>\n","type":"text/plain"},"key":"start_date","value":"2024-01-01"},{"description":{"content":"<p>Optional</p>\n","type":"text/plain"},"key":"end_date","value":"2024-06-01"},{"description":{"content":"<p>Optional</p>\n","type":"text/plain"},"key":"page_number","value":"1"}],"variable":[{"id":"e01441b3-94a0-47d7-9775-d3afb0a13872","description":{"content":"<p>Dosespot Patient ID</p>\n","type":"text/plain"},"type":"any","value":"123456789","key":"patient_id"}]}},"response":[],"_postman_id":"8585a9e6-1bdc-4495-95f7-d872bb495076"}],"id":"2460a349-b3fc-473b-99af-c4d63014b101","_postman_id":"2460a349-b3fc-473b-99af-c4d63014b101","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"58cbdc21-61af-41e3-bbd6-853ecb72d31b","_postman_id":"58cbdc21-61af-41e3-bbd6-853ecb72d31b","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Lambda","item":[{"name":"Cases","item":[{"name":"Dosespot Benefits check","id":"20818377-006f-4258-b42c-9f13bbed0496","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"url":"https://api.mdintegrations.com/lambda/cases/:case/benefits","description":"<p>Notifies the changelog,</p>\n","urlObject":{"path":["lambda","cases",":case","benefits"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"bf77bc59-498f-406e-b991-fb83d23130e9","type":"any","value":"48ea7936-e2dd-4f01-bf40-a59cf3d2fad0","key":"case"}]}},"response":[],"_postman_id":"20818377-006f-4258-b42c-9f13bbed0496"}],"id":"82c10e2a-f0ac-48ef-9392-3a686d1e5db5","_postman_id":"82c10e2a-f0ac-48ef-9392-3a686d1e5db5","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Changelogs","item":[{"name":"Notify Changelog","id":"e16fd903-231e-4e23-a06a-32049c3893bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"url":"https://api.mdintegrations.com/lambda/changelogs/:changelog/notify","description":"<p>Notifies the changelog,</p>\n","urlObject":{"path":["lambda","changelogs",":changelog","notify"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"bcb78a4c-f6b7-4eba-acdc-1db594e15bea","type":"any","value":"48ea7936-e2dd-4f01-bf40-a59cf3d2fad0","key":"changelog"}]}},"response":[],"_postman_id":"e16fd903-231e-4e23-a06a-32049c3893bd"}],"id":"57388cf2-5a18-48f8-a54d-d05dc2b4bc42","auth":{"type":"noauth","isInherited":false},"_postman_id":"57388cf2-5a18-48f8-a54d-d05dc2b4bc42","description":""},{"name":"Text Messages","item":[{"name":"Send Text Message","id":"79a6f1aa-e0f3-42e1-baff-665797fb8b88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"url":"https://api.mdintegrations.com/lambda/text-messages/:textMessage/send","description":"<p>Sends the text message.</p>\n","urlObject":{"path":["lambda","text-messages",":textMessage","send"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"25983258-8366-4eb4-912c-4e353dc9aca8","type":"any","value":"31a6391b-e24a-4c02-a603-f824adfc6777","key":"textMessage"}]}},"response":[],"_postman_id":"79a6f1aa-e0f3-42e1-baff-665797fb8b88"}],"id":"b9ca0431-e7f1-4628-b4a0-9e41cf9e4647","_postman_id":"b9ca0431-e7f1-4628-b4a0-9e41cf9e4647","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Emails","item":[{"name":"Send Email","id":"27f31343-114b-406f-9cc4-6f92c9453e34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"url":"https://api.mdintegrations.com/lambda/emails/:email/send","description":"<p>Sends the email.</p>\n","urlObject":{"path":["lambda","emails",":email","send"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d9428ebb-f89d-48f0-b24a-050f96245bae","type":"any","value":"d2e8b448-cf9d-4671-b0e5-78673d5c2721","key":"email"}]}},"response":[],"_postman_id":"27f31343-114b-406f-9cc4-6f92c9453e34"}],"id":"3e6b0bf0-e23b-499b-9f7f-29a355d546cf","_postman_id":"3e6b0bf0-e23b-499b-9f7f-29a355d546cf","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Statuses","item":[{"name":"Get Status","id":"5ca81213-56e2-40db-a2ec-1307c4ba8f53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/lambda/status","description":"<p>Get the status details.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["lambda","status"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ca81213-56e2-40db-a2ec-1307c4ba8f53"}],"id":"5f01dff1-798a-44b6-8966-cf89201aa736","_postman_id":"5f01dff1-798a-44b6-8966-cf89201aa736","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Webhooks","item":[{"name":"Send Webhook","id":"4a8f414b-d678-431b-8174-bad32b54c8b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"url":"https://api.mdintegrations.com/lambda/webhooks/:webhook/send","description":"<p>Sends the webhook.</p>\n","urlObject":{"path":["lambda","webhooks",":webhook","send"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"dd3f5075-c610-4836-9b48-e00ec29cdc4c","type":"any","value":"5ef4a9ce-9b99-4141-8562-a7f744ac6759","key":"webhook"}]}},"response":[],"_postman_id":"4a8f414b-d678-431b-8174-bad32b54c8b5"}],"id":"187682ba-9d90-4d75-acff-60c435909a36","_postman_id":"187682ba-9d90-4d75-acff-60c435909a36","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Files","item":[{"name":"Patch File","id":"54b51eff-8711-45f2-a221-65c333c49588","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{ \n    \"metadata\": {\"DetectedTexts\":[{\"DetectedText\":\"California USA\",\"Confidence\":98.78770446777344,\"Type\":\"LINE\"},{\"DetectedText\":\"DRIVER LICENSE\",\"Confidence\":99.63842010498047,\"Type\":\"LINE\"}]},\n    \"rotate\": 90\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/lambda/files/:file","description":"<p>Updates the file after lambda process.</p>\n<p>Eg. TextExtration</p>\n","urlObject":{"path":["lambda","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b465c4cb-72ee-4188-86c4-5b776d6045db","type":"any","value":"021885a4-beb5-4410-9820-bb79dd7b0551","key":"file"}]}},"response":[],"_postman_id":"54b51eff-8711-45f2-a221-65c333c49588"}],"id":"0d43a313-be24-460a-96e9-cf16beb270be","_postman_id":"0d43a313-be24-460a-96e9-cf16beb270be","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"1e31b464-13cd-481a-a2c2-94949024acee","_postman_id":"1e31b464-13cd-481a-a2c2-94949024acee","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"S3","item":[{"name":"Files","item":[{"name":"File","item":[{"name":"Get File","id":"cddef75b-2980-404a-95f5-1d3b06d984ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/s3/files/:file/file","description":"<p>Get the file's file.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["s3","files",":file","file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a5d9b8f9-91a2-44d5-89a3-1e961bafa07e","type":"any","value":"0b5b2304-eb47-495b-a059-ad3e323c609c","key":"file"}]}},"response":[],"_postman_id":"cddef75b-2980-404a-95f5-1d3b06d984ce"}],"id":"1d844f4b-7ae8-49aa-b3ca-4a82488c8448","_postman_id":"1d844f4b-7ae8-49aa-b3ca-4a82488c8448","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Thumbnail","item":[{"name":"Get Thumbnail","id":"fbeb7311-8a43-45fd-adfc-d8bc9000ea23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/s3/files/:file/thumbnail","description":"<p>Get the file's thumbnail.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["s3","files",":file","thumbnail"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f2ead2fb-9648-4321-a8ad-822651ac041c","type":"any","value":"0b5b2304-eb47-495b-a059-ad3e323c609c","key":"file"}]}},"response":[],"_postman_id":"fbeb7311-8a43-45fd-adfc-d8bc9000ea23"}],"id":"00e10cee-10e5-41ad-9486-b8ae677c06ee","_postman_id":"00e10cee-10e5-41ad-9486-b8ae677c06ee","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"a8bd2571-74f8-4062-994e-2ce7b72076a9","_postman_id":"a8bd2571-74f8-4062-994e-2ce7b72076a9","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Statuses","item":[{"name":"Get Status","id":"3236b0e5-8a7d-4518-89f4-eb0719f4d30e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/s3/status","description":"<p>Get the status details.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["s3","status"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3236b0e5-8a7d-4518-89f4-eb0719f4d30e"}],"id":"db995638-5fa1-40b3-ba1c-12c215b2d2dc","_postman_id":"db995638-5fa1-40b3-ba1c-12c215b2d2dc","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"d2ac0b9a-bf42-4710-81a9-1768c53fafda","_postman_id":"d2ac0b9a-bf42-4710-81a9-1768c53fafda","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Web","item":[{"name":"Ai","item":[{"name":"Generate Text","id":"51eff5a3-554a-45f8-929f-a708b37fd2c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"model\": \"meta_llama_38B\",\n    \"prompt\": \"You prompt here?\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/ai/text","description":"<p>Generate texts, get answers, etc., based on the given prompt using AI.</p>\n","urlObject":{"path":["web","ai","text"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"51eff5a3-554a-45f8-929f-a708b37fd2c6"},{"name":"Create Rating","id":"83d68a0d-f433-4ce9-897e-f53c274de4cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"model\": \"meta_llama_38B\",\n    \"prompt\": \"You prompt here?\",\n    \"key\": \"messages\",\n    \"rating\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/ai/text","description":"<p>It creates a rating record for the model and prompt.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>model</td>\n<td>The model used.</td>\n</tr>\n<tr>\n<td>prompt</td>\n<td>The prompt used</td>\n</tr>\n<tr>\n<td>rating</td>\n<td>It can be either 1 or -1 value</td>\n</tr>\n<tr>\n<td>key</td>\n<td>The product or where it was used to.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","ai","text"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"83d68a0d-f433-4ce9-897e-f53c274de4cd"}],"id":"d02ce7fd-9807-4305-aad7-a4edf1bb0ad3","_postman_id":"d02ce7fd-9807-4305-aad7-a4edf1bb0ad3","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Articles","item":[{"name":"Get Articles","id":"57d6fd0f-0641-434d-bb70-573bd90faea9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/articles?page=1&per_page=15","description":"<p>Get the articles (paginated).</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","articles"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"disabled":true,"key":"key","value":"key"}],"variable":[]}},"response":[],"_postman_id":"57d6fd0f-0641-434d-bb70-573bd90faea9"},{"name":"Get Article","id":"5f5b0f19-5a95-4854-858b-c3c7a50b9bd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/articles/:article","description":"<p>Get the article details.</p>\n","urlObject":{"path":["web","articles",":article"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"dda801ae-2b75-4bb0-84b7-9676e1b894db","key":"article"}]}},"response":[],"_postman_id":"5f5b0f19-5a95-4854-858b-c3c7a50b9bd3"}],"id":"b5f3bf99-633e-47c8-af3d-8eee711618e2","_postman_id":"b5f3bf99-633e-47c8-af3d-8eee711618e2","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Changelogs","item":[{"name":"Get Changelogs","id":"4253cd47-8b61-4d2a-b2a4-aa8b98bd0322","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/changelogs?page=1&per_page=15&scope=api","description":"<p>Get the changelogs (paginated).</p>\n","urlObject":{"path":["web","changelogs"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"key":"scope","value":"api"}],"variable":[]}},"response":[],"_postman_id":"4253cd47-8b61-4d2a-b2a4-aa8b98bd0322"},{"name":"Create Changelog","id":"fa49b4c3-a356-4251-8b5a-8a37f87b5861","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"1\",\n    \"date\": \"2024-08-15\",\n    \"notes\": \"Notes example\",\n    \"scope\": \"api\",\n    \"notify_clinicians\": false,\n    \"notify_support_staffs\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/changelogs","description":"<p>Create a changelog</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Nullable</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Options</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>version</td>\n<td>String</td>\n<td>No</td>\n<td>Yes</td>\n<td>max:255</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Yes</td>\n<td>No</td>\n<td></td>\n</tr>\n<tr>\n<td>notes</td>\n<td>String</td>\n<td>Yes</td>\n<td>No</td>\n<td></td>\n</tr>\n<tr>\n<td>scope</td>\n<td>String</td>\n<td>No</td>\n<td>Yes</td>\n<td><code>api</code> <code>clinicians-app</code> <code>messages-app</code> <code>native-apps</code> <code>general</code> <code>patient-apps</code></td>\n</tr>\n<tr>\n<td>notify_clinicians</td>\n<td>Boolean</td>\n<td>Yes</td>\n<td>No</td>\n<td></td>\n</tr>\n<tr>\n<td>notify_support_staffs</td>\n<td>Boolean</td>\n<td>Yes</td>\n<td>No</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","changelogs"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa49b4c3-a356-4251-8b5a-8a37f87b5861"},{"name":"Update Changelog","id":"819af693-336a-4549-8f99-87f008e1c60f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"1\",\n    \"date\": \"2024-08-15\",\n    \"notes\": \"Notes example\",\n    \"scope\": \"api\",\n    \"notify_clinicians\": false,\n    \"notify_support_staffs\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/changelogs/:changelog_id","description":"<p>Update an existing changelog</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Nullable</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Options</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>version</td>\n<td>String</td>\n<td>No</td>\n<td>Yes</td>\n<td>max:255</td>\n</tr>\n<tr>\n<td>date</td>\n<td>Date</td>\n<td>Yes</td>\n<td>No</td>\n<td></td>\n</tr>\n<tr>\n<td>notes</td>\n<td>String</td>\n<td>Yes</td>\n<td>No</td>\n<td></td>\n</tr>\n<tr>\n<td>scope</td>\n<td>String</td>\n<td>No</td>\n<td>Yes</td>\n<td><code>api</code> <code>clinicians-app</code> <code>messages-app</code> <code>native-apps</code> <code>general</code> <code>patient-apps</code></td>\n</tr>\n<tr>\n<td>notify_clinicians</td>\n<td>Boolean</td>\n<td>Yes</td>\n<td>No</td>\n<td></td>\n</tr>\n<tr>\n<td>notify_support_staffs</td>\n<td>Boolean</td>\n<td>Yes</td>\n<td>No</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","changelogs",":changelog_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c3fa9734-4a25-47c2-98ff-486d97122e8d","type":"any","value":"ffc81731-f035-489c-b6ce-4437630f2df2","key":"changelog_id"}]}},"response":[],"_postman_id":"819af693-336a-4549-8f99-87f008e1c60f"},{"name":"Delete Changelog","id":"d6150529-b9ca-4663-a6d7-b6f594f43852","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/changelogs/:changelog_id","description":"<p>Delete an existing changelog.</p>\n","urlObject":{"path":["web","changelogs",":changelog_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"95f9d6c0-fea8-4494-a037-c6439544fd16","type":"any","value":"ffc81731-f035-489c-b6ce-4437630f2df2","key":"changelog_id"}]}},"response":[],"_postman_id":"d6150529-b9ca-4663-a6d7-b6f594f43852"}],"id":"a611a336-b141-4748-b98d-c48a44799a8e","description":"<p>Methods for managing changelog data.</p>\n","_postman_id":"a611a336-b141-4748-b98d-c48a44799a8e","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Categories","item":[{"name":"Get Categories","id":"8366afb3-6eed-4713-8a59-a8f420ca2aca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/categories?page=1&per_page=15&is_primary=1","description":"<p>Get the categories (paginated).</p>\n","urlObject":{"path":["web","categories"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"key":"is_primary","value":"1"}],"variable":[]}},"response":[],"_postman_id":"8366afb3-6eed-4713-8a59-a8f420ca2aca"},{"name":"Get Category","id":"00b047f6-23ec-454d-a171-c095e824b427","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/categories/:category","description":"<p>Get the category details.</p>\n","urlObject":{"path":["web","categories",":category"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8d7e73b9-c7a7-494b-aeb8-3ca2ec37f58d","type":"any","value":"d1334f2f-6493-43b3-a358-fc6951245275","key":"category"}]}},"response":[],"_postman_id":"00b047f6-23ec-454d-a171-c095e824b427"}],"id":"c050a9bb-03e0-45a4-a6e3-c0a187376671","_postman_id":"c050a9bb-03e0-45a4-a6e3-c0a187376671","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Clinicians","item":[{"name":"Licenses","item":[{"name":"Get Licenses","id":"9e00c99b-6066-4f6e-b926-f32ed9f85e73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/licenses?per_page=15&page=1","description":"<p>Get the clinicians's licenses (paginated).</p>\n","urlObject":{"path":["web","clinicians",":clinician","licenses"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"579f8048-2dad-40e7-87b0-c0e62dc34af6","type":"any","value":"0b5bac30-f43a-451b-aa79-4941e170ba7a","key":"clinician"}]}},"response":[],"_postman_id":"9e00c99b-6066-4f6e-b926-f32ed9f85e73"},{"name":"Get License","id":"b5278848-0bfd-403f-87a6-0adfc0edb92c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/licenses/:license","description":"<p>Get the given clinician's license.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","clinicians",":clinician","licenses",":license"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"with_relationships[]","value":"address"}],"variable":[{"id":"f7130444-ddd6-4178-8431-dbdd84067dcb","type":"any","value":"eedf37dd-452b-4793-9b41-5e329e5c65a9","key":"clinician"},{"id":"bf1bf4d8-0174-4432-bfe5-b9e127198e58","type":"any","value":"26f56dc2-29cb-4f87-b7c1-47aaa32e1206","key":"license"}]}},"response":[],"_postman_id":"b5278848-0bfd-403f-87a6-0adfc0edb92c"},{"name":"Create License","id":"b557ffb9-24a2-4533-a27d-dc9910d0172c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"npi\",\n    \"value\": \"ABX120\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/clinicians/:clinician/licenses","description":"<p>Create a license for the given clinician.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","clinicians",":clinician","licenses"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"54b04c6a-dc67-45e4-a4f6-3f24d0d5896d","type":"any","value":"0b5bac30-f43a-451b-aa79-4941e170ba7a","key":"clinician"}]}},"response":[],"_postman_id":"b557ffb9-24a2-4533-a27d-dc9910d0172c"},{"name":"Patch License","id":"66173aa0-a636-4971-b058-e54ccf88d367","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"value\": \"ABX120\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/clinicians/:clinician/licenses/:license","description":"<p>Patches the given clinician's license.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","clinicians",":clinician","licenses",":license"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"with_relationships[]","value":"address"}],"variable":[{"id":"ec6278b9-6599-49a4-9bbf-2bef54e2c063","type":"any","value":"eedf37dd-452b-4793-9b41-5e329e5c65a9","key":"clinician"},{"id":"a26e4889-a19b-420a-bf5f-35f6032b905a","type":"any","value":"26f56dc2-29cb-4f87-b7c1-47aaa32e1206","key":"license"}]}},"response":[],"_postman_id":"66173aa0-a636-4971-b058-e54ccf88d367"},{"name":"Delete License","id":"8bc7511c-31e4-4628-9713-4fdb4ce0d3e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/licenses/:license","description":"<p>Deletes the given clinician's license.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","clinicians",":clinician","licenses",":license"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"with_relationships[]","value":"address"}],"variable":[{"id":"bba08314-7a0b-484c-99c3-b550b53a610e","type":"any","value":"eedf37dd-452b-4793-9b41-5e329e5c65a9","key":"clinician"},{"id":"b0b874a8-550d-484c-a8fd-9805a7c7635f","type":"any","value":"26f56dc2-29cb-4f87-b7c1-47aaa32e1206","key":"license"}]}},"response":[],"_postman_id":"8bc7511c-31e4-4628-9713-4fdb4ce0d3e8"}],"id":"44d7b424-56a0-497a-825e-be24ebd09ebb","_postman_id":"44d7b424-56a0-497a-825e-be24ebd09ebb","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Medical Assistants","item":[{"name":"Get Medical Assistants","id":"0ef1c23e-03ac-48c6-9c02-7dbab719f66f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/medical-assistants?per_page=15&page=1","description":"<p>Get the medical assistants (paginated).</p>\n","urlObject":{"path":["web","clinicians",":clinician","medical-assistants"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"58c62405-3d72-49dc-a9c6-efd5e27af059","type":"any","value":"eedf37dd-452b-4793-9b41-5e329e5c65a9","key":"clinician"}]}},"response":[],"_postman_id":"0ef1c23e-03ac-48c6-9c02-7dbab719f66f"},{"name":"Attach Medical Assistant","id":"ff7d8897-dc13-48bf-9f66-72cdff5accdc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"priority\": \"preferred\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/clinicians/:clinician/medical-assistants/:medicalAssistant","description":"<p>Attach the medical assistant to the clinician.</p>\n","urlObject":{"path":["web","clinicians",":clinician","medical-assistants",":medicalAssistant"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"697c90f1-7155-4ea8-ac9c-aa6913f9d00e","type":"any","value":"eedf37dd-452b-4793-9b41-5e329e5c65a9","key":"clinician"},{"id":"f91dd168-fecf-440b-857e-c9a59a46757e","type":"any","value":"c8a0a684-aa3f-4e8b-bf45-2b6ee02d292c","key":"medicalAssistant"}]}},"response":[],"_postman_id":"ff7d8897-dc13-48bf-9f66-72cdff5accdc"},{"name":"Detach Medical Assistant","id":"d8b97f9f-9351-4b0f-9a6d-2c5b21f92176","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/medical-assistants/:medicalAssistant","description":"<p>Detach the medical assistant from the clinician.</p>\n","urlObject":{"path":["web","clinicians",":clinician","medical-assistants",":medicalAssistant"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"0100d021-255d-408d-9202-dd96408e4231","type":"any","value":"eedf37dd-452b-4793-9b41-5e329e5c65a9","key":"clinician"},{"id":"be90795f-d1bb-490d-8f67-5ef137da7535","type":"any","value":"c8a0a684-aa3f-4e8b-bf45-2b6ee02d292c","key":"medicalAssistant"}]}},"response":[],"_postman_id":"d8b97f9f-9351-4b0f-9a6d-2c5b21f92176"}],"id":"6796425c-309c-486d-8c0f-ada6bab604a6","_postman_id":"6796425c-309c-486d-8c0f-ada6bab604a6","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"States","item":[{"name":"Get States","id":"b38c779f-94f0-49d5-92e2-77b927011521","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/states?per_page=15&page=1","description":"<p>Get the clinician's states (paginated).</p>\n","urlObject":{"path":["web","clinicians",":clinician","states"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"3d472459-f472-45c8-af0e-03120fc7621a","type":"any","value":"0b5bac30-f43a-451b-aa79-4941e170ba7a","key":"clinician"}]}},"response":[],"_postman_id":"b38c779f-94f0-49d5-92e2-77b927011521"},{"name":"Get State","id":"aee56754-2d3d-42e2-8586-754076d368a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/states/:state","description":"<p>Get the clinician's state.</p>\n","urlObject":{"path":["web","clinicians",":clinician","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"3147bc63-dd00-453b-8918-3325ea8d1164","type":"any","value":"dbb54d4c-7b96-4188-989d-b0b533b1ec5a","key":"clinician"},{"id":"3292b63f-643e-4eee-8796-c11f6a42d5f7","type":"any","value":"171fc0e3-d82c-445f-b006-5ea5c96e4b04","key":"state"}]}},"response":[],"_postman_id":"aee56754-2d3d-42e2-8586-754076d368a9"},{"name":"Attach State","id":"8b02085f-6cc5-48cc-a3e1-58d85a9b7007","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"expires_at\": \"2025-12-14\",\n    \"is_sync\": true,\n    \"license_number\": \"KEK123\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/clinicians/:clinician/states/:state","description":"<p>Attaches the state to the clinician.</p>\n","urlObject":{"path":["web","clinicians",":clinician","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d2be2a6f-38c9-4319-8490-c67f2262eb44","type":"any","value":"dbb54d4c-7b96-4188-989d-b0b533b1ec5a","key":"clinician"},{"id":"389d9339-325c-42ae-846b-2c9dd5f7bf41","type":"any","value":"171fc0e3-d82c-445f-b006-5ea5c96e4b04","key":"state"}]}},"response":[],"_postman_id":"8b02085f-6cc5-48cc-a3e1-58d85a9b7007"},{"name":"Attach States","id":"8677a8ba-9377-4013-b186-8bacaec519a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"expires_at\": \"2025-12-14\",\n    \"is_sync\": true,\n    \"country_Id\": \"bf511938-8c04-47cf-ac41-6a9aeea376ad\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/clinicians/:clinician/states","description":"<p>Attaches the state to the clinician.</p>\n","urlObject":{"path":["web","clinicians",":clinician","states"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"752b151f-1818-43df-b99e-155cc2ce7199","type":"any","value":"dbb54d4c-7b96-4188-989d-b0b533b1ec5a","key":"clinician"}]}},"response":[],"_postman_id":"8677a8ba-9377-4013-b186-8bacaec519a7"},{"name":"Detach State","id":"a7fc896e-4af0-4fb2-bfbf-c20ec6b82124","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/states/:state","description":"<p>Detach the state from the clinician.</p>\n","urlObject":{"path":["web","clinicians",":clinician","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"47eb60f2-ceb2-493a-a72e-a590aad9c6b9","type":"any","value":"dbb54d4c-7b96-4188-989d-b0b533b1ec5a","key":"clinician"},{"id":"df5ba99f-6f03-436c-b7b3-ab05009a2c93","type":"any","value":"171fc0e3-d82c-445f-b006-5ea5c96e4b04","key":"state"}]}},"response":[],"_postman_id":"a7fc896e-4af0-4fb2-bfbf-c20ec6b82124"},{"name":"Update State","id":"a9281afa-6907-4d05-98ce-7a1e860ac649","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"expires_at\": \"2025-12-14\",\n    \"is_sync\": true,\n    \"license_number\": \"KEK123\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/clinicians/:clinician/states/:state","description":"<p>Updates the clinician's state.</p>\n","urlObject":{"path":["web","clinicians",":clinician","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"822e5377-59e2-49e2-a8ed-86d97901426e","type":"any","value":"79cd3aa2-f667-4808-a70f-7f745c514def","key":"clinician"},{"id":"6ab70fca-e33f-4584-b9a4-864781b62620","type":"any","value":"171fc0e3-d82c-445f-b006-5ea5c96e4b04","key":"state"}]}},"response":[],"_postman_id":"a9281afa-6907-4d05-98ce-7a1e860ac649"}],"id":"09228a4e-fca4-476b-a253-733d14370414","_postman_id":"09228a4e-fca4-476b-a253-733d14370414","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Offerings","item":[{"name":"Get Offerings","id":"eb41ddfd-ee51-4ede-8205-80a33fd2d130","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/offerings?per_page=15&page=1","description":"<p>Get the clinician's offerings (paginated).</p>\n","urlObject":{"path":["web","clinicians",":clinician","offerings"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"7aed8ac8-a3a9-472e-9fe2-81a6ba54d148","type":"any","value":"0b5bac30-f43a-451b-aa79-4941e170ba7a","key":"clinician"}]}},"response":[],"_postman_id":"eb41ddfd-ee51-4ede-8205-80a33fd2d130"},{"name":"Get Offering","id":"388d5c4b-2271-41e8-9299-4ac3b4c61e96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/offerings/:offering","description":"<p>Get the clinician's offering.</p>\n","urlObject":{"path":["web","clinicians",":clinician","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8c803e38-cabb-4e49-8a94-4a747bc290e9","type":"any","value":"dbb54d4c-7b96-4188-989d-b0b533b1ec5a","key":"clinician"},{"id":"60d697e4-65ff-4357-a593-d89ac9d496b2","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"}]}},"response":[],"_postman_id":"388d5c4b-2271-41e8-9299-4ac3b4c61e96"},{"name":"Attach Offering","id":"ad6abdb6-d2eb-4f8b-957a-ec640e6e694c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"disabled\",\n    \"notes\": \"Not important.\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/clinicians/:clinician/offerings/:offering","description":"<p>Attaches the offering to the clinician.</p>\n","urlObject":{"path":["web","clinicians",":clinician","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"95a591ed-505a-4cf1-bbf6-e3ca27166a2c","type":"any","value":"dbb54d4c-7b96-4188-989d-b0b533b1ec5a","key":"clinician"},{"id":"847b494d-74fb-4404-8193-dc9e7ce4e8dc","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"}]}},"response":[],"_postman_id":"ad6abdb6-d2eb-4f8b-957a-ec640e6e694c"},{"name":"Detach State","id":"804e332c-fb64-453c-a1ec-c423a28809be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/offerings/:offering","description":"<p>Detach the offering from the clinician.</p>\n","urlObject":{"path":["web","clinicians",":clinician","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8107660b-3820-4039-9e6a-e6eb376ceee0","type":"any","value":"dbb54d4c-7b96-4188-989d-b0b533b1ec5a","key":"clinician"},{"id":"48d553e5-b92f-4514-bcf9-211e0dae6365","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"}]}},"response":[],"_postman_id":"804e332c-fb64-453c-a1ec-c423a28809be"},{"name":"Update Offering","id":"8d20c327-8640-47f1-99e2-76bf922f2918","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"exclusive\",\n    \"notes\": \"My fav one.\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/clinicians/:clinician/offerings/:offering","description":"<p>Updates the clinician's offering.</p>\n","urlObject":{"path":["web","clinicians",":clinician","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6873412c-e16b-44e6-ac4c-864b1e3a130a","type":"any","value":"79cd3aa2-f667-4808-a70f-7f745c514def","key":"clinician"},{"id":"775e49ab-72bd-441a-8cc3-1529b6a69cc9","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"}]}},"response":[],"_postman_id":"8d20c327-8640-47f1-99e2-76bf922f2918"}],"id":"0c464cc8-1614-4b02-a97e-fe2e252bcc80","_postman_id":"0c464cc8-1614-4b02-a97e-fe2e252bcc80","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Specialties","item":[{"name":"Get Specialties","id":"6c86a1f3-1415-40db-b1b7-e94ce67694ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/specialties?per_page=15&page=1","description":"<p>Get the partner's specialties (paginated).</p>\n","urlObject":{"path":["web","clinicians",":clinician","specialties"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"3a234118-5807-4c93-ba9d-e858a03ac01a","type":"any","value":"eedf37dd-452b-4793-9b41-5e329e5c65a9","key":"clinician"}]}},"response":[],"_postman_id":"6c86a1f3-1415-40db-b1b7-e94ce67694ab"},{"name":"Attach Specialty","id":"1790231e-ccab-4985-8974-fc7c4b970879","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"priority\": \"preferred\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/clinicians/:clinician/specialties/:specialty","description":"<p>Attach the specialty to the partner.</p>\n","urlObject":{"path":["web","clinicians",":clinician","specialties",":specialty"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"11338c77-094b-46c3-a65f-44ddae71678b","type":"any","value":"eedf37dd-452b-4793-9b41-5e329e5c65a9","key":"clinician"},{"id":"67fb5421-fd9e-47d2-ab4a-1f9075e94376","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"1790231e-ccab-4985-8974-fc7c4b970879"},{"name":"Update Specialty","id":"1f9ebb23-59a8-4de9-b8d9-3f2f5d4fa0e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"priority\": \"normal\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/clinicians/:clinician/specialties/:specialty","description":"<p>Attach the specialty to the partner.</p>\n","urlObject":{"path":["web","clinicians",":clinician","specialties",":specialty"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9af4a601-76ef-4374-bf26-accdfe274a1a","type":"any","value":"eedf37dd-452b-4793-9b41-5e329e5c65a9","key":"clinician"},{"id":"8a2392f5-1998-4375-8f01-9ad7a394047f","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"1f9ebb23-59a8-4de9-b8d9-3f2f5d4fa0e0"},{"name":"Detach Specialty","id":"8c892d27-8ad9-447c-9524-043a2ce22f6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/specialties/:specialty","description":"<p>Detach the specialty from the partner.</p>\n","urlObject":{"path":["web","clinicians",":clinician","specialties",":specialty"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"3c5e85d2-8c01-4aee-bb9b-50c9d4f6594a","type":"any","value":"eedf37dd-452b-4793-9b41-5e329e5c65a9","key":"clinician"},{"id":"bb2af00c-dffb-4507-9796-80cabcbe523a","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"8c892d27-8ad9-447c-9524-043a2ce22f6c"}],"id":"b391e7e2-884b-4b5a-9137-d0071f146e9d","_postman_id":"b391e7e2-884b-4b5a-9137-d0071f146e9d","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Audits","item":[{"name":"Get Audits","id":"6b1b2b6e-ca1e-4c78-a6e1-e89ac4afda53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/audits?order=desc&page=1&per_page=15","description":"<p>Get the clinician's audits (paginated).</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","clinicians",":clinician","audits"],"host":["https://api.mdintegrations.com"],"query":[{"key":"order","value":"desc"},{"key":"page","value":"1"},{"key":"per_page","value":"15"}],"variable":[{"id":"c8260866-ee83-4b54-b842-75926ce5f2f7","type":"any","value":"","key":"clinician"}]}},"response":[],"_postman_id":"6b1b2b6e-ca1e-4c78-a6e1-e89ac4afda53"}],"id":"fe99a857-6740-46d9-9fb6-b10131b8dfb0","_postman_id":"fe99a857-6740-46d9-9fb6-b10131b8dfb0","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Create Clinician","id":"ef1f4d28-aa57-46a9-9798-685ad0d7b080","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"permissions\": [\"live\", \"sandbox\"],\n    \"suffix\": \"Sr\",\n    \"first_name\": \"Web Login Clinician\",\n    \"last_name\": \"Test 1\",\n    \"case_assignment_availability\": true,\n    \"is_message_availability\": false,\n    \"is_testing_account\": false,\n    \"is_out_of_office\": false,\n    \"automatic_sync_message\": \"Message example\",\n    \"bio_details\": \"bio details example\",\n    \"out_of_office_message\": \"OOO message\",\n    \"specialty\": \"\",\n    \"automatic_sync_video_file_id\": null,\n    \"thank_you_video_file_id\": null,\n    \"photo_id\": null,\n    \"signature_id\": null,\n    \"w9form_id\": null,\n    \"timezone_id\": \"906ac887-dd8f-4efe-bc50-6ab1db7cdd58\",\n    \"profile_url\": \"http\",\n    \"gender\": 2,\n    \"date_of_birth\": \"1990-11-11\",\n    \"phone_number\": \"941-924-3019\",\n    \"fax_number\": null,\n    \"phone_type\": 2,\n    \"email\": \"renato+loginwebcliniciain8@mdintegrations.com\",\n    \"address\": {\n        \"address\": \"10001, new test mall\",\n        \"address2\": \"\",\n        \"zip_code\": \"10001\",\n        \"city_name\": \"New York\",\n        \"state_id\": \"ed176029-7ad5-44f9-b31d-f2a6363c488e\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/clinicians?with_relationships[]=permissions","description":"<p>Get the clinician export file in xls format, containing basic information, licenses, and states.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","clinicians"],"host":["https://api.mdintegrations.com"],"query":[{"key":"with_relationships[]","value":"permissions"}],"variable":[]}},"response":[],"_postman_id":"ef1f4d28-aa57-46a9-9798-685ad0d7b080"},{"name":"Patch Clinician","id":"ae512471-2f73-4d14-92d5-9a13ef444c23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"permissions\": [\"live\"],\n    \"suffix\": \"Sr\",\n    \"first_name\": \"Web Clinician\",\n    \"last_name\": \"Test 1\",\n    \"case_assignment_availability\": true,\n    \"is_message_availability\": false,\n    \"is_testing_account\": false,\n    \"is_out_of_office\": false,\n    \"out_of_office_return_at\": \"2024-08-25\",\n    \"automatic_sync_message\": \"Message example\",\n    \"bio_details\": \"bio details example\",\n    \"out_of_office_message\": \"OOO message\",\n    \"specialty\": \"\",\n    \"automatic_sync_video_file_id\": null,\n    \"thank_you_video_file_id\": null,\n    \"photo_id\": null,\n    \"signature_id\": null,\n    \"w9form_id\": null,\n    \"timezone_id\": \"906ac887-dd8f-4efe-bc50-6ab1db7cdd58\",\n    \"profile_url\": \"http\",\n    \"gender\": 2,\n    \"date_of_birth\": \"1990-11-11\",\n    \"phone_number\": \"941-924-3019\",\n    \"fax_number\": null,\n    \"phone_type\": 2,\n    \"email\": \"webclinicia9@mdintegrations.com\",\n    \"address\": {\n        \"address\": \"10001, editer new test mall\",\n        \"address2\": \"\",\n        \"zip_code\": \"10001\",\n        \"city_name\": \"New York\",\n        \"state_id\": \"ed176029-7ad5-44f9-b31d-f2a6363c488e\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/clinicians/:clinician","description":"<p>Get the clinician export file in xls format, containing basic information, licenses, and states.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","clinicians",":clinician"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"with_relationships[]","value":"address"}],"variable":[{"type":"any","value":"eedf37dd-452b-4793-9b41-5e329e5c65a9","key":"clinician"}]}},"response":[],"_postman_id":"ae512471-2f73-4d14-92d5-9a13ef444c23"},{"name":"Get Clinicians","id":"b37daefc-7d87-4bb2-ab27-1b8078c21fdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians","description":"<p>Get the clinicians list.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","clinicians"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"id","value":"ca381aa6-6cf9-459e-a670-94d8d8769d20"},{"disabled":true,"key":"email","value":"tetesfa@tewtewt.com"},{"disabled":true,"key":"first_name","value":"Jhon"},{"disabled":true,"key":"last_name","value":"Doe"},{"disabled":true,"key":"environments[]","value":"live"},{"disabled":true,"key":"environments[]","value":"sandbox"},{"disabled":true,"key":"sort","value":"created_at"},{"disabled":true,"key":"order","value":"ASC"},{"disabled":true,"key":"search","value":"term"}],"variable":[]}},"response":[],"_postman_id":"b37daefc-7d87-4bb2-ab27-1b8078c21fdd"},{"name":"Get Clinician Export File","id":"554c7663-2eaf-4e88-b742-e677e276658a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/export","description":"<p>Get the clinician export file in xls format, containing basic information, licenses, and states.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","clinicians",":clinician","export"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"311ab67a-106d-4044-9c70-ef970bbd9ae1","type":"any","value":"0b5bac30-f43a-451b-aa79-4941e170ba7a","key":"clinician"}]}},"response":[],"_postman_id":"554c7663-2eaf-4e88-b742-e677e276658a"},{"name":"Get Clinician","id":"4aa6db37-a2a9-4ce5-a378-6dbcddfc815f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician","description":"<p>Get the clinician's details.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","clinicians",":clinician"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b6ae4c09-6ec2-468c-94f4-4eb5a6497a3b","type":"any","value":"8827cfe8-0239-45fd-a18f-26b8a0d66dc2","key":"clinician"}]}},"response":[],"_postman_id":"4aa6db37-a2a9-4ce5-a378-6dbcddfc815f"},{"name":"Get Clinician Partners","id":"05c23a98-de51-49f7-8c74-56fca68789e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/clinicians/:clinician/partners","description":"<p>Get the clinician's partners.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","clinicians",":clinician","partners"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"82932a41-b9d3-470b-9b05-4d642ff49236","type":"any","value":"8827cfe8-0239-45fd-a18f-26b8a0d66dc2","key":"clinician"}]}},"response":[],"_postman_id":"05c23a98-de51-49f7-8c74-56fca68789e7"},{"name":"Export encounters","id":"4defe9a5-6e33-4f9c-a405-426b1c95c356","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"status\": [\n        \"completed\",\n        \"cancelled\",\n        \"created\"\n    ],\n    \"status_date_from\": \"2025-01-01\",\n    \"status_date_to\": \"2025-04-30\",\n    \"created_at_from\": \"2025-01-01\",\n    \"created_at_to\": \"2025-04-30\",\n    \"type\": \"follow-up\",\n    \"is_sync\": true,\n    \"is_chargeable\": true,\n    \"environments\": [\n        \"sandbox\",\n        \"live\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/clinicians/:clinician/encounters/export","description":"<p>Exports the partner's encounters, based on the clinician and given parameters.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status*</td>\n<td>array</td>\n</tr>\n<tr>\n<td>status_date_from</td>\n<td>date</td>\n</tr>\n<tr>\n<td>status_date_to</td>\n<td>date</td>\n</tr>\n<tr>\n<td>created_at_from</td>\n<td>date</td>\n</tr>\n<tr>\n<td>created_at_to</td>\n<td>date</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string (new, follow-up)</td>\n</tr>\n<tr>\n<td>is_sync</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_chargeable</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>environments</td>\n<td>array (live, sandbox)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","clinicians",":clinician","encounters","export"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a6743174-fac3-4e02-a988-8507d939fa07","type":"any","value":"6f70a184-8418-40ac-a88f-58ace7ebf102","key":"clinician"}]}},"response":[],"_postman_id":"4defe9a5-6e33-4f9c-a405-426b1c95c356"}],"id":"1297069d-e87d-41d4-8c64-65d6f1a60567","_postman_id":"1297069d-e87d-41d4-8c64-65d6f1a60567","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Countries","item":[{"name":"Get Countries","id":"8115912b-7aaa-4fa0-bb2d-cc0a4553b968","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/countries?page=1&per_page=15","description":"<p>Get the countries (paginated).</p>\n","urlObject":{"path":["web","countries"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"}],"variable":[]}},"response":[],"_postman_id":"8115912b-7aaa-4fa0-bb2d-cc0a4553b968"},{"name":"Get Country","id":"73a07214-bef5-4c06-b18b-0d9966e6a791","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/countries/:country","description":"<p>Get the country details.</p>\n","urlObject":{"path":["web","countries",":country"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"bf6f27c2-8b87-49f5-a620-3f19dca2437f","type":"any","value":"9856b3f5-b4e2-4bb1-bae9-f0f630d6a5fa","key":"country"}]}},"response":[],"_postman_id":"73a07214-bef5-4c06-b18b-0d9966e6a791"}],"id":"c1c95af6-8258-412f-8e2a-05cf4981a6b2","_postman_id":"c1c95af6-8258-412f-8e2a-05cf4981a6b2","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Diseases","item":[{"name":"Get Disease","id":"efde876a-94b3-4d46-97a3-052d1eea5e82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/diseases/:disease","description":"<p>Get the disease details.</p>\n","urlObject":{"path":["web","diseases",":disease"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"67d1e91f-42b8-48bf-97ca-1e722c9dc5e3","type":"any","value":"e687e632-79fd-4fed-b4f4-79c3247b7e88","key":"disease"}]}},"response":[],"_postman_id":"efde876a-94b3-4d46-97a3-052d1eea5e82"},{"name":"Get Diseases","id":"59bd06d9-b19b-48cc-bb24-93b6cea4fdb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/diseases?page=1&per_page=15","description":"<p>Get the diseases (paginated).</p>\n","urlObject":{"path":["web","diseases"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"disabled":true,"key":"description","value":"anthrax"},{"disabled":true,"key":"icd","value":"227"}],"variable":[]}},"response":[],"_postman_id":"59bd06d9-b19b-48cc-bb24-93b6cea4fdb7"}],"id":"5c3c81a0-699f-4490-a6c8-1557f648312c","_postman_id":"5c3c81a0-699f-4490-a6c8-1557f648312c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Dispense Units","item":[{"name":"Get Dispense Unit","id":"5169876c-675b-450f-81c9-eaff132fbfee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/dispense-units/:dispenseUnit","description":"<p>Get the dispense unit details.</p>\n","urlObject":{"path":["web","dispense-units",":dispenseUnit"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ccc081a3-fb97-4f95-a5c4-b5167470e4a7","type":"any","value":"4f2b3ab3-6f9e-4461-bb66-e2120d6e0112","key":"dispenseUnit"}]}},"response":[],"_postman_id":"5169876c-675b-450f-81c9-eaff132fbfee"},{"name":"Get Dispense Units","id":"943537b7-1d30-474d-b0b6-4b34be67bc54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/dispense-units?page=1&order=asc&sort=name&per_page=15&active=1","description":"<p>Get the dispense units (paginated).</p>\n","urlObject":{"path":["web","dispense-units"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"order","value":"asc"},{"key":"sort","value":"name"},{"key":"per_page","value":"15"},{"disabled":true,"key":"name","value":"bottle"},{"key":"active","value":"1"},{"disabled":true,"key":"dosespot_dispense_unit_id","value":"35"}],"variable":[]}},"response":[],"_postman_id":"943537b7-1d30-474d-b0b6-4b34be67bc54"}],"id":"e7dbb007-e0ee-4e97-bb97-bc100c4ce7a3","_postman_id":"e7dbb007-e0ee-4e97-bb97-bc100c4ce7a3","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Emails Templates","item":[{"name":"Get Email Templates","id":"bc82c23a-30f7-4efc-b18b-87e437d11c8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/email-templates?page=1&per_page=15","description":"<p>Get the email templates (paginated).</p>\n","urlObject":{"path":["web","email-templates"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"}],"variable":[]}},"response":[],"_postman_id":"bc82c23a-30f7-4efc-b18b-87e437d11c8b"},{"name":"Get Email Template","id":"fef9f6d9-dc5d-4a3a-ac15-d0f2351f3c70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/email-templates/:email-template","description":"<p>Get the email template details.</p>\n","urlObject":{"path":["web","email-templates",":email-template"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"131ed249-bc38-4914-8cbd-5b651083004a","type":"any","value":"9050173d-27d0-4016-b0dc-22ffcc7df959","key":"email-template"}]}},"response":[],"_postman_id":"fef9f6d9-dc5d-4a3a-ac15-d0f2351f3c70"}],"id":"e4ba1517-dc0d-406c-87dc-22f26e2946ac","_postman_id":"e4ba1517-dc0d-406c-87dc-22f26e2946ac","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Environments","item":[{"name":"Get Environments","id":"1da730a9-2560-4533-b867-b4b042fa7a45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/environments?page=1&per_page=15","description":"<p>Get the environments (paginated).</p>\n","urlObject":{"path":["web","environments"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"disabled":true,"key":"identifier","value":"production"},{"disabled":true,"key":"identifiers[]","value":"sandbdox"},{"disabled":true,"key":"identifiers[]","value":"live"}],"variable":[]}},"response":[],"_postman_id":"1da730a9-2560-4533-b867-b4b042fa7a45"},{"name":"Get Environment","id":"c2f8156f-1d1c-4f3b-86e8-8bc875afb422","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/environments/:environment","description":"<p>Get the environment details.</p>\n","urlObject":{"path":["web","environments",":environment"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"427994d0-8826-407a-b0f2-61d2af9c259b","type":"any","value":"314b0cbe-0e35-4049-b27d-8eee486e03b4","key":"environment"}]}},"response":[],"_postman_id":"c2f8156f-1d1c-4f3b-86e8-8bc875afb422"}],"id":"2e794656-d0bc-4de5-97ca-141d049ccb5e","_postman_id":"2e794656-d0bc-4de5-97ca-141d049ccb5e","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Files","item":[{"name":"Create File","id":"0a762fba-a99f-402d-87b0-82300be5b9ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"<p>Image file *  image - max 25MB</p>\n","src":"postman-cloud:///1ef6c4f7-f0ed-4770-b715-82fdc8c97649"},{"key":"type","value":"other","description":"<p>File type  * string(255)</p>\n","type":"text"}]},"url":"https://api.mdintegrations.com/web/files","description":"<p>Creates a file.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>file*</td>\n<td>file</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","files"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0a762fba-a99f-402d-87b0-82300be5b9ff"},{"name":"Get File","id":"cb2ca5f8-9f26-43db-88ad-f528fa5a3da7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/files/:file","description":"<p>Get the file details.</p>\n","urlObject":{"path":["web","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"de613e98-5cfc-4aad-9bab-ed4b41e569e2","type":"any","value":"00087c5f-bf27-44b6-8d3d-19379e1ba667","key":"file"}]}},"response":[],"_postman_id":"cb2ca5f8-9f26-43db-88ad-f528fa5a3da7"}],"id":"57414908-3974-47c6-902d-5caba2fd76cf","_postman_id":"57414908-3974-47c6-902d-5caba2fd76cf","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Internal Support Staffs","item":[{"name":"Get Internal Support Staff","id":"d78a9cb9-670b-4619-8132-b4fec9485f31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/internal-support-staffs/:supportStaff","description":"<p>Get the support staff details.</p>\n","urlObject":{"path":["web","internal-support-staffs",":supportStaff"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"811c57c7-597f-440c-a79f-5a6e87184526","type":"any","value":"96b6129e-f224-4f02-9820-0378d361c7a7","key":"supportStaff"}]}},"response":[],"_postman_id":"d78a9cb9-670b-4619-8132-b4fec9485f31"},{"name":"Get Internal Support Staffs","id":"a97be734-7ec3-4c5b-9f80-9a1bcdea9d79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/internal-support-staffs","description":"<p>Get the support staffs list.</p>\n","urlObject":{"path":["web","internal-support-staffs"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"search","value":"term"},{"disabled":true,"key":"sort","value":"created_at"},{"disabled":true,"key":"order","value":"asc"}],"variable":[]}},"response":[],"_postman_id":"a97be734-7ec3-4c5b-9f80-9a1bcdea9d79"},{"name":"Get Internal Support Staff Partners","id":"181ad738-0548-4b69-9a3e-d4968c9e86e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/internal-support-staffs/:supportStaff/partners","description":"<p>Get the support staffs partners list.</p>\n","urlObject":{"path":["web","internal-support-staffs",":supportStaff","partners"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"dc392bb3-445f-4268-9abe-202c16a9d9b3","type":"any","value":"96b6129e-f224-4f02-9820-0378d361c7a7","key":"supportStaff"}]}},"response":[],"_postman_id":"181ad738-0548-4b69-9a3e-d4968c9e86e6"},{"name":"Create Support Staff","id":"585a3a62-4ac7-4670-96fa-3064677c9ee9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Support Staff First Name\",\n    \"last_name\": \"Support Staff Last Name\",\n    \"email\": \"support@staff.example\",\n    \"photo_id\": \"17b32c5d-8ad0-4180-b5f2-59e14c1cf2b9\",\n    \"active\": true,\n    \"timezone_id\": \"b7d08438-b5a3-4790-9c3e-1fe4930c923c\",\n    \"permissions\": [\"live\", \"sandbox\"]\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/internal-support-staffs","description":"<p>Creates a support staff.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>photo_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>timezone_id*</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>permissions</td>\n<td>array (live, sandbox)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","internal-support-staffs"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"585a3a62-4ac7-4670-96fa-3064677c9ee9"},{"name":"Update Internal Support Staff","id":"e874adc1-ee22-4550-bad6-c30784046906","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Support Staff First Name\",\n    \"last_name\": \"Support Staff Last Name\",\n    \"email\": \"support@staff.example\",\n    \"photo_id\": \"17b32c5d-8ad0-4180-b5f2-59e14c1cf2b9\",\n    \"active\": true,\n    \"password\": \"swordfish\",\n    \"password_confirmation\": \"swordfish\",\n    \"timezone_id\": \"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6\",\n    \"permissions\": [\"live\", \"sandbox\"]\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/internal-support-staffs/:internalSupportStaff","description":"<p>Updates the support staff.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>photo_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password_confirmation*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>permissions</td>\n<td>array (live, sandbox)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","internal-support-staffs",":internalSupportStaff"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5761ff48-3a83-4666-9987-465c913a29a7","type":"any","value":"e9c102cd-4e86-4548-a0a5-611030e0cf1a","key":"internalSupportStaff"}]}},"response":[],"_postman_id":"e874adc1-ee22-4550-bad6-c30784046906"},{"name":"Delete Internal Support Staff","id":"3365b052-9502-4976-8bb6-3fac03eb0fce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/internal-support-staffs/:internalSupportStaff","description":"<p>Updates the support staff.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>photo_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password_confirmation*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>permissions</td>\n<td>array (live, sandbox)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","internal-support-staffs",":internalSupportStaff"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c95137a4-7e7d-4186-bc9b-1d6d508a14e2","type":"any","value":"e9c102cd-4e86-4548-a0a5-611030e0cf1a","key":"internalSupportStaff"}]}},"response":[],"_postman_id":"3365b052-9502-4976-8bb6-3fac03eb0fce"}],"id":"f1297166-4394-46e3-a50a-3080ab63c9a0","_postman_id":"f1297166-4394-46e3-a50a-3080ab63c9a0","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Medical Assistant","item":[{"name":"Get Medical Assistant","id":"12230cf3-9264-4061-8a77-40484ba92bad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/medical-assistants/:medicalAssistant","description":"<p>Get the medical assistant details.</p>\n","urlObject":{"path":["web","medical-assistants",":medicalAssistant"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"46c4766f-7d75-42a3-8894-58fd165dbf9b","type":"any","value":"c8a0a684-aa3f-4e8b-bf45-2b6ee02d292c","key":"medicalAssistant"}]}},"response":[],"_postman_id":"12230cf3-9264-4061-8a77-40484ba92bad"},{"name":"Get Medical Assistants","id":"ce51698e-5a1f-45b6-b756-b351c37f471d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/medical-assistants","description":"<p>Get the medical assistants list.</p>\n","urlObject":{"path":["web","medical-assistants"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"search","value":"term"},{"disabled":true,"key":"sort","value":"created_at"},{"disabled":true,"key":"order","value":"asc"}],"variable":[]}},"response":[],"_postman_id":"ce51698e-5a1f-45b6-b756-b351c37f471d"},{"name":"Get Medical Assistant Clinicians","id":"7b655dde-ebc5-40fa-9905-10ebc4ba3e19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/medical-assistants/:medicalAssistant/clinicians","description":"<p>Get the medical assistant's clinician list.</p>\n","urlObject":{"path":["web","medical-assistants",":medicalAssistant","clinicians"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"720687ab-82dc-4bd3-84ee-85398666f4f2","type":"any","value":"c8a0a684-aa3f-4e8b-bf45-2b6ee02d292c","key":"medicalAssistant"}]}},"response":[],"_postman_id":"7b655dde-ebc5-40fa-9905-10ebc4ba3e19"},{"name":"Create Medical Assistant","id":"6316c888-76eb-41a9-b364-5e81a05fd953","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Medical Assistant First Name\",\n    \"last_name\": \"Medical Assistant Last Name\",\n    \"email\": \"medical@assistant.example\",\n    \"photo_id\": \"17b32c5d-8ad0-4180-b5f2-59e14c1cf2b9\",\n    \"active\": true,\n    \"timezone_id\": \"b7d08438-b5a3-4790-9c3e-1fe4930c923c\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/medical-assistants","description":"<p>Creates a medical assistant.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>photo_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>timezone_id*</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>permissions</td>\n<td>array (live, sandbox)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","medical-assistants"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6316c888-76eb-41a9-b364-5e81a05fd953"},{"name":"Update Medical Assistant","id":"eb8cea2b-3ca4-49cd-ba86-a8dc3148daeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Medical Assistant First Name\",\n    \"last_name\": \"Medical Assistant Last Name\",\n    \"email\": \"medical@assistant.example\",\n    \"photo_id\": \"17b32c5d-8ad0-4180-b5f2-59e14c1cf2b9\",\n    \"active\": true,\n    \"password\": \"swordfish\",\n    \"password_confirmation\": \"swordfish\",\n    \"timezone_id\": \"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/medical-assistants/:medicalAssistant","description":"<p>Updates the medical assistant.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>photo_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password_confirmation*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>permissions</td>\n<td>array (live, sandbox)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","medical-assistants",":medicalAssistant"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2617e1c9-9cc2-4c0b-977c-50c5f65d2cde","type":"any","value":"c8a0a684-aa3f-4e8b-bf45-2b6ee02d292c","key":"medicalAssistant"}]}},"response":[],"_postman_id":"eb8cea2b-3ca4-49cd-ba86-a8dc3148daeb"},{"name":"Delete Medical Assistant","id":"3c2ce2c4-75ab-483b-9b27-0645ce18e10e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Medical Assistant First Name\",\n    \"last_name\": \"Medical Assistant Last Name\",\n    \"email\": \"medical@assistant.example\",\n    \"photo_id\": \"17b32c5d-8ad0-4180-b5f2-59e14c1cf2b9\",\n    \"active\": true,\n    \"password\": \"swordfish\",\n    \"password_confirmation\": \"swordfish\",\n    \"timezone_id\": \"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/medical-assistants/:medicalAssistant","description":"<p>Updates the medical assistant.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>photo_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password_confirmation*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>permissions</td>\n<td>array (live, sandbox)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","medical-assistants",":medicalAssistant"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2d164874-d759-4acc-9cda-afe9bd48dcdd","type":"any","value":"c8a0a684-aa3f-4e8b-bf45-2b6ee02d292c","key":"medicalAssistant"}]}},"response":[],"_postman_id":"3c2ce2c4-75ab-483b-9b27-0645ce18e10e"}],"id":"5e81b94f-33d2-48b1-8b50-04e896ea69ba","_postman_id":"5e81b94f-33d2-48b1-8b50-04e896ea69ba","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Messages Templates","item":[{"name":"Get Message Templates","id":"2a81de82-efbd-4638-ab66-842ecb81ba83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/message-templates?page=1&per_page=15","description":"<p>Get the message templates (paginated).</p>\n","urlObject":{"path":["web","message-templates"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"}],"variable":[]}},"response":[],"_postman_id":"2a81de82-efbd-4638-ab66-842ecb81ba83"},{"name":"Get Message Template","id":"02f10302-834b-4da8-add0-7d55d25ab48d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/message-templates/:message_template_id","description":"<p>Get the message template details.</p>\n","urlObject":{"path":["web","message-templates",":message_template_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e6b60426-2278-4548-a029-d459dbd59eb1","type":"any","value":"9050173d-27d0-4016-b0dc-22ffcc7df959","key":"message_template_id"}]}},"response":[],"_postman_id":"02f10302-834b-4da8-add0-7d55d25ab48d"}],"id":"7004fe4f-0c86-4811-bdf0-052161bcdfc7","_postman_id":"7004fe4f-0c86-4811-bdf0-052161bcdfc7","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Notifications","item":[{"name":"Create Notification","id":"32c238d9-779d-4b4e-9d7e-ef7282058018","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"text\": \"Hi all users, it's a general notification, please, take a look at your emails\",\n    \"notified_models\": [\n        {\n            \"notified_model_type\": \"App\\\\Models\\\\Clinician\"\n        },\n        {\n            \"notified_model_type\": \"App\\\\Models\\\\SupportStaff\",\n            \"notified_model_id\": \"953c84d1-1395-488d-8d71-97b3c4431407\"\n        }\n        {\n            \"notified_model_type\": \"App\\\\Models\\\\InternalSupportStaff\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/notifications","description":"<p>It allows the admin user to create global notifications to a group of users or send it to a specific one.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>text</td>\n<td>string*</td>\n</tr>\n<tr>\n<td>notified_models</td>\n<td>array*</td>\n</tr>\n<tr>\n<td>notified_model_type</td>\n<td>string*</td>\n</tr>\n<tr>\n<td>notified_model_type</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","notifications"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"32c238d9-779d-4b4e-9d7e-ef7282058018"}],"id":"ff87581e-5bff-4209-bfa5-94c27105b95f","_postman_id":"ff87581e-5bff-4209-bfa5-94c27105b95f","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Reviews","item":[{"name":"Get Reviews","id":"f43bf870-e60e-4f16-a31c-a6491a3921bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/reviews?page=1&per_page=15","description":"<p>Get the partner's pending reviews (paginated).</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","reviews"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"disabled":true,"key":"action","value":"create,update,delete"},{"disabled":true,"key":"model_type","value":""}],"variable":[]}},"response":[],"_postman_id":"f43bf870-e60e-4f16-a31c-a6491a3921bc"}],"id":"90f072e7-23c5-43c0-9ab6-28fd304f0c89","_postman_id":"90f072e7-23c5-43c0-9ab6-28fd304f0c89","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Panel Users","item":[{"name":"Create Panel User","id":"bd344a3a-198e-4484-9400-bc08ecfdf40c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Panel User Name\",\n    \"email\": \"panel@user.example\",\n    \"timezone_id\": \"b7d08438-b5a3-4790-9c3e-1fe4930c923c\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/panel-users","description":"<p>Creates a panel user.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","panel-users"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd344a3a-198e-4484-9400-bc08ecfdf40c"},{"name":"Get Panel User","id":"3196b646-6fa4-43d7-a435-8cbc20cba29c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/panel-users/:paneUser","description":"<p>Get the panel user details.</p>\n","urlObject":{"path":["web","panel-users",":paneUser"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"3b514358-878f-4410-8054-e0a9edbf806d","key":"paneUser"}]}},"response":[],"_postman_id":"3196b646-6fa4-43d7-a435-8cbc20cba29c"},{"name":"Update Panel User","id":"6b19afc2-e31e-4efe-a8f6-04bbc104d0b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Panel User Name\",\n    \"email\": \"panel@user.example\",\n    \"password\": \"swordfish\",\n    \"password_confirmation\": \"swordfish\",\n    \"timezone_id\": \"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/panel-users/:paneUser","description":"<p>Updates the panel user.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password_confirmation</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","panel-users",":paneUser"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"3b514358-878f-4410-8054-e0a9edbf806d","key":"paneUser"}]}},"response":[],"_postman_id":"6b19afc2-e31e-4efe-a8f6-04bbc104d0b3"}],"id":"861323f2-f910-4d30-ad9d-ceb2a453c20b","_postman_id":"861323f2-f910-4d30-ad9d-ceb2a453c20b","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Service Notifications","item":[{"name":"Get Service Notifications","id":"2fb92970-8800-4944-9a61-5d966a575026","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/service-notifications?page=1&per_page=15","description":"<p>Get the service notifications (paginated).</p>\n","urlObject":{"path":["web","service-notifications"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"disabled":true,"key":"scope","value":"api"},{"disabled":true,"key":"status","value":"completed"}],"variable":[]}},"response":[],"_postman_id":"2fb92970-8800-4944-9a61-5d966a575026"}],"id":"757fa571-1e73-40bc-9182-59dc7ffa59cb","_postman_id":"757fa571-1e73-40bc-9182-59dc7ffa59cb","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Partners","item":[{"name":"Additional Charges","item":[{"name":"Get Additional Charges","id":"6bbccb56-085b-4a0a-80a3-be5c5883b4a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/additional-charges?per_page=15&page=1&sort=created_at&order=desc","description":"<p>Get the partner's additional charges (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","additional-charges"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"sort","value":"created_at"},{"key":"order","value":"desc"}],"variable":[{"id":"7be770c6-63bd-4617-8a74-8b008fba6d3e","type":"any","value":"fcadc801-7b61-4653-9cc2-30ba6b5fe1a8","key":"partner"}]}},"response":[],"_postman_id":"6bbccb56-085b-4a0a-80a3-be5c5883b4a2"},{"name":"Get Additional Charge","id":"20ba96a9-3c31-47c8-b31f-0e3650f1115e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/additional-charges/:additionalCharge","description":"<p>Get the partner's additional charge.</p>\n","urlObject":{"path":["web","partners",":partner","additional-charges",":additionalCharge"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d95efb7f-cae3-449e-9e45-bcc26cd6454b","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"88e3496a-f063-49ba-bcbc-2f2da969dbda","type":"any","value":"fcadc801-7b61-4653-9cc2-30ba6b5fe1a8","key":"additionalCharge"}]}},"response":[],"_postman_id":"20ba96a9-3c31-47c8-b31f-0e3650f1115e"},{"name":"Create Additional Charge","id":"4dcde7f8-7ae5-493c-892d-5292e7ed4886","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"date\": \"2025-04-02\",\n    \"title\": \"Additional charge title\",\n    \"description\": \"An optional description for the charge.\",\n    \"amount\": 51.38\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/additional-charges","description":"<p>Creates an additional charge for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date*</td>\n<td>date</td>\n</tr>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>amount*</td>\n<td>decimal</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","additional-charges"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a8a67b94-4a3f-44a9-82d6-5156d922712a","type":"any","value":"fcadc801-7b61-4653-9cc2-30ba6b5fe1a8","key":"partner"}]}},"response":[],"_postman_id":"4dcde7f8-7ae5-493c-892d-5292e7ed4886"},{"name":"Update Additional Charge","id":"4f045420-cb08-4f0a-8f0f-ef8cd673afd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"date\": \"2025-04-02\",\n    \"title\": \"Additional charge title\",\n    \"description\": \"An optional description for the charge.\",\n    \"amount\": 51.38\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/additional-charges/:additionalCharge","description":"<p>Updates an additional charge for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date*</td>\n<td>date</td>\n</tr>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>amount*</td>\n<td>decimal</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","additional-charges",":additionalCharge"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8d4d6614-5444-49f2-a034-aa83a3e8dcdb","type":"any","value":"fcadc801-7b61-4653-9cc2-30ba6b5fe1a8","key":"partner"},{"id":"ad521a52-4a12-42f0-9cd5-b1a7af76d3a8","type":"any","value":"fcadc801-7b61-4653-9cc2-30ba6b5fe1a8","key":"additionalCharge"}]}},"response":[],"_postman_id":"4f045420-cb08-4f0a-8f0f-ef8cd673afd3"},{"name":"Delete Additional Charge","id":"0e291209-77d6-4c31-bb88-134309fb89fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"date\": \"2025-04-02\",\n    \"title\": \"Additional charge title\",\n    \"description\": \"An optional description for the charge.\",\n    \"amount\": 51.38\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/additional-charges/:additionalCharge","description":"<p>Deletes an additional charge for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>date*</td>\n<td>date</td>\n</tr>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>amount*</td>\n<td>decimal</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","additional-charges",":additionalCharge"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"64a99c41-480b-4613-8bfd-9feb9c8a093d","type":"any","value":"fcadc801-7b61-4653-9cc2-30ba6b5fe1a8","key":"partner"},{"id":"5ef9a3be-0824-4b38-a5db-ff5adc7fd617","type":"any","value":"fcadc801-7b61-4653-9cc2-30ba6b5fe1a8","key":"additionalCharge"}]}},"response":[],"_postman_id":"0e291209-77d6-4c31-bb88-134309fb89fb"}],"id":"2f8c8c62-ff69-44e5-ab2b-8ef749dedda2","_postman_id":"2f8c8c62-ff69-44e5-ab2b-8ef749dedda2","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Categories","item":[{"name":"Get Categories","id":"453a9215-3526-4dd6-b827-82e51cf7ed39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/categories?per_page=15&page=1","description":"<p>Get the partner's categories (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","categories"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"6bf6cef7-d087-46d0-8dcb-f37917b2c530","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"453a9215-3526-4dd6-b827-82e51cf7ed39"},{"name":"Detach Category","id":"76d041af-417d-40ac-8cbf-d17e38f7daba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/categories/:category","description":"<p>Detach the category from the partner.</p>\n","urlObject":{"path":["web","partners",":partner","categories",":category"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c5b610c4-ba14-46b1-abb3-7908f3e65fe9","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"4f5c3f86-9ac5-443a-9667-42bb86b78f12","type":"any","value":"d1334f2f-6493-43b3-a358-fc6951245275","key":"category"}]}},"response":[],"_postman_id":"76d041af-417d-40ac-8cbf-d17e38f7daba"},{"name":"Attach Category","id":"0b0f50c7-f038-483b-a8d6-cdec569da0aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/categories/:category","description":"<p>Attach the category to the partner.</p>\n","urlObject":{"path":["web","partners",":partner","categories",":category"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"05ad1eac-ae2c-47ad-90a7-aaa78fd5eb94","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"f342661f-3139-43b5-a3f3-0d5d3cd8406c","type":"any","value":"d1334f2f-6493-43b3-a358-fc6951245275","key":"category"}]}},"response":[],"_postman_id":"0b0f50c7-f038-483b-a8d6-cdec569da0aa"}],"id":"e88801c6-caea-440c-adac-30953ba71a8c","_postman_id":"e88801c6-caea-440c-adac-30953ba71a8c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Clinicians","item":[{"name":"Attach Clinician","id":"9c216170-e175-47eb-97b4-64b535047147","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"priority\": \"normal\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/clinicians/:clinician","description":"<p>Attach the clinician to the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>priority</td>\n<td>Clinician's priority</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","clinicians",":clinician"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"},{"type":"any","value":"dbb54d4c-7b96-4188-989d-b0b533b1ec5a","key":"clinician"}]}},"response":[],"_postman_id":"9c216170-e175-47eb-97b4-64b535047147"},{"name":"Detach Clinician","id":"21e415ed-fc29-4481-9c32-5ec857fb80d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/clinicians/:clinician","description":"<p>Detach the clinician from the partner.</p>\n","urlObject":{"path":["web","partners",":partner","clinicians",":clinician"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"},{"type":"any","value":"dbb54d4c-7b96-4188-989d-b0b533b1ec5a","key":"clinician"}]}},"response":[],"_postman_id":"21e415ed-fc29-4481-9c32-5ec857fb80d0"},{"name":"Update Attached Clinician","id":"8727ca0f-687a-4b2e-ae91-4c5d014d7b0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"priority\": \"disabled\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/clinicians/:clinician","description":"<p>Updates the partner's clinician.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>priority</td>\n<td>Clinician's priority</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","clinicians",":clinician"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"28ff8882-0393-414b-b9e2-111d5d778d31","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"226012d5-7997-45d7-9bb6-67d61d9700c6","type":"any","value":"79cd3aa2-f667-4808-a70f-7f745c514def","key":"clinician"}]}},"response":[],"_postman_id":"8727ca0f-687a-4b2e-ae91-4c5d014d7b0b"},{"name":"Get Clinicians","id":"5a24cfcd-c42d-4056-8542-4750e3a8911b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/clinicians?per_page=15&page=1&sort=last_name","description":"<p>Get the partner's clinicians (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","clinicians"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"sort","value":"last_name"},{"disabled":true,"key":"order","value":"desc"},{"disabled":true,"key":"id","value":"7e8dbd8c-06b4-4ad0-8a20-068c2f7c620c"},{"disabled":true,"key":"email","value":"clinician@email.com"},{"disabled":true,"key":"first_name","value":"First Name"},{"disabled":true,"key":"last_name","value":"Last Name"}],"variable":[{"type":"any","value":"b7c13943-50a5-4b94-8450-6a59328c8fc8","key":"partner"}]}},"response":[],"_postman_id":"5a24cfcd-c42d-4056-8542-4750e3a8911b"},{"name":"Get Clinicians Export File","id":"bc2ac307-1c8a-43cd-b2d0-dbd97e2643f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/clinicians/export","description":"<p>Get the clinicians export file from a partner in xls format, containing basic information, licenses, and states.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","clinicians","export"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"20b31b17-7432-4b27-aac1-dee56204f959","type":"any","value":"b7c13943-50a5-4b94-8450-6a59328c8fc8","key":"partner"}]}},"response":[],"_postman_id":"bc2ac307-1c8a-43cd-b2d0-dbd97e2643f3"}],"id":"e92937ab-b16a-4b8e-9d99-0e08049c83c3","_postman_id":"e92937ab-b16a-4b8e-9d99-0e08049c83c3","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Compounds","item":[{"name":"Diseases","item":[{"name":"Get Diseases","id":"afbd83b1-f11e-4956-9182-c234d56fbc7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound/diseases?per_page=15&page=1","description":"<p>Get the partner's compound's diseases (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","compounds",":compound","diseases"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"a3ffc57d-53ac-4036-b22b-8e43aef8d298","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"602db6cb-f314-4f49-a296-0e85352d7267","type":"any","value":"20796e23-40f7-42b6-b21c-ec3bfd7bf1e7","key":"compound"}]}},"response":[],"_postman_id":"afbd83b1-f11e-4956-9182-c234d56fbc7e"},{"name":"Attach Disease","id":"e946d004-127a-4987-800f-2030a17aca77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound/diseases/:disease","description":"<p>Attach the disease to the partner's compound.</p>\n","urlObject":{"path":["web","partners",":partner","compounds",":compound","diseases",":disease"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"907dacfc-0516-4f5f-a770-0416edc7b620","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"9c9a712b-6633-47df-aef2-541accf0d58c","type":"any","value":"20796e23-40f7-42b6-b21c-ec3bfd7bf1e7","key":"compound"},{"id":"2803aa58-9be9-44ae-987a-8d00f821bf58","type":"any","value":"28932569-d923-4d47-ae0f-8e0ef1978a70","key":"disease"}]}},"response":[],"_postman_id":"e946d004-127a-4987-800f-2030a17aca77"},{"name":"Detach Disease","id":"5ce4df5d-9c81-4566-9241-8d895fc4d401","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound/diseases/:disease","description":"<p>Detach the disease from the partner's compound.</p>\n","urlObject":{"path":["web","partners",":partner","compounds",":compound","diseases",":disease"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"1308a6ec-a459-4595-aa81-2e0206f823d3","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"be593280-538a-435d-a948-f0b7d6fde1a0","type":"any","value":"20796e23-40f7-42b6-b21c-ec3bfd7bf1e7","key":"compound"},{"id":"f3d2ac61-550b-4625-a870-c965813437bf","type":"any","value":"28932569-d923-4d47-ae0f-8e0ef1978a70","key":"disease"}]}},"response":[],"_postman_id":"5ce4df5d-9c81-4566-9241-8d895fc4d401"}],"id":"88299d86-eb97-4079-9e86-f652b3cd7309","_postman_id":"88299d86-eb97-4079-9e86-f652b3cd7309","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tags","item":[{"name":"Get Tags","id":"288e06f7-00c1-4ddb-b9be-602cae2a8a64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound/tags?per_page=15&page=1","description":"<p>Get the partner's compound's tags (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","compounds",":compound","tags"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"79d0608c-54a3-453f-95ef-b38bb0c1a356","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"f1456ea8-9004-49e7-8cde-361f65236d12","type":"any","value":"3f55936a-e249-4e6d-8a8a-b860da05a19f","key":"compound"}]}},"response":[],"_postman_id":"288e06f7-00c1-4ddb-b9be-602cae2a8a64"},{"name":"Attach Tag","id":"c9ca94e2-8adb-4776-b20d-685abc04151e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"compound notes\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound/tags/:tag","description":"<p>Attach the tag to the partner's compound.</p>\n","urlObject":{"path":["web","partners",":partner","compounds",":compound","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"17d446ea-5870-44b3-a548-293977301848","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"86a464a4-4d21-48b8-9245-97efb2e04520","type":"any","value":"3f55936a-e249-4e6d-8a8a-b860da05a19f","key":"compound"},{"id":"41f13fce-c6fc-4cac-b6b0-0c256772b806","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"c9ca94e2-8adb-4776-b20d-685abc04151e"},{"name":"Update Tag","id":"cefff127-f374-4dfe-94f1-c42f275f5be4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"new compound notes\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound/tags/:tag","description":"<p>Update the tag's notes to the partner's compound.</p>\n","urlObject":{"path":["web","partners",":partner","compounds",":compound","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c906f042-8be9-495b-a821-3b676838c61c","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"4940f8c0-1fd4-4159-bf3c-6ddd818cfbe4","type":"any","value":"3f55936a-e249-4e6d-8a8a-b860da05a19f","key":"compound"},{"id":"f510b133-05e6-42e6-95e0-b3b62d22b736","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"cefff127-f374-4dfe-94f1-c42f275f5be4"},{"name":"Detach Tag","id":"b94f69f1-71b8-430c-8c08-fa31ed881ef7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound/tags/:tag","description":"<p>Detach the tag from the partner's compound.</p>\n","urlObject":{"path":["web","partners",":partner","compounds",":compound","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"dbd0145c-236a-48b9-9358-6b7204646707","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"f7422112-e42c-41f3-a4d4-efd69a05468e","type":"any","value":"3f55936a-e249-4e6d-8a8a-b860da05a19f","key":"compound"},{"id":"c570dc94-c4a4-4c72-bfed-718953ab77fc","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"b94f69f1-71b8-430c-8c08-fa31ed881ef7"}],"id":"ade0718b-430c-47d8-bbd1-3f8191cf4665","_postman_id":"ade0718b-430c-47d8-bbd1-3f8191cf4665","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"States","item":[{"name":"Get States","id":"b213d858-1673-41d0-a843-8efecdeb00c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound/states?per_page=15&page=1","description":"<p>Get the partner's compound's states (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","compounds",":compound","states"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"6388787f-f81e-4b24-8fdc-274128fc6eaa","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"a9b62fdf-3351-465b-9c37-84b088a6be39","type":"any","value":"3f55936a-e249-4e6d-8a8a-b860da05a19f","key":"compound"}]}},"response":[],"_postman_id":"b213d858-1673-41d0-a843-8efecdeb00c2"},{"name":"Attach State","id":"67182fd8-9d76-4112-a905-b430fb24d502","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound/states/:state","description":"<p>Attach the state to the partner's compound.</p>\n","urlObject":{"path":["web","partners",":partner","compounds",":compound","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"621ebd50-5805-4418-910a-daedb13e9cab","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"d64f3417-1721-4370-8a03-595ee9f9a925","type":"any","value":"3f55936a-e249-4e6d-8a8a-b860da05a19f","key":"compound"},{"id":"d4b45474-68b5-469c-95c8-a576505791c0","type":"any","value":"c4d240f6-e183-4869-b5dd-851082ae8d97","key":"state"}]}},"response":[],"_postman_id":"67182fd8-9d76-4112-a905-b430fb24d502"},{"name":"Detach State","id":"75e79406-9277-4443-b872-5ab17511febc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound/states/:state","description":"<p>Detach the state from the partner's compound.</p>\n","urlObject":{"path":["web","partners",":partner","compounds",":compound","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"cebead29-d930-4955-bb0a-6e7ef5e88409","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"b72b2f6c-a8c7-4f78-a358-90c905184c71","type":"any","value":"3f55936a-e249-4e6d-8a8a-b860da05a19f","key":"compound"},{"id":"7e405007-ec8e-46a7-acbf-bf7cbbd73303","type":"any","value":"c4d240f6-e183-4869-b5dd-851082ae8d97","key":"state"}]}},"response":[],"_postman_id":"75e79406-9277-4443-b872-5ab17511febc"}],"id":"3f7152a3-4a81-46e1-bd99-bd735516146d","_postman_id":"3f7152a3-4a81-46e1-bd99-bd735516146d","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Compound","id":"5483ff4c-fafd-409f-8b1d-36678fab5e6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound","description":"<p>Get the partner's compound details.</p>\n","urlObject":{"path":["web","partners",":partner","compounds",":compound"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e4df2fb7-c942-4754-814d-3cb00476a312","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"bc1a92e5-3a5f-4bea-8cc9-73ef4f864201","type":"any","value":"2294d4b7-a2ed-457f-b5a1-2fbd558d18b8","key":"compound"}]}},"response":[],"_postman_id":"5483ff4c-fafd-409f-8b1d-36678fab5e6f"},{"name":"Delete Compound","id":"523add4b-0fb8-4368-ae86-9e81ac5e7be3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound","description":"<p>Deletes the partner's compound.</p>\n","urlObject":{"path":["web","partners",":partner","compounds",":compound"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b6dc16eb-88dc-46d3-aa93-ce73fc4dd10e","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"3e352b38-3514-42d8-a770-9b988c5f09ac","type":"any","value":"6cba2209-a0a3-4881-9253-578540e2ccdb","key":"compound"}]}},"response":[],"_postman_id":"523add4b-0fb8-4368-ae86-9e81ac5e7be3"},{"name":"Get Compounds","id":"2f29072d-1f28-4f87-b8fe-5673aeef3a3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/compounds?per_page=15&page=1","description":"<p>Get the partner's compounds (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","compounds"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"disabled":true,"key":"order","value":"asc"},{"disabled":true,"key":"sort","value":"order"},{"disabled":true,"key":"search","value":"term"},{"disabled":true,"key":"trashed","value":"only/with"}],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"}]}},"response":[],"_postman_id":"2f29072d-1f28-4f87-b8fe-5673aeef3a3e"},{"name":"Create Compound","id":"c79fe5f6-600f-472e-b458-265beb449ccf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"clinician_id\": null,\n    \"active\": true,\n    \"is_additional_approval_needed\": true,\n    \"title\": \"Title\",\n    \"name\": \"Name Compound\",\n    \"refills\": 1,\n    \"quantity\": \"2\",\n    \"days_supply\": 7,\n    \"directions\": \"One per day.\",\n    \"effective_date\": 7,\n    \"dispense_unit\": \"Tablet\",\n    \"dispense_unit_id\": 26,\n    \"pharmacy_id\": 14,\n    \"pharmacy_name\": \"Pharmacy Name\",\n    \"force_pharmacy\": true,\n    \"clinical_note\": \"Notes from the MD.\",\n    \"pharmacy_notes\": \"Notes for the parmacy.\",\n    \"thank_you_note\": \"Thank you!\",\n    \"order\": 1,\n    \"metadata\": \"Metadata\",\n    \"allow_substitutions\": false,\n    \"upcharge\": 1.01,\n    \"clinician_extra_fee\": 1.02,\n    \"is_charged_separately\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/compounds","description":"<p>Creates a compound for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n</tr>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>refills*</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>quantity*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>directions*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>dispense_unit*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>dispense_unit_id*</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>force_pharmacy*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>clinical_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>allow_substitutions*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_charged_separately</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","compounds"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"94124ff7-7942-415b-b556-2702c77ebaa7","key":"partner"}]}},"response":[],"_postman_id":"c79fe5f6-600f-472e-b458-265beb449ccf"},{"name":"Update Compound","id":"5d5465fc-5bbb-461d-bfcf-9864abfb2e51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"clinician_id\": null,\n    \"active\": true,\n    \"is_additional_approval_needed\": true,\n    \"title\": \"Title\",\n    \"name\": \"Name Compound\",\n    \"refills\": 1,\n    \"quantity\": \"2\",\n    \"days_supply\": 7,\n    \"directions\": \"One per day.\",\n    \"effective_date\": 7,\n    \"dispense_unit\": \"Tablet\",\n    \"dispense_unit_id\": 26,\n    \"pharmacy_id\": 14,\n    \"pharmacy_name\": \"Pharmacy Name\",\n    \"force_pharmacy\": true,\n    \"clinical_note\": \"Notes from the MD.\",\n    \"pharmacy_notes\": \"Notes for the parmacy.\",\n    \"thank_you_note\": \"Thank you!\",\n    \"order\": 1,\n    \"metadata\": \"Metadata\",\n    \"allow_substitutions\": false,\n    \"upcharge\": 1.02,\n    \"clinician_extra_fee\": 1.02,\n    \"is_charged_separately\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound","description":"<p>Updates the partner's compound.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clinician_id</td>\n<td>string</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>dispense_unit</td>\n<td>string</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>force_pharmacy</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>clinical_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>allow_substitutions</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_charged_separately</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","compounds",":compound"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"type":"any","value":"41499374-37d3-4708-b099-bfab3a062b93","key":"compound"}]}},"response":[],"_postman_id":"5d5465fc-5bbb-461d-bfcf-9864abfb2e51"},{"name":"Restore Compound","id":"b79d7dfe-c86e-4490-a2f1-338a7931938a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound/restore","description":"<p>Restores the partner's compound.</p>\n","urlObject":{"path":["web","partners",":partner","compounds",":compound","restore"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5657f9f0-b3bc-4a39-9ef9-93c339bbfe67","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"ef319eda-6dff-40f2-9fae-ba71301cf889","type":"any","value":"6cba2209-a0a3-4881-9253-578540e2ccdb","key":"compound"}]}},"response":[],"_postman_id":"b79d7dfe-c86e-4490-a2f1-338a7931938a"},{"name":"Apply Compounds Reviews","id":"ca0ad24c-5eb7-48e7-8750-efe9d4a6fd74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/reviews/apply","description":"<p>Apply all reviews for all compounds of the partner.</p>\n","urlObject":{"path":["web","partners",":partner","compounds","reviews","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"55825a93-df67-4d0c-9a47-22d15aed86e5","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"}]}},"response":[],"_postman_id":"ca0ad24c-5eb7-48e7-8750-efe9d4a6fd74"},{"name":"Apply Compound Review","id":"f25a2aa2-b438-4407-87a9-5714669348af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound/reviews/:review/apply","description":"<p>Apply the review of the partner's compound.</p>\n","urlObject":{"path":["web","partners",":partner","compounds",":compound","reviews",":review","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c08000d6-6278-4bf7-a13c-c357ba22e149","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"c6c53d4f-f91a-481d-b53d-663db5071573","type":"any","value":"41499374-37d3-4708-b099-bfab3a062b93","key":"compound"},{"id":"f25d5943-6d54-4d85-a602-b5a616e21da0","type":"any","value":"34e6a6e7-f880-4b87-adc5-01be9167fe42","key":"review"}]}},"response":[],"_postman_id":"f25a2aa2-b438-4407-87a9-5714669348af"},{"name":"Replicate Compound","id":"d6dd2bf3-6ffd-4def-8fa2-c4b254376128","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/compounds/:compound/replicate","description":"<p>Replicates the partner's compound.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","compounds",":compound","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9be70714-af0e-47c5-9843-d282b213d0f0","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"e8ea57af-8db2-4151-865f-d557686c4571","type":"any","value":"fccb247c-ca2c-470e-b2ed-df04e5ef96aa","key":"compound"}]}},"response":[],"_postman_id":"d6dd2bf3-6ffd-4def-8fa2-c4b254376128"}],"id":"58e027dd-4256-414a-8d4c-48508804c40b","_postman_id":"58e027dd-4256-414a-8d4c-48508804c40b","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Contacts","item":[{"name":"Get Contacts","id":"0ca0916d-88ec-4994-93b2-ae033c74f5e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/contacts?per_page=15&page=1","description":"<p>Get the partner's contacts (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","contacts"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"151da404-5247-4418-9fe7-3b3563f1c907","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"0ca0916d-88ec-4994-93b2-ae033c74f5e9"},{"name":"Update Contact","id":"18bd2cc9-9884-4537-b214-2b0ac515f2e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Partner\",\n    \"last_name\": \"Contact\",\n    \"email\": \"partner@contact.example\",\n    \"job_title\": \"Job Title\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/contacts/:contact","description":"<p>Updates the partner's contact.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","contacts",":contact"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9643bdee-fb13-4096-bee6-6f6023bff7a7","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"e27d47ab-f309-4523-8714-ac32e3a871b5","type":"any","value":"ff96384a-1404-4d08-a969-035ade5d93ba","key":"contact"}]}},"response":[],"_postman_id":"18bd2cc9-9884-4537-b214-2b0ac515f2e5"},{"name":"Delete Contact","id":"554d3057-b4dc-4d42-9c01-f220939135ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/contacts/:contact","description":"<p>Deletes the partner's contact.</p>\n","urlObject":{"path":["web","partners",":partner","contacts",":contact"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5d36a221-990a-4fa4-ab58-1977704406e1","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"666ebbcb-d20d-4c7a-9ba3-1b8173fb9abf","type":"any","value":"f3fe6939-5af5-45b2-86ee-f0e6601ab8b0","key":"contact"}]}},"response":[],"_postman_id":"554d3057-b4dc-4d42-9c01-f220939135ae"},{"name":"Create Contact","id":"008e5d58-7021-4d6a-b925-2bd29ee3f33e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Partner\",\n    \"last_name\": \"Contact\",\n    \"email\": \"partner@contact.example\",\n    \"job_title\": \"Job Title\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/contacts","description":"<p>Creates a contact for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","contacts"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c1ec6b84-21ec-483b-a848-4fa5f607763a","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"008e5d58-7021-4d6a-b925-2bd29ee3f33e"}],"id":"521a72fb-fb7b-4a14-b226-b4a2675da880","_postman_id":"521a72fb-fb7b-4a14-b226-b4a2675da880","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Pricing Tiers","item":[{"name":"Get Pricing Tiers","id":"269ace5e-d655-44fc-86b3-299cfabb8b11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/pricing-tiers?per_page=15&page=1","description":"<p>Get the partner's pricing tiers (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","pricing-tiers"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"43f277b1-f82a-434a-8801-41c2e24b9146","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"269ace5e-d655-44fc-86b3-299cfabb8b11"},{"name":"Update Pricing TIer","id":"65322403-9feb-42b5-867f-e9bc9055dbfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"description\": null,\n    \"threshold\": 1000,\n    \"discount\": 10,\n    \"discount_type\": \"percentage\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/pricing-tiers/:pricing-tier","description":"<p>Updates the partner's pricing tier.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>threshold</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>discount</td>\n<td>number</td>\n</tr>\n<tr>\n<td>discount_type</td>\n<td>string (percentage, fixed-amount)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","pricing-tiers",":pricing-tier"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"40b6ffc7-0bb2-465d-b3ae-51001dd869ff","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"06807202-252c-4fcc-81de-083894c389f9","type":"any","value":"ff96384a-1404-4d08-a969-035ade5d93ba","key":"pricing-tier"}]}},"response":[],"_postman_id":"65322403-9feb-42b5-867f-e9bc9055dbfd"},{"name":"Delete Pricing Tier","id":"9945c0ca-29c9-44d8-8e72-010756c75ebb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/pricing-tiers/:pricing-tier","description":"<p>Deletes the partner's pricing tier.</p>\n","urlObject":{"path":["web","partners",":partner","pricing-tiers",":pricing-tier"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9e14f53a-4c8b-480a-87f2-25e506b626af","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"064a2631-05cc-45e2-82d6-2820e4ed2f26","type":"any","value":"ff96384a-1404-4d08-a969-035ade5d93ba","key":"pricing-tier"}]}},"response":[],"_postman_id":"9945c0ca-29c9-44d8-8e72-010756c75ebb"},{"name":"Create Pricing Tier","id":"14fbbf11-d792-487a-b21d-ccc2e02bfeb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"description\": null,\n    \"threshold\": 1000,\n    \"discount\": 10,\n    \"discount_type\": \"percentage\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/picing-tiers","description":"<p>Creates a pricing tier for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>threshold</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>discount</td>\n<td>number</td>\n</tr>\n<tr>\n<td>discount_type</td>\n<td>string (percentage, fixed-amount)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","picing-tiers"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"26aae601-2b95-4140-9fba-a7779e3db479","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"14fbbf11-d792-487a-b21d-ccc2e02bfeb6"}],"id":"f2f1b9a0-7b3c-4775-8d52-763f661512f2","_postman_id":"f2f1b9a0-7b3c-4775-8d52-763f661512f2","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Credentials","item":[{"name":"Get Credentials","id":"3073b08c-21b0-484c-94d7-f69db872de45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/credentials?per_page=15&page=1","description":"<p>Get the partner's credentials (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","credentials"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"3073b08c-21b0-484c-94d7-f69db872de45"},{"name":"Delete Credential","id":"c801db90-8ab7-49e2-b3e9-b3bff7983728","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/credentials/:credential","description":"<p>Detach the partner's credential.</p>\n","urlObject":{"path":["web","partners",":partner","credentials",":credential"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"type":"any","value":"f5a0355b-18b7-4af2-a4bc-3cb6cdc64952","key":"credential"}]}},"response":[],"_postman_id":"c801db90-8ab7-49e2-b3e9-b3bff7983728"},{"name":"Create Credential","id":"34a0899c-affb-426e-99b9-1cd12e4c7a3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Partner's Credential\",\n    \"environment_id\": \"5698c890-e79b-4d27-9a92-500dfffb1ae6\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/credentials","description":"<p>Creates a credential for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>environment_id*</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","credentials"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"34a0899c-affb-426e-99b9-1cd12e4c7a3a"}],"id":"b4eb50ab-5380-4c84-9aae-c32307200b41","_postman_id":"b4eb50ab-5380-4c84-9aae-c32307200b41","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Documentations","item":[{"name":"Get Documentations","id":"51308c6a-8ea9-4768-9b2d-fddc0e77dd9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/documentations?per_page=15&page=1&type=process","description":"<p>Get the partner's documentations (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","documentations"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"type","value":"process"}],"variable":[{"id":"660e8bdd-203e-4cbc-8712-4b5359fddc20","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"51308c6a-8ea9-4768-9b2d-fddc0e77dd9f"},{"name":"Update Documentation","id":"7d1494f6-4d8b-4513-9550-74fa21491845","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"information\",\n    \"title\": \"Title\",\n    \"description\": \"Description\",\n    \"key\": \"updated-key\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/documentations/:documentation","description":"<p>Updates the partner's documentation.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string (information, process)</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n</tr>\n<tr>\n<td>key</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","documentations",":documentation"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c7840b8c-3518-4a3d-8be9-1dd6f4d12876","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"f273a1b7-6cd9-4d2d-95e1-ac747cb8fd40","type":"any","value":"ac3d16f8-ed30-4f43-95ae-52bcc75f07a4","key":"documentation"}]}},"response":[],"_postman_id":"7d1494f6-4d8b-4513-9550-74fa21491845"},{"name":"Delete Documentation","id":"0fbc8478-1253-469d-92e7-9454a2a7fd83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/documentations/:documentation","description":"<p>Deletes the partner's documentation.</p>\n","urlObject":{"path":["web","partners",":partner","documentations",":documentation"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"589880a0-699d-4b2b-96f7-946f86f6d188","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"e2feb2d5-8945-4a99-9107-fcb198a93a62","type":"any","value":"9490d5a7-714f-44e2-855a-abd9ec2409a5","key":"documentation"}]}},"response":[],"_postman_id":"0fbc8478-1253-469d-92e7-9454a2a7fd83"},{"name":"Create Documentation","id":"42f748a7-9452-4262-9772-581705fd6313","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"process\",\n    \"title\": \"Title\",\n    \"description\": \"Process\",\n    \"key\": \"patient-consent\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/documentations","description":"<p>Creates a documentation for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type*</td>\n<td>string (information. process)</td>\n</tr>\n<tr>\n<td>description*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>key*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","documentations"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ddd7bd10-8e4c-454a-926c-b4de75e7004c","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"42f748a7-9452-4262-9772-581705fd6313"}],"id":"314df9af-a0cf-4675-adcc-795afbf38c37","_postman_id":"314df9af-a0cf-4675-adcc-795afbf38c37","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Integrations","item":[{"name":"Get Integrations","id":"f0261a6c-d1d5-4fcc-bd30-adfa5c3c89f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/integrations?page=1","description":"<p>Get the partner's integrations (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","integrations"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"disabled":true,"key":"status","value":"ready"}],"variable":[{"id":"07826045-5dbf-46fc-82f4-57c54cc68a83","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"f0261a6c-d1d5-4fcc-bd30-adfa5c3c89f2"},{"name":"Update Integration","id":"bdf23c54-8fe6-4479-822c-9d48dd9da0d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"secrets\": {\n        \"key\": \"updated-key\"\n    },\n    \"metadata\": {\n        \"description\": \"Description\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/integrations/:integration","description":"<p>Updates the partner's integration.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>secrets</td>\n<td>array</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","integrations",":integration"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f5fa9620-4d17-4180-84dd-94ed40a0caed","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"d7b62e26-a1af-4e50-8657-bf827dd2bdd7","type":"any","value":"ac3d16f8-ed30-4f43-95ae-52bcc75f07a4","key":"integration"}]}},"response":[],"_postman_id":"bdf23c54-8fe6-4479-822c-9d48dd9da0d2"},{"name":"Delete Integration","id":"24ee395c-0cdd-4940-952b-3dc796110ef1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/integrations/:integration","description":"<p>Deletes the partner's integration.</p>\n","urlObject":{"path":["web","partners",":partner","integrations",":integration"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b11775cf-183e-4041-8d0c-045ce05b8caa","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"8c7357d4-39b8-4c5b-a9b5-d36b8438db5c","type":"any","value":"9490d5a7-714f-44e2-855a-abd9ec2409a5","key":"integration"}]}},"response":[],"_postman_id":"24ee395c-0cdd-4940-952b-3dc796110ef1"},{"name":"Get Integration","id":"9fede4e6-b897-4e91-b7f9-0a2dc0a91bff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/integrations/:integration","description":"<p>Get the partner's integration.</p>\n","urlObject":{"path":["web","partners",":partner","integrations",":integration"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2d992515-f842-4ea1-af72-2b677c1a752d","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"28075e3b-8af6-4dc4-b21d-161d9e236753","type":"any","value":"9490d5a7-714f-44e2-855a-abd9ec2409a5","key":"integration"}]}},"response":[],"_postman_id":"9fede4e6-b897-4e91-b7f9-0a2dc0a91bff"},{"name":"Create Integration","id":"0113ac7f-1845-421e-87a5-ae4a10020790","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"pharmacy_id\": \"2352b7e2-df55-4d83-92b0-12aa7c7a6021\",\n    \"secrets\": {\n        \"key\": \"updated-key\"\n    },\n    \"metadata\": {\n        \"description\": \"Description\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/integrations","description":"<p>Creates an integration for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pharmacy_id*</td>\n<td>string (uuid)</td>\n</tr>\n<tr>\n<td>secrets</td>\n<td>array</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","integrations"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4c6f171f-d13a-4218-bfd3-d8affdbbcd2c","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"0113ac7f-1845-421e-87a5-ae4a10020790"}],"id":"e9abb432-8a8d-48a6-a50d-e638fa4644a6","_postman_id":"e9abb432-8a8d-48a6-a50d-e638fa4644a6","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Encounters","item":[{"name":"Get Encounters","id":"a8f5b34f-81a8-42d8-b4e6-a73bccbbeddb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/encounters?per_page=15&page=1&sort=created_at&order=desc&environments[]=live","description":"<p>Get the partner's encounters (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","encounters"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"sort","value":"created_at"},{"key":"order","value":"desc"},{"disabled":true,"key":"id","value":"c16e28ed-0ba5-41ff-88b2-0081507fe489"},{"key":"environments[]","value":"live"},{"disabled":true,"key":"environments[]","value":"sandbox"}],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"a8f5b34f-81a8-42d8-b4e6-a73bccbbeddb"},{"name":"Export Encounters","id":"7926459f-7f3e-4902-9c3c-9f60a188f1aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"status\": [\"completed\", \"cancelled\"],\n    \"clinician_id\": \"0b5bac30-f43a-451b-aa79-4941e170ba7a\",\n    \"status_date_from\": \"2023-03-09\",\n    \"status_date_to\": \"2023-03-09\",\n    \"created_at_from\": \"2023-03-09\",\n    \"created_at_to\": \"2023-03-09\",\n    \"type\": \"follow-up\",\n    \"is_sync\": true,\n    \"is_chargeable\": true,\n    \"environments\": [\"sandbox\", \"live\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/encounters/export","description":"<p>Exports the partner's encounters, based on the given parameters.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status*</td>\n<td>array</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>status_date_from</td>\n<td>date</td>\n</tr>\n<tr>\n<td>status_date_to</td>\n<td>date</td>\n</tr>\n<tr>\n<td>status_date_from</td>\n<td>date</td>\n</tr>\n<tr>\n<td>status_date_to</td>\n<td>date</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string (new, follow-up)</td>\n</tr>\n<tr>\n<td>is_sync</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_chargeable</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>environments</td>\n<td>array (live, sandbox)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","encounters","export"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"7926459f-7f3e-4902-9c3c-9f60a188f1aa"}],"id":"a903a40b-5b5d-4ec9-8ba5-4d430e209880","_postman_id":"a903a40b-5b5d-4ec9-8ba5-4d430e209880","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Environments","item":[{"name":"Get Environments","id":"1ffc6aa5-b56b-41da-a233-c6608115c289","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/environments?per_page=15&page=1&identifiers[]=live","description":"<p>Get the partner's environments (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","environments"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"disabled":true,"key":"identifier","value":"sandbox"},{"disabled":true,"key":"identifiers[]","value":"sandbox"},{"key":"identifiers[]","value":"live"}],"variable":[{"id":"bcf0a741-09f5-41e7-8fe0-a7ed64b439a2","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"1ffc6aa5-b56b-41da-a233-c6608115c289"},{"name":"Get Environment","id":"325ac312-fb50-42cf-b1db-664fea972080","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/environments/:environment","description":"<p>Get the partner's environment details.</p>\n","urlObject":{"path":["web","partners",":partner","environments",":environment"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"67de0bf8-df40-497b-b9c7-c238de0be7ad","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"c48008f3-77de-4c40-9d11-028d048705fa","type":"any","value":"51869140-cd1e-4078-b2ec-4ce2ef05d662","key":"environment"}]}},"response":[],"_postman_id":"325ac312-fb50-42cf-b1db-664fea972080"},{"name":"Create Environment","id":"1f3d02f6-1207-4621-bdfb-82465f5039e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"webhook_url\": \"https://webhook.site/05a39a59-1ae2-45c8-977c-2b8e825fb483\",\n    \"webhook_secret\": \"a5d2bb43-463f-4291-8029-84a8aabaff65\",\n    \"webhook_authorization\": \"709019db-f68f-46e1-86d1-c488d893c85c\",\n    \"environment_id\": \"5698c890-e79b-4d27-9a92-500dfffb1ae6\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/environments","description":"<p>Creates a environment for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>webhook_url*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>webhook_secret</td>\n<td>string</td>\n</tr>\n<tr>\n<td>webhook_authorization</td>\n<td>string</td>\n</tr>\n<tr>\n<td>environment_id*</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","environments"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"1f3d02f6-1207-4621-bdfb-82465f5039e8"},{"name":"Update Environment","id":"bea1fa90-d9f2-4fb2-bafc-33aa048c8890","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"webhook_url\": \"https://webhook.site/05a39a59-1ae2-45c8-977c-2b8e825fb483\",\n    \"webhook_secret\": \"a5d2bb43-463f-4291-8029-84a8aabaff65\",\n    \"webhook_authorization\": \"709019db-f68f-46e1-86d1-c488d893c85c\",\n    \"environment_id\": \"5698c890-e79b-4d27-9a92-500dfffb1ae6\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/environments/:environment","description":"<p>Updates the partner's environment.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>webhook_url</td>\n<td>string</td>\n</tr>\n<tr>\n<td>webhook_secret</td>\n<td>string</td>\n</tr>\n<tr>\n<td>webhook_authorization</td>\n<td>string</td>\n</tr>\n<tr>\n<td>environment_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","environments",":environment"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"type":"any","value":"525d2b81-5fcd-4127-94c1-861c5268a1d8","key":"environment"}]}},"response":[],"_postman_id":"bea1fa90-d9f2-4fb2-bafc-33aa048c8890"},{"name":"Delete Environment","id":"847207fa-8ce9-40fe-a5b6-a8ca3d6da053","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/environments/:environment","description":"<p>Deletes the partner's environment.</p>\n","urlObject":{"path":["web","partners",":partner","environments",":environment"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"type":"any","value":"51869140-cd1e-4078-b2ec-4ce2ef05d662","key":"environment"}]}},"response":[],"_postman_id":"847207fa-8ce9-40fe-a5b6-a8ca3d6da053"}],"id":"c83a17c8-ac1f-4c2b-b608-69d048e735b4","_postman_id":"c83a17c8-ac1f-4c2b-b608-69d048e735b4","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Emails","item":[{"name":"Contact Email","id":"7d35c36a-cb04-4515-a707-8d581a76a406","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Contact's Name\",\n    \"company\": \"Contact's Company\",\n    \"email\": \"guiribmedeiros@gmail.com\",\n    \"text\": \"The contact's text.\",\n    \"recaptcha\": \"reCAPTCHA\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/emails/contact?recaptcha=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJkZDBmMDA1ZS00MDU1LTRjNzMtYjkyMS01M2M...","description":"<p>Sends a contact email from the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>company*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>text*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>recaptcha*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners","emails","contact"],"host":["https://api.mdintegrations.com"],"query":[{"key":"recaptcha","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJkZDBmMDA1ZS00MDU1LTRjNzMtYjkyMS01M2M..."}],"variable":[]}},"response":[],"_postman_id":"7d35c36a-cb04-4515-a707-8d581a76a406"}],"id":"d9acf526-2ca1-401b-89e1-be1d8aba71c7","_postman_id":"d9acf526-2ca1-401b-89e1-be1d8aba71c7","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Files","item":[{"name":"Get Files","id":"e777f09f-a543-4612-ba70-d357b092bb46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/files?per_page=15&page=1","description":"<p>Get the partner's files (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","files"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"bcf0a741-09f5-41e7-8fe0-a7ed64b439a2","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"e777f09f-a543-4612-ba70-d357b092bb46"},{"name":"Attach File","id":"e8280b30-a44e-41da-a226-93e2bdae03d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Title\",\n    \"type\": \"document\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/files/:file","description":"<p>Attach the file to the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string (document, review, other)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f5dac4cc-20f0-4758-b3c6-1aeaa036ca04","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"28f293c7-e936-4db1-a60e-0a87042662e4","type":"any","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2","key":"file"}]}},"response":[],"_postman_id":"e8280b30-a44e-41da-a226-93e2bdae03d9"},{"name":"Update File","id":"8cf8bd31-dc64-49c8-a524-eb3b2555b0cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Title\",\n    \"type\": \"document\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/files/:file","description":"<p>Updates the partner's environment.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>type*</td>\n<td>string (other, review, document)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4b934de1-ec46-4d30-b332-572f4ad243bd","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"4b972bbc-24a0-4d33-a8c9-847e826f64ca","type":"any","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2","key":"file"}]}},"response":[],"_postman_id":"8cf8bd31-dc64-49c8-a524-eb3b2555b0cd"},{"name":"Detach File","id":"fcb2a229-6556-4952-a723-590e1483a3ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/files/:file","description":"<p>Detach the file from the partner.</p>\n","urlObject":{"path":["web","partners",":partner","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e285fb1a-789d-4072-9c31-36d1a7dbc247","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"d77ccbeb-e4a1-46da-b914-5d3dde6a25b7","type":"any","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2","key":"file"}]}},"response":[],"_postman_id":"fcb2a229-6556-4952-a723-590e1483a3ad"}],"id":"326bc231-2293-4abd-95a8-66d1d53665ba","_postman_id":"326bc231-2293-4abd-95a8-66d1d53665ba","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Internal Support Staffs","item":[{"name":"Update Internal Support Staff","id":"44f24c9a-1e32-4f29-b455-37a1f3048fcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Support Staff First Name\",\n    \"last_name\": \"Support Staff Last Name\",\n    \"email\": \"support@staff.example\",\n    \"photo_id\": \"17b32c5d-8ad0-4180-b5f2-59e14c1cf2b9\",\n    \"active\": true,\n    \"password\": \"swordfish\",\n    \"password_confirmation\": \"swordfish\",\n    \"timezone_id\": \"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6\",\n    \"permissions\": [\"live\", \"sandbox\"],\n    \"can_unlock_phi\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/internal-support-staffs/:supportStaff","description":"<p>Updates the partner's support staff.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>photo_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password_confirmation*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>permissions</td>\n<td>array (live, sandbox)</td>\n</tr>\n<tr>\n<td>can_unlock_phi</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","internal-support-staffs",":supportStaff"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"dfd72a1d-c872-4fa4-a4b4-ef18096278e6","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"88d4a754-9309-4c73-a95b-1eb6892aa466","type":"any","value":"79cd3aa2-f667-4808-a70f-7f745c514def","key":"supportStaff"}]}},"response":[],"_postman_id":"44f24c9a-1e32-4f29-b455-37a1f3048fcc"},{"name":"Get Internal Support Staffs","id":"41b7175e-4f59-4ea2-bf2d-cde7396ef61c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/internal-support-staffs?per_page=100&page=1","description":"<p>Get the partner's support staffs (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","internal-support-staffs"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"100"},{"key":"page","value":"1"}],"variable":[{"id":"1587f89a-3468-40ba-950b-5f49bea9ed72","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"41b7175e-4f59-4ea2-bf2d-cde7396ef61c"},{"name":"Detach Internal Support Staff","id":"438be507-8e28-446b-8e0d-b00a11133736","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/internal-support-staffs/:supportStaff","description":"<p>Detach the support staff from the partner.</p>\n","urlObject":{"path":["web","partners",":partner","internal-support-staffs",":supportStaff"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"bd8a6f4e-13bb-451a-a458-1ced3b5be0e0","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"13b4ae34-e237-470a-aa5d-f69b021a12f3","type":"any","value":"4fc74ef6-495c-4b45-b57c-7326c329e4df","key":"supportStaff"}]}},"response":[],"_postman_id":"438be507-8e28-446b-8e0d-b00a11133736"},{"name":"Attach Internal Support Staff","id":"ce9d7a00-2888-415a-b40d-cf2be21c754f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"can_unlock_phi\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/internal-support-staffs/:supportStaff","description":"<p>Attach the support staff to the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>can_unlock_phi</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","internal-support-staffs",":supportStaff"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7d2fe344-d672-4969-97a1-b4e4cc2be690","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"6de886cc-c2ed-4952-b0d7-2ae096a4508c","type":"any","value":"79cd3aa2-f667-4808-a70f-7f745c514def","key":"supportStaff"}]}},"response":[],"_postman_id":"ce9d7a00-2888-415a-b40d-cf2be21c754f"}],"id":"eae23a02-8f98-4467-bde9-79acf674a01e","_postman_id":"eae23a02-8f98-4467-bde9-79acf674a01e","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Invoices","item":[{"name":"Get Invoices","id":"c82f633c-db46-4287-be5a-954270c21ff6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/invoices?per_page=15&page=1&sort=created_at&order=desc","description":"<p>Get the partner's invoices (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","invoices"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"sort","value":"created_at"},{"key":"order","value":"desc"}],"variable":[{"type":"any","value":"fcadc801-7b61-4653-9cc2-30ba6b5fe1a8","key":"partner"}]}},"response":[],"_postman_id":"c82f633c-db46-4287-be5a-954270c21ff6"},{"name":"Get Invoice","id":"03d7cc06-0968-4315-a00b-53bad15f28a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/invoices/:invoice","description":"<p>Gets the partner's invoice.</p>\n","urlObject":{"path":["web","partners",":partner","invoices",":invoice"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ba53729d-f226-453a-9561-2d2d389571b9","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"c0846539-fac1-4c57-bdfc-d754c65a7d8c","type":"any","value":"5d4b5bb3-6cae-43aa-906f-880628c3c87b","key":"invoice"}]}},"response":[],"_postman_id":"03d7cc06-0968-4315-a00b-53bad15f28a7"},{"name":"Create Invoice","id":"0a8c2f63-c244-4340-9349-bd565a01d1a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"invoice_number\": \"2025001\",\n    \"due_date\": \"2025-04-10\",\n    \"reference_start_date\": \"2023-04-01\",\n    \"reference_end_date\": \"2023-04-31\",\n    \"bill_name\": \"Local Partner\",\n    \"bill_email\": \"partner_billto@mdintegrations.com\",\n    \"include_additional_charges\": false,\n    \"detailed_report\": false,\n    \"is_only_live_partners\": true,\n    \"is_created_from_parent_company_action\": false,\n    \"is_sent_by_email\": false,\n    \"is_include_total_zero\": false,\n    \"invoicing_mode\": \"all-items\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/invoices","description":"<p>Creates an invoice for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>invoice_number*</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>due_date*</td>\n<td>date</td>\n</tr>\n<tr>\n<td>reference_start_date*</td>\n<td>date</td>\n</tr>\n<tr>\n<td>reference_end_date*</td>\n<td>date</td>\n</tr>\n<tr>\n<td>bill_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>bill_email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>include_additional_charges*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>detailed_report*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_only_live_partners*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_created_from_parent_company_action*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_sent_by_email</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_include_total_zero</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>invoicing_mode</td>\n<td>string (all-items, excluding-separately, only-separately)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","invoices"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2b039065-bbb6-47d0-8eec-db4eecf01ae3","type":"any","value":"fcadc801-7b61-4653-9cc2-30ba6b5fe1a8","key":"partner"}]}},"response":[],"_postman_id":"0a8c2f63-c244-4340-9349-bd565a01d1a1"},{"name":"Delete Invoice","id":"02bf941b-6b5a-48c7-ad52-e40047fcdcce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/invoices/:invoice","description":"<p>Deletes the partner's invoice.</p>\n","urlObject":{"path":["web","partners",":partner","invoices",":invoice"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6d9b153b-0294-4e03-878e-23668b96cd12","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"5d081bfb-b6e0-4779-997c-33d8de7b343c","type":"any","value":"5d4b5bb3-6cae-43aa-906f-880628c3c87b","key":"invoice"}]}},"response":[],"_postman_id":"02bf941b-6b5a-48c7-ad52-e40047fcdcce"}],"id":"6c0517cf-ebe6-4de7-8a2d-675a54d7ff84","_postman_id":"6c0517cf-ebe6-4de7-8a2d-675a54d7ff84","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Medications","item":[{"name":"Diseases","item":[{"name":"Get Diseases","id":"3d365997-d4bb-4ceb-989b-6218cabf5f1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication/diseases?per_page=15&page=1","description":"<p>Get the partner's medication's diseases (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","medications",":medication","diseases"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"524fbc67-bf46-4ca5-b28c-b6f56aa255a1","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"0fa81f0d-498b-4295-96e1-ff709ffa7853","type":"any","value":"c158e7f4-f4e6-4612-b0d5-8e8941c5c89f","key":"medication"}]}},"response":[],"_postman_id":"3d365997-d4bb-4ceb-989b-6218cabf5f1a"},{"name":"Attach Disease","id":"9759b125-54db-416c-80ee-e66fb2656928","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication/diseases/:disease","description":"<p>Attach the disease to the partner's medication.</p>\n","urlObject":{"path":["web","partners",":partner","medications",":medication","diseases",":disease"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a29eee23-ad65-496a-b2e1-05c300413f61","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"a2633c44-19ec-422a-8fda-9542f38881d9","type":"any","value":"c158e7f4-f4e6-4612-b0d5-8e8941c5c89f","key":"medication"},{"id":"33563950-3cfb-414a-ae1a-ff1e65dafd70","type":"any","value":"ca9188dc-3421-4264-89a5-f866763c3a44","key":"disease"}]}},"response":[],"_postman_id":"9759b125-54db-416c-80ee-e66fb2656928"},{"name":"Detach Disease","id":"ce1b1633-191a-4332-82bd-62b106afc77b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication/diseases/:disease","description":"<p>Detach the disease from the partner's medication.</p>\n","urlObject":{"path":["web","partners",":partner","medications",":medication","diseases",":disease"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5460d02b-cb3b-4747-a1c0-7eac3c8873d5","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"e2a33219-2421-486e-aecf-f92132238865","type":"any","value":"c158e7f4-f4e6-4612-b0d5-8e8941c5c89f","key":"medication"},{"id":"531a2b82-e737-452c-9653-e1de69c0ca38","type":"any","value":"ca9188dc-3421-4264-89a5-f866763c3a44","key":"disease"}]}},"response":[],"_postman_id":"ce1b1633-191a-4332-82bd-62b106afc77b"}],"id":"ad53d686-01b6-422c-8210-2e53b4845264","_postman_id":"ad53d686-01b6-422c-8210-2e53b4845264","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tags","item":[{"name":"Get Tags","id":"757cda4d-f957-4bf8-a07e-27bd055d5508","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication/tags?per_page=15&page=1","description":"<p>Get the partner's medication's tags (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","medications",":medication","tags"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"524fbc67-bf46-4ca5-b28c-b6f56aa255a1","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"0fa81f0d-498b-4295-96e1-ff709ffa7853","type":"any","value":"c158e7f4-f4e6-4612-b0d5-8e8941c5c89f","key":"medication"}]}},"response":[],"_postman_id":"757cda4d-f957-4bf8-a07e-27bd055d5508"},{"name":"Attach Tag","id":"63a646f9-9452-461d-9c32-099dee364676","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"medication notes\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication/tags/:tag","description":"<p>Attach the tag to the partner's medication.</p>\n","urlObject":{"path":["web","partners",":partner","medications",":medication","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"db8e6965-1bcc-4999-8725-e3db02dea06e","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"45c6f85f-6fbe-4cda-9575-0f510a53014b","type":"any","value":"c158e7f4-f4e6-4612-b0d5-8e8941c5c89f","key":"medication"},{"id":"7abb081a-b6a3-497b-bccf-88a5e62b714a","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"63a646f9-9452-461d-9c32-099dee364676"},{"name":"Update Tag","id":"543386d5-16e7-4cc3-abb3-c7ed1a2d7099","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"new medication notes\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication/tags/:tag","description":"<p>Update the tag's notes to the partner's medication.</p>\n","urlObject":{"path":["web","partners",":partner","medications",":medication","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e07bff1f-659f-4a53-aaa3-c624bd2329f2","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"0c0e01d7-fac4-488a-ae47-82bc95554f9b","type":"any","value":"c158e7f4-f4e6-4612-b0d5-8e8941c5c89f","key":"medication"},{"id":"ebf7fc90-8c4f-47a4-b698-a5a12ff65377","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"543386d5-16e7-4cc3-abb3-c7ed1a2d7099"},{"name":"Detach Tag","id":"fa6c6613-b5bb-4d8f-a581-dcb104f4939a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication/tags/:tag","description":"<p>Detach the tag from the partner's medication.</p>\n","urlObject":{"path":["web","partners",":partner","medications",":medication","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9ab6c1c6-4b1b-4a86-875a-ffbd57aab13b","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"031e2b94-09ea-4c7f-97bf-df7a2061c405","type":"any","value":"c158e7f4-f4e6-4612-b0d5-8e8941c5c89f","key":"medication"},{"id":"0f58b622-0150-439b-9f30-5a946b482e4d","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"fa6c6613-b5bb-4d8f-a581-dcb104f4939a"}],"id":"e9d2e283-29d7-4ff7-912d-5ddae56956ac","_postman_id":"e9d2e283-29d7-4ff7-912d-5ddae56956ac","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"States","item":[{"name":"Get States","id":"50eda6a3-4ede-4639-a8d5-caf372ab7e34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication/states?per_page=15&page=1","description":"<p>Get the partner's medication's states (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","medications",":medication","states"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"bb6a62bf-279a-4716-a1ee-84c860cdb4f3","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"ade86b55-6995-4789-8fa8-24cc6c43c0d6","type":"any","value":"c158e7f4-f4e6-4612-b0d5-8e8941c5c89f","key":"medication"}]}},"response":[],"_postman_id":"50eda6a3-4ede-4639-a8d5-caf372ab7e34"},{"name":"Attach State","id":"422fd24c-81e3-473d-83e5-d9a3a6eaa23b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication/states/:state","description":"<p>Attach the state to the partner's medication.</p>\n","urlObject":{"path":["web","partners",":partner","medications",":medication","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2983d3bc-ae5f-47c1-9ede-fdbf24054bdd","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"f06976d0-a68c-4b0a-a4af-ed11a34fbc0d","type":"any","value":"c158e7f4-f4e6-4612-b0d5-8e8941c5c89f","key":"medication"},{"id":"0df63739-b434-41c1-a45d-b5bc4eda1e50","type":"any","value":"c4d240f6-e183-4869-b5dd-851082ae8d97","key":"state"}]}},"response":[],"_postman_id":"422fd24c-81e3-473d-83e5-d9a3a6eaa23b"},{"name":"Detach State","id":"442d04c2-0a37-45f6-960f-c1f210302641","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication/states/:state","description":"<p>Detach the state from the partner's medication.</p>\n","urlObject":{"path":["web","partners",":partner","medications",":medication","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"74d71eed-ce71-4b50-b8dd-2749f9fc6bcf","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"88d93d63-77fb-4175-bca7-e5ff533ca767","type":"any","value":"c158e7f4-f4e6-4612-b0d5-8e8941c5c89f","key":"medication"},{"id":"3003dcab-c443-4442-91bf-3255556f973e","type":"any","value":"c4d240f6-e183-4869-b5dd-851082ae8d97","key":"state"}]}},"response":[],"_postman_id":"442d04c2-0a37-45f6-960f-c1f210302641"}],"id":"3d90f13d-b6a7-4257-8801-54555ca05922","_postman_id":"3d90f13d-b6a7-4257-8801-54555ca05922","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Delete Medication","id":"a76080f8-3614-4a2d-80da-e2b9276f7bff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication","description":"<p>Deletes the partner's medication.</p>\n","urlObject":{"path":["web","partners",":partner","medications",":medication"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ad894e47-8ba8-48b2-a4ca-31ea4c010aee","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"94cf0b02-92d1-49c8-b970-8dd5d51ba33d","type":"any","value":"c158e7f4-f4e6-4612-b0d5-8e8941c5c89f","key":"medication"}]}},"response":[],"_postman_id":"a76080f8-3614-4a2d-80da-e2b9276f7bff"},{"name":"Get Medications","id":"7823f5b7-0b24-48ff-9a4a-060ea6ce87f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/medications?per_page=15&page=1","description":"<p>Get the partner's medications (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","medications"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"disabled":true,"key":"order","value":"asc"},{"disabled":true,"key":"sort","value":"order"},{"disabled":true,"key":"search","value":"term"},{"disabled":true,"key":"trashed","value":"only/with"}],"variable":[{"type":"any","value":"94124ff7-7942-415b-b556-2702c77ebaa7","key":"partner"}]}},"response":[],"_postman_id":"7823f5b7-0b24-48ff-9a4a-060ea6ce87f3"},{"name":"Get Medication","id":"68fd79db-2c1e-4a2e-b489-2f3ecbd27da4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication","description":"<p>Get the partner's medication details.</p>\n","urlObject":{"path":["web","partners",":partner","medications",":medication"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6345dfe0-7caf-466c-a47f-7d8c0bcadc31","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"65d07198-bbdc-433f-b9e5-f77da9499912","type":"any","value":"4457c8f9-e1e0-4760-8481-a2bf726a92ba","key":"medication"}]}},"response":[],"_postman_id":"68fd79db-2c1e-4a2e-b489-2f3ecbd27da4"},{"name":"Create Medication","id":"1f9138e2-0a87-4204-9eec-06d99821ac12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"is_additional_approval_needed\": true,\n    \"title\": \"Title\",\n    \"refills\": 1,\n    \"quantity\": \"2\",\n    \"days_supply\": 7,\n    \"directions\": \"One per day.\",\n    \"name\": \"Name\",\n    \"strength\": \"6 mg\",\n    \"ndc\": \"00527241532\",\n    \"effective_date\": 7,\n    \"dispense_unit\": \"Tablet\",\n    \"dispense_unit_id\": 26,\n    \"pharmacy_id\": 14,\n    \"pharmacy_name\": \"Pharmacy Name\",\n    \"force_pharmacy\": true,\n    \"dosespot_rxcui\": 1653438,\n    \"clinical_note\": \"Notes from the MD.\",\n    \"pharmacy_notes\": \"Notes for the parmacy.\",\n    \"thank_you_note\": \"Thank you!\",\n    \"order\": 1,\n    \"metadata\": \"Metadata\",\n    \"allow_substitutions\": false,\n    \"upcharge\": 1.01,\n    \"clinician_extra_fee\": 1.02,\n    \"is_charged_separately\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/medications","description":"<p>Creates a medication for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n</tr>\n<tr>\n<td>refills*</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>quantity*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>directions*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>strength*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>ndc</td>\n<td>string</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>dispense_unit*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>dispense_unit_id*</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>force_pharmacy*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>dosespot_rxcui</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>clinical_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>allow_substitutions*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_charged_separately</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","medications"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"94124ff7-7942-415b-b556-2702c77ebaa7","key":"partner"}]}},"response":[],"_postman_id":"1f9138e2-0a87-4204-9eec-06d99821ac12"},{"name":"Restore Medication","id":"d8240d97-ef74-42fd-87b5-749317962717","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication/restore","description":"<p>Restores the partner's medication.</p>\n","urlObject":{"path":["web","partners",":partner","medications",":medication","restore"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d7b878a4-e5ff-440a-8221-351c15b02672","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"9a9d0284-4cd6-46db-af98-481f63fd9387","type":"any","value":"c158e7f4-f4e6-4612-b0d5-8e8941c5c89f","key":"medication"}]}},"response":[],"_postman_id":"d8240d97-ef74-42fd-87b5-749317962717"},{"name":"Update Medication","id":"c7d0508d-6c1a-4011-b812-3c0bf390ea6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"is_additional_approval_needed\": true,\n    \"title\": \"Partner Medication V2 Updated\",\n    \"upcharge\": 1.02,\n    \"clinician_extra_fee\": 1.02,\n    \"is_charged_separately\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication","description":"<p>Updates the partner's medication.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>dispense_unit</td>\n<td>string</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>force_pharmacy</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>clinical_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>allow_substitutions</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_charged_separately</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","medications",":medication"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"94124ff7-7942-415b-b556-2702c77ebaa7","key":"partner"},{"type":"any","value":"73815893-189a-438a-8886-5fd349966cc8","key":"medication"}]}},"response":[],"_postman_id":"c7d0508d-6c1a-4011-b812-3c0bf390ea6a"},{"name":"Apply Medications Reviews","id":"f8697d5e-0703-499a-ad03-0682ba3b9a31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/medications/reviews/apply","description":"<p>Apply all reviews for all medications of the partner.</p>\n","urlObject":{"path":["web","partners",":partner","medications","reviews","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"17f205b1-0ad9-42a1-81f5-95f37f8c7b3d","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"}]}},"response":[],"_postman_id":"f8697d5e-0703-499a-ad03-0682ba3b9a31"},{"name":"Apply Medication Review","id":"682f4cb8-a0e3-4762-b8d1-1c22f349bb4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication/reviews/:review/apply","description":"<p>Apply the review of the partner's medication.</p>\n","urlObject":{"path":["web","partners",":partner","medications",":medication","reviews",":review","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f64948c8-28cc-4532-9ea4-94d06bbd6877","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"e4116d84-bcdd-4ad1-afea-98181c828c93","type":"any","value":"4457c8f9-e1e0-4760-8481-a2bf726a92ba","key":"medication"},{"id":"0c740de3-937c-4208-93db-6e4ff5a187bf","type":"any","value":"a4a3e155-958f-4afa-95f6-a2a944c11281","key":"review"}]}},"response":[],"_postman_id":"682f4cb8-a0e3-4762-b8d1-1c22f349bb4d"},{"name":"Replicate Medication","id":"a898cd0c-9182-4f04-9eb4-85919da6b841","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/medications/:medication/replicate","description":"<p>Replicates the partner's medication.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","medications",":medication","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"dfb8bfe0-c724-4c97-ae8e-b0009e80ced2","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"3db2a843-0630-44c6-984e-a0188ae73cb7","type":"any","value":"52edad60-5426-4fbe-a261-a73947494073","key":"medication"}]}},"response":[],"_postman_id":"a898cd0c-9182-4f04-9eb4-85919da6b841"}],"id":"e7ffbdd4-7fd4-4fdc-a3c7-3877a8785729","_postman_id":"e7ffbdd4-7fd4-4fdc-a3c7-3877a8785729","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Message Templates","item":[{"name":"Get Message Templates","id":"970fee47-cb84-4d85-ae3a-c7ae16b0eb4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/message-templates","description":"<p>Get the message templates (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","message-templates"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9596a37b-a447-4ae0-b70b-2b7620b18a0e","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"970fee47-cb84-4d85-ae3a-c7ae16b0eb4a"},{"name":"Get Message Template","id":"ba2fdf0b-22e7-4fbf-8dd2-dd5c85680fa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/message-templates/:message_template_id","description":"<p>Get the message templates details.</p>\n","urlObject":{"path":["web","partners",":partner","message-templates",":message_template_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"1fe8d994-4822-4523-b5b0-14f4d06559dc","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"2d6e6156-6cbc-4289-b3e2-a5cfb7e00a9a","type":"any","value":"9050173d-27d0-4016-b0dc-22ffcc7df959","key":"message_template_id"}]}},"response":[],"_postman_id":"ba2fdf0b-22e7-4fbf-8dd2-dd5c85680fa8"},{"name":"Post Message Template","id":"6192a272-73e1-4734-985c-8d0297fe820b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"patient-message-from-clinician\",\n    \"text\": \"[partner_name] - You have a new message about your request.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/message-templates","description":"<p>Post the message template.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>key*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>text*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","message-templates"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9be4a8f6-bf52-45d7-97b7-0dfa5fab7fda","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"6192a272-73e1-4734-985c-8d0297fe820b"},{"name":"Patch Message Template","id":"5285e199-c18e-43f7-a5f2-988926592b0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"patient-message-from-clinician\",\n    \"text\": \"[partner_name] - You have a new message about your request.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/message-templates/:message_template_id","description":"<p>Patch the message template.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>key*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>text*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","message-templates",":message_template_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b380a7d9-43ed-4d4d-8870-96063e909275","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"06e85b96-60c1-475a-80c6-6e2ca226d94b","type":"any","value":"9050173d-27d0-4016-b0dc-22ffcc7df959","key":"message_template_id"}]}},"response":[],"_postman_id":"5285e199-c18e-43f7-a5f2-988926592b0a"},{"name":"Delete Message Template","id":"e609fb89-97cf-4cca-8cbf-e5a19c512af5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/message-templates/:message_template_id","description":"<p>Deletes the message template.</p>\n","urlObject":{"path":["web","partners",":partner","message-templates",":message_template_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2bc3de85-0be0-40df-9803-0531a14e8ea5","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"235c1796-7e49-44a4-83e9-04df2774263d","type":"any","value":"9050173d-27d0-4016-b0dc-22ffcc7df959","key":"message_template_id"}]}},"response":[],"_postman_id":"e609fb89-97cf-4cca-8cbf-e5a19c512af5"}],"id":"29afb2f5-7df7-4756-8f14-19944292d1f2","_postman_id":"29afb2f5-7df7-4756-8f14-19944292d1f2","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Notifications","item":[{"name":"Get Notifications","id":"bf3cab64-9079-476a-89b2-a2c4a15f491d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/notifications?per_page=15&page=1&order=desc&sort=created_at","description":"<p>Get the partner's notifications (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","notifications"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"order","value":"desc"},{"key":"sort","value":"created_at"},{"disabled":true,"key":"status","value":"completed"},{"disabled":true,"key":"product","value":"other"}],"variable":[{"id":"deeebe7a-a502-4663-ae90-b9b340953a44","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"bf3cab64-9079-476a-89b2-a2c4a15f491d"},{"name":"Get Notification","id":"84c5ea03-2449-47e3-a5e7-279ae204253f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/notifications/:notification","description":"<p>Get the partner's ticket details.</p>\n","urlObject":{"path":["web","partners",":partner","notifications",":notification"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"767e4445-f3fd-41f4-b266-b96938617662","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"e82ac9b0-9462-4b80-9d7a-e1aeb6a1b106","type":"any","value":"b0cf0be3-3d81-437b-a7ec-ea2db71a8fac","key":"notification"}]}},"response":[],"_postman_id":"84c5ea03-2449-47e3-a5e7-279ae204253f"},{"name":"Create Notification","id":"33e79980-c2e3-4add-ad67-aa7c59888911","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"needs_ack\": false,\n    \"notify\": true,\n    \"notes\": \"Partner note example\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/notifications","description":"<p>It creates a partner notification.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>notes*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>notify</td>\n<td>boolean  <br />It notiifies through email and MDI notification</td>\n</tr>\n<tr>\n<td>needs_ack</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","notifications"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"025e6fcb-2f5c-472c-b69a-5ff2dd55d4bc","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"33e79980-c2e3-4add-ad67-aa7c59888911"}],"id":"3a9523f4-70db-446d-9fc8-f6f8e7d6be28","_postman_id":"3a9523f4-70db-446d-9fc8-f6f8e7d6be28","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Offerings","item":[{"name":"Reviews","item":[{"name":"Get Offering Reviews","id":"5025edb3-ded9-4b7f-9c65-db85ced750c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offerginType/:offering/reviews","description":"<p>Get all reviews of partner's offerings.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offerginType",":offering","reviews"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"79d7a70f-ff49-4141-823a-29f2d24639fa","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"5f083264-8ebb-4302-9eac-06a51af0c9e3","description":{"content":"<p>medications / services / supplies / compounds</p>\n","type":"text/plain"},"type":"any","value":"medications","key":"offerginType"},{"id":"a854d320-647f-4032-a95f-e6a177643076","type":"any","value":"c2e373c7-2710-4169-a88e-8bc0054e45de","key":"offering"}]}},"response":[],"_postman_id":"5025edb3-ded9-4b7f-9c65-db85ced750c2"},{"name":"Reject Review","id":"6cba419f-3985-4478-95c2-e540da962d2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n   \"reviewed_notes\": \"Rejected notes.\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offerginType/:offering/reviews/:review/reject","description":"<p>Reject the review of partner offerings.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>reviewed_notes</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","offerings",":offerginType",":offering","reviews",":review","reject"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7ccfca0e-1904-4f3f-a213-88665a8844bd","type":"any","value":"34e883bd-df4d-4bf5-8252-d9e75ecc51f0","key":"partner"},{"id":"c2fffa8c-4678-4314-adac-ce560bccc8e1","description":{"content":"<p>medications / services / supplies / compounds</p>\n","type":"text/plain"},"type":"any","value":"compounds","key":"offerginType"},{"id":"a1f0b0fa-9692-4280-9d66-7c1c366f04bf","type":"any","value":"0a436567-3226-4ce1-9381-d4bbefe90145","key":"offering"},{"id":"1c4dd962-1104-435e-a9c4-b70dbc141b3c","type":"any","value":"f928556b-145f-4579-b728-092a074c5b9b","key":"review"}]}},"response":[],"_postman_id":"6cba419f-3985-4478-95c2-e540da962d2c"},{"name":"Dismiss Review","id":"01d014d4-5ba6-4cbf-a74e-cc215eb21ddb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offerginType/:offering/reviews/:review/dismiss","description":"<p>Dismiss the review of partner offerings.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offerginType",":offering","reviews",":review","dismiss"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"dc2a4f23-61fb-4a08-bc12-e9ff2e7ec623","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"ea6aa9b2-8d6a-441f-91ab-71620753e98b","description":{"content":"<p>medications / services / supplies / compounds</p>\n","type":"text/plain"},"type":"any","value":"compounds","key":"offerginType"},{"id":"d6552650-9e5a-40ba-bc9a-2ea0b47b83d9","type":"any","value":"10d9ba44-02cd-40bb-9da7-d3d2489b1d79","key":"offering"},{"id":"3aa96666-19ce-4392-9b54-5c12535a97c9","type":"any","value":"6c5ddce2-93ba-49ec-bdb9-a180354d95e8","key":"review"}]}},"response":[],"_postman_id":"01d014d4-5ba6-4cbf-a74e-cc215eb21ddb"}],"id":"b0b17efa-810e-4a80-8111-982b7fa3b0d6","_postman_id":"b0b17efa-810e-4a80-8111-982b7fa3b0d6","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Diseases","item":[{"name":"Get Diseases","id":"675558ce-8196-47bc-b6b4-a7fc74fbfb1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/diseases?per_page=15&page=1","description":"<p>Get the partner's offering's diseases (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","diseases"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"bbe30262-cc3b-4347-9451-9cd24e704978","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"d7976587-0d0c-4d7f-b01d-7ffa6f1063bd","type":"any","value":"","key":"offering"}]}},"response":[],"_postman_id":"675558ce-8196-47bc-b6b4-a7fc74fbfb1a"},{"name":"Attach Disease","id":"676dd27a-1a69-4030-bcf5-2dec0c27e25a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/diseases/:disease","description":"<p>Attach the disease to the partner's offering.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","diseases",":disease"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"07acd8f0-a804-4579-9ae6-b903295ee915","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"407a6890-508e-4684-a4c6-df6dbbd62509","type":"any","value":"","key":"offering"},{"id":"707c1b19-5757-4b92-935b-98fa739bf204","type":"any","value":"28932569-d923-4d47-ae0f-8e0ef1978a70","key":"disease"}]}},"response":[],"_postman_id":"676dd27a-1a69-4030-bcf5-2dec0c27e25a"},{"name":"Detach Disease","id":"2f83cb11-f0b0-4c2c-8e10-28765831a485","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/diseases/:disease","description":"<p>Detach the disease from the partner's offering.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","diseases",":disease"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"da0e7662-200b-4566-8f52-0cc989d76e67","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"50563ea2-92c1-4ff7-bbe6-4df0fa20609b","type":"any","value":"","key":"offering"},{"id":"1033fd79-50e1-49bb-898c-16a0c799b097","type":"any","value":"28932569-d923-4d47-ae0f-8e0ef1978a70","key":"disease"}]}},"response":[],"_postman_id":"2f83cb11-f0b0-4c2c-8e10-28765831a485"}],"id":"14b5d74a-62ae-409b-a717-9cc0b553c427","_postman_id":"14b5d74a-62ae-409b-a717-9cc0b553c427","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Offerings","item":[{"name":"Get Offerings","id":"1560fd16-a05a-46e1-8a34-96e21fe0254b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/offerings?per_page=15&page=1&type=recommendation/similar","description":"<p>Get the partner's offering's offerings (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","offerings"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"type","value":"recommendation/similar"}],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"offering"}]}},"response":[],"_postman_id":"1560fd16-a05a-46e1-8a34-96e21fe0254b"},{"name":"Attach Offering","id":"cffc0906-d30f-4d40-9cc8-1d3d9f9c107e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"recommendation\"\n    // \"type\": \"similar\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/offerings/:relatedOffering","description":"<p>Attach the offering to the partner's offering.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","offerings",":relatedOffering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"type":"any","value":"28932569-d923-4d47-ae0f-8e0ef1978a70","key":"offering"},{"type":"any","value":"28932569-d923-4d47-ae0f-8e0ef1978a70","key":"relatedOffering"}]}},"response":[],"_postman_id":"cffc0906-d30f-4d40-9cc8-1d3d9f9c107e"},{"name":"Detach Offering","id":"719a3e84-5d27-4cc9-b24e-422ac9dcd19c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/offerings/:relatedOffering","description":"<p>Detach the offering from the partner's offering.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","offerings",":relatedOffering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"30dbfe2f-127b-403e-b1d9-e89a08f6415d","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"e854e814-caec-4423-829e-69201e1ce138","type":"any","value":"28932569-d923-4d47-ae0f-8e0ef1978a70","key":"offering"},{"id":"018cf2c9-b545-4b51-a86b-c43e22fef7db","type":"any","value":"28932569-d923-4d47-ae0f-8e0ef1978a70","key":"relatedOffering"}]}},"response":[],"_postman_id":"719a3e84-5d27-4cc9-b24e-422ac9dcd19c"}],"id":"5d9e50c3-068f-4b67-8ddd-563a42b2df3a","_postman_id":"5d9e50c3-068f-4b67-8ddd-563a42b2df3a","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tags","item":[{"name":"Get Tags","id":"a0280319-d153-4166-9973-ad3e7ad9d55e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/tags?per_page=15&page=1","description":"<p>Get the partner's offering's tags (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","tags"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"d3ec201b-c247-4459-865b-dcd51ee25f2b","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"9213610a-e614-4a63-97e8-41e895cbe51b","type":"any","value":"","key":"offering"}]}},"response":[],"_postman_id":"a0280319-d153-4166-9973-ad3e7ad9d55e"},{"name":"Attach Tag","id":"2c97e340-bb1c-4f52-b784-d5f2b386389e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"compound notes\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/tags/:tag","description":"<p>Attach the tag to the partner's offering.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"796c904a-ffee-4fa1-96c3-7f03ab843098","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"0cb87643-e391-4bc4-9181-fb983b7bd3f1","type":"any","value":"","key":"offering"},{"id":"eae36a81-3076-488d-8025-c16f617d3ec2","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"2c97e340-bb1c-4f52-b784-d5f2b386389e"},{"name":"Update Tag","id":"3e8b42db-eba7-4703-bd6c-633165c92ac1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"new compound notes\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/tags/:tag","description":"<p>Update the tag's notes to the partner's offering.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"bc315bbf-90b0-4662-9b64-e0a279892e53","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"0b9ae13d-d50c-4e50-b6d6-d914652e578b","type":"any","value":"","key":"offering"},{"id":"53236a86-9849-4cef-afe2-d0ed98c4fd88","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"3e8b42db-eba7-4703-bd6c-633165c92ac1"},{"name":"Detach Tag","id":"c3000d77-48b6-41c6-9345-1427d670c9ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/tags/:tag","description":"<p>Detach the tag from the partner's offering.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6793af40-8003-4d36-a76c-feb2923d2b01","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"d38f4445-cd15-42e5-abda-aa50bc645043","type":"any","value":"","key":"offering"},{"id":"64662dd6-c2a4-4a20-93d3-3113647d4ff7","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"c3000d77-48b6-41c6-9345-1427d670c9ec"}],"id":"9d81db0a-d87a-4a20-9ed0-6818e858d7e7","_postman_id":"9d81db0a-d87a-4a20-9ed0-6818e858d7e7","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Clinicians","item":[{"name":"Get Clinicians","id":"ed696dff-c5b5-4b28-862f-cff1bbf5c736","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/clinicians?per_page=15&page=1","description":"<p>Get the partner's offering's clinicians (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","clinicians"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"6c16f751-0c9c-4476-91dc-e852aa823ded","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"ad4f6c90-8101-49c2-a452-d1929218c2cc","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"}]}},"response":[],"_postman_id":"ed696dff-c5b5-4b28-862f-cff1bbf5c736"},{"name":"Get Clinician","id":"5fd348cb-63ca-4b59-86c3-6d58913e69fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/clinicians/:clinician","description":"<p>Get the partner's offering's clinician details.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","clinicians",":clinician"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"96eb2593-45c6-4564-bf44-d36af5d07caf","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"baadcc6d-edfd-4b32-93a8-a97766165f4a","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"},{"id":"3a9c9026-5ad4-44f2-821f-5e1e0e95f33e","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"clinician"}]}},"response":[],"_postman_id":"5fd348cb-63ca-4b59-86c3-6d58913e69fb"},{"name":"Attach Clinician","id":"4bd8f0e9-9960-49f3-ad73-1ba6dd33eaa2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"disabled\",\n    \"notes\": \"Clinician notes.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/clinicians/:clinician","description":"<p>Attach the clinician to the partner's offering.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","clinicians",":clinician"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a5bf538d-a691-4140-aabb-e95535af80c3","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"f05abc6a-2852-4009-bac5-5bc6b305c86b","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"},{"id":"c272f9bb-8eaf-471a-bc40-57918a62d50c","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"clinician"}]}},"response":[],"_postman_id":"4bd8f0e9-9960-49f3-ad73-1ba6dd33eaa2"},{"name":"Update Clinician","id":"17bc71bc-a452-4e94-8b7b-45d9c93a6443","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"exclusive\",\n    \"notes\": \"This clinician only works with this offering.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/clinicians/:clinician","description":"<p>Update the clinician bond with the partner's offering.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","clinicians",":clinician"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a440d748-e293-452e-827a-9317327817e3","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"60e5a634-c347-45c1-afe5-cd5326bd72cd","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"},{"id":"3ccadac9-d333-4c10-a29a-9a96573ddf76","type":"any","value":"","key":"clinician"}]}},"response":[],"_postman_id":"17bc71bc-a452-4e94-8b7b-45d9c93a6443"},{"name":"Detach Clinician","id":"4176ecb0-f08e-4fe5-a8b9-2453ae78ed76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/clinicians/:clinician","description":"<p>Detach the clinician from the partner's offering.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","clinicians",":clinician"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4361f493-1ba0-486f-8a70-02cbf5edb4e9","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"0fe6e653-237f-4209-b813-976d3fec8b19","type":"any","value":"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6","key":"offering"},{"id":"bd702279-a5f9-45f1-a829-fedd25f0c105","type":"any","value":"","key":"clinician"}]}},"response":[],"_postman_id":"4176ecb0-f08e-4fe5-a8b9-2453ae78ed76"}],"id":"47b42779-6f69-4362-a1ac-9857ac47c7e0","_postman_id":"47b42779-6f69-4362-a1ac-9857ac47c7e0","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"States","item":[{"name":"Get States","id":"fd93341a-ea27-436b-bbc4-0a2e5a69648a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/states?per_page=15&page=1","description":"<p>Get the partner's offering's states (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","states"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"424de74a-2314-4b25-9487-9ed6c7cc26df","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"ffca2c25-65f3-4314-b1e0-20118477461c","type":"any","value":"","key":"offering"}]}},"response":[],"_postman_id":"fd93341a-ea27-436b-bbc4-0a2e5a69648a"},{"name":"Attach State","id":"97abe941-abb5-42f8-a5cd-08f5d721d9a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/states/:state","description":"<p>Attach the state to the partner's offering.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6404ab6b-5b79-4fe0-b7cb-8a31d3685485","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"54043e01-5c77-41ca-803d-273eee6d75a9","type":"any","value":"","key":"offering"},{"id":"8f434064-a5cd-4d3d-8839-c8f5a6bdb02c","type":"any","value":"c4d240f6-e183-4869-b5dd-851082ae8d97","key":"state"}]}},"response":[],"_postman_id":"97abe941-abb5-42f8-a5cd-08f5d721d9a6"},{"name":"Detach State","id":"107b52cf-d0e1-4a14-8096-5b45c3bebeae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/states/:state","description":"<p>Detach the state from the partner's offering.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"321996b1-f82d-4fca-ba16-525971aab230","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"80bc7702-9ece-41ff-9ee6-29b62f3a48c4","type":"any","value":"","key":"offering"},{"id":"1d3ca43c-fd41-4fed-afd2-009e771ee89d","type":"any","value":"c4d240f6-e183-4869-b5dd-851082ae8d97","key":"state"}]}},"response":[],"_postman_id":"107b52cf-d0e1-4a14-8096-5b45c3bebeae"}],"id":"566114bd-6eba-4bd7-bd67-8a9143aaf641","_postman_id":"566114bd-6eba-4bd7-bd67-8a9143aaf641","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Audits","item":[{"name":"Get Audits","id":"2ea7cdfc-d5c8-47f4-a4c0-e24280558283","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/audits?order=desc&page=1&per_page=15","description":"<p>Get the offering's audits (paginated).</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","offerings",":offering","audits"],"host":["https://api.mdintegrations.com"],"query":[{"key":"order","value":"desc"},{"key":"page","value":"1"},{"key":"per_page","value":"15"}],"variable":[{"id":"9fee2c5c-5a97-4cd4-8ea1-9da2dd4269bd","type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"},{"id":"6ec993c5-b259-434c-ba5e-5bf7c47b6799","type":"any","value":"","key":"offering"}]}},"response":[],"_postman_id":"2ea7cdfc-d5c8-47f4-a4c0-e24280558283"}],"id":"c225e6dc-f510-4fc4-ad6f-77be70a8a5cf","_postman_id":"c225e6dc-f510-4fc4-ad6f-77be70a8a5cf","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Offering","id":"31940500-e671-4234-b85b-47a65032467c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering","description":"<p>Get the partner's compound details.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"44ed010b-cbce-4ae4-b757-dc8b51357124","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"40bdf501-c1f7-4820-8462-4737efbc4340","type":"any","value":"","key":"offering"}]}},"response":[],"_postman_id":"31940500-e671-4234-b85b-47a65032467c"},{"name":"Replicate Offerings","id":"b727fb47-f027-420d-bf36-ec24259ffa23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/replicate","description":"<p>Replicates all the partner's offering.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","offerings","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"b727fb47-f027-420d-bf36-ec24259ffa23"},{"name":"Delete Offering","id":"64cad928-8495-411f-949b-f3928bced1f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering","description":"<p>Deletes the partner's offering.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c80a44b1-5fe5-4775-a52c-a967d134e9cc","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"30e73310-19bd-4b0f-9241-f879e91ab617","type":"any","value":"","key":"offering"}]}},"response":[],"_postman_id":"64cad928-8495-411f-949b-f3928bced1f0"},{"name":"Get Offerings","id":"e4685032-77c1-46f2-a57c-ce8cba7614a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings?per_page=15&page=1&product_type=App\\Models\\DosespotSupply","description":"<p>Get the partner's offering (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","offerings"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"disabled":true,"key":"order","value":"asc"},{"disabled":true,"key":"sort","value":"order"},{"disabled":true,"key":"search","value":"term"},{"disabled":true,"key":"trashed","value":"only/with"},{"key":"product_type","value":"App\\Models\\DosespotSupply"},{"disabled":true,"key":"pharmacy_id","value":"14"}],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"}]}},"response":[],"_postman_id":"e4685032-77c1-46f2-a57c-ce8cba7614a3"},{"name":"Create Offering","id":"fe4f17a9-a877-4834-9762-87f970023686","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"product_type\": \"App\\\\Models\\\\DosespotMedication\",\n\n    \"active\": true,\n    \"is_additional_approval_needed\": false,\n    \"clinical_note\": \"Notes from the MD.\",\n    \"thank_you_note\": \"Thank you!\",\n    \"order\": 1,\n    \"metadata\": \"Metadata\",\n    \"upcharge\": 1.01,\n    \"clinician_extra_fee\": 1.02,\n    \"image_file_id\": \"94124ff7-7942-415b-b556-2702c77ebaa7\",\n    \"store_url\": \"https://example.com/offering\",\n    \"recommendation_message\": \"Example of copy [patient_name], [links]\",\n    \n    \"product\": {\n        // Medication\n        \"refills\": 1,\n        \"quantity\": \"2\",\n        \"days_supply\": 7,\n        \"directions\": \"One per day.\",\n        \"allow_substitutions\": true,\n        \"name\": \"Name\",\n        \"strength\": \"6 mg\",\n        \"ndc\": \"00527241532\",\n        \"effective_date\": 7,\n        \"dispense_unit\": \"Tablet\",\n        \"dispense_unit_id\": 26,\n        \"pharmacy_id\": 14,\n        \"pharmacy_name\": \"Pharmacy Name\",\n        \"force_pharmacy\": true,\n        \"dosespot_rxcui\": 1653438,\n        \"pharmacy_notes\": \"Notes for the parmacy.\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/offerings","description":"<p>Creates a offering for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>type</td>\n<td>required (boothwyn)</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n</tr>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>refills*</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>quantity*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>directions*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>dispense_unit*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>dispense_unit_id*</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>force_pharmacy*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>clinical_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>allow_substitutions*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>sku</td>\n<td>string (required if type is boothwyn)</td>\n</tr>\n<tr>\n<td>is_charged_separately</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>image_file_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>store_url</td>\n<td>string</td>\n</tr>\n<tr>\n<td>recommendation_message</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","offerings"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"94124ff7-7942-415b-b556-2702c77ebaa7","key":"partner"}]}},"response":[],"_postman_id":"fe4f17a9-a877-4834-9762-87f970023686"},{"name":"Update Offering","id":"f352f7bd-7b70-4e14-b6db-753a73329538","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": \"Metadata UPDATEDDDD2323\",\n    \"clinical_note\": \"Notes from the MD.\",\n    \"thank_you_note\": \"Thank you!\",\n    \"order\": 1,\n    \"upcharge\": 1.02,\n    \"clinician_extra_fee\": 1.02,\n    \"image_file_id\": \"94124ff7-7942-415b-b556-2702c77ebaa7\",\n    \"store_url\": \"https://example.com/offering\",\n    \"recommendation_message\": \"Example of copy [patient_name], [links]\",\n    \n    \"product\": {\n        // Medication\n        \"refills\": 2,\n        \"quantity\": \"8\",\n        \"days_supply\": 9,\n        \"directions\": \"One per day.12\",\n        \"name\": \"Name 12\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering","description":"<p>Updates the partner's compound.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clinician_id</td>\n<td>string</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>dispense_unit</td>\n<td>string</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>force_pharmacy</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>clinical_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>allow_substitutions</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_charged_separately</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>image_file_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>store_url</td>\n<td>string</td>\n</tr>\n<tr>\n<td>recommendation_message</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"type":"any","value":"e09b0f66-d0db-4c0f-850c-2ba7e31d9fe7","key":"offering"}]}},"response":[],"_postman_id":"f352f7bd-7b70-4e14-b6db-753a73329538"},{"name":"Restore Offering","id":"d3beb316-3575-46d0-904d-ad05feb41a41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/restore","description":"<p>Restores the partner's compound.</p>\n","urlObject":{"path":["web","partners",":partner","offerings",":offering","restore"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a5d72b64-59f4-4062-80a8-676a298203ce","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"1d4093bf-abda-4c0e-8d2f-8d0f670f173e","type":"any","value":"","key":"offering"}]}},"response":[],"_postman_id":"d3beb316-3575-46d0-904d-ad05feb41a41"},{"name":"Replicate Offering","id":"cc4ec6df-2182-4e5e-bd8a-c998ab5bcfe5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/offerings/:offering/replicate","description":"<p>Replicates the partner's compound.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","offerings",":offering","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"3011ca66-11f3-45a8-ba2d-d8098a5e15b0","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"f933f077-f407-49ee-872e-08a622d87f44","type":"any","value":"","key":"offering"}]}},"response":[],"_postman_id":"cc4ec6df-2182-4e5e-bd8a-c998ab5bcfe5"}],"id":"3d7d788c-5294-4842-a0fc-f8448a487b8d","_postman_id":"3d7d788c-5294-4842-a0fc-f8448a487b8d","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Panel Users","item":[{"name":"Create  Panel User","id":"c62d9597-03f8-4f8c-ae35-dcda73c751f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Panel User Name\",\n    \"email\": \"aapzanel-user@partner.example\",\n    \"timezone_id\": \"b7d08438-b5a3-4790-9c3e-1fe4930c923c\",\n    \"managed_by_partner\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/panel-users","description":"<p>Creates a panel user and attaches it to the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>managed_by_partner</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","panel-users"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"48793bbe-5cf1-4001-8a8a-59d68a8ffaac","key":"partner"}]}},"response":[],"_postman_id":"c62d9597-03f8-4f8c-ae35-dcda73c751f7"},{"name":"Get Panel Users","id":"ddff0c85-2e20-48ac-9a69-bd976ff12a85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/panel-users?per_page=15&page=1","description":"<p>Get the partner's panel users (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","panel-users"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"ddff0c85-2e20-48ac-9a69-bd976ff12a85"},{"name":"Detach Panel User","id":"b88ffded-bbcf-4260-8bd0-d5ce932b0d4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/panel-users/:panelUser","description":"<p>Detach the panel user from the partner.</p>\n","urlObject":{"path":["web","partners",":partner","panel-users",":panelUser"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"type":"any","value":"10259828-6086-495a-bd0d-e37779977866","key":"panelUser"}]}},"response":[],"_postman_id":"b88ffded-bbcf-4260-8bd0-d5ce932b0d4f"},{"name":"Attach Panel User","id":"eafe3aff-bef8-4455-85e2-8213cebe9198","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/panel-users/:panelUser","description":"<p>Attach the panel user to the partner.</p>\n","urlObject":{"path":["web","partners",":partner","panel-users",":panelUser"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"type":"any","value":"0c82b6c3-6dd7-4a14-b4c9-5d2d4f7b4525","key":"panelUser"}]}},"response":[],"_postman_id":"eafe3aff-bef8-4455-85e2-8213cebe9198"},{"name":"Attach Panel User (Email)","id":"7a805af0-e679-4020-9bcc-4cf8d87c4896","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"panel+user@user.example\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/panel-users?per_page=15&page=1","description":"<p>Attach the panel user (email) to the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","panel-users"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"ee779a8d-0b45-4b41-8b10-f0e837d488e8","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"7a805af0-e679-4020-9bcc-4cf8d87c4896"}],"id":"71123929-5066-4a42-9a32-647d5f06230e","_postman_id":"71123929-5066-4a42-9a32-647d5f06230e","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Patients","item":[{"name":"Get Patients","id":"cd882479-247a-4c21-a05e-93421c8b5c1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/patients?per_page=15&page=1&sort=last_name&environments[]=live","description":"<p>Get the partner's patients (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","patients"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"sort","value":"last_name"},{"disabled":true,"key":"order","value":"desc"},{"disabled":true,"key":"id","value":"af8eb7c1-261a-491f-a804-f61ca55dad02"},{"disabled":true,"key":"email","value":"patient@email.com"},{"disabled":true,"key":"first_name","value":"First Name"},{"disabled":true,"key":"last_name","value":"Last Name"},{"key":"environments[]","value":"live"},{"disabled":true,"key":"environments[]","value":"sandbox"}],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"cd882479-247a-4c21-a05e-93421c8b5c1c"}],"id":"6daf3476-e1fc-4183-a59b-92f30952abc5","_postman_id":"6daf3476-e1fc-4183-a59b-92f30952abc5","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Parameters","item":[{"name":"Get Parameters","id":"e135be54-9b3d-4b24-935c-d86bf1326d7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/parameters?per_page=15&page=1&type=clinician","description":"<p>Get the partner's parameters (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","parameters"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"type","value":"clinician"}],"variable":[{"id":"0b555266-6680-4800-80cb-99d69356b1dd","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"e135be54-9b3d-4b24-935c-d86bf1326d7f"},{"name":"Update Parameter","id":"862f95a8-f155-4cf1-96e9-bc9596a15d01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"new-key\",\n    \"value\": \"new-value\",\n    \"type\": \"web\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/parameters/:parameter","description":"<p>Updates the partner's parameter.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>key</td>\n<td>string</td>\n</tr>\n<tr>\n<td>value</td>\n<td>string</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","parameters",":parameter"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5361ae4c-1af0-4b18-963a-a5ea0ead2dbb","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"780dcf66-310b-4e36-9821-e71847391a81","type":"any","value":"cdf689ee-a91f-40a7-9ea8-6cdb43d1dc6b","key":"parameter"}]}},"response":[],"_postman_id":"862f95a8-f155-4cf1-96e9-bc9596a15d01"},{"name":"Delete Parameter","id":"e161d6f1-eb0a-400c-9d67-3e2e0ffd2d33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/parameters/:parameter","description":"<p>Deletes the partner's parameter.</p>\n","urlObject":{"path":["web","partners",":partner","parameters",":parameter"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"149972ea-ec2e-490a-b7ae-ad04858329f3","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"87152d89-53c0-40df-af6e-297929cdec91","type":"any","value":"7e268e88-d26e-4c58-8065-007a1c8b2cdb","key":"parameter"}]}},"response":[],"_postman_id":"e161d6f1-eb0a-400c-9d67-3e2e0ffd2d33"},{"name":"Create Parameter","id":"39255407-4965-41d4-b5a4-cb07e27835c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"key23\",\n    \"value\": \"Value\",\n    \"type\": \"clinician\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/parameters","description":"<p>Creates a parameter for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>key*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>value*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>type*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","parameters"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d749d40b-419a-4f68-89a2-1d338039894c","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"39255407-4965-41d4-b5a4-cb07e27835c3"}],"id":"2f139b10-1839-4905-8c14-d99c3f0aef82","_postman_id":"2f139b10-1839-4905-8c14-d99c3f0aef82","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Supplies","item":[{"name":"Diseases","item":[{"name":"Get Diseases","id":"e6ed4fab-f3a8-4aeb-978b-c9d60f204a41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply/diseases?per_page=15&page=1","description":"<p>Get the partner's supply's diseases (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","supplies",":supply","diseases"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"24cb3fa5-073f-43c9-9af0-9752c7a4b872","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"14fc866d-dc41-4c76-a401-510b00724069","type":"any","value":"4cf2652f-16cc-4784-b97c-4be02a171eec","key":"supply"}]}},"response":[],"_postman_id":"e6ed4fab-f3a8-4aeb-978b-c9d60f204a41"},{"name":"Attach Disease","id":"0df3852b-7d40-40a3-9b89-9f8b14ae131b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply/diseases/:disease","description":"<p>Attach the disease to the partner's supply.</p>\n","urlObject":{"path":["web","partners",":partner","supplies",":supply","diseases",":disease"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f056f4ac-7b37-4733-85c6-27c7a6c36360","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"58212c5a-b518-4d86-981f-3553c2498ea7","type":"any","value":"4cf2652f-16cc-4784-b97c-4be02a171eec","key":"supply"},{"id":"aced3d96-ff36-428e-99b7-1db0c9cda84b","type":"any","value":"ca9188dc-3421-4264-89a5-f866763c3a44","key":"disease"}]}},"response":[],"_postman_id":"0df3852b-7d40-40a3-9b89-9f8b14ae131b"},{"name":"Detach Disease","id":"3534facd-09d2-4ce9-a32e-f70e6f99e2aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply/diseases/:disease","description":"<p>Detach the disease from the partner's supply.</p>\n","urlObject":{"path":["web","partners",":partner","supplies",":supply","diseases",":disease"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ff87fd3b-587a-42e6-b3d4-defc07c63a23","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"7731f845-9375-4e07-830f-14563177a17d","type":"any","value":"4cf2652f-16cc-4784-b97c-4be02a171eec","key":"supply"},{"id":"02533bfc-ce3e-4488-9924-842f44fdd1a5","type":"any","value":"ca9188dc-3421-4264-89a5-f866763c3a44","key":"disease"}]}},"response":[],"_postman_id":"3534facd-09d2-4ce9-a32e-f70e6f99e2aa"}],"id":"8940fa8b-ef3b-4acc-9170-a3f4747f75aa","_postman_id":"8940fa8b-ef3b-4acc-9170-a3f4747f75aa","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tags","item":[{"name":"Get Tags","id":"8f3872db-44fb-436f-a3e4-77e468952212","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply/tags?per_page=15&page=1","description":"<p>Get the partner's supply's tags (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","supplies",":supply","tags"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"359150ea-a9f7-4f9c-90b8-4fc62805b38d","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"7f1d3912-daca-4553-b1f4-30daa6e6f4fc","type":"any","value":"f81e5799-7971-456a-a6ec-59adaa9541b2","key":"supply"}]}},"response":[],"_postman_id":"8f3872db-44fb-436f-a3e4-77e468952212"},{"name":"Attach Tag","id":"0f0cf3f4-a669-4fe9-81dd-8219aa4be09f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"supply notes\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply/tags/:tag","description":"<p>Attach the tag to the partner's supply.</p>\n","urlObject":{"path":["web","partners",":partner","supplies",":supply","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6857115a-859f-4085-9eac-cf2cc7ed6c0f","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"21f7e784-c520-4a65-a247-e60e600e1310","type":"any","value":"f81e5799-7971-456a-a6ec-59adaa9541b2","key":"supply"},{"id":"53d537de-4c65-458e-b81a-0980ccf7b3d8","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"0f0cf3f4-a669-4fe9-81dd-8219aa4be09f"},{"name":"Update Tag","id":"189d3d66-49b0-4240-908e-993100f3f5b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"new supply notes\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply/tags/:tag","description":"<p>Update the tag's notes to the partner's supply.</p>\n","urlObject":{"path":["web","partners",":partner","supplies",":supply","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ed44fb5a-1ad7-4041-9213-7d11ae0f922a","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"ba7a6387-92f6-41d6-9a9d-92e6fe105eed","type":"any","value":"f81e5799-7971-456a-a6ec-59adaa9541b2","key":"supply"},{"id":"2f581ad5-cf10-4c73-8b68-ebda834361f7","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"189d3d66-49b0-4240-908e-993100f3f5b7"},{"name":"Detach Tag","id":"79b874c5-234e-4edf-9d70-0ef02d6f171b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply/tags/:tag","description":"<p>Detach the tag from the partner's supply.</p>\n","urlObject":{"path":["web","partners",":partner","supplies",":supply","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"095c8fd5-7289-4ec6-a531-27b4c46d44f7","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"5b1a3e0f-af63-4995-b14f-81d0bd29c067","type":"any","value":"f81e5799-7971-456a-a6ec-59adaa9541b2","key":"supply"},{"id":"c62cf4e8-9fa7-4436-b83d-5ce69ed80ed5","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"79b874c5-234e-4edf-9d70-0ef02d6f171b"}],"id":"3552c42b-6f2c-400d-bd2a-0883bf3dc82e","_postman_id":"3552c42b-6f2c-400d-bd2a-0883bf3dc82e","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"States","item":[{"name":"Get States","id":"396b245c-dd5f-4ec2-8c21-fb380e1c003b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply/states?per_page=15&page=1","description":"<p>Get the partner's supply's states (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","supplies",":supply","states"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"552365df-d56c-4523-be69-5cfa7e7deedd","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"bd54f375-0132-4507-9824-5fba9e957bf2","type":"any","value":"f81e5799-7971-456a-a6ec-59adaa9541b2","key":"supply"}]}},"response":[],"_postman_id":"396b245c-dd5f-4ec2-8c21-fb380e1c003b"},{"name":"Attach State","id":"7b24704e-607b-4044-9fe8-f3e59f80aa56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply/states/:state","description":"<p>Attach the state to the partner's supply.</p>\n","urlObject":{"path":["web","partners",":partner","supplies",":supply","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d3e76d4e-72a6-4b16-bc5f-fada1113927b","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"4ab3b3d8-f55d-4792-a15a-82719e593257","type":"any","value":"f81e5799-7971-456a-a6ec-59adaa9541b2","key":"supply"},{"id":"03a6ae73-1de3-48bc-9869-6a8204fe5198","type":"any","value":"c4d240f6-e183-4869-b5dd-851082ae8d97","key":"state"}]}},"response":[],"_postman_id":"7b24704e-607b-4044-9fe8-f3e59f80aa56"},{"name":"Detach State","id":"ff6ae9bf-ff6c-4211-9d78-2593eba55e76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply/states/:state","description":"<p>Detach the state from the partner's supply.</p>\n","urlObject":{"path":["web","partners",":partner","supplies",":supply","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"076e6859-7449-4f9d-bac4-7f96dc122bc8","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"e04f5cdd-2f0f-4cfb-814c-428523cc5c80","type":"any","value":"f81e5799-7971-456a-a6ec-59adaa9541b2","key":"supply"},{"id":"2545247c-08c9-454f-9e7e-d9eb80cb5465","type":"any","value":"c4d240f6-e183-4869-b5dd-851082ae8d97","key":"state"}]}},"response":[],"_postman_id":"ff6ae9bf-ff6c-4211-9d78-2593eba55e76"}],"id":"a2975c77-4c82-4bb2-8ace-0300b8077c7c","_postman_id":"a2975c77-4c82-4bb2-8ace-0300b8077c7c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Supply","id":"519fbf01-b892-48c3-9f2d-af54129a531c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:suppply","description":"<p>Get the partner's supply details.</p>\n","urlObject":{"path":["web","partners",":partner","supplies",":suppply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b442c80f-93b1-4aad-8b9a-b179864eb462","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"20b6d3ec-ba10-441c-8f90-c46912594029","type":"any","value":"4cf2652f-16cc-4784-b97c-4be02a171eec","key":"suppply"}]}},"response":[],"_postman_id":"519fbf01-b892-48c3-9f2d-af54129a531c"},{"name":"Delete Supply","id":"5fbc64b8-f091-4528-a2aa-478dc144e110","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply","description":"<p>Deletes the partner's supply.</p>\n","urlObject":{"path":["web","partners",":partner","supplies",":supply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"34319c1d-e3cd-4210-96c8-96ed23e5b3d0","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"c333e9e7-be0e-49c6-836f-571c850fe8d2","type":"any","value":"4cf2652f-16cc-4784-b97c-4be02a171eec","key":"supply"}]}},"response":[],"_postman_id":"5fbc64b8-f091-4528-a2aa-478dc144e110"},{"name":"Get Supplies","id":"c50aadba-254b-408c-87b9-a19503d97d36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/supplies?per_page=15&page=1","description":"<p>Get the partner's supplies (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","supplies"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"disabled":true,"key":"sort","value":"order"},{"disabled":true,"key":"order","value":"asc"},{"disabled":true,"key":"search","value":"term"},{"disabled":true,"key":"trashed","value":"only/with"}],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"}]}},"response":[],"_postman_id":"c50aadba-254b-408c-87b9-a19503d97d36"},{"name":"Create Supply","id":"d16bb8a5-37e6-4e49-905e-d0919e8b32a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"is_additional_approval_needed\": true,\n    \"title\": \"Title\",\n    \"refills\": 1,\n    \"quantity\": \"2\",\n    \"days_supply\": 7,\n    \"directions\": \"One per day.\",\n    \"name\": \"Name\",\n    \"ndc\": \"00527241532\",\n    \"effective_date\": 7,\n    \"dispense_unit\": \"Tablet\",\n    \"dispense_unit_id\": 26,\n    \"pharmacy_id\": 14,\n    \"pharmacy_name\": \"Pharmacy Name\",\n    \"force_pharmacy\": true,\n    \"dosespot_supply_id\": 6675,\n    \"rx_required\": true,\n    \"clinical_note\": \"Notes from the MD.\",\n    \"pharmacy_notes\": \"Notes for the parmacy.\",\n    \"order\": 1,\n    \"thank_you_note\": \"Thank you!\",\n    \"metadata\": \"Metadata\",\n    \"upcharge\": 1.01,\n    \"clinician_extra_fee\": 1.02,\n    \"is_charged_separately\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/supplies","description":"<p>Creates a supply for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n</tr>\n<tr>\n<td>refills*</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>quantity*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>directions*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>ndc*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>dispense_unit*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>dispense_unit_id*</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>force_pharmacy*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>dosespot_supply_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>rx_required</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>clinical_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string</td>\n</tr>\n<tr>\n<td>is_charged_separately</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","supplies"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"}]}},"response":[],"_postman_id":"d16bb8a5-37e6-4e49-905e-d0919e8b32a9"},{"name":"Update Supply","id":"a0d6eec7-d64b-44d7-8132-529a83c3ccc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"is_additional_approval_needed\": true,\n    \"title\": \"Title\",\n    \"refills\": 1,\n    \"quantity\": \"2\",\n    \"days_supply\": 7,\n    \"directions\": \"One per day.\",\n    \"effective_date\": 7,\n    \"dispense_unit\": \"Tablet\",\n    \"dispense_unit_id\": 26,\n    \"pharmacy_id\": 14,\n    \"pharmacy_name\": \"Pharmacy Name\",\n    \"force_pharmacy\": true,\n    \"clinical_note\": \"Notes from the MD.\",\n    \"pharmacy_notes\": \"Notes for the parmacy.\",\n    \"thank_you_note\": \"Thank you!\",\n    \"order\": 1,\n    \"metadata\": \"Metadata\",\n    \"upcharge\": 1.02,\n    \"clinician_extra_fee\": 1.02,\n    \"is_charged_separately\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply","description":"<p>Updates the partner's supply.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>dispense_unit</td>\n<td>string</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>force_pharmacy</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>clinical_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string</td>\n</tr>\n<tr>\n<td>is_charged_separately</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","supplies",":supply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"type":"any","value":"9aaa4a37-7602-4fe1-a444-99c9d61ebf9b","key":"supply"}]}},"response":[],"_postman_id":"a0d6eec7-d64b-44d7-8132-529a83c3ccc9"},{"name":"Restore Supply","id":"88484a1f-7a79-4bff-84fb-34f23bf0f5f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply/restore","description":"<p>Restores the partner's supply.</p>\n","urlObject":{"path":["web","partners",":partner","supplies",":supply","restore"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e5ca3d13-1ea7-4c76-9ddf-0f132f52a2b4","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"6b38f583-833a-4cae-8e77-7c47043c92b5","type":"any","value":"4cf2652f-16cc-4784-b97c-4be02a171eec","key":"supply"}]}},"response":[],"_postman_id":"88484a1f-7a79-4bff-84fb-34f23bf0f5f2"},{"name":"Apply Supplies Reviews","id":"9dea1bb7-6387-4d84-abb1-81ef8654151c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/reviews/apply","description":"<p>Apply all reviews for all supplies of the partner.</p>\n","urlObject":{"path":["web","partners",":partner","supplies","reviews","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"23614ee7-34c7-40e6-8464-cf32df01e5cc","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"}]}},"response":[],"_postman_id":"9dea1bb7-6387-4d84-abb1-81ef8654151c"},{"name":"Apply Supply Review","id":"9c9baea0-4b06-4702-a93c-5e0ac2daac0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply/reviews/:review/apply","description":"<p>Apply the review of the partner's supply.</p>\n","urlObject":{"path":["web","partners",":partner","supplies",":supply","reviews",":review","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"91a3f43c-8424-48f4-857f-cc2cd1ac10ca","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"f6a29b23-78b2-4fe1-b245-660340e5902a","type":"any","value":"9aaa4a37-7602-4fe1-a444-99c9d61ebf9b","key":"supply"},{"id":"26d1c9ac-13af-4cf2-8b0d-4430da246ae2","type":"any","value":"34e6a6e7-f880-4b87-adc5-01be9167fe42","key":"review"}]}},"response":[],"_postman_id":"9c9baea0-4b06-4702-a93c-5e0ac2daac0e"},{"name":"Replicate Supply","id":"8ebaeb23-a0ba-46fa-a332-8f9f84e28105","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/supplies/:supply/replicate","description":"<p>Replicates the partner's supply.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","supplies",":supply","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8301d6ec-3148-4523-b0e5-2a6fed3c66e5","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"1e254afd-9436-4844-a091-779d3e880a52","type":"any","value":"4cf2652f-16cc-4784-b97c-4be02a171eec","key":"supply"}]}},"response":[],"_postman_id":"8ebaeb23-a0ba-46fa-a332-8f9f84e28105"}],"id":"6cba62f3-a6be-450e-95c0-d17ac7b50cb0","_postman_id":"6cba62f3-a6be-450e-95c0-d17ac7b50cb0","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Services","item":[{"name":"Diseases","item":[{"name":"Get Diseases","id":"4b86029e-ab71-4f75-b117-e17701f74e27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service/diseases?per_page=15&page=1","description":"<p>Get the partner's service's diseases (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","services",":service","diseases"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"66d877c2-045e-4326-8fff-80c60538898a","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"cc8f2e04-6d4f-422e-877e-5a5eac79f37a","type":"any","value":"d5ca9520-16c4-4735-a878-8c4b8ada92cb","key":"service"}]}},"response":[],"_postman_id":"4b86029e-ab71-4f75-b117-e17701f74e27"},{"name":"Attach Disease","id":"df11d999-b7b0-44a0-bdae-e42c139c590f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service/diseases/:disease","description":"<p>Attach the disease to the partner's service.</p>\n","urlObject":{"path":["web","partners",":partner","services",":service","diseases",":disease"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c74917b5-f407-4692-b776-23038d94c970","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"4e5a51bf-9dac-4cb8-a000-9749c19635d1","type":"any","value":"d5ca9520-16c4-4735-a878-8c4b8ada92cb","key":"service"},{"id":"221adf70-1c3b-4c72-beed-3f4d41307bb6","type":"any","value":"28932569-d923-4d47-ae0f-8e0ef1978a70","key":"disease"}]}},"response":[],"_postman_id":"df11d999-b7b0-44a0-bdae-e42c139c590f"},{"name":"Detach Disease","id":"6ad58ab8-fe2a-4da0-b997-ef1396788ebd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service/diseases/:disease","description":"<p>Detach the disease from the partner's service.</p>\n","urlObject":{"path":["web","partners",":partner","services",":service","diseases",":disease"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a0577fc9-a0b1-40a8-9785-4c54bcc6a82e","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"d6ae7036-f2c9-4c2a-9110-938a6440f6ff","type":"any","value":"d5ca9520-16c4-4735-a878-8c4b8ada92cb","key":"service"},{"id":"5e414ca6-4c84-4904-b911-d5de06a90c78","type":"any","value":"28932569-d923-4d47-ae0f-8e0ef1978a70","key":"disease"}]}},"response":[],"_postman_id":"6ad58ab8-fe2a-4da0-b997-ef1396788ebd"}],"id":"3b5f7df5-5b00-473b-acca-400845181bb0","_postman_id":"3b5f7df5-5b00-473b-acca-400845181bb0","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tags","item":[{"name":"Get Tags","id":"15f30be8-ac35-41e0-b0cf-1de453ecff1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service/tags?per_page=15&page=1","description":"<p>Get the partner's services tags (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","services",":service","tags"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"121c4ed6-4caa-4249-9d08-a838aaf8e245","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"a54d99f8-1fd8-4d72-aff8-e78e7d0ca6bb","type":"any","value":"6a550dd8-0223-40dd-babd-ff56be214504","key":"service"}]}},"response":[],"_postman_id":"15f30be8-ac35-41e0-b0cf-1de453ecff1d"},{"name":"Attach Tag","id":"d29d80a1-fa98-4378-8d1b-d34019f670df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"service notes\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service/tags/:tag","description":"<p>Attach the tag to the partner's service.</p>\n","urlObject":{"path":["web","partners",":partner","services",":service","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"1e5d5cf5-718e-4c08-8be2-d23a2813a653","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"caf6a2ff-82d5-48da-9211-34dcfaea2d46","type":"any","value":"6a550dd8-0223-40dd-babd-ff56be214504","key":"service"},{"id":"7b97e6f2-caec-4e81-b81a-2a1d61e9b381","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"d29d80a1-fa98-4378-8d1b-d34019f670df"},{"name":"Update Tag","id":"09629dda-ef3a-4a26-bf4f-81a027b82441","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"new service notes\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service/tags/:tag","description":"<p>Update the tag's notes to the partner's service.</p>\n","urlObject":{"path":["web","partners",":partner","services",":service","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9682f0bf-70db-4aaf-9a12-9321f3ffa69b","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"e309a693-5305-44c0-bd27-62da51537d47","type":"any","value":"6a550dd8-0223-40dd-babd-ff56be214504","key":"service"},{"id":"16123503-07fe-4ab1-b08f-e331a7339c84","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"09629dda-ef3a-4a26-bf4f-81a027b82441"},{"name":"Detach Tag","id":"85c2e1d1-d2eb-48cc-8816-28844a4c8f1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service/tags/:tag","description":"<p>Detach the tag from the partner's service.</p>\n","urlObject":{"path":["web","partners",":partner","services",":service","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"72ece222-b3c2-47a7-8856-4beaa01bc309","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"9de96560-7e3c-49ab-bf79-77db1ee5df84","type":"any","value":"6a550dd8-0223-40dd-babd-ff56be214504","key":"service"},{"id":"ad2d3715-c007-4ce4-8009-e2ef1793a3bb","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"85c2e1d1-d2eb-48cc-8816-28844a4c8f1c"}],"id":"9421dca3-2d8e-46b9-8899-4c75cdff29be","_postman_id":"9421dca3-2d8e-46b9-8899-4c75cdff29be","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"States","item":[{"name":"Get States","id":"84c65a06-51d3-4b17-a7da-87891b3b2266","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service/states?per_page=15&page=1","description":"<p>Get the partner's services's states (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","services",":service","states"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"81d91743-c322-485a-8d4a-be5e49101e06","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"e4521c11-770a-4729-b163-96b396002d33","type":"any","value":"6a550dd8-0223-40dd-babd-ff56be214504","key":"service"}]}},"response":[],"_postman_id":"84c65a06-51d3-4b17-a7da-87891b3b2266"},{"name":"Attach State","id":"35ac29ff-b313-46da-9f41-fd07380040a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service/states/:state","description":"<p>Attach the state to the partner's service.</p>\n","urlObject":{"path":["web","partners",":partner","services",":service","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"cfef7f50-3239-4497-9e82-e5e1a5c754cf","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"f286f267-e75d-48f3-8912-369f76743f58","type":"any","value":"6a550dd8-0223-40dd-babd-ff56be214504","key":"service"},{"id":"0ae8a8b2-bbed-459e-9664-9010fe9b6758","type":"any","value":"c4d240f6-e183-4869-b5dd-851082ae8d97","key":"state"}]}},"response":[],"_postman_id":"35ac29ff-b313-46da-9f41-fd07380040a2"},{"name":"Detach State","id":"c80910f7-e3ef-4cdc-a7d9-0377597d3a44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service/states/:state","description":"<p>Detach the state from the partner's service.</p>\n","urlObject":{"path":["web","partners",":partner","services",":service","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"12eddb33-a3c0-4e07-a1d4-5b73c05aba89","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"4cdb707a-3d90-4d29-900c-cf1d99ec1044","type":"any","value":"6a550dd8-0223-40dd-babd-ff56be214504","key":"service"},{"id":"be097011-df3c-4833-973d-8fbaafae153c","type":"any","value":"c4d240f6-e183-4869-b5dd-851082ae8d97","key":"state"}]}},"response":[],"_postman_id":"c80910f7-e3ef-4cdc-a7d9-0377597d3a44"}],"id":"dd9dd054-dc44-435c-97c1-997d0c2561a0","_postman_id":"dd9dd054-dc44-435c-97c1-997d0c2561a0","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Service","id":"d69610ce-686c-4e32-95bf-aea228c2b7f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service","description":"<p>Get the partner's service details.</p>\n","urlObject":{"path":["web","partners",":partner","services",":service"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f9434020-d7f2-49fc-8dfa-38c7b148be02","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"a8e33525-504f-4704-bb0b-cbef8d2140b8","type":"any","value":"d5ca9520-16c4-4735-a878-8c4b8ada92cb","key":"service"}]}},"response":[],"_postman_id":"d69610ce-686c-4e32-95bf-aea228c2b7f2"},{"name":"Delete Service","id":"167a7801-229e-4fb1-92ae-7ab546f07879","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service","description":"<p>Deletes the partner's service.</p>\n","urlObject":{"path":["web","partners",":partner","services",":service"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"19b9c8f0-58ac-470e-919e-0367cd490536","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"f57ee938-24f3-4bc6-8cf2-e5f260b3e2c7","type":"any","value":"d5ca9520-16c4-4735-a878-8c4b8ada92cb","key":"service"}]}},"response":[],"_postman_id":"167a7801-229e-4fb1-92ae-7ab546f07879"},{"name":"Get Services","id":"e5e09873-ad1e-4b3f-8010-5436c5fd68a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/services?per_page=15&page=1","description":"<p>Get the partner's services (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","services"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"disabled":true,"key":"order","value":"asc"},{"disabled":true,"key":"sort","value":"order"},{"disabled":true,"key":"search","value":"term"},{"disabled":true,"key":"trashed","value":"only/with"}],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"}]}},"response":[],"_postman_id":"e5e09873-ad1e-4b3f-8010-5436c5fd68a9"},{"name":"Create Service","id":"dd53f7bc-1f21-4a88-85c1-325479f84c04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"service_type\": \"device\",\n    \"is_additional_approval_needed\": true,\n    \"title\": \"Title\",\n    \"description\": \"Description\",\n    \"clinical_notes\": \"Notes from the MD.\",\n    \"thank_you_note\": \"Thank you!\",\n    \"additional_note\": \"One additional note.\",    \n    \"pharmacy_fax_number\": \"+5541987654321\",\n    \"include_drivers_license\": false,\n    \"send_pdf_file_automatically\": false,\n    \"order\": 1,\n    \"metadata\": \"Metadata\",\n    \"upcharge\": 1.01,\n    \"clinician_extra_fee\": 1.02,\n    \"is_charged_separately\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/services","description":"<p>Creates a service for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>service_type*</td>\n<td>string (device, lab order, medication, compound, other)</td>\n</tr>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>description*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>clinical_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>additional_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_fax_number</td>\n<td>string</td>\n</tr>\n<tr>\n<td>include_drivers_license*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>send_pdf_file_automatically*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string</td>\n</tr>\n<tr>\n<td>is_charged_separately</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","services"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"}]}},"response":[],"_postman_id":"dd53f7bc-1f21-4a88-85c1-325479f84c04"},{"name":"Update Service","id":"bd746458-d3c5-4146-bb67-42811cafa581","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"service_type\": \"device\",\n    \"title\": \"Title\",\n    \"is_additional_approval_needed\": true,\n    \"description\": \"Description\",\n    \"clinical_notes\": \"Notes from the MD.\",\n    \"thank_you_note\": \"Thank you!\",\n    \"additional_note\": \"One additional note.\",    \n    \"pharmacy_fax_number\": \"+5541987654321\",\n    \"include_drivers_license\": false,\n    \"order\": 1,\n    \"metadata\": \"Metadata\",\n    \"upcharge\": 1.02,\n    \"clinician_extra_fee\": 1.02,\n    \"is_charged_separately\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service","description":"<p>Updates the partner's service.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>service_type</td>\n<td>string (device, lab order, medication, compound, other)</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n</tr>\n<tr>\n<td>is_additional_approval_needed</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>clinical_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>additional_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_fax_number</td>\n<td>string</td>\n</tr>\n<tr>\n<td>include_drivers_license</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>send_pdf_file_automatically</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string</td>\n</tr>\n<tr>\n<td>is_charged_separately</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","services",":service"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"type":"any","value":"d5ca9520-16c4-4735-a878-8c4b8ada92cb","key":"service"}]}},"response":[],"_postman_id":"bd746458-d3c5-4146-bb67-42811cafa581"},{"name":"Restore Service","id":"006e3313-4a2c-40a9-9bac-f95cdff2eb0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service/restore","description":"<p>Restores the partner's service.</p>\n","urlObject":{"path":["web","partners",":partner","services",":service","restore"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7ba09169-eda7-406c-9159-343b57ca4344","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"881fea4e-5de6-4070-83ac-f202bc926ee7","type":"any","value":"d5ca9520-16c4-4735-a878-8c4b8ada92cb","key":"service"}]}},"response":[],"_postman_id":"006e3313-4a2c-40a9-9bac-f95cdff2eb0c"},{"name":"Apply Services Reviews","id":"49ab1f72-07d0-45c9-ae17-675e0a604ed8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/services/reviews/apply","description":"<p>Apply all reviews for all services of the partner.</p>\n","urlObject":{"path":["web","partners",":partner","services","reviews","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"71c57241-5b0f-49dd-b720-d123d1b678ce","type":"any","value":"94124ff7-7942-415b-b556-2702c77ebaa7","key":"partner"}]}},"response":[],"_postman_id":"49ab1f72-07d0-45c9-ae17-675e0a604ed8"},{"name":"Apply Service Review","id":"8e72b777-ee28-41d8-a3d9-6ccad364db32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service/reviews/:review/apply","description":"<p>Apply the review of the partner's service.</p>\n","urlObject":{"path":["web","partners",":partner","services",":service","reviews",":review","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"31a4a9c5-35d0-42eb-a815-f02398dbb593","type":"any","value":"94124ff7-7942-415b-b556-2702c77ebaa7","key":"partner"},{"id":"6c5d6ad0-973c-405b-b9a6-ffcded2108f6","type":"any","value":"cec9c1a5-8083-4f66-b329-f5059db8d6c1","key":"service"},{"id":"66084aad-f264-46f7-8570-8bfc6b86ddab","type":"any","value":"c54f4889-b93f-4741-b342-d65ed0ba3cea","key":"review"}]}},"response":[],"_postman_id":"8e72b777-ee28-41d8-a3d9-6ccad364db32"},{"name":"Replicate Service","id":"b265306e-576f-434c-9f7c-3117e402c36c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/services/:service/replicate","description":"<p>Replicates the partner's service.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","services",":service","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2dd5476d-ad50-4e8f-8d8c-099df1e24e02","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"23803dcb-f88a-4f82-8e09-e8357f0b9766","type":"any","value":"22ab6ae0-3985-4c94-b0c1-435a7cc10246","key":"service"}]}},"response":[],"_postman_id":"b265306e-576f-434c-9f7c-3117e402c36c"}],"id":"e503cc09-742e-4666-b25c-38480cce773c","_postman_id":"e503cc09-742e-4666-b25c-38480cce773c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Support Staffs","item":[{"name":"Create  Support Staff","id":"daf7af43-e576-4796-a34c-9bc4d7dd7222","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Support Staff First Name\",\n    \"last_name\": \"Support Staff Last Name\",\n    \"email\": \"support@staff.example\",\n    \"photo_id\": \"17b32c5d-8ad0-4180-b5f2-59e14c1cf2b9\",\n    \"active\": true,\n    \"timezone_id\": \"b7d08438-b5a3-4790-9c3e-1fe4930c923c\",\n    \"permissions\": [\"live\", \"sandbox\"],\n    \"can_unlock_phi\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/support-staffs","description":"<p>Creates a support staff and attaches it to the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>photo_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>permissions</td>\n<td>array (live, sandbox)</td>\n</tr>\n<tr>\n<td>can_unlock_phi</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","support-staffs"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"daf7af43-e576-4796-a34c-9bc4d7dd7222"},{"name":"Update Support Staff","id":"4f4fd286-663e-4b8e-83dc-f3d91686d0e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Support Staff First Name\",\n    \"last_name\": \"Support Staff Last Name\",\n    \"email\": \"support@staff.example\",\n    \"photo_id\": \"17b32c5d-8ad0-4180-b5f2-59e14c1cf2b9\",\n    \"active\": true,\n    \"password\": \"swordfish\",\n    \"password_confirmation\": \"swordfish\",\n    \"timezone_id\": \"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6\",\n    \"permissions\": [\"live\", \"sandbox\"],\n    \"can_unlock_phi\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/support-staffs/:supportStaff","description":"<p>Updates the partner's support staff.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>photo_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password_confirmation*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>permissions</td>\n<td>array (live, sandbox)</td>\n</tr>\n<tr>\n<td>can_unlock_phi</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","support-staffs",":supportStaff"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"type":"any","value":"79cd3aa2-f667-4808-a70f-7f745c514def","key":"supportStaff"}]}},"response":[],"_postman_id":"4f4fd286-663e-4b8e-83dc-f3d91686d0e4"},{"name":"Get Support Staffs","id":"d99d9c8b-70c0-42a9-9adb-b90fe014f8ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/support-staffs?per_page=100&page=1","description":"<p>Get the partner's support staffs (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","support-staffs"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"100"},{"key":"page","value":"1"}],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"d99d9c8b-70c0-42a9-9adb-b90fe014f8ab"},{"name":"Detach Support Staff","id":"fa7a5400-25b8-4801-bb82-82c6aa55257a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/support-staffs/:supportStaff","description":"<p>Detach the support staff from the partner.</p>\n","urlObject":{"path":["web","partners",":partner","support-staffs",":supportStaff"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"510ed338-d99e-4c25-b9c1-4fce26e89194","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"3cfe6055-0a67-4faf-85f5-b356589109d7","type":"any","value":"4fc74ef6-495c-4b45-b57c-7326c329e4df","key":"supportStaff"}]}},"response":[],"_postman_id":"fa7a5400-25b8-4801-bb82-82c6aa55257a"},{"name":"Attach Support Staff","id":"52fc8959-0594-4757-ba06-36d9e122bad3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"can_unlock_phi\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/support-staffs/:supportStaff","description":"<p>Attach the support staff to the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>can_unlock_phi</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","support-staffs",":supportStaff"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"type":"any","value":"79cd3aa2-f667-4808-a70f-7f745c514def","key":"supportStaff"}]}},"response":[],"_postman_id":"52fc8959-0594-4757-ba06-36d9e122bad3"},{"name":"Attach Support Staff (Email)","id":"2ff03cda-9ebc-41e2-b48f-79d17ad61c2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"support-staff@user.com\",\n    \"can_unlock_phi\": false   \n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/support-staffs","description":"<p>Attach the support staff (email) to the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>can_unlock_phi</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","support-staffs"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7f15337d-5747-40c7-866e-af6d5980dc80","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"2ff03cda-9ebc-41e2-b48f-79d17ad61c2b"}],"id":"48364371-36f9-467d-b3de-0200e240e52d","_postman_id":"48364371-36f9-467d-b3de-0200e240e52d","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Specialties","item":[{"name":"Offerings","item":[{"name":"Attach Specialty Offering","id":"5ca73054-088b-4a39-8bfb-804e0d04355d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/specialties/:specialty/offerings/:offering","description":"<p>Attach the specialty offering to the partner.</p>\n","urlObject":{"path":["web","partners",":partner","specialties",":specialty","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"04c7d841-db5c-4c02-82b9-85231ca155c0","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"081bc8b2-1962-4c95-9090-69eef2cdc94d","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"46d1313c-93e5-4849-b42e-81147cc2d56b","type":"any","value":"6b3b215d-4a21-bab8-8d83-f19361af6239","key":"offering"}]}},"response":[],"_postman_id":"5ca73054-088b-4a39-8bfb-804e0d04355d"},{"name":"Detach Specialty Offering","id":"6f8171fe-d1cf-44b0-aa16-93f5b8daf588","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/specialties/:specialty/offerings/:offering","description":"<p>It deletes the partner's specialty offering</p>\n","urlObject":{"path":["web","partners",":partner","specialties",":specialty","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5573e1d0-394c-4b56-a656-564ffffb5bff","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"1b73c2cf-18e2-4c6e-ab10-d5f8ac8907fd","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"312e78b5-a78a-4adb-b6e8-314afaa37944","type":"any","value":"6b3b215d-4a21-bab8-8d83-f19361af6239","key":"offering"}]}},"response":[],"_postman_id":"6f8171fe-d1cf-44b0-aa16-93f5b8daf588"}],"id":"cc22bcb5-52d1-41aa-b0a2-1d04f9df3d67","_postman_id":"cc22bcb5-52d1-41aa-b0a2-1d04f9df3d67","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Questionnaires","item":[{"name":"Attach Specialty Questionnaire","id":"88a020fb-03e2-44ab-8910-1961e40c588f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/specialties/:specialty/questionnaires/:questionnaire","description":"<p>Attach the specialty questionnaire to the partner.</p>\n","urlObject":{"path":["web","partners",":partner","specialties",":specialty","questionnaires",":questionnaire"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9623b526-f71d-4bbc-bb1a-26b1237a203c","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"27c1b8eb-0613-4fc3-9600-2a8b10cf43f8","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"fc27e63a-b51d-4ade-86bb-2473134dab31","type":"any","value":"6b3b215d-4a21-bab8-8d83-f19361af6239","key":"questionnaire"}]}},"response":[],"_postman_id":"88a020fb-03e2-44ab-8910-1961e40c588f"},{"name":"Detach Specialty Questionnaire","id":"2cf77356-c563-4847-b751-d7664972afa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/specialties/:specialty/questionaires/:questionnaire","description":"<p>It deletes the partner's specialty questionnaire</p>\n","urlObject":{"path":["web","partners",":partner","specialties",":specialty","questionaires",":questionnaire"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4b6eb38b-bf35-4e0a-a3e8-36ee134ed695","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"31920cea-309a-40cc-b27c-a7189482efed","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"4341ff68-8dc7-42d5-8efd-0799d189545f","type":"any","value":"6b3b215d-4a21-bab8-8d83-f19361af6239","key":"questionnaire"}]}},"response":[],"_postman_id":"2cf77356-c563-4847-b751-d7664972afa8"}],"id":"8dbb2177-482e-4926-8af6-3c407511175f","_postman_id":"8dbb2177-482e-4926-8af6-3c407511175f","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Specialties","id":"82364c39-69aa-4e5e-9a56-a17601a968d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/specialties?per_page=15&page=1","description":"<p>Get the partner's specialties (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","specialties"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"477f752f-84c9-49c8-a6e7-3d6c08d282e9","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"82364c39-69aa-4e5e-9a56-a17601a968d8"},{"name":"Detach Specialty","id":"9e61a2e1-6ad3-4bca-988b-62e62a963d66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/specialties/:specialty","description":"<p>Detach the specialty from the partner.</p>\n","urlObject":{"path":["web","partners",":partner","specialties",":specialty"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5b29e112-59ec-4b66-85ae-778a4174f78b","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"221eb2c3-37a7-4d23-a36d-19d43a926e88","type":"any","value":"","key":"specialty"}]}},"response":[],"_postman_id":"9e61a2e1-6ad3-4bca-988b-62e62a963d66"},{"name":"Attach Specialty","id":"4b7d7fc6-4bdf-4d18-9096-25e646dff4e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{ \n    \"is_replicate_offerings\": true,\n    \"is_replicate_questionnaires\": true,\n    \"is_replicate_clinicians\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/specialties/:specialty","description":"<p>Attach the specialty to the partner.</p>\n","urlObject":{"path":["web","partners",":partner","specialties",":specialty"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"4b7d7fc6-4bdf-4d18-9096-25e646dff4e6"},{"name":"Patch Specialty","id":"83eb3fa1-44e6-4ab5-92aa-6b677750cc8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{ \n    \"is_replicate_offerings\": false,\n    \"is_replicate_questionnaires\": false,\n    \"is_replicate_clinicians\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/specialties/:specialty","description":"<p>Patch the specialty to the partner.</p>\n","urlObject":{"path":["web","partners",":partner","specialties",":specialty"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"89475b93-8fb1-41dc-b5c9-62cf4053d4dd","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"be32a82e-3961-460a-81f9-aaea2ebc6e37","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"83eb3fa1-44e6-4ab5-92aa-6b677750cc8c"}],"id":"361e0570-6857-4a7b-9918-917b1809f314","_postman_id":"361e0570-6857-4a7b-9918-917b1809f314","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tickets","item":[{"name":"Get Tickets","id":"034c3a12-b1de-40cf-b203-a3d3244952ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/tickets?per_page=100&page=1","description":"<p>Get the partner's tickets (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","tickets"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"100"},{"key":"page","value":"1"},{"disabled":true,"key":"status","value":"completed"},{"disabled":true,"key":"product","value":"other"}],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"034c3a12-b1de-40cf-b203-a3d3244952ec"},{"name":"Get Ticket","id":"b93954bd-ccae-4cba-b945-09949aa33653","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/tickets/:ticket","description":"<p>Get the partner's ticket details.</p>\n","urlObject":{"path":["web","partners",":partner","tickets",":ticket"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"type":"any","value":"8d74300c-9c04-4f61-9a61-51f4fe697162","key":"ticket"}]}},"response":[],"_postman_id":"b93954bd-ccae-4cba-b945-09949aa33653"},{"name":"Delete Ticket","id":"3c822f55-5a88-4497-8b79-8954fd14b946","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/tickets/:ticket","description":"<p>Deletes the partner's ticket.</p>\n","urlObject":{"path":["web","partners",":partner","tickets",":ticket"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"94124ff7-7942-415b-b556-2702c77ebaa7","key":"partner"},{"type":"any","value":"85d91998-0e3b-4909-8051-433b5fdf3e77","key":"ticket"}]}},"response":[],"_postman_id":"3c822f55-5a88-4497-8b79-8954fd14b946"},{"name":"Create Ticket","id":"6727915d-87e0-4b08-a8b9-384617371974","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Title\",\n    \"description\": \"Description\",\n    \"type\": \"bug-report\",\n    \"environment\": \"development\",\n    \"product\": \"other\",\n    \"is_urgent\": false,\n    \"requester_email\": \"guilherme@mdintegrations.com\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/tickets","description":"<p>Creates a ticket for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>description*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>type*</td>\n<td>string (bug-report, feature-suggestion, question-help, other)</td>\n</tr>\n<tr>\n<td>environment*</td>\n<td>string (development, staging, production, not-applicable)</td>\n</tr>\n<tr>\n<td>product*</td>\n<td>string (api, clinician-portal, admin-panel, messaging-app, messaging-widget, onboarding-app, api-documentation, other)</td>\n</tr>\n<tr>\n<td>is_urgent*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>requester_email*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","tickets"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"6727915d-87e0-4b08-a8b9-384617371974"}],"id":"161a65f4-e7a7-404a-805c-c2ce7e50736c","_postman_id":"161a65f4-e7a7-404a-805c-c2ce7e50736c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Questionnaires","item":[{"name":"Questions","item":[{"name":"Options","item":[{"name":"Get Options","id":"a777eedc-03c6-4707-8dbf-4ff95278b7df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/options","description":"<p>Get the partner's questionnaire's question's option (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","options"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b9cb5e8e-a6b1-427c-8e49-2566bf80b367","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"0e6b5dab-c4d4-405c-b343-e87ae7853209","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"913c4d85-9385-4f9c-973f-45d3ad5d4acf","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"}]}},"response":[],"_postman_id":"a777eedc-03c6-4707-8dbf-4ff95278b7df"},{"name":"Get Option","id":"b761de84-b508-4f7d-add0-53b798eee157","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/options/:option","description":"<p>Get the partner's questionnaire's question's option.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","options",":option"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b27a1492-f278-48fe-a0a7-e7a6627c929c","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"6cc3fe1a-020b-4182-b7e8-d4c7af9e11cd","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"f979c1d3-f8ec-44e7-8fdf-d10e0e20108c","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"53e8c271-16d4-4eea-b69b-5d0ea768ad73","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"option"}]}},"response":[],"_postman_id":"b761de84-b508-4f7d-add0-53b798eee157"},{"name":"Post Option","id":"0af6281b-6a13-4671-baac-dbb68a8f206e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"opt 1\",\n    \"is_important\": true,\n    \"is_critical\": true,\n    \"order\": 1,\n    \"icon_type\": \"icon\",\n    \"icon\": \"person\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/options","description":"<p>Create a partner's questionnaire's question's option.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","options"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"}]}},"response":[],"_postman_id":"0af6281b-6a13-4671-baac-dbb68a8f206e"},{"name":"Patch Option","id":"eaba8ad8-c4d6-48ba-8493-f5f88cd9367b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"opt 1\",\n    \"is_important\": true,\n    \"is_critical\": true,\n    \"order\": 1,\n    \"icon_type\": null,\n    \"icon\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/options/:option","description":"<p>Update the partner's questionnaire's question's option.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","options",":option"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"option"}]}},"response":[],"_postman_id":"eaba8ad8-c4d6-48ba-8493-f5f88cd9367b"},{"name":"Delete Option","id":"1b4a086a-3a29-43f2-9fac-c822dbe9faa5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/options/:option","description":"<p>Delete the partner's questionnaire's question's option.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","options",":option"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ecc365c9-7466-4254-b649-98230aceb581","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"f59d09e9-6701-40fc-bf69-ce65c0d137ca","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"5ff79180-3873-4ce7-920f-f80c5af817be","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"900f2f9f-73da-4b98-bf4a-7158f42518f2","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"option"}]}},"response":[],"_postman_id":"1b4a086a-3a29-43f2-9fac-c822dbe9faa5"},{"name":"Apply Option Review","id":"042d06d8-8728-474f-8ab8-55379d45964c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/options/:option/reviews/:review/apply","description":"<p>Apply the review of the offering.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","options",":option","reviews",":review","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"119262c7-1480-4248-8467-755bf4bfad5b","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"14a6d969-ff08-4d4d-aa6a-92a8e377a248","type":"any","value":"a767ae95-207f-49f5-bb0e-915089bfadd3","key":"questionnaire"},{"id":"f2ed7f56-f6ab-4a26-ae77-85c1ac209920","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"offering"},{"id":"1b6c7f40-eea0-4490-a2f8-7dfd7ae6c9fe","type":"any","value":"420aff17-d450-4eb4-99d9-35a9658c9d1f","key":"option"},{"id":"7ec9ae6d-ab71-4aff-b851-ad0078222da5","type":"any","value":"756b0531-2de5-40d6-94ab-6d1f337e0748","key":"review"}]}},"response":[],"_postman_id":"042d06d8-8728-474f-8ab8-55379d45964c"}],"id":"24397f20-fe61-415e-9005-dd3c4dcca22f","_postman_id":"24397f20-fe61-415e-9005-dd3c4dcca22f","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Rules","item":[{"name":"Requirements","item":[{"name":"Get Requirements","id":"6af139d3-3905-41f9-8036-cf620f9f7fb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/rules/:rule/requirements?per_page=15&page=1","description":"<p>Get the partner's questionnaire's question's rule's requirements (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","rules",":rule","requirements"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"3a726a70-76be-4e16-bb5a-b785c51a1b29","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"49f576cf-1e66-4b47-a88a-7a533e400a0f","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"744ebb13-cc07-4f14-a065-0b3f76087683","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"5d9be01e-dc4f-40d9-9cfc-b409daa32d0c","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"}]}},"response":[],"_postman_id":"6af139d3-3905-41f9-8036-cf620f9f7fb8"},{"name":"Get Requirement","id":"8fcb11c0-4d98-47c8-b105-59401f0b15e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/rules/:rule/requirements/:requirement","description":"<p>Get the partner's questionnaire's question's rule's requirement.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","rules",":rule","requirements",":requirement"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"255b3e6e-d23e-4a8b-a862-1ff5a72e0776","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"1d7f93d4-60d9-4fd4-8686-51e775d95847","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"ec6ac588-cd26-45fb-b4fd-03d388122038","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"c0c0a7e5-e45a-4a80-9b3d-b7348b156d38","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"},{"id":"93fe8da3-a771-4479-ae20-e495bd5d1662","type":"any","value":"af89ac7c-ec83-43dc-adf7-82994a686b0d","key":"requirement"}]}},"response":[],"_postman_id":"8fcb11c0-4d98-47c8-b105-59401f0b15e1"},{"name":"Post Requirement","id":"a2e3043d-1932-4bd4-8ebf-18231d1f4dd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"based_on\": \"state\",\n    \"required_answer\": \"dc2b5892-bd34-4822-97d1-9496207de918\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/rules/:rule/requirements","description":"<p>Create a partner's questionnaire's question's rule's requirement.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","rules",":rule","requirements"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4824f216-6092-4ab7-b503-85cf81b101d8","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"8f1b87b4-562e-4403-a966-59c52fd14b8e","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"2fa3822a-9fd5-46b5-9a26-4fe95ec22790","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"3579a8da-b78b-45c5-bb41-6fa1ee7abfd0","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"}]}},"response":[],"_postman_id":"a2e3043d-1932-4bd4-8ebf-18231d1f4dd7"},{"name":"Patch Requirement","id":"e4e23eaa-3e0f-409d-8a0b-06a9b41b5085","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"based_on\": \"state\",\n    \"required_answer\": \"dc2b5892-bd34-4822-97d1-9496207de918\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/rules/:rule/requirements/:requirement","description":"<p>Update the partner's questionnaire's question's rule's requirement.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","rules",":rule","requirements",":requirement"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7b44cc41-9c4e-44fb-9564-2028ca6af63d","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"e286d3dc-8be2-4728-91f5-7b5cf0acf138","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"336579a3-8a09-4ebb-b4f9-463326ba2ee6","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"174eb06b-458c-4f76-ac69-93ebb0cafa3c","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"},{"id":"7fd66803-eee2-4051-a913-03240ae7d205","type":"any","value":"af89ac7c-ec83-43dc-adf7-82994a686b0d","key":"requirement"}]}},"response":[],"_postman_id":"e4e23eaa-3e0f-409d-8a0b-06a9b41b5085"},{"name":"Delete Requirement","id":"01d7b2bb-5d54-4628-8638-f2c189ce9eb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/rules/:rule/requirements/:requirement","description":"<p>Delete the partner's questionnaire's question's rule's requirement.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","rules",":rule","requirements",":requirement"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6030c7b6-28be-41e7-ad98-0ba153b27f99","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"b7313de2-2cb4-4eff-b203-6b825c49d701","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"f053b1fa-1492-44aa-b83a-ec092bc45e17","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"e961045a-cf5f-41d2-ae8b-f8c529b38ebd","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"},{"id":"0805fac2-b65c-4546-89ea-f83f0422aaa2","type":"any","value":"af89ac7c-ec83-43dc-adf7-82994a686b0d","key":"requirement"}]}},"response":[],"_postman_id":"01d7b2bb-5d54-4628-8638-f2c189ce9eb5"},{"name":"Apply Requirement Review","id":"67a5145d-e881-4b3b-a038-4cf07a0f1e7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/rules/:rule/requirements/:requirement/reviews/:review/apply","description":"<p>Apply the review of the offering.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","rules",":rule","requirements",":requirement","reviews",":review","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"35ea07ed-f433-4ce3-9e6e-0fed9116e4f2","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"4fe66b19-f65d-4e70-bc21-fe06f8823dbb","type":"any","value":"a767ae95-207f-49f5-bb0e-915089bfadd3","key":"questionnaire"},{"id":"99955aa3-adc5-48d2-b6d3-a430a708810d","type":"any","value":"e3f8c6fb-52a8-4a90-bc06-a7bbacba1b61","key":"question"},{"id":"4a5ea36b-a76a-4c38-9392-e36a8ba6258e","type":"any","value":"c8d70c70-0ed0-4b3d-907e-0e5206011867","key":"rule"},{"id":"4ad97013-ba89-4bce-bd4c-8a521bdb143f","type":"any","value":"458b5d42-2d92-4a02-8522-9dfa28017485","key":"requirement"},{"id":"095f7037-467c-45b9-9e24-ec7501c24796","type":"any","value":"756b0531-2de5-40d6-94ab-6d1f337e0748","key":"review"}]}},"response":[],"_postman_id":"67a5145d-e881-4b3b-a038-4cf07a0f1e7b"}],"id":"0161bce8-6097-43e9-be56-82d29600c1a2","_postman_id":"0161bce8-6097-43e9-be56-82d29600c1a2","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Rules","id":"091e1be6-14e9-40b1-9da1-c15f87c6ff17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/rules?per_page=15&page=1&with_relationships[]=requirements","description":"<p>Get the partner's questionnaire's question's rules (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","rules"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"with_relationships[]","value":"requirements"}],"variable":[{"id":"e0368148-c6ab-4433-ae50-c965d252c906","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"9b8f6c35-e463-4e0a-bbc2-fee0df16e8d9","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"f27f9231-4a18-4576-b748-cef4dfe67a8d","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"}]}},"response":[],"_postman_id":"091e1be6-14e9-40b1-9da1-c15f87c6ff17"},{"name":"Get Rule","id":"24bd6520-ac8f-4909-9283-3a3257ba5c26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/rules/:rule","description":"<p>Get the partner's questionnaire's question's rule.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","rules",":rule"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"05e31388-4e2d-4707-a103-9d8bfd5eb3c7","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"64bdd136-d796-4c6b-8d88-dc22bd3e1612","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"72db1987-f524-4da2-b8cd-3b877d3f49af","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"31821f8f-771b-4e13-a0ef-48ad2bf5fc9d","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"rule"}]}},"response":[],"_postman_id":"24bd6520-ac8f-4909-9283-3a3257ba5c26"},{"name":"Post Rule","id":"e5247008-b8d9-452e-9fcd-6a92359e6eed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"rule title\",\n    \"type\": \"not\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/rules","description":"<p>Create a partner's questionnaire's question's rule.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","rules"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"dfc261e4-3ad2-47b8-bf3e-23eee83c18e2","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"42816b0b-e831-464a-af10-a2aabd3989d1","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"50c615a5-86a3-48aa-b581-3ba0a99de10f","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"}]}},"response":[],"_postman_id":"e5247008-b8d9-452e-9fcd-6a92359e6eed"},{"name":"Patch Rule","id":"839545a1-067d-4d0c-9451-a05d426bd638","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"rule title\",\n    \"type\": \"not\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/rules/:rule","description":"<p>Update the partner's questionnaire's question's rule.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","rules",":rule"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ecc77a5e-6939-49b5-9256-e10eb9c0533d","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"723c251a-cdb4-42d4-a233-86b6c38a2e55","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"ace84c44-5a62-446a-ae80-845ff83e00fa","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"4dab852c-c15d-4246-931a-009114cd1ccf","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"rule"}]}},"response":[],"_postman_id":"839545a1-067d-4d0c-9451-a05d426bd638"},{"name":"Post Rule/Requirements","id":"edb807ff-2b6d-4397-b958-242cebd6b1e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"rules\": [\n        {\n            \"id\": \"6ef34c2a-1120-43a2-8bdf-4379a6e3a794\",\n            \"title\": \"title test\",\n            \"type\": \"and\",\n            \"requirements\": [\n                {\n                    \"based_on\": \"state\",\n                    \"required_answer\": \"dc2b5892-bd34-4822-97d1-9496207de918\"\n                },\n                {\n                    \"id\": \"dc0387cf-4995-4d9b-8837-dc1aaf0e65bf\",\n                    \"based_on\": \"bmi\",\n                    \"conditional_answer\": \"<=\",\n                    \"required_answer\": \"40\"\n                },\n                {\n                    \"based_on\": \"question\",\n                    \"required_question_id\": \"94f8f739-bca8-4734-b3a8-5260400d4585\",\n                    \"required_answer\": \"8f2b102b-9e04-4ad3-af40-7bb181b0fe46\"\n                }\n            ]\n        },\n        {\n            \"title\": \"title test or\",\n            \"type\": \"or\",\n            \"requirements\": [\n                {\n                    \"based_on\": \"bmi\",\n                    \"conditional_answer\": \">=\",\n                    \"required_answer\": \"30\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/rules/save","description":"<p>Save partner's questionnaire's question's rules and requirements.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","rules","save"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c44a4969-20b2-499a-a2a7-b1d38e0dcc81","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"64dac747-f830-4365-80f1-aa39ea1eedaf","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"53bb9a49-e952-4cd2-8630-653b527be1d1","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"}]}},"response":[],"_postman_id":"edb807ff-2b6d-4397-b958-242cebd6b1e7"},{"name":"Delete Rule","id":"137b1cdf-d1d6-492d-aedb-f0acbde3576f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/rules/:rule","description":"<p>Delete the partner's questionnaire's question's rule.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","rules",":rule"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"dc9bc9c4-412c-4391-8eef-fa374ea5ce20","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"f878437d-e24a-4c3b-8cdd-5a18662c0a55","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"9746915d-8598-4d6d-9fb3-17d2cb2aae66","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"4895bc49-916d-4a9e-8791-c61f1e6ac033","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"rule"}]}},"response":[],"_postman_id":"137b1cdf-d1d6-492d-aedb-f0acbde3576f"},{"name":"Apply Rule Review","id":"0fc67c19-e6d3-4914-aa45-1b53c6ca6eef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/rules/:rule/reviews/:review/apply","description":"<p>Apply the review of the offering.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","rules",":rule","reviews",":review","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"82cb93f9-6015-46d6-87b0-8c7e2dbf3a71","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"45806be0-d8c0-4662-adf8-09451ba5d8fc","type":"any","value":"a767ae95-207f-49f5-bb0e-915089bfadd3","key":"questionnaire"},{"id":"c95d5563-0049-46c6-a994-880c443ba597","type":"any","value":"e3f8c6fb-52a8-4a90-bc06-a7bbacba1b61","key":"question"},{"id":"c1579844-0fba-434f-b9cc-63209450c6db","type":"any","value":"c8d70c70-0ed0-4b3d-907e-0e5206011867","key":"rule"},{"id":"7a45ff75-1d10-42c3-b4be-b1671aefa76a","type":"any","value":"756b0531-2de5-40d6-94ab-6d1f337e0748","key":"review"}]}},"response":[],"_postman_id":"0fc67c19-e6d3-4914-aa45-1b53c6ca6eef"}],"id":"f7bc29ec-75ff-4888-956c-8ddc578bee8c","_postman_id":"f7bc29ec-75ff-4888-956c-8ddc578bee8c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Files","item":[{"name":"Attach File","id":"f00bf455-ecca-44c3-91dc-a26a6863a624","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/files/:file","description":"<p>Attach the file to the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string (document, review, other)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"90cbc29b-7c56-4fc1-b8a1-bc6a22a9578d","type":"any","value":"11be5292-30fb-4fd3-b673-429dbb0fa825","key":"partner"},{"id":"87f41d65-7378-45da-b292-8eaf13d6be50","type":"any","value":"ccef7367-ee62-46ce-a2d0-199f95438329","key":"questionnaire"},{"id":"38108066-c70f-470f-b4db-59ab76d2bf57","type":"any","value":"cf61d7e9-8f38-4f20-a2dd-b53976b0b941","key":"question"},{"id":"ce92872b-a75a-4c22-a4d0-464b061c593c","type":"any","value":"e3d90e92-b592-4851-8ff0-132db5f7d214","key":"file"}]}},"response":[],"_postman_id":"f00bf455-ecca-44c3-91dc-a26a6863a624"},{"name":"Detach File","id":"57efb9cf-1352-47ad-a0c3-e32905d7b27c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/files/:file","description":"<p>Detach the file from the partner.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"0743a749-599b-4267-b7c5-3a8cc9fdd528","type":"any","value":"11be5292-30fb-4fd3-b673-429dbb0fa825","key":"partner"},{"id":"c948d3f8-79c7-46c5-ad06-7eb9bea25ebb","type":"any","value":"ccef7367-ee62-46ce-a2d0-199f95438329","key":"questionnaire"},{"id":"ccc2ff94-01ad-4908-8120-2fec24398f36","type":"any","value":"cf61d7e9-8f38-4f20-a2dd-b53976b0b941","key":"question"},{"id":"52eed936-1bc1-4db8-bc42-b67710e3b07d","type":"any","value":"e3d90e92-b592-4851-8ff0-132db5f7d214","key":"file"}]}},"response":[],"_postman_id":"57efb9cf-1352-47ad-a0c3-e32905d7b27c"}],"id":"84f11551-2e3a-47ad-8da1-6e5c28038ee9","_postman_id":"84f11551-2e3a-47ad-8da1-6e5c28038ee9","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Questions","id":"56834bd6-fa53-4cc1-947d-9c6efbc2c406","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions?per_page=15&page=1&with_relationships[]=rules.requirements&with_relationships[]=options","description":"<p>Get the partner's questionnaire's questions (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"with_relationships[]","value":"rules.requirements"},{"key":"with_relationships[]","value":"options"}],"variable":[{"type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"}]}},"response":[],"_postman_id":"56834bd6-fa53-4cc1-947d-9c6efbc2c406"},{"name":"Get Question","id":"2558e57d-8c96-4b5b-af3f-6e3f06f0259c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question?with_relationships[]=files","description":"<p>Get the partner's questionnaire's question.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question"],"host":["https://api.mdintegrations.com"],"query":[{"key":"with_relationships[]","value":"files"}],"variable":[{"type":"any","value":"11be5292-30fb-4fd3-b673-429dbb0fa825","key":"partner"},{"type":"any","value":"ccef7367-ee62-46ce-a2d0-199f95438329","key":"questionnaire"},{"type":"any","value":"cf61d7e9-8f38-4f20-a2dd-b53976b0b941","key":"question"}]}},"response":[],"_postman_id":"2558e57d-8c96-4b5b-af3f-6e3f06f0259c"},{"name":"Get Question Translation","id":"7c6c9346-42ff-4689-8d1b-55aa92931396","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/translate?with_relationships[]=files&target_language=es-MX","description":"<p>Get the partner's questionnaire's question.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","translate"],"host":["https://api.mdintegrations.com"],"query":[{"key":"with_relationships[]","value":"files"},{"disabled":true,"key":"source_language","value":"en"},{"key":"target_language","value":"es-MX"}],"variable":[{"id":"f86c8786-1ddf-4724-b52d-ed7c5fcfcccf","type":"any","value":"{{partner_id}}","key":"partner"},{"id":"b9cb8ba4-83a0-422f-85fe-b3aed9891f2d","type":"any","value":"{{partner_questionnaire_id}}","key":"questionnaire"},{"id":"9d12fc58-3f06-4011-9787-c351527835c3","type":"any","value":"{{partner_questionnaire_question_id}}","key":"question"}]}},"response":[],"_postman_id":"7c6c9346-42ff-4689-8d1b-55aa92931396"},{"name":"Post Question","id":"cf0374d5-d680-4e5c-a225-3a80d1d32761","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"type question\",\n    \"description\": \"description question\",\n    \"label\": \"label\",\n    \"placeholder\": \"placeholder\",\n    \"order\": 1,\n    \"type\": \"file\",\n    \"file_type\": \"lab-result\",\n    \"is_important\": true,\n    \"display_in_pdf\": false,\n    \"is_optional\": false,\n    \"is_visible\": true,\n    \"default_value\": \"default\",\n    \"is_critical\": false,\n    \"has_next_button\": true,\n    \"has_back_button\": false,\n    \"hold_status\": false,\n    \"is_additional_approval_needed\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions","description":"<p>Create a partner's questionnaire's question.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"94124ff7-7942-415b-b556-2702c77ebaa7","key":"partner"},{"type":"any","value":"b1f0bdba-a853-4237-9dfe-3e686ada3455","key":"questionnaire"}]}},"response":[],"_postman_id":"cf0374d5-d680-4e5c-a225-3a80d1d32761"},{"name":"Patch Question","id":"263f84de-eda6-46e7-bdb4-6f53b7a08d68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"type question\",\n    \"description\": \"description question\",\n    \"label\": \"label\",\n    \"placeholder\": \"placeholder\",\n    \"order\": 1,\n    \"type\": \"file\",\n    \"file_type\": \"lab-result\",\n    \"is_important\": true,\n    \"display_in_pdf\": false,\n    \"is_optional\": false,\n    \"is_visible\": true,\n    \"default_value\": \"default\",\n    \"is_critical\": false,\n    \"has_next_button\": true,\n    \"has_back_button\": false,\n    \"hold_status\": true,\n    \"is_additional_approval_needed\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question","description":"<p>Update the partner's questionnaire's question.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"}]}},"response":[],"_postman_id":"263f84de-eda6-46e7-bdb4-6f53b7a08d68"},{"name":"Patch Question Translation","id":"77f29896-1b5f-4b06-ae96-1699f29d9b84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"source_language\": \"en\",\n    \"target_language\": \"es-MX\",\n    \"title\": \"type question\",\n    \"description\": \"description question\",\n    \"label\": \"label\",\n    \"placeholder\": \"placeholder\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/translate","description":"<p>Update the partner's questionnaire's question.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","translate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e8bfc296-0725-4c87-aa7f-368c94875a16","type":"any","value":"{{partner_id}}","key":"partner"},{"id":"65da5356-d1c0-4862-8533-071375357ef5","type":"any","value":"{{partner_questionnaire_id}}","key":"questionnaire"},{"id":"a72cf9e4-33a4-493d-b3cd-0de02ffe2a5f","type":"any","value":"{{partner_questionnaire_question_id}}","key":"question"}]}},"response":[],"_postman_id":"77f29896-1b5f-4b06-ae96-1699f29d9b84"},{"name":"Delete Question","id":"d327ee83-e930-40ba-8b15-021f010a7d28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question","description":"<p>Delete the partner's questionnaire's question.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"69f0c9c4-8bbe-4712-a16a-f4c36f39fc23","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"5b731975-e573-4fde-b7c7-4d16ac8e1dcb","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"5f9710ad-beeb-4181-8aa7-8633211816b2","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"}]}},"response":[],"_postman_id":"d327ee83-e930-40ba-8b15-021f010a7d28"},{"name":"Apply Question Review","id":"8b99af42-8c83-4a03-bf08-f3a66a07792d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/questions/:question/reviews/:review/apply","description":"<p>Apply the review of the offering.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","questions",":question","reviews",":review","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"974a9d0d-6aef-4fc5-86e5-06ae977b76a5","type":"any","value":"94124ff7-7942-415b-b556-2702c77ebaa7","key":"partner"},{"id":"786d9bdd-f561-4c27-9188-9e967dba711b","type":"any","value":"b1f0bdba-a853-4237-9dfe-3e686ada3455","key":"questionnaire"},{"id":"48f05de9-07d3-43ea-8911-43cb27fbcf88","type":"any","value":"078ace4f-0bc4-4ab6-91f7-882e9f62b6ad","key":"question"},{"id":"0a66ed07-9596-4d5b-9e41-46ca9bff5549","type":"any","value":"3ba154a8-200a-46f9-8c55-0f52d9d800b7","key":"review"}]}},"response":[],"_postman_id":"8b99af42-8c83-4a03-bf08-f3a66a07792d"}],"id":"a7ae55d9-9697-4a70-b4eb-b0d9b484d3ce","_postman_id":"a7ae55d9-9697-4a70-b4eb-b0d9b484d3ce","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Offerings","item":[{"name":"Rules","item":[{"name":"Requirements","item":[{"name":"Get Requirements","id":"7ef78112-71ab-400a-a194-bf0b5057700a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/rules/:rule/requirements?per_page=15&page=1","description":"<p>Get the partner's questionnaire's offering's rule's requirements (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","rules",":rule","requirements"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"9d3f8e20-dcb0-42bf-98a3-5e88399f2492","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"65f9f8f8-97fe-44db-982a-812e4bd2d9fc","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"10623117-5458-4c90-9a37-0b956564629d","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"3fa5bb3a-cee4-4f0f-b468-ee6da2e00753","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"}]}},"response":[],"_postman_id":"7ef78112-71ab-400a-a194-bf0b5057700a"},{"name":"Get Requirement","id":"5bce5940-bb15-4cbd-8cdb-d0208289c085","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/rules/:rule/requirements/:requirement","description":"<p>Get the partner's questionnaire's offering's rule's requirement.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","rules",":rule","requirements",":requirement"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a5a62fad-3dbc-4dc4-bb91-915f0b930fd8","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"291eea05-487e-4e7b-a1f5-318e08aad8b3","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"32d06901-ee34-42e6-9d30-8055255af50a","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"3e6cfbcd-d219-45ff-a05b-c4bd2743a872","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"},{"id":"428255f5-20cd-4243-a65f-0573e7b08837","type":"any","value":"af89ac7c-ec83-43dc-adf7-82994a686b0d","key":"requirement"}]}},"response":[],"_postman_id":"5bce5940-bb15-4cbd-8cdb-d0208289c085"},{"name":"Post Requirement","id":"4fd13aba-20bd-4772-b139-e2d2e8ba5ca7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"based_on\": \"state\",\n    \"required_answer\": \"dc2b5892-bd34-4822-97d1-9496207de918\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/rules/:rule/requirements","description":"<p>Create a partner's questionnaire's offering's rule's requirement.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","rules",":rule","requirements"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"37be5aa4-7ed8-4ab1-b655-ec39df3bf3fa","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"7e55faf1-f613-4308-aa17-3b098a198142","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"b1a3ca5c-273d-45c8-8388-4f331ad0e2d2","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"9f10d332-2826-42b2-aede-720691d25324","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"}]}},"response":[],"_postman_id":"4fd13aba-20bd-4772-b139-e2d2e8ba5ca7"},{"name":"Patch Requirement","id":"02a5f52d-b82b-4651-82f5-2ef3ed592cf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"based_on\": \"state\",\n    \"required_answer\": \"dc2b5892-bd34-4822-97d1-9496207de918\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/rules/:rule/requirements/:requirement","description":"<p>Update the partner's questionnaire's offering's rule's requirement.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","rules",":rule","requirements",":requirement"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"777ef5cf-90f7-4a66-bcd4-b1eaf0ce8189","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"41fd2fb1-4274-447a-bd8f-4cf818de0017","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"c42986d5-1fd6-4591-a114-fa334db5bd3c","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"f10d7de0-8d67-4b9b-bab3-87631bbfbe6b","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"},{"id":"4cebb409-9b35-4d64-9073-111644f19def","type":"any","value":"af89ac7c-ec83-43dc-adf7-82994a686b0d","key":"requirement"}]}},"response":[],"_postman_id":"02a5f52d-b82b-4651-82f5-2ef3ed592cf0"},{"name":"Delete Requirement","id":"123a9640-6470-4b05-b51b-8e2f8221a4b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/rules/:rule/requirements/:requirement","description":"<p>Delete the partner's questionnaire's offering's rule's requirement.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","rules",":rule","requirements",":requirement"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e0072e29-7f39-4334-b842-0d7e6e68eea2","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"95d8772c-92f3-4b16-af0e-059ec9dfc118","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"0bc39e8a-8999-41e6-a6b9-8cdb471c5842","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"eaaad0cb-90db-4970-bfc5-8c7bf79fe619","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"},{"id":"60be9618-1369-4f45-9d11-439fa7a017da","type":"any","value":"af89ac7c-ec83-43dc-adf7-82994a686b0d","key":"requirement"}]}},"response":[],"_postman_id":"123a9640-6470-4b05-b51b-8e2f8221a4b7"},{"name":"Apply Requirement Review","id":"8bb3adb8-0fd6-40d2-a607-7b158c0a2756","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/rules/:rule/requirements/:requirement/reviews/:review/apply","description":"<p>Apply the review of the rule.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","rules",":rule","requirements",":requirement","reviews",":review","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b12e2980-fb70-4c7a-a92d-531255b17c89","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"74e747da-0646-4520-b70d-503af8332ee9","type":"any","value":"a767ae95-207f-49f5-bb0e-915089bfadd3","key":"questionnaire"},{"id":"346ad838-3b31-41b0-ab9d-ffa6e1430223","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"offering"},{"id":"197b911d-f6e3-45f1-a135-8a91620feb96","type":"any","value":"5be6ba6c-8e59-44d6-ab6f-7fe4144c04ba","key":"rule"},{"id":"37002af4-00d4-4d5f-b9b6-c63f2a06cf34","type":"any","value":"b7b0a28f-a189-4e4d-b2b3-56b4582aeec3","key":"requirement"},{"id":"d9686290-39ce-4a39-b7df-7244142046fa","type":"any","value":"756b0531-2de5-40d6-94ab-6d1f337e0748","key":"review"}]}},"response":[],"_postman_id":"8bb3adb8-0fd6-40d2-a607-7b158c0a2756"}],"id":"dca6b1ca-935a-45e2-9abb-a71cb0f39032","_postman_id":"dca6b1ca-935a-45e2-9abb-a71cb0f39032","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Rules","id":"9edbdb24-dd35-4b7c-a4d9-56d34a60f52a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/rules?per_page=15&page=1&with_relationships[]=requirements","description":"<p>Get the partner's questionnaire's offering's rules (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","rules"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"with_relationships[]","value":"requirements"}],"variable":[{"id":"1dd62aa6-be40-4ab3-b975-8a7bae588d99","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"c76f9c0d-f3bc-4e05-9425-a2e0c1e975a0","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"111d67d3-1c36-4c3e-8cf9-3c18657e6dc8","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"}]}},"response":[],"_postman_id":"9edbdb24-dd35-4b7c-a4d9-56d34a60f52a"},{"name":"Get Rule","id":"422b28cc-acb1-417f-97ff-b0d76eaa3a7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/rules/:rule","description":"<p>Get the partner's questionnaire's offering's rule.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","rules",":rule"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5688886a-0d27-489e-aecb-ba23cee0ca08","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"f1dd35b2-d092-4d22-b3e8-46a1139c1a78","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"19e4ffba-2e1c-43d9-a026-fb2562e83c4e","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"63c81ef9-e23e-4350-ae74-17525a6f2817","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"rule"}]}},"response":[],"_postman_id":"422b28cc-acb1-417f-97ff-b0d76eaa3a7b"},{"name":"Post Rule","id":"16336914-5c2b-46fd-9de6-eacee82c7d75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"rule title\",\n    \"type\": \"not\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/rules","description":"<p>Create a partner's questionnaire's offering's rule.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","rules"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f23084e0-8b1d-4084-b707-c52e32c89e8d","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"4f430cc3-3099-4581-a226-ccfe61676529","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"93be7a47-89bc-4c1d-ba6f-90c4dd1cb1dd","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"}]}},"response":[],"_postman_id":"16336914-5c2b-46fd-9de6-eacee82c7d75"},{"name":"Patch Rule","id":"22a1f45f-64c6-40d1-a715-0bb2fd2be4c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"rule title\",\n    \"type\": \"not\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/rules/:rule","description":"<p>Update the partner's questionnaire's offering's rule.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","rules",":rule"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"fbd0415c-bfaf-49dd-a36f-3485fb029ef7","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"8e382aa4-7950-471a-89b3-8775ddf86823","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"819a6543-eb1c-4221-a842-ebe7f1a6882b","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"ef404fcb-d9da-44e1-8ab1-be38c1d56d39","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"rule"}]}},"response":[],"_postman_id":"22a1f45f-64c6-40d1-a715-0bb2fd2be4c4"},{"name":"Delete Rule","id":"c2402081-1721-4abf-bcbd-07464ea01855","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/rules/:rule","description":"<p>Delete the partner's questionnaire's offering's rule.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","rules",":rule"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"89e6b5bb-f0e7-4306-85a5-08754fec071d","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"f875cd62-1e1d-4e52-bb7b-c03ec6b5f57f","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"7f079b1f-2ba4-4ac9-9d78-92b8ff3e5f38","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"efc66a7e-3c39-4a71-98a4-8170447dd27d","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"rule"}]}},"response":[],"_postman_id":"c2402081-1721-4abf-bcbd-07464ea01855"},{"name":"Post Rule/Requirements","id":"ee4fa7b4-3649-4f22-9640-69f1faa5c09a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"rules\": [\n        {\n            \"id\": \"6ef34c2a-1120-43a2-8bdf-4379a6e3a794\",\n            \"title\": \"title test\",\n            \"type\": \"and\",\n            \"requirements\": [\n                {\n                    \"based_on\": \"state\",\n                    \"required_answer\": \"dc2b5892-bd34-4822-97d1-9496207de918\"\n                },\n                {\n                    \"id\": \"dc0387cf-4995-4d9b-8837-dc1aaf0e65bf\",\n                    \"based_on\": \"bmi\",\n                    \"conditional_answer\": \"<=\",\n                    \"required_answer\": \"40\"\n                },\n                {\n                    \"based_on\": \"question\",\n                    \"required_question_id\": \"94f8f739-bca8-4734-b3a8-5260400d4585\",\n                    \"required_answer\": \"8f2b102b-9e04-4ad3-af40-7bb181b0fe46\"\n                }\n            ]\n        },\n        {\n            \"title\": \"title test or\",\n            \"type\": \"or\",\n            \"requirements\": [\n                {\n                    \"based_on\": \"bmi\",\n                    \"conditional_answer\": \">=\",\n                    \"required_answer\": \"30\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/rules/save","description":"<p>Save partner's questionnaire's question's rules and requirements.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","rules","save"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d11cbee3-4906-41d5-95c1-17a1350ebda5","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"72de8301-0881-4160-846f-d10179ca56a9","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"344cc294-ef19-4bf3-ac49-4ef75d920698","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"offering"}]}},"response":[],"_postman_id":"ee4fa7b4-3649-4f22-9640-69f1faa5c09a"},{"name":"Apply Rule Review","id":"8298bbf3-60c9-435a-94a5-15271249f499","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/rules/:rule/reviews/:review/apply","description":"<p>Apply the review of the rule.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","rules",":rule","reviews",":review","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7043932d-ca6c-4e99-b805-8d4614c799ae","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"8af7fdfc-db72-4953-bc4f-2dc40990d223","type":"any","value":"a767ae95-207f-49f5-bb0e-915089bfadd3","key":"questionnaire"},{"id":"ae756212-b5d3-4414-ab89-b00338995b2a","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"offering"},{"id":"26351df7-17eb-4f62-967c-0cf47c150cc3","type":"any","value":"5be6ba6c-8e59-44d6-ab6f-7fe4144c04ba","key":"rule"},{"id":"9049027b-0ef1-43cf-aff2-a11a9d190337","type":"any","value":"756b0531-2de5-40d6-94ab-6d1f337e0748","key":"review"}]}},"response":[],"_postman_id":"8298bbf3-60c9-435a-94a5-15271249f499"}],"id":"da395d99-456b-41da-87cb-d53bfb52d7b0","_postman_id":"da395d99-456b-41da-87cb-d53bfb52d7b0","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Offerings","id":"4992c006-669b-46d2-9032-60037c084960","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings?per_page=15&page=1&with_relationships[]=rules.requirements","description":"<p>Get the partner's questionnaire's offerings (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"with_relationships[]","value":"rules.requirements"}],"variable":[{"id":"098e05dd-a2ea-4c13-9279-27e22226418d","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"2bb1f4e1-8ba6-48fe-a8ea-a6dea28b32f2","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"}]}},"response":[],"_postman_id":"4992c006-669b-46d2-9032-60037c084960"},{"name":"Get Offering","id":"198bd351-1b6d-4f28-a774-2076ab721cb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering","description":"<p>Get the partner's questionnaire's offering.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8ddd3baa-7fc6-4e14-9780-9788a1b24070","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"2960cdb0-f20e-4f0a-a3d5-523f6cb2b515","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"9e63c161-0200-4ffb-bb2d-93ef1c189ad4","type":"any","value":"fb11bab9-0b6d-416c-b7c1-fcdeb5bf264d","key":"offering"}]}},"response":[],"_postman_id":"198bd351-1b6d-4f28-a774-2076ab721cb4"},{"name":"Get Offering Translation","id":"5fc5db04-ac84-4736-a611-bce52d5c5243","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/translate?target_language=es-MX","description":"<p>Get the partner's questionnaire's offering.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","translate"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"source_language","value":"en"},{"key":"target_language","value":"es-MX"}],"variable":[{"id":"b24174a8-25ce-4f98-84f6-9450dd71b8ad","type":"any","value":"{{partner_id}}","key":"partner"},{"id":"7e14c3df-f04e-4a63-94fd-e22a0a19db7f","type":"any","value":"{{partner_questionnaire_id}}","key":"questionnaire"},{"id":"fc001382-f685-4351-b5de-5767bc87ddeb","type":"any","value":"{{partner_offering_id}}","key":"offering"}]}},"response":[],"_postman_id":"5fc5db04-ac84-4736-a611-bce52d5c5243"},{"name":"Post Offerings","id":"baa8984a-ad3f-4531-add7-4aa8babd5f10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_service_id\": \"a4a3e155-958f-4afa-95f6-a2a944c11281\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings","description":"<p>Create a partner's questionnaire's offering.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7558e58f-4eb1-4a1c-a218-f8675f1ed7c6","type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"id":"a36ca010-e8d6-406d-97b4-67c76434f10f","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"}]}},"response":[],"_postman_id":"baa8984a-ad3f-4531-add7-4aa8babd5f10"},{"name":"Patch Offering","id":"7aab098b-c1eb-400a-b361-2c246f8aea40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_service_id\": \"a4a3e155-958f-4afa-95f6-a2a944c11281\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering","description":"<p>Update the partner's questionnaire's offering.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"type":"any","value":"fb11bab9-0b6d-416c-b7c1-fcdeb5bf264d","key":"offering"}]}},"response":[],"_postman_id":"7aab098b-c1eb-400a-b361-2c246f8aea40"},{"name":"Patch Offering Translation","id":"e07e4058-38fb-4ff8-b353-52a3194aea11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"source_language\": \"en\",\n    \"target_language\": \"es-MX\",\n    \"partner_service_id\": \"{{partner_service_id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/translate","description":"<p>Update the partner's questionnaire's offering.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","translate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"fa1545db-f9d1-4607-ad43-a2748af6f17c","type":"any","value":"{{partner_id}}","key":"partner"},{"id":"9b1c8424-ff43-499d-ba8f-43b2a55dd7a0","type":"any","value":"{{partner_questionnaire_id}}","key":"questionnaire"},{"id":"51063a36-6d6d-499e-8735-cdac43541c83","type":"any","value":"{{partner_offering_id}}","key":"offering"}]}},"response":[],"_postman_id":"e07e4058-38fb-4ff8-b353-52a3194aea11"},{"name":"Delete Offering","id":"344a82b8-fa3b-4731-844d-9ad02ee42507","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering","description":"<p>Delete the partner's questionnaire's offering.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"7b06e111-2c05-4419-9be0-e18f3f9a45e8","key":"partner"},{"type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"type":"any","value":"fb11bab9-0b6d-416c-b7c1-fcdeb5bf264d","key":"offering"}]}},"response":[],"_postman_id":"344a82b8-fa3b-4731-844d-9ad02ee42507"},{"name":"Apply Offering Review","id":"4ebc5d20-e7c2-4890-9dfc-830e4ddfba0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/offerings/:offering/reviews/:review/apply","description":"<p>Apply the review of the offering.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","offerings",":offering","reviews",":review","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9eb780cc-9126-48cb-8667-4d73f09b8b29","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"d6b2c1dc-5a96-420b-85c7-767b4d173b01","type":"any","value":"a767ae95-207f-49f5-bb0e-915089bfadd3","key":"questionnaire"},{"id":"26d6621e-84a7-4b88-a987-feeb222a07d3","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"offering"},{"id":"eea26355-c651-4bec-9461-664d8d464f67","type":"any","value":"756b0531-2de5-40d6-94ab-6d1f337e0748","key":"review"}]}},"response":[],"_postman_id":"4ebc5d20-e7c2-4890-9dfc-830e4ddfba0b"}],"id":"660944b5-0515-41ac-bf58-a32f0f75d677","_postman_id":"660944b5-0515-41ac-bf58-a32f0f75d677","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Audits","item":[{"name":"Get Audits","id":"b589229a-df71-48e4-b275-112a76b3e290","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/audits?order=desc&page=1&per_page=15","description":"<p>Get the questionnaire's audits (paginated).</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","audits"],"host":["https://api.mdintegrations.com"],"query":[{"key":"order","value":"desc"},{"key":"page","value":"1"},{"key":"per_page","value":"15"}],"variable":[{"id":"3c23cfa0-24ae-4e8b-8b5e-b2ca586ec610","type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"},{"id":"58355ac2-f5fd-46bf-bd1c-e9bcaf751c87","type":"any","value":"","key":"questionnaire"}]}},"response":[],"_postman_id":"b589229a-df71-48e4-b275-112a76b3e290"}],"id":"2066776f-0f21-4fd9-830f-0b2128e3a0d1","_postman_id":"2066776f-0f21-4fd9-830f-0b2128e3a0d1","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Questionnaires","id":"7867b069-85cb-4259-98d3-642f37272887","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires?per_page=15&page=1&with_relationships[]=questions.rules.requirements&with_relationships[]=questions.options&with_relationships[]=questions.review","description":"<p>Get the partner's questionnaires (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"with_relationships[]","value":"questions.rules.requirements"},{"key":"with_relationships[]","value":"questions.options"},{"key":"with_relationships[]","value":"questions.review"},{"disabled":true,"key":"order","value":"asc"},{"disabled":true,"key":"sort","value":"name"},{"disabled":true,"key":"search","value":"term"},{"disabled":true,"key":"trashed","value":"only/with"}],"variable":[{"type":"any","value":"94124ff7-7942-415b-b556-2702c77ebaa7","key":"partner"}]}},"response":[],"_postman_id":"7867b069-85cb-4259-98d3-642f37272887"},{"name":"Get Questionnaire","id":"81a89209-c3d9-43e2-9f90-87046b097abe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire","description":"<p>Get the partner's questionnaire.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2c062a90-6f6e-48b9-ac1d-18d7b6708b40","type":"any","value":"{{partner_id}}","key":"partner"},{"id":"f8717736-495e-462b-ab26-9b4745a2f297","type":"any","value":"{{partner_questionnaire_id}}","key":"questionnaire"}]}},"response":[],"_postman_id":"81a89209-c3d9-43e2-9f90-87046b097abe"},{"name":"Get Questionnaire Translation","id":"5b15b3e6-c491-4555-b9f5-cd64314d6620","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/translate?target_language=es-MX","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","translate"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"source_language","value":"en"},{"key":"target_language","value":"es-MX"}],"variable":[{"id":"022f4323-7146-4aab-9ea2-f64be86df194","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"1b808eb9-62f9-4305-b379-28adea0176ae","type":"any","value":"a767ae95-207f-49f5-bb0e-915089bfadd3","key":"questionnaire"}]}},"response":[],"_postman_id":"5b15b3e6-c491-4555-b9f5-cd64314d6620"},{"name":"Post Questionnaire","id":"1403ca4a-fe1d-4f70-8451-3e74ab68dd71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"name\",\n    \"active\": true,\n    \"enabled\": false,\n    \"intro_title\": \"intro title\",\n    \"intro_description\": \"intro description\",\n    \"outro_title\": \"outro title\",\n    \"outro_description\": \"outro description\",\n    \"redirect_url\": \"url.dev.com\",\n    \"redirect_title\": \"redirect title\",\n    \"has_pharmacy\": false,\n    \"terms_of_service\": \"terms of service\",\n    \"always_ask_weight_height\": false,\n    \"ask_blood_pressure\": false,\n    \"metadata\": \"metadata via api\",\n    \"stripes_key\": \"key-one\",\n    \"is_condensed_question\": false,\n    \"is_show_welcome\": true,\n    \"is_show_thanks\": true,\n    \"allergies_title\": \"Do you have any drug allergies or intolerances?\",\n    \"allergies_description\": \"\",\n    \"pregnancy_title\": \"Are you pregnant or expecting to be?\",\n    \"pregnancy_description\": \"Medications on your treatment plan might not be recommended for pregnant woman.\",\n    \"current_medications_title\": \"Are you taking any medications?\",\n    \"current_medications_description\": \"Many medications have interactions. Your doctor needs to know every medication that you take to help avoid any harmful interactions\",\n    \"medical_conditions_title\": \"Any medical conditions your doctor should know about?\",\n    \"medical_conditions_description\": \"\",\n    \"drivers_license_title\": \"ID verification\",\n    \"drivers_license_description\": \"We'll need a clear picture of a valid ID or drivers license so we can make sure the data you provided is accurate\",\n    \"av_video_title\": \"Record a quick video\",\n    \"av_video_description\": \"Please record a short video of yourself stating your full name, date of birth and conditions or symptoms you are consulting for. Please take two full steps away from your device or hold your camera at arms length\",\n    \"metrics_title\": \"Let's get your numbers\",\n    \"metrics_description\": \"\",\n    \"pharmacy_selection_title\": \"Choose your preferred pharmacy\",\n    \"pharmacy_selection_description\": \"Select your favorite pharmacy on your region for us to eletronically send your prescription to them.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires","description":"<p>Create a partner's questionnaire.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"1403ca4a-fe1d-4f70-8451-3e74ab68dd71"},{"name":"Patch Questionnaire Translation","id":"91ca3848-b1da-4373-a40d-c7db33d3d093","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"source_language\": \"en\",\n    \"target_language\": \"es-MX\",\n    \"name\": \"name\",\n    \"intro_title\": \"intro title\",\n    \"intro_description\": \"intro description\",\n    \"outro_title\": \"outro title\",\n    \"outro_description\": \"outro description\",\n    \"redirect_title\": \"redirect title\",\n    \"terms_of_service\": \"terms of service\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/translate","description":"<p>Update the partner's questionnaire.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","translate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"95578914-7258-47c5-a68d-476af13ec40c","type":"any","value":"{{partner_id}}","key":"partner"},{"id":"43c21494-b6e3-4e4f-a88c-5b772756f10f","type":"any","value":"{{partner_questionnaire_id}}","key":"questionnaire"}]}},"response":[],"_postman_id":"91ca3848-b1da-4373-a40d-c7db33d3d093"},{"name":"Patch Questionnaire","id":"bb96cd9a-c3a8-4d81-bbf0-afd1e10bddcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"name\",\n    \"enabled\": false,\n    \"intro_title\": \"intro title\",\n    \"intro_description\": \"intro description\",\n    \"outro_title\": \"outro title\",\n    \"outro_description\": \"outro description\",\n    \"redirect_url\": \"url.dev.com\",\n    \"redirect_title\": \"redirect title\",\n    \"has_pharmacy\": false,\n    \"terms_of_service\": \"terms of service\",\n    \"always_ask_weight_height\": false,\n    \"is_body_temperature_asked\": false,\n    \"is_oxygen_saturation_asked\": false,\n    \"ask_blood_pressure\": false,\n    \"metadata\": \"metadata via api\",\n    \"stripes_key\": \"key-one\",\n    \"is_condensed_question\": false,\n    \"is_show_welcome\": false,\n    \"is_show_thanks\": false,\n       \"allergies_title\": \"Do you have any drug allergies or intolerances?\",\n    \"allergies_description\": \"\",\n    \"pregnancy_title\": \"Are you pregnant or expecting to be?\",\n    \"pregnancy_description\": \"Medications on your treatment plan might not be recommended for pregnant woman.\",\n    \"current_medications_title\": \"Are you taking any medications?\",\n    \"current_medications_description\": \"Many medications have interactions. Your doctor needs to know every medication that you take to help avoid any harmful interactions\",\n    \"medical_conditions_title\": \"Any medical conditions your doctor should know about?\",\n    \"medical_conditions_description\": \"\",\n    \"drivers_license_title\": \"ID verification\",\n    \"drivers_license_description\": \"We'll need a clear picture of a valid ID or drivers license so we can make sure the data you provided is accurate\",\n    \"av_video_title\": \"Record a quick video\",\n    \"av_video_description\": \"Please record a short video of yourself stating your full name, date of birth and conditions or symptoms you are consulting for. Please take two full steps away from your device or hold your camera at arms length\",\n    \"metrics_title\": \"Let's get your numbers\",\n    \"metrics_description\": \"\",\n    \"pharmacy_selection_title\": \"Choose your preferred pharmacy\",\n    \"pharmacy_selection_description\": \"Select your favorite pharmacy on your region for us to eletronically send your prescription to them.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire","description":"<p>Update the partner's questionnaire.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"type":"any","value":"a767ae95-207f-49f5-bb0e-915089bfadd3","key":"questionnaire"}]}},"response":[],"_postman_id":"bb96cd9a-c3a8-4d81-bbf0-afd1e10bddcb"},{"name":"Delete Questionnaire","id":"03b2567a-58f6-4174-a67b-57a19bc30c44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire","description":"<p>Deletes the partner's questionnaire.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"type":"any","value":"a767ae95-207f-49f5-bb0e-915089bfadd3","key":"questionnaire"}]}},"response":[],"_postman_id":"03b2567a-58f6-4174-a67b-57a19bc30c44"},{"name":"Apply Questionnaire Review","id":"a07ef7ba-b3cd-4d2d-91f5-cffa747d1080","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/reviews/:review/apply","description":"<p>Apply the review of the questionnaire.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","reviews",":review","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"29ffe0a3-c7b5-488c-b8f6-154294e2730b","type":"any","value":"94124ff7-7942-415b-b556-2702c77ebaa7","key":"partner"},{"id":"a03cf4e9-19df-4bac-985b-e6931eb6259b","type":"any","value":"9a458bf6-626a-41b6-873e-c6c2211a1911","key":"questionnaire"},{"id":"4680c0c5-5c36-4df1-b35c-c7b777c16d33","type":"any","value":"c48e1751-225f-40ed-92db-419281afca2d","key":"review"}]}},"response":[],"_postman_id":"a07ef7ba-b3cd-4d2d-91f5-cffa747d1080"},{"name":"Apply Questionnaires Reviews","id":"22ed7fd7-854d-4e67-889b-8e3964317243","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/reviews/apply","description":"<p>Apply all reviews for all questionnaires of the partner.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires","reviews","apply"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9a59048c-9dae-41a0-af7c-26154454a5c3","type":"any","value":"94124ff7-7942-415b-b556-2702c77ebaa7","key":"partner"}]}},"response":[],"_postman_id":"22ed7fd7-854d-4e67-889b-8e3964317243"},{"name":"Restore Questionnaire","id":"983811d4-97b7-4ea5-a7f9-609ec9d749e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/restore","description":"<p>Restore the partner's questionnaire.</p>\n","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","restore"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9ce7e7b2-7574-4920-a284-6597bd23d517","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"d045ee6e-5cef-43e1-854a-d3acd607acef","type":"any","value":"a767ae95-207f-49f5-bb0e-915089bfadd3","key":"questionnaire"}]}},"response":[],"_postman_id":"983811d4-97b7-4ea5-a7f9-609ec9d749e9"},{"name":"Replicate Questionnaire","id":"023a6169-830b-4f4f-aed1-66910e2e28f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\",\n    \"is_offerings_ignored\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/questionnaires/:questionnaire/replicate","description":"<p>Replicates the partner's questionnaire.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","questionnaires",":questionnaire","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"type":"any","value":"4a70f660-bad5-40be-a76d-a47e988a3005","key":"questionnaire"}]}},"response":[],"_postman_id":"023a6169-830b-4f4f-aed1-66910e2e28f5"}],"id":"5b049253-7bb7-4119-8359-d138e72d52cd","_postman_id":"5b049253-7bb7-4119-8359-d138e72d52cd","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tags","item":[{"name":"Get Tags","id":"27090117-670f-43a6-a276-4f880e22b105","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/tags?per_page=15&page=1","description":"<p>Delete the partner's questionnaire.</p>\n","urlObject":{"path":["web","partners",":partner","tags"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"disabled":true,"key":"type","value":"global"},{"disabled":true,"key":"key","value":"tag-key"}],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"27090117-670f-43a6-a276-4f880e22b105"},{"name":"Delete Tag","id":"9f694031-96de-44e6-a39f-35cef31eb030","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/tags/:tag","description":"<p>Deletes the partner's tag.</p>\n","urlObject":{"path":["web","partners",":partner","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b0930865-6e99-42a3-b025-287c43fdeb9e","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"cac554b4-9071-4969-8a61-23b6fb61ae45","type":"any","value":"844fbde1-c33e-4c27-a747-80047719b559","key":"tag"}]}},"response":[],"_postman_id":"9f694031-96de-44e6-a39f-35cef31eb030"},{"name":"Create Tag","id":"e79ad0b6-c0a7-4c84-a6cc-75204d4c4638","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag Name\",\n    \"key\": \"tag-key\",\n    \"color\": \"#5899c7\",\n    \"description\": \"Tag Description.\",\n    \"removable_role\": \"admin\",\n    \"auto_detach_status\": [\"waiting\", \"cancelled\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/tags","description":"<p>Creates a tag for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>key*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>color*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>removable_role</td>\n<td>string (admin)</td>\n</tr>\n<tr>\n<td>auto_detach_status</td>\n<td>array (created, assigned, waiting, support, processing, cancelled, completed)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","tags"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"e79ad0b6-c0a7-4c84-a6cc-75204d4c4638"},{"name":"Update Tag","id":"371bcf50-e1a5-42ea-9d9b-3e3763dc951b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"wildcard-key-updated\",\n    \"value\": \"wildcard value updated\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/tags/:tag","description":"<p>Updates the partner's tag.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>removable_role (admin)</td>\n<td>string</td>\n</tr>\n<tr>\n<td>auto_detach_status</td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"type":"any","value":"844fbde1-c33e-4c27-a747-80047719b559","key":"tag"}]}},"response":[],"_postman_id":"371bcf50-e1a5-42ea-9d9b-3e3763dc951b"}],"id":"81c149f7-28ce-492c-a165-1763d7bff15a","_postman_id":"81c149f7-28ce-492c-a165-1763d7bff15a","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Vouchers","item":[{"name":"Create Voucher","id":"806e9753-2af8-4a24-a3eb-1fda7b854e4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"expires_at\": \"2023-09-13 12:11:43\",\n    \"demo\": false,\n    \"patient_id\": \"0003941f-698b-4cf0-9837-462cbccec39f\",\n    \"medications\": [\n        {\n            \"id\": \"006eb7a5-5f15-4df1-9a96-2c0e453c7ba6\",\n            \"pharmacy_id\": null,\n            \"force_pharmacy\": false\n        }\n    ],\n    \"compounds\": [\n        {\n            \"id\": \"01642f8b-6935-45d3-8931-928f8e4b38b6\",\n            \"pharmacy_id\": null,\n            \"force_pharmacy\": false\n        }\n    ],\n    \"supplies\": [\n        {\n            \"id\": \"9aaa4a37-7602-4fe1-a444-99c9d61ebf9b\",\n            \"pharmacy_id\": 4,\n            \"force_pharmacy\": true\n        }\n    ],\n    \"services\": [\n        {\n            \"id\": \"19dfc03d-bfff-4302-9c70-c9df88410b9a\"\n        }\n    ],\n    \"diseases\": [\n        {\n            \"id\": \"0004b70f-d56f-4234-af25-475349f956f3\"\n        }\n    ],\n    \"hold_status\": false,\n    \"questionnaire_id\": \"56d833f1-21e1-4c61-aab1-d61a15ec43ea\",\n    \"clinician_id\": \"0302a480-da56-41ee-91eb-af93b41c9c24\",\n    \"environment_id\": \"5698c890-e79b-4d27-9a92-500dfffb1ae6\",\n    \"pharmacy_id\": 12918,\n    \"pharmacy_name\": \"Mercy Pharmacy\",\n    \"metadata\": null\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/vouchers","description":"<p>Creates a voucher for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>expires_at*</td>\n<td>datetime</td>\n</tr>\n<tr>\n<td>demo*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>medications</td>\n<td>array</td>\n</tr>\n<tr>\n<td>compounds</td>\n<td>array</td>\n</tr>\n<tr>\n<td>supplies</td>\n<td>array</td>\n</tr>\n<tr>\n<td>diseases</td>\n<td>array</td>\n</tr>\n<tr>\n<td>hold_status</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>questionnaire_id*</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-medications\">Payload (medications)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id*</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>force_pharmacy*</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-compounds\">Payload (compounds)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id*</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>force_pharmacy*</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-supplies\">Payload (supplies)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id*</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>force_pharmacy*</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-services\">Payload (services)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id*</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-diseases\">Payload (diseases)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id*</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","vouchers"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"}]}},"response":[],"_postman_id":"806e9753-2af8-4a24-a3eb-1fda7b854e4b"},{"name":"Get Vouchers","id":"c6b29e01-07b9-40ce-bd79-3f572a7a7d2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/vouchers?per_page=15&page=1&voucher_id=af1ba747-a859-4dbd-9848-b194210cf022","description":"<p>Get the partner's vouchers (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","vouchers"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"description":{"content":"<p>Optional</p>\n","type":"text/plain"},"key":"voucher_id","value":"af1ba747-a859-4dbd-9848-b194210cf022"}],"variable":[{"type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"}]}},"response":[],"_postman_id":"c6b29e01-07b9-40ce-bd79-3f572a7a7d2f"},{"name":"Get Voucher","id":"402a87c3-8128-4683-a828-30197bf865f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/vouchers/:voucher","description":"<p>Get the partner's voucher details.</p>\n","urlObject":{"path":["web","partners",":partner","vouchers",":voucher"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"be31ce56-85f3-4424-8820-24982edf7f68","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"d35e66a9-cf04-440f-a1c6-61cc854bcf3e","type":"any","value":"012ac89f-a067-458a-aee0-945e587b4b8b","key":"voucher"}]}},"response":[],"_postman_id":"402a87c3-8128-4683-a828-30197bf865f7"},{"name":"Delete Voucher","id":"a4a47e36-64cc-4233-b723-79a0eb7b0d8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/vouchers/:voucher","description":"<p>Deletes the partner's voucher.</p>\n","urlObject":{"path":["web","partners",":partner","vouchers",":voucher"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4d6a250f-3604-42eb-8135-6fddf129664b","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"6405248f-06ef-4916-85b0-956755c87abf","type":"any","value":"012ac89f-a067-458a-aee0-945e587b4b8b","key":"voucher"}]}},"response":[],"_postman_id":"a4a47e36-64cc-4233-b723-79a0eb7b0d8d"},{"name":"Expire Voucher","id":"75d92b99-7f9d-49d9-8a8d-42774cbc5568","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/vouchers/:voucher/expire","description":"<p>Expires the partner's voucher.</p>\n","urlObject":{"path":["web","partners",":partner","vouchers",":voucher","expire"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a3635981-a308-4ee7-a1d2-617e05aedc5d","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"73535d6e-0ce8-4b5e-a1a8-ebe97a407945","type":"any","value":"012ac89f-a067-458a-aee0-945e587b4b8b","key":"voucher"}]}},"response":[],"_postman_id":"75d92b99-7f9d-49d9-8a8d-42774cbc5568"}],"id":"6186686d-71ee-4b27-aa67-7290efd1a447","_postman_id":"6186686d-71ee-4b27-aa67-7290efd1a447","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Webhooks","item":[{"name":"Get Webhooks","id":"0a2fb7ad-8b93-47e2-924f-f90e83f41187","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/webhooks?environments[]=live&order=desc&page=1&per_page=15","description":"<p>Get the partner's webhooks (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","webhooks"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"model_id","value":""},{"key":"environments[]","value":"live"},{"key":"order","value":"desc"},{"key":"page","value":"1"},{"disabled":true,"key":"status","value":"queued"},{"disabled":true,"key":"dispatch","value":"manual"},{"key":"per_page","value":"15"}],"variable":[{"type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"}]}},"response":[],"_postman_id":"0a2fb7ad-8b93-47e2-924f-f90e83f41187"},{"name":"Get Webhook","id":"88c26894-13b5-4c49-97eb-7fed68d96851","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/webhooks/:webhook","description":"<p>Get the partner's webhook details.</p>\n","urlObject":{"path":["web","partners",":partner","webhooks",":webhook"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"98676dbf-000e-4925-af2d-9cccab0013a8","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"aac78d9c-aff7-4e73-a133-b85f9232eb49","type":"any","value":"f92dbfcd-be3d-4fcb-9253-b5c5df7687fe","key":"webhook"}]}},"response":[],"_postman_id":"88c26894-13b5-4c49-97eb-7fed68d96851"},{"name":"Test Webhook","id":"f31d9e1a-06f1-4da6-b184-1921d58c87d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"message_created\",\n    \"metadata\": {\n        \"id\": 20190901\n    },\n    \"encounter_id\": \"9971c903-0f79-4ca6-ba52-2c9f3a90497d\",\n    \"voucher_id\": \"326b18f4-390d-41c9-ace5-a2ab220768da\",\n    \"patient_id\": \"796fef8b-a4d5-4e19-8a58-852adfbe8709\",\n    \"message_id\": \"e6b0c466-6a14-4231-bb17-388cba5c511f\",\n    \"channel\": \"patient\",\n    \"from\": \"clinician\",\n    \"message\": \"An encounter message.\",\n    \"environment_id\": \"5698c890-e79b-4d27-9a92-500dfffb1ae6\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/webhooks/test","description":"<p>Tests the partner's webhook.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>event*</td>\n<td>string (case_processing, case_cancelled, case_waiting, case_completed, case_transferred_to_support, case_assigned_to_clinician, message_created, patient_modified, patient_deleted, prescription_submitted, case_created, voucher_used)</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>object</td>\n</tr>\n<tr>\n<td>encounter_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>voucher_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>patient_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>message_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>channel</td>\n<td>string (patient, support)</td>\n</tr>\n<tr>\n<td>from</td>\n<td>string (support, patient, clinician)</td>\n</tr>\n<tr>\n<td>message</td>\n<td>string</td>\n</tr>\n<tr>\n<td>environment_id*</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","webhooks","test"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"}]}},"response":[],"_postman_id":"f31d9e1a-06f1-4da6-b184-1921d58c87d0"},{"name":"Post Webhook Resend","id":"49f43beb-b595-4737-b2ba-ec4f388eb23b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/webhooks/:webhook/resend","description":"<p>Resend a partner's webhook.</p>\n","urlObject":{"path":["web","partners",":partner","webhooks",":webhook","resend"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"33563356-7fc2-46fc-b2bc-4e225e3416d7","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"id":"6529eef0-072b-45da-aad5-b83a1f5d8de8","type":"any","value":"3aa2f97c-5d36-4a64-8702-38f5dc2bdad5","key":"webhook"}]}},"response":[],"_postman_id":"49f43beb-b595-4737-b2ba-ec4f388eb23b"}],"id":"a8d62aeb-402e-46d4-b6d0-27ea4d65bd43","_postman_id":"a8d62aeb-402e-46d4-b6d0-27ea4d65bd43","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Slack","item":[{"name":"Create Partner's Slack Channel","id":"a7d9b9b3-23b9-4453-b46d-9385aad581c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/slack/channel","description":"<p>With this endpoint, you can create a slack channel for direct communication with MD Integrations.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","slack","channel"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8b5e099f-bb79-49fe-9579-62a0ea67fcba","type":"any","value":"b99e6fae-b0c6-40aa-978b-b18577242f5f","key":"partner"}]}},"response":[],"_postman_id":"a7d9b9b3-23b9-4453-b46d-9385aad581c0"}],"id":"fb93ed06-5141-4bd0-9b0b-ec1eed979ec5","_postman_id":"fb93ed06-5141-4bd0-9b0b-ec1eed979ec5","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tests","item":[{"name":"Encounters","item":[{"name":"Create Encounter","id":"0994e8f6-efa5-4dc0-9cb1-e84d28496e6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"patient_id\": \"5b803d51-b6e4-4ae5-b7d2-ee3e1dba7d2d\",\n    \"clinician_id\": \"00115b3a-cda1-475d-b1c9-0315bb8b906f\",\n    \"metadata\": \"case number 15\",\n    \"is_chargeable\": true,\n    \"case_files\": [],\n    \"case_services\": [\n        {\n            \"description\": \"Device that...\",\n            \"service_type\": \"device\",\n            \"title\": \"Device 14\",\n            \"additional_note\": \"Service additional note\",\n            \"clinical_notes\": \"Some clinical note\",\n            \"thank_you_note\": \"Some thank you note\",\n            \"pharmacy_fax_number\": \"+587965462316\",\n            \"include_drivers_license\": true,\n            \"send_pdf_file_automatically\": false\n        },\n        {\n            \"partner_service_id\": \"a1f8fc44-b939-4b46-a646-7c3245d6ee62\"\n        }\n    ],\n    \"case_prescriptions\": [\n        {\n            \"dosespot_medication_id\": 310964,\n            \"refills\": 2,\n            \"quantity\": 1.5,\n            \"days_supply\": 30,\n            \"directions\": \"Take one at the morning and another before bed\",\n            \"dispense_unit_id\": 99,\n            \"pharmacy_id\": 13012,\n            \"no_substitutions\": true,\n            \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n            \"effective_date\": \"2023-05-10\"\n        }\n    ],\n    \"case_questions\": [\n        {\n            \"question\": \"Are you pregnant?\",\n            \"answer\": \"false\",\n            \"type\": \"boolean\",\n            \"important\": true,\n            \"is_critical\": true,\n            \"display_in_pdf\": true,\n            \"description\": \"Here is the question description\",\n            \"label\": \"Question Label Example\",\n            \"metadata\": \"example of metatada #123 for question\",\n            \"displayed_options\": [\n                \"true\",\n                \"false\"\n            ]\n        }\n    ],\n    \"tags\": [\n        {\n            \"tag_id\": \"d99ac893-9bd6-49ae-befe-4cf625e97d7c\"\n        }\n    ]\n}"},"url":"https://api.mdintegrations.com/web/partners/:partner/tests/encounters","description":"<p>Create a new encounter for a given patient.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>patient_id</td>\n<td>uuid*</td>\n<td>Patient ID. Check <strong>Partners &gt; Cases &gt; Patients</strong> to create new patients</td>\n</tr>\n<tr>\n<td>reference_case_id</td>\n<td>uuid</td>\n<td>The referenced case UUID</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the case. (e.g., an ID that will be used to identify this case in another database)</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid*</td>\n<td>Clinician to assign the case to, in case there is a preference for a specific clinician in a specific case. If the field is not sent, a clinician will be assigned according to MDIntegrations algorithm.</td>\n</tr>\n<tr>\n<td>case_prescriptions</td>\n<td>array(Prescription)</td>\n<td>List of prescriptions to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>case_services</td>\n<td>array(Service)</td>\n<td>List of services to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>case_files</td>\n<td>array(uuid)</td>\n<td>Files ID to be attached to the case. The files must be uploaded before creating a case. To upload files check <strong>Partners &gt; Files</strong></td>\n</tr>\n<tr>\n<td>case_questions</td>\n<td>array(Question)</td>\n<td>Questions and answers list</td>\n</tr>\n<tr>\n<td>is_chargeable</td>\n<td>boolean</td>\n<td>Whether or not the case should be charged</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array(object(uuid))</td>\n<td>Tags ID to be attached to the case.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"prescription-properties\">Prescription Properties</h2>\n<p><strong>Important</strong>: a prescription object must always contain <strong>exactly one</strong> drug type ID from the following:</p>\n<p>[<code>partner_medication_id</code>, <code>partner_compound_id</code>, <code>partner_supply_id</code>, <code>dosespot_supply_ndc</code>]</p>\n<p><strong>Note</strong>: We strongly advise asking our medical team to add medications to your company's dashboard so it's easier to manage prescriptions details from there. Should you need to add a one-time-only medication, you can use the dosespot_medication_id to reference a Dosespot medication directly.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_compound_id</td>\n<td>uuid</td>\n<td>Partner compound ID. Check <strong>Partners &gt; Compounds</strong> to get a <code>partner_compound_id</code> for a given compound. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_supply_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_medication_id</td>\n<td>uuid</td>\n<td>Partner medication ID. ItIt can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_medication_id</code> and <code>partner_supply_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_supply_id</td>\n<td>uuid</td>\n<td>Partner supply ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_medication_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>dosespot_supply_ndc</td>\n<td>string</td>\n<td>Dosespot Supply NDC code. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_medication_id</code> and <code>partner_supply_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer (from 0 to 99)</td>\n<td>Total of refills for the given medication * <strong>Required if</strong> <code>dosespot_medication_id</code> or <code>dosespot_supply_ndc</code> is present</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n<td>Medication quantity string representing a float number (from 0 to 9999999999) <strong>Required if</strong> <code>dosespot_medication_id</code> or <code>dosespot_supply_ndc</code> is present</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer (from 0 to 365)</td>\n<td>Number of days of supply of the medication provided - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string(140)</td>\n<td>Instructions about how the medication is administered <strong>Required if</strong> <code>dosespot_medication_id</code> or <code>dosespot_supply_ndc</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the prescription</td>\n</tr>\n<tr>\n<td>no_substitutions</td>\n<td>boolean</td>\n<td>Whether or not a medication or compound can be changed</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n<td>- <strong>Medication</strong> (prescription with a <code>dosespot_medication_id</code> included): each medication has one associated dispense unit ID. To get the dispense unit ID associated with a given medication check <strong>Partners &gt; Medications &gt; Get details for a specific medication</strong>;  <br />  <br />- <strong>Compound</strong> (prescription with <code>partner_compound_id</code> included): compounds can be associated with any available dispense unit ID. For a list of all available dispense units check <strong>Partners &gt; Dispense Units</strong>. * <strong>Required if</strong> <code>dosespot_medication_id</code> or <code>dosespot_supply_ndc</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n<td>Pharmacy where the prescription must be sent to. Check <strong>Partners &gt; Pharmacies &gt; Get pharmacies</strong> to get a list of all pharmacies available.  <br />  <br /><strong>Important note</strong>:  <br />  <br />Dosespot works with <strong>different IDs</strong> for pharmacies according to the environment.  <br />Example:  <br />- Curexa pharmacy ID in <strong>staging</strong> environment: 133012  <br />- Curexa pharmacy ID in <strong>production</strong> environment: 29992</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>string</td>\n<td>Date from which prescription is effective (time will always be 00:00:00). Format: <code>Y-m-d</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"prescription-status-flow\">Prescription Status Flow</h3>\n<p><code>pending</code>: When prescription is created on MDI side and not synced with Dosespot yet;<br /><code>processing</code>: When MDI receives the Dosespot ID and send through the Dosespot the prescription to Pharmacy;<br /><code>completed</code>: When Dosespot responds to the MDI that this prescription has been verified by the pharmacy;<br /><code>cancelled</code>: When a doctor cancel the prescription (<em>when it was synced with Dosespot we try to cancel it there too</em>)</p>\n<img src=\"https://content.pstmn.io/b5039151-5d8d-48e7-8fda-24feff80438b/aW1hZ2UucG5n\" width=\"1637\" height=\"421\" />\n\n<h1 id=\"question-properties\">Question Properties</h1>\n<p>For more information about <code>questions</code> and how they affect prescriptions, contact us via Slack or send an email to:<br /><a href=\"https://mailto:mserota@mdintegrations.com\">mserota@mdintegrations.com</a> and <a href=\"https://mailto:jeff@mdintegrations.com\">jeff@mdintegrations.com</a></p>\n<p>We are also available through Slack (partner's channel).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>question</td>\n<td>string(255)*</td>\n<td>Question</td>\n</tr>\n<tr>\n<td>answer</td>\n<td>text*</td>\n<td>Answer</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string*</td>\n<td>Question type. Available options: <code>boolean</code>, <code>number</code> or <code>string</code></td>\n</tr>\n<tr>\n<td>important</td>\n<td>boolean</td>\n<td>Flag to set a question as <code>important</code>.  <br />  <br /><strong>Important Note</strong>:  <br />This flag is used to identify which questions could affect the final prescription. You could also implement custom logic to set this flag only when specific answers are selected.</td>\n</tr>\n<tr>\n<td>display_in_pdf</td>\n<td>boolean</td>\n<td>Flag to set if this question will be displayed in the case PDF file</td>\n</tr>\n<tr>\n<td>description</td>\n<td>text</td>\n<td>A description for your question</td>\n</tr>\n<tr>\n<td>label</td>\n<td>string(50)</td>\n<td>The question label</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>text</td>\n<td>A metadata field</td>\n</tr>\n<tr>\n<td>displayed_options</td>\n<td>array</td>\n<td>An array of options that were displayed to the patient</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"service-properties\">Service Properties</h2>\n<p><strong>Important</strong>: a service object can include a <strong>partner_service_id</strong> in order to use predefined information from a partner service.</p>\n<p><strong>Note</strong>: Partner services can be found under your company's offerings from the Partners Website. Once you know a partner's service id, you can also retrieve its information through the api using the <strong>Get Service</strong> route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>service_type</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>additional_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>partner_service_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>clinical_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_fax_number</td>\n<td>string</td>\n</tr>\n<tr>\n<td>include_drivers_license</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>send_pdf_file_automatically</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","tests","encounters"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"}]}},"response":[],"_postman_id":"0994e8f6-efa5-4dc0-9cb1-e84d28496e6b"},{"name":"Post Encounter Status","id":"c0703c5a-6e88-4811-9c7d-31b699d011c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"waiting\",\n    \"reason\": \"test\",\n    \"clinician_id\": \"ecee9fc0-8ae8-4ba3-920d-a57bf6a22806\"\n}"},"url":"https://api.mdintegrations.com/web/partners/:partner_id/tests/encounters/:encounter_id/status","description":"<p>Create a new encounter for a given patient.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string*</td>\n<td>The new status (assigned, processing, waiting, cancelled, resubmit, completed)</td>\n</tr>\n<tr>\n<td>reason</td>\n<td>string</td>\n<td>The reason. Necessary if the status is cancelled or waiting.</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid*</td>\n<td>Clinician to simulate the action.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner_id","tests","encounters",":encounter_id","status"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner_id"},{"type":"any","value":"63473a53-a717-450c-9559-08919bd6d9e0","key":"encounter_id"}]}},"response":[],"_postman_id":"c0703c5a-6e88-4811-9c7d-31b699d011c9"},{"name":"Create Encounter Prescription","id":"a0fec9b9-8acb-4049-91a8-221c72bd7ea7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"clinician_id\": \"afebefe5-f357-42af-97a0-8ec66538c24b\",\n    \"dosespot_medication_id\": 310964,\n    \"refills\": 50,\n    \"quantity\": \"1779333.590\",\n    \"days_supply\": 47,\n    \"directions\": \"Voluptas corporis id maiores blanditiis. Minus iste nostrum vitae voluptas enim consequuntur aliquid. Maiores adipisci qui cum eum et. Accusamus id pariatur quo quibusdam.\",\n    \"partner_compound_id\": null,\n    \"dispense_unit_id\": 62,\n    \"pharmacy_id\": 79,\n    \"no_substitutions\": true,\n    \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n    \"effective_date\": \"2023-05-10\",\n    \"title\": \"Prescription title example\"\n}"},"url":"https://api.mdintegrations.com/web/partners/:partner_id/tests/encounters/:encounter_id/prescriptions","description":"<p>Create a encounter prescription.</p>\n<h1 id=\"payload\">Payload</h1>\n<p>Receives an object of <strong>Prescription</strong>.</p>\n<h2 id=\"prescription-properties\">Prescription Properties</h2>\n<p><strong>Important</strong>: a prescription object must always contain <strong>exactly one</strong> drug type ID from the following:</p>\n<p>[<code>partner_medication_id</code>, <code>partner_compound_id</code>, <code>partner_supply_id</code>, <code>dosespot_supply_ndc</code>]</p>\n<p><strong>Note</strong>: We strongly advise asking our medical team to add medications to your company's dashboard so it's easier to manage prescriptions details from there. Should you need to add a one-time-only medication, you can use the dosespot_medication_id to reference a Dosespot medication directly.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clinician_id</td>\n<td>uuid*</td>\n<td>Clinician to simulate the action</td>\n</tr>\n<tr>\n<td>partner_compound_id</td>\n<td>uuid</td>\n<td>Partner compound ID. Check <strong>Partners &gt; Compounds</strong> to get a <code>partner_compound_id</code> for a given compound. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_supply_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_medication_id</td>\n<td>uuid</td>\n<td>Partner medication ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_medication_id</code> and <code>partner_supply_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_supply_id</td>\n<td>uuid</td>\n<td>Partner supply ID. It can be found under your company's offerings from the Partners Website. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_medication_id</code> and <code>dosespot_supply_ndc</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>dosespot_supply_ndc</td>\n<td>string</td>\n<td>Dosespot Supply NDC code. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_medication_id</code> and <code>partner_supply_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer (from 0 to 99)</td>\n<td>Total of refills for the given medication * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n<td>Medication quantity string representing a float number (from 0 to 9999999999) <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer (from 0 to 365)</td>\n<td>Number of days of supply of the medication provided - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string(140)</td>\n<td>Instructions about how the medication is administered <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the prescription</td>\n</tr>\n<tr>\n<td>no_substitutions</td>\n<td>boolean</td>\n<td>Whether or not a medication or compound can be changed</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n<td>- <strong>Medication</strong> (prescription with a <code>dosespot_medication_id</code> included): each medication has one associated dispense unit ID. To get the dispense unit ID associated with a given medication check <strong>Partners &gt; Medications &gt; Get details for a specific medication</strong>;  <br />  <br />- <strong>Compound</strong> (prescription with <code>partner_compound_id</code> included): compounds can be associated with any available dispense unit ID. For a list of all available dispense units check <strong>Partners &gt; Dispense Units</strong>. * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer*</td>\n<td>Pharmacy where the prescription must be sent to. Check <strong>Partners &gt; Pharmacies &gt; Get pharmacies</strong> to get a list of all pharmacies available</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>string</td>\n<td>Date from which prescription is effective (time will always be 00:00:00). Format: <code>Y-m-d</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"prescription-status-flow\">Prescription Status Flow</h3>\n<p><code>pending</code>: When prescription is created on MDI side and not synced with Dosespot yet;<br /><code>processing</code>: When MDI receives the Dosespot ID and send through the Dosespot the prescription to Pharmacy;<br /><code>completed</code>: When Dosespot responds to the MDI that this prescription has been verified by the pharmacy;<br /><code>cancelled</code>: When a doctor cancel the prescription (<em>when it was synced with Dosespot we try to cancel it there too</em>)</p>\n<img src=\"https://content.pstmn.io/f2e85db2-8cd9-4f25-ae04-8e72d17fdb0a/aW1hZ2UucG5n\" width=\"1637\" height=\"421\" />","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner_id","tests","encounters",":encounter_id","prescriptions"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner_id"},{"type":"any","value":"63473a53-a717-450c-9559-08919bd6d9e0","key":"encounter_id"}]}},"response":[],"_postman_id":"a0fec9b9-8acb-4049-91a8-221c72bd7ea7"},{"name":"Reassign clinician to encounter","id":"553ecdbb-90a0-4da4-92fe-bdc08c5d1f80","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"clinician_id\": \"2657524c-b4b8-4727-a414-3f8750020766\",\r\n    \"reason\": \"Here an example of a reason.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner_id/tests/encounters/:encounter_id/reassign","description":"<p>Reassign a given clinician to a given encounter.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clinician_id</td>\n<td>uuid*</td>\n<td>Clinician UUID</td>\n</tr>\n<tr>\n<td>reason</td>\n<td>string</td>\n<td>A reason for the assignment.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner_id","tests","encounters",":encounter_id","reassign"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner_id"},{"type":"any","value":"63473a53-a717-450c-9559-08919bd6d9e0","key":"encounter_id"}]}},"response":[],"_postman_id":"553ecdbb-90a0-4da4-92fe-bdc08c5d1f80"},{"name":"Create Patient and Encounter","id":"86cfc662-226a-4ec2-bd22-ffa68c07ad8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"preferred_pharmacy_id\": 13012,\n    \"questionnaire_id\": \"368f95e5-cbd9-4a2f-8275-6f9258bbdf46\",\n    \"completion_time\": \"00:12:53\",\n    \"patient\": {\n        \"prefix\": \"Sr\",\n        \"first_name\": \"Oberyn\",\n        \"last_name\": \"Martell\",\n        \"ssn\": \"111-22-3333\",\n        \"gender\": 2,\n        \"weight\": 80,\n        \"date_of_birth\": \"1990-11-11\",\n        \"phone_number\": \"\",\n        \"phone_type\": 2,\n        \"email\": \"oberyn@mdintegrations.com\",\n        \"address\": {\n            \"address\": \"10001, new test mall\",\n            \"zip_code\": \"12345\",\n            \"city_name\": \"New York\",\n            \"state_name\": \"NY\"\n        },\n        \"intro_video_id\": \"9d8df900-5b97-4d12-86e7-488fcb891b22\",\n        \"is_sms_enabled\": true,\n        \"is_email_enabled\": true,\n        \"shopify_customer_id\": null,\n        \"woocommerce_customer_id\": null\n    },\n    \"case\": {\n        \"clinician_id\": \"20b0e825-041d-4ea9-97b1-cec9d237ff3a\",\n        \"metadata\": \"example of metadata\",\n        \"case_files\": [],\n        \"case_services\": [\n            {\n                \"description\": \"Device that...\",\n                \"service_type\": \"device\",\n                \"title\": \"Device 14\",\n                \"additional_note\": \"Service additional note\",\n                \"clinical_notes\": \"Some clinical note\",\n                \"thank_you_note\": \"Some thank you note\",\n                \"pharmacy_fax_number\": \"+587965462919\",\n                \"include_drivers_license\": true,\n                \"send_pdf_file_automatically\": false\n            }\n        ],\n        \"case_prescriptions\": [\n            {\n                \"dosespot_medication_id\": 310964,\n                \"refills\": 2,\n                \"quantity\": 1.5,\n                \"days_supply\": 30,\n                \"directions\": \"Take one at the morning and another before bed\",\n                \"dispense_unit_id\": 2,\n                \"pharmacy_id\": 13012,\n                \"no_substitutions\": true,\n                \"pharmacy_notes\": \"This medication might not be suitable for people with... \",\n                \"effective_date\": \"2023-05-10\"\n            }\n        ],\n        \"case_questions\": [\n            {\n                \"question\": \"Are you pregnant?\",\n                \"answer\": \"false\",\n                \"type\": \"boolean\",\n                \"important\": true,\n                \"is_critical\": true,\n                \"display_in_pdf\": true\n            }\n        ],\n        \"diseases\": [\n            {\n                \"disease_id\": \"000d2152-7838-4fc7-8a13-ae8a1748a9eb\"\n            }\n        ],\n        \"tags\": [\n            {\n                \"tag_id\": \"d99ac893-9bd6-49ae-befe-4cf625e97d7c\"\n            }\n        ]\n    }\n}"},"url":"https://api.mdintegrations.com/web/partners/:partner_id/tests/vouchers/:voucher_id","description":"<p>Create a new patient and encounter.</p>\n<h1 id=\"case-payload\">Case Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>preferred_pharmacy_id</td>\n<td>integer</td>\n<td>Dosespot Pharmacy ID</td>\n</tr>\n<tr>\n<td>questionnaire_id</td>\n<td>uuid*</td>\n<td>Questionnaire ID</td>\n</tr>\n<tr>\n<td>completion_time</td>\n<td>string*</td>\n<td>Time in the format \"hh:mm:ss\"</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"patient-payload\">Patient Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>prefix</td>\n<td>string(10)*</td>\n<td>Prefix</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string(35)*</td>\n<td>First name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string(35)*</td>\n<td>Last name</td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>string(11)</td>\n<td>Security Social Number. <strong>Format</strong>: <code>AAAGGSSSS</code></td>\n</tr>\n<tr>\n<td>email</td>\n<td>string(80)*</td>\n<td>E-mail</td>\n</tr>\n<tr>\n<td>date_of_birth</td>\n<td>date*</td>\n<td>Date of birth, as YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>driver_license_id</td>\n<td>uuid</td>\n<td>Patient's Driver License, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>integer*</td>\n<td>Gender (ISO 5218 format)</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the patient. (e.g., an ID that will be used to identify this patient in another database)</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>string(25)*</td>\n<td>Phone number - <em>US format</em></td>\n</tr>\n<tr>\n<td>phone_type</td>\n<td>integer*</td>\n<td>Phone type. Available options: 2 (cell) or 4 (home)</td>\n</tr>\n<tr>\n<td>address.address</td>\n<td>string(35)*</td>\n<td>Address</td>\n</tr>\n<tr>\n<td>address.address2</td>\n<td>string(35)</td>\n<td>Additional address - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>address.zip_code</td>\n<td>string(9)*</td>\n<td>US zip code - _5 or 9 digit format*_OR*CA zip code - 6 alphanumeric characters</td>\n</tr>\n<tr>\n<td>address.city_name</td>\n<td>string(35)*</td>\n<td>City name.</td>\n</tr>\n<tr>\n<td>address.state_name</td>\n<td>string*</td>\n<td>State name or State USPS abbreviation.</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>float (from 0 to 999)</td>\n<td>Weight in KG * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>height</td>\n<td>integer (from 0 to 300)</td>\n<td>Height in CM * <em>required if patient is underage</em></td>\n</tr>\n<tr>\n<td>allergies</td>\n<td>text</td>\n<td>Known patient's allergies</td>\n</tr>\n<tr>\n<td>pregnancy</td>\n<td>boolean</td>\n<td>Define the patient with a pregnancy</td>\n</tr>\n<tr>\n<td>current_medications</td>\n<td>text</td>\n<td>Medications that the patient is currently taking</td>\n</tr>\n<tr>\n<td>intro_video_id</td>\n<td>uuid</td>\n<td>Patient's Intro Video, needs to reference an existing <strong>File</strong>. Created through <strong>Files &gt; Create file</strong>.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"case-payload-1\">Case Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>metadata</td>\n<td>string(255)</td>\n<td>Field meant to store any information that helps identifying the case. (e.g., an ID that will be used to identify this case in another database)</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n<td>Clinician to assign the case to, in case there is a preference for a specific clinician in a specific case. If the field is not sent, a clinician will be assigned according to MDIntegrations algorithm.</td>\n</tr>\n<tr>\n<td>case_prescriptions</td>\n<td>array(Prescription)</td>\n<td>List of prescriptions to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>case_files</td>\n<td>array(uuid)</td>\n<td>Files ID to be attached to the case. The files must be uploaded before creating a case. To upload files check <strong>Partners &gt; Files</strong></td>\n</tr>\n<tr>\n<td>case_questions</td>\n<td>array(Question)</td>\n<td>Questions and answers list</td>\n</tr>\n<tr>\n<td>case_services</td>\n<td>array(Services)</td>\n<td>List of services to be reviewed by a clinician</td>\n</tr>\n<tr>\n<td>tags</td>\n<td>array(uuid)</td>\n<td>Tags ID to be attached to the case.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"prescription-properties\">Prescription Properties</h2>\n<p><strong>Important</strong>: a prescription object must always contain <strong>exactly one</strong> drug type ID from the following:</p>\n<p>[<code>partner_medication_id</code>, <code>partner_compound_id</code>, <code>partner_supply_id</code>]</p>\n<p><strong>Note</strong>: We strongly advise to add a medication to the Admin Panel so it's easier to manage a prescription's details from there. Should you need to add a one-time-only medication, you can use the dosespot_medication_id to reference a Dosespot medication directly.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_compound_id</td>\n<td>uuid</td>\n<td>Partner compound ID. Check <strong>Partners &gt; Compounds</strong> to get a <code>partner_compound_id</code> for a given compound. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_medication_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_medication_id</td>\n<td>uuid</td>\n<td>Partner medication ID. It can be found at the Admin Panel. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>partner_supply_id</td>\n<td>uuid</td>\n<td>Partner supply ID. It can be found at the Admin Panel. <strong>Required if</strong> <code>dosespot_medication_id</code> and <code>partner_compound_id</code> and <code>partner_supply_id</code> are <code>null</code></td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer (from 0 to 99)</td>\n<td>Total of refills for the given medication * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n<td>Medication quantity string representing a float number (from 0 to 9999999999) <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer (from 0 to 365)</td>\n<td>Number of days of supply of the medication provided - Allows <code>null</code> value</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string(140)</td>\n<td>Instructions about how the medication is administered <strong>Required if</strong> <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string(210)</td>\n<td>Additional information about the prescription</td>\n</tr>\n<tr>\n<td>no_substitutions</td>\n<td>boolean</td>\n<td>Whether or not a medication or compound can be changed</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n<td>- <strong>Medication</strong> (prescription with a <code>dosespot_medication_id</code> included): each medication has one associated dispense unit ID. To get the dispense unit ID associated with a given medication check <strong>Partners &gt; Medications &gt; Get details for a specific medication</strong>;  <br />  <br />- <strong>Compound</strong> (prescription with <code>partner_compound_id</code> included): compounds can be associated with any available dispense unit ID. For a list of all available dispense units check <strong>Partners &gt; Dispense Units</strong>. * Required if <code>dosespot_medication_id</code> is present</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer*</td>\n<td>Pharmacy where the prescription must be sent to. Check <strong>Partners &gt; Pharmacies &gt; Get pharmacies</strong> to get a list of all pharmacies available.  <br />  <br /><strong>Required if</strong>: <code>dosespot_medication_id</code> is present.  <br /><strong>Required if</strong>: <code>partner_medication_id</code> or <code>partner_medication_id</code> does not have a registered default pharmacy.  <br />  <br /><strong>Important note</strong>:  <br />  <br />Dosespot works with <strong>different IDs</strong> for pharmacies according to the environment.  <br />Example:  <br />- Curexa pharmacy ID in <strong>staging</strong> environment: 133012  <br />- Curexa pharmacy ID in <strong>production</strong> environment: 29992</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>string</td>\n<td>Date from which prescription is effective (time will always be 00:00:00). Format: <code>Y-m-d</code></td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"question-properties\">Question Properties</h1>\n<p>For more information about <code>questions</code> and how they affect prescriptions, contact us via Slack or send an email to:<br /><a href=\"https://mailto:mserota@mdintegrations.com\">mserota@mdintegrations.com</a> and <a href=\"https://mailto:jeff@mdintegrations.com\">jeff@mdintegrations.com</a></p>\n<p>We are also available through Slack (partner's channel).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>question</td>\n<td>string(255)*</td>\n<td>Question</td>\n</tr>\n<tr>\n<td>answer</td>\n<td>text*</td>\n<td>Answer</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string*</td>\n<td>Question type. Available options: <code>boolean</code>, <code>number</code> or <code>string</code></td>\n</tr>\n<tr>\n<td>important</td>\n<td>boolean</td>\n<td>Flag to set a question as <code>important</code>.  <br />  <br /><strong>Important Note</strong>:  <br />This flag is used to identify which questions could affect the final prescription. You could also implement custom logic to set this flag only when specific answers are selected.</td>\n</tr>\n<tr>\n<td>display_in_pdf</td>\n<td>boolean</td>\n<td>Flag to set if this question will be displayed in the case PDF file</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"diseases\">Diseases</h1>\n<p><strong>Important</strong>: Every disease object will add the disease with the ICD (International Classification of Disease) to the case.</p>\n<p><strong>Note</strong>: Diseases can be found in the diseases list on the Admin panel. Once you know a disease's id, you can also retrieve its information through the API using the <strong>Get Disease</strong> route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>disease_id</td>\n<td>UUID</td>\n<td>Disease ID. It can be found at the Admin Panel or through the diseases endpoints.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"service-properties\">Service Properties</h2>\n<p><strong>Important</strong>: a service object can include a <strong>partner_service_id</strong> in order to use predefined information from a partner service.</p>\n<p><strong>Note</strong>: Partner services can be found at the partner details page on the Admin panel. Once you know a partner's service id, you can also retrieve its information through the api using the <strong>Get Service</strong> route.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>description</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>service_type</td>\n<td>string (<strong>required if partner_service_id is NOT included)</strong></td>\n</tr>\n<tr>\n<td>additional_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>partner_service_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>clinical_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_fax_number</td>\n<td>string</td>\n</tr>\n<tr>\n<td>include_drivers_license</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>send_pdf_file_automatically</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner_id","tests","vouchers",":voucher_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner_id"},{"description":{"content":"<p>Voucher ID</p>\n","type":"text/plain"},"type":"any","value":"0a6e176d-19a3-4738-ad80-d778f7348654","key":"voucher_id"}]}},"response":[],"_postman_id":"86cfc662-226a-4ec2-bd22-ffa68c07ad8d"},{"name":"Get Encounter","id":"7779f504-2853-4948-8680-805efc8990d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/tests/encounters/:encounter_id","description":"<p>Get the partner's encounter by ID.</p>\n<p><strong>Note</strong>: Only for <code>sandbox</code> patients.</p>\n","urlObject":{"path":["web","partners",":partner","tests","encounters",":encounter_id"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"id","value":"c16e28ed-0ba5-41ff-88b2-0081507fe489"},{"disabled":true,"key":"environments[]","value":"sandbox"}],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"type":"any","value":"cb1070eb-b45b-4ce6-a208-e9f01c3c4ef7","key":"encounter_id"}]}},"response":[],"_postman_id":"7779f504-2853-4948-8680-805efc8990d6"}],"id":"2eb45bad-541a-4dcd-9fad-380161f96258","_postman_id":"2eb45bad-541a-4dcd-9fad-380161f96258","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Patients","item":[{"name":"Messages","item":[{"name":"Create Message","id":"98a2310d-3dd7-43ba-8277-980d4784895e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"channel\": \"patient\",\n    \"clinician_id\": \"bcda6915-69bf-4b8d-bda9-145d47c52df5\",\n    \"support_staff_id\": \"afebefe5-f357-42af-97a0-8ec66538c24b\",\n    \"text\": \"Message text.\",\n    \"reference_message_id\": \"ce36bba7-3932-4197-9d92-4565a890edf8\",\n    \"files\": [\n        {\n            \"id\": \"e30e5ecb-a543-4877-a483-0a1b065bbc59\"\n        },\n        {\n            \"id\": \"3f7b155c-c235-476c-9688-3fa7c1d59ed2\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/tests/patients/:patient_id/messages","description":"<p>Creates a patient's message, and attaches its files.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>channel*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>clinician_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>support_staff_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>text</td>\n<td>string</td>\n</tr>\n<tr>\n<td>reference_message_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>files</td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-files\">Payload (files)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id*</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","tests","patients",":patient_id","messages"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"},{"type":"any","value":"813e95aa-3c73-40a3-9289-b13c846c03c5","key":"patient_id"}]}},"response":[],"_postman_id":"98a2310d-3dd7-43ba-8277-980d4784895e"}],"id":"8803b825-800c-48d6-93d5-4acca6984f04","_postman_id":"8803b825-800c-48d6-93d5-4acca6984f04","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"31d40f2c-93ad-4dbe-af88-1953cf33e723","_postman_id":"31d40f2c-93ad-4dbe-af88-1953cf33e723","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"69f36b89-fca2-4ce1-a06a-edfc68bfc10b","_postman_id":"69f36b89-fca2-4ce1-a06a-edfc68bfc10b","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Audits","item":[{"name":"Get Audits","id":"3f9e872f-1a85-4155-9b89-b5e908d4bc10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/audits?order=desc&page=1&per_page=15","description":"<p>Get the partner's audits (paginated).</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","audits"],"host":["https://api.mdintegrations.com"],"query":[{"key":"order","value":"desc"},{"key":"page","value":"1"},{"key":"per_page","value":"15"}],"variable":[{"id":"67ccbf72-35e8-42f0-ac55-97043b243e1a","type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"}]}},"response":[],"_postman_id":"3f9e872f-1a85-4155-9b89-b5e908d4bc10"}],"id":"30fbb17d-798e-4702-9c71-84dc75fbbffa","_postman_id":"30fbb17d-798e-4702-9c71-84dc75fbbffa","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Pharmacies","item":[{"name":"Get Pharmacies","id":"436a571e-1808-4dca-a91e-c85c4cb60086","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/pharmacies?per_page=15&page=1","description":"<p>Get the partner's specialties (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","pharmacies"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"72c50f71-76c6-4ace-ab5d-29c06bfd017d","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"436a571e-1808-4dca-a91e-c85c4cb60086"},{"name":"Delete Pharmacy","id":"6c6bea25-8e19-4e2b-98cb-e1f474e9ae8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/pharmacies/:partner_pharmacy_id","description":"<p>Detach the specialty from the partner.</p>\n","urlObject":{"path":["web","partners",":partner","pharmacies",":partner_pharmacy_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"94e5286f-3556-418e-94c8-a8f6ccf5a3f6","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"9f47da93-17eb-44f0-b52f-d69d1c0013bf","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner_pharmacy_id"}]}},"response":[],"_postman_id":"6c6bea25-8e19-4e2b-98cb-e1f474e9ae8a"},{"name":"Add Pharmacy","id":"ec8b9abc-1f2a-4f84-8470-089ade5ebae9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{ \n    \"pharmacy_id\": 123214,\n    \"pharmacy_name\": \"Curexa\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/pharmacies","description":"<p>Attach the specialty to the partner.</p>\n","urlObject":{"path":["web","partners",":partner","pharmacies"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"752c31ad-2897-422a-b3f8-f76bc7e3acf1","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[],"_postman_id":"ec8b9abc-1f2a-4f84-8470-089ade5ebae9"}],"id":"5115ecad-fe49-4396-8a67-a16a99b82e96","_postman_id":"5115ecad-fe49-4396-8a67-a16a99b82e96","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Reviews","item":[{"name":"Get Reviews","id":"257d0448-1319-4c6b-93f6-a42448a8c5bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/reviews?page=1&per_page=15","description":"<p>Get the partner's pending reviews (paginated).</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner","reviews"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"disabled":true,"key":"action","value":"create,update,delete"},{"disabled":true,"key":"model_type","value":""}],"variable":[{"id":"39530d31-0382-431b-99ce-d513c6d20d70","type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"}]}},"response":[],"_postman_id":"257d0448-1319-4c6b-93f6-a42448a8c5bc"}],"id":"521c894a-dab0-4dc2-81ba-0773be84dcec","_postman_id":"521c894a-dab0-4dc2-81ba-0773be84dcec","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"WooCommerce","item":[{"name":"Association Products","id":"132ee929-74df-4120-8ecb-4dde2920700e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"product_id\": \"7233091960889\",\n    \"variant_id\": \"45217856028891\",\n    \"partner_questionnaire_id\": \"fa6d01b6-57ce-41cb-bf4f-3388a5fb1dac\",\n    \"offerings\": [\n        {\n            \"id\": \"ec8b1582-d6ca-442c-af80-6cc31200ade5\"\n        },\n        {\n            \"id\": \"8e851550-8bdb-4608-8327-b7df09cc86dc\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/woocommerce/associate-products","urlObject":{"path":["web","partners",":partner","woocommerce","associate-products"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"}]}},"response":[],"_postman_id":"132ee929-74df-4120-8ecb-4dde2920700e"},{"name":"Association Products","id":"18568d6f-5af5-42c2-9abf-e3b36018424a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"product_id\": \"7233091960889\",\n    \"variant_id\": \"45217856028891\",\n    \"partner_questionnaire_id\": \"fa6d01b6-57ce-41cb-bf4f-3388a5fb1dac\",\n    \"offerings\": [\n        {\n            \"id\": \"ec8b1582-d6ca-442c-af80-6cc31200ade5\"\n        },\n        {\n            \"id\": \"8e851550-8bdb-4608-8327-b7df09cc86dc\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/woocommerce/associate-products/:partnerQuestWoocommerceProduct","urlObject":{"path":["web","partners",":partner","woocommerce","associate-products",":partnerQuestWoocommerceProduct"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"},{"type":"any","value":"45ef82c8-958d-42c9-a7b5-446b9b46583d","key":"partnerQuestWoocommerceProduct"}]}},"response":[],"_postman_id":"18568d6f-5af5-42c2-9abf-e3b36018424a"},{"name":"Diassociation Products","id":"1ce2ceb3-045d-4a3f-a85d-5d46eae6b89f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/woocommerce/associate-products/:partnerQuestWoocommerceProduct","urlObject":{"path":["web","partners",":partner","woocommerce","associate-products",":partnerQuestWoocommerceProduct"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"89ccaba5-c0a7-40e4-b6cc-0f457ededf9e","type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"},{"id":"658f9b8d-166b-4a61-8509-7b622fe27918","type":"any","value":"6fbcd1ee-fe00-4572-9178-a4f2f99a3e3c","key":"partnerQuestWoocommerceProduct"}]}},"response":[],"_postman_id":"1ce2ceb3-045d-4a3f-a85d-5d46eae6b89f"},{"name":"Get Products","id":"6cff9165-bd9c-43c9-abab-354825a52f0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/woocommerce/products?page=1&per_page=15","description":"<p>It gets the Woocommerce products.</p>\n","urlObject":{"path":["web","partners",":partner","woocommerce","products"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"}],"variable":[{"id":"1bf79ba8-d8db-4652-be07-9a283a52fba6","type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"}]}},"response":[],"_postman_id":"6cff9165-bd9c-43c9-abab-354825a52f0a"},{"name":"Associate Products","id":"b9700906-420f-453a-a192-78638a00f4da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/woocommerce/associate-products?page=1&per_page=15&sort=created_at&with_relationships[]=partner&with_relationships[]=questionnaire&product_id=7233091960888&variant_id=7233091960889","urlObject":{"path":["web","partners",":partner","woocommerce","associate-products"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"key":"sort","value":"created_at"},{"key":"with_relationships[]","value":"partner"},{"key":"with_relationships[]","value":"questionnaire"},{"key":"product_id","value":"7233091960888"},{"key":"variant_id","value":"7233091960889"}],"variable":[{"id":"b3315422-04e5-47bc-ad7d-cd42b94ea937","type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"}]}},"response":[],"_postman_id":"b9700906-420f-453a-a192-78638a00f4da"}],"id":"422db2c5-aede-4747-806f-c6dfba1f7de0","_postman_id":"422db2c5-aede-4747-806f-c6dfba1f7de0","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Shopify","item":[{"name":"Association Products","id":"00d966ad-a550-4b74-a5df-4602f036ac1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"product_id\": \"7233091960889\",\n    \"variant_id\": \"45217856028891\",\n    \"partner_questionnaire_id\": \"fa6d01b6-57ce-41cb-bf4f-3388a5fb1dac\",\n    \"is_subscription_intake_link_enabled\": true,\n    \"offerings\": [\n        {\n            \"id\": \"ec8b1582-d6ca-442c-af80-6cc31200ade5\"\n        },\n        {\n            \"id\": \"8e851550-8bdb-4608-8327-b7df09cc86dc\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/shopify/associate-products","urlObject":{"path":["web","partners",":partner","shopify","associate-products"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"}]}},"response":[],"_postman_id":"00d966ad-a550-4b74-a5df-4602f036ac1b"},{"name":"Association Products","id":"0ea3f0ee-fedb-4284-9db2-b11fa7e50f72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"product_id\": \"7233091960889\",\n    \"variant_id\": \"45217856028891\",\n    \"partner_questionnaire_id\": \"fa6d01b6-57ce-41cb-bf4f-3388a5fb1dac\",\n    \"is_subscription_intake_link_enabled\": true,\n    \"offerings\": [\n        {\n            \"id\": \"ec8b1582-d6ca-442c-af80-6cc31200ade5\"\n        },\n        {\n            \"id\": \"8e851550-8bdb-4608-8327-b7df09cc86dc\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/shopify/associate-products/:partnerQuestShopifyProduct","urlObject":{"path":["web","partners",":partner","shopify","associate-products",":partnerQuestShopifyProduct"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"},{"type":"any","value":"45ef82c8-958d-42c9-a7b5-446b9b46583d","key":"partnerQuestShopifyProduct"}]}},"response":[],"_postman_id":"0ea3f0ee-fedb-4284-9db2-b11fa7e50f72"},{"name":"Diassociation Products","id":"28bb0a5c-befb-4801-a9a5-043465a1868d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/shopify/associate-products/:partnerQuestShopifyProduct","urlObject":{"path":["web","partners",":partner","shopify","associate-products",":partnerQuestShopifyProduct"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"},{"type":"any","value":"6fbcd1ee-fe00-4572-9178-a4f2f99a3e3c","key":"partnerQuestShopifyProduct"}]}},"response":[],"_postman_id":"28bb0a5c-befb-4801-a9a5-043465a1868d"},{"name":"Post Order Integrate","id":"9768852b-5192-4823-9662-465d5a418ce7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/shopify/:order/integrate","description":"<p>This endpoint integrates a Shopify order to MDI.</p>\n","urlObject":{"path":["web","partners",":partner","shopify",":order","integrate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c2f7bd5e-1b1c-476e-8a34-70586e86de50","type":"any","value":"34e883bd-df4d-4bf5-8252-d9e75ecc51f0","key":"partner"},{"id":"e23e23c2-723a-499b-bd69-25162f9af4bf","type":"any","value":"5903721955547","key":"order"}]}},"response":[],"_postman_id":"9768852b-5192-4823-9662-465d5a418ce7"},{"name":"Get Products","id":"7dc977ff-75e1-416e-9eea-c038accdf365","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/shopify/products?per_page=15&page_info=eyJkaXJlY3Rpb24iOiJuZXh0IiwibGFzdF9pZCI6NzU4MjkyNzI5MDQyNSwibGFzdF92YWx1ZSI6InByb2R1Y3QgMTUifQ","urlObject":{"path":["web","partners",":partner","shopify","products"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"page","value":"1"},{"key":"per_page","value":"15"},{"description":{"content":"<p>If informed, get next or previous page</p>\n","type":"text/plain"},"key":"page_info","value":"eyJkaXJlY3Rpb24iOiJuZXh0IiwibGFzdF9pZCI6NzU4MjkyNzI5MDQyNSwibGFzdF92YWx1ZSI6InByb2R1Y3QgMTUifQ"}],"variable":[{"type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"}]}},"response":[],"_postman_id":"7dc977ff-75e1-416e-9eea-c038accdf365"},{"name":"Associate Products","id":"57179002-0054-4576-9155-bb6d9dbef9b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/shopify/associate-products?page=1&per_page=15&sort=created_at&with_relationships[]=partner&with_relationships[]=questionnaire&with_relationships[]=offerings&product_id=7233091960888&variant_id=7233091960889","urlObject":{"path":["web","partners",":partner","shopify","associate-products"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"key":"sort","value":"created_at"},{"key":"with_relationships[]","value":"partner"},{"key":"with_relationships[]","value":"questionnaire"},{"key":"with_relationships[]","value":"offerings"},{"key":"product_id","value":"7233091960888"},{"key":"variant_id","value":"7233091960889"}],"variable":[{"type":"any","value":"dcc32340-6606-4756-a4f8-cc7a08b615b5","key":"partner"}]}},"response":[],"_postman_id":"57179002-0054-4576-9155-bb6d9dbef9b8"},{"name":"Get Order Analysis","id":"77120c42-507c-47b1-90a6-7f4dcdf89187","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/shopify/:order/analysis?page=1&perPage=15&sort=created_at","description":"<p>This endpoint retrieves a detailed analysis of a specific Shopify order associated with a partner. It provides paginated results of order-related events, including filters for sorting based on the creation date.</p>\n","urlObject":{"path":["web","partners",":partner","shopify",":order","analysis"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"perPage","value":"15"},{"key":"sort","value":"created_at"}],"variable":[{"type":"any","value":"2db9a751-a167-4d24-9c68-32f53ab412cc","key":"partner"},{"type":"any","value":"39310577139887","key":"order"}]}},"response":[],"_postman_id":"77120c42-507c-47b1-90a6-7f4dcdf89187"}],"id":"7a5dddb8-c62a-42aa-91a0-e9e6669ced9a","_postman_id":"7a5dddb8-c62a-42aa-91a0-e9e6669ced9a","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Email Domain","item":[{"name":"Get Email Domain","id":"d7599999-cb82-4b3c-a3d9-7b3e644d37a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/email-domain","description":"<p>Get the Partner's Email Domain setting.</p>\n","urlObject":{"path":["web","partners",":partner","email-domain"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"fdec8f78-bbdb-4361-a288-b4dd27f9b099","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"d7599999-cb82-4b3c-a3d9-7b3e644d37a4"},{"name":"Post Email Domain","id":"20140456-7503-4d43-84f6-11f48591cb11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"from\": \"support@domain.com\",\n    \"name\": \"Email Name\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/email-domain","description":"<p>Post the Partner's Email Domain setting.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>from*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","email-domain"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d833600a-3ce7-4ee8-9949-6b9206f6dc96","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"20140456-7503-4d43-84f6-11f48591cb11"},{"name":"Post Validate Email Domain","id":"304267ae-b611-48c1-aa4f-ddf76559d8af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/email-domain/validate","description":"<p>Post validate the Partner's Email Domain setting.</p>\n","urlObject":{"path":["web","partners",":partner","email-domain","validate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c7161285-7df5-42a6-874f-300d664a10b1","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"304267ae-b611-48c1-aa4f-ddf76559d8af"},{"name":"Post Send Test Email Domain","id":"774d2b3b-21c3-4e78-8ee1-1a90704e3c76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"test@test.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/email-domain/send","description":"<p>Post send a test email for the Partner's Email Domain setting.</p>\n","urlObject":{"path":["web","partners",":partner","email-domain","send"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"647e4b5c-aa48-4181-a809-50a987f47913","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"774d2b3b-21c3-4e78-8ee1-1a90704e3c76"},{"name":"Delete Email Domain","id":"22b4572c-e136-44aa-9f91-0e30a1d69cf2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"validating\",\n    \"active\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/email-domain","description":"<p>Deletes the Partner's Email Domain setting.</p>\n","urlObject":{"path":["web","partners",":partner","email-domain"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4981001a-75bf-4227-801c-15f35f27ef68","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"22b4572c-e136-44aa-9f91-0e30a1d69cf2"}],"id":"dfd554db-18f7-4738-a311-9cfa7267b976","_postman_id":"dfd554db-18f7-4738-a311-9cfa7267b976","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Email Templates","item":[{"name":"Get Email Templates","id":"c9141166-a177-4516-9131-603b3730e808","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/email-templates","description":"<p>Get the email templates (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","email-templates"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"33193e71-7a9b-4ad7-a4e2-46d6e4342f24","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"c9141166-a177-4516-9131-603b3730e808"},{"name":"Get Email Template","id":"f7e9fd99-a99f-4e12-9422-3fb5152bdebf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/email-templates/:email-template","description":"<p>Get the email templates details.</p>\n","urlObject":{"path":["web","partners",":partner","email-templates",":email-template"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ed8bbd49-94d9-4d18-a0c9-0ae7ae4eeb5c","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"9d36f3a7-a3e8-46e5-9b43-9e43fc9abb0e","type":"any","value":"9050173d-27d0-4016-b0dc-22ffcc7df959","key":"email-template"}]}},"response":[],"_postman_id":"f7e9fd99-a99f-4e12-9422-3fb5152bdebf"},{"name":"Post Email Template","id":"1d7bbd29-150e-401f-a154-d63888019cf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"patient-message-from-clinician\",\n    \"subject\": \"[partner_name] - You have a new message about your request.\",\n    \"title\": \"You have a new message [patient_first_name]!\",\n    \"content\": \"Your doctor consulting for [partner_name] sent you a new message regarding your treatment plan.\",\n    \"button_label\": \"View Message\",\n    \"closing_notes\": \"For non-medical inquiries, please send us an email to:\\n[customer_support_email]\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/email-templates","description":"<p>Post the email template.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>key*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>subject*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>content*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>button_label*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>closing_notes</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","email-templates"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f4436362-cdb9-4912-9d1c-b0fb1d8f5795","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"1d7bbd29-150e-401f-a154-d63888019cf0"},{"name":"Patch Email Template","id":"7d1eb5d0-569f-4c4e-96a0-43c9dbc756f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"patient-message-from-clinician\",\n    \"subject\": \"[partner_name] - You have a new message about your request.\",\n    \"title\": \"You have a new message [patient_first_name]!\",\n    \"content\": \"Your doctor consulting for [partner_name] sent you a new message regarding your treatment plan.\",\n    \"button_label\": \"View Message\",\n    \"closing_notes\": \"For non-medical inquiries, please send us an email to:\\n[customer_support_email]\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/email-templates/:email-template","description":"<p>Patch the email template.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>key*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>subject*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>content*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>button_label*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>closing_notes</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","email-templates",":email-template"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d89c6c8a-e0b3-4040-9b63-53101d2a70c7","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"030514a5-e691-4967-bee1-953ba03c3861","type":"any","value":"9050173d-27d0-4016-b0dc-22ffcc7df959","key":"email-template"}]}},"response":[],"_postman_id":"7d1eb5d0-569f-4c4e-96a0-43c9dbc756f1"},{"name":"Delete Email Template","id":"51dc12ae-0f2e-4029-9949-8241e67a19ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"validating\",\n    \"active\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/email-templates/:email-template","description":"<p>Deletes the email template.</p>\n","urlObject":{"path":["web","partners",":partner","email-templates",":email-template"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d76b5c44-50b9-403e-997a-486f982a177f","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"c63ba402-ac14-40e8-940f-fec0c4535527","type":"any","value":"9050173d-27d0-4016-b0dc-22ffcc7df959","key":"email-template"}]}},"response":[],"_postman_id":"51dc12ae-0f2e-4029-9949-8241e67a19ac"},{"name":"Post Email Template Send Test","id":"5a075799-fb2b-4a8e-b4cc-2b5fa21f6f28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"patient-av-request\",\n    \"email\": \"email.test@mdintegrations.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/email-templates/send","description":"<p>Deletes the email template.</p>\n","urlObject":{"path":["web","partners",":partner","email-templates","send"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"97b8f6b1-7799-4206-bc39-2d116320e504","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"5a075799-fb2b-4a8e-b4cc-2b5fa21f6f28"}],"id":"b6a2e2ab-78b5-4064-b1ed-58d99ac72cba","_postman_id":"b6a2e2ab-78b5-4064-b1ed-58d99ac72cba","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Email Style","item":[{"name":"Get Email Style","id":"9722590b-9a2a-4c5c-9f77-751fd3e62132","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/email-style","description":"<p>Get the email style.</p>\n","urlObject":{"path":["web","partners",":partner","email-style"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d7ad44e4-521d-40e2-b2b4-9bca556cc6e4","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"9722590b-9a2a-4c5c-9f77-751fd3e62132"},{"name":"Post Email Style","id":"1265730a-f4ed-4122-a647-3fb4ff78c53d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"style\": \":root {--button-background: #a0b1e1;--button-color: red;--button-align: left;--mail-background-color: white; --box-background-color: #9defdb ; --box-border: 5px solid #d54185 ; --logo-align: right ; --content-font-size: 20px; --content-color: blue; --content-text-align: center;  content-font-family: serif; --closing-notes-font-size: 25px; --closing-notes-color: green; --closing-notes-text-align: right ; --title-text-align: center }\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/email-style","description":"<p>Post the email style.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>style*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","email-style"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7d44c9c4-4dbe-41fe-bd45-93d38e76d69e","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"1265730a-f4ed-4122-a647-3fb4ff78c53d"},{"name":"Delete Email Style","id":"331d40e0-6d5b-452f-b8fc-8d3c7dccce96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/email-style","description":"<p>Deletes the email style.</p>\n","urlObject":{"path":["web","partners",":partner","email-style"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"48d50ca1-314b-454e-bb02-8b4b1e9a3bb0","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"331d40e0-6d5b-452f-b8fc-8d3c7dccce96"}],"id":"2c252c80-2c55-4665-b683-0acd27ee39a1","_postman_id":"2c252c80-2c55-4665-b683-0acd27ee39a1","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Payments","item":[{"name":"Get Accounts","id":"ebb10fbd-2075-44bb-ba22-7df16eb377ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/payments/accounts","description":"<p>Get the stripe accounts (paginated).</p>\n","urlObject":{"path":["web","partners",":partner","payments","accounts"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c381a250-ef68-4cbe-98fd-699d8b0941d7","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"ebb10fbd-2075-44bb-ba22-7df16eb377ff"},{"name":"Get Account","id":"9571ee8c-5015-4d82-9b0d-68dcf3f96fcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/payments/accounts/:account","description":"<p>Get the stripe account details.</p>\n","urlObject":{"path":["web","partners",":partner","payments","accounts",":account"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"afe93fc2-64a9-4b21-92e9-fbed0c6e9720","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"f7c3d27c-4135-42ea-bcee-80b940be343c","type":"any","value":"9050173d-27d0-4016-b0dc-22ffcc7df959","key":"account"}]}},"response":[],"_postman_id":"9571ee8c-5015-4d82-9b0d-68dcf3f96fcd"},{"name":"Post Account","id":"313f876e-e4fb-422b-92f1-dfa637a59ff3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"account name\",\n    \"public_key\": \"pk_test_11111\",\n    \"private_key\": \"sk_test_99999\",\n    \"is_chargeable\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/payments/accounts","description":"<p>Post the stripe account.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>public_key*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>private_key*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>is_chargeable*</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","payments","accounts"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"313f876e-e4fb-422b-92f1-dfa637a59ff3"},{"name":"Patch Account","id":"1d2aaa9b-f07b-4532-849e-e0bff83cf143","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"updating name\",\n    \"is_chargeable\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/payments/accounts/:account","description":"<p>Patch the stripe account.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>is_chargeable*</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","payments","accounts",":account"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"type":"any","value":"9050173d-27d0-4016-b0dc-22ffcc7df959","key":"account"}]}},"response":[],"_postman_id":"1d2aaa9b-f07b-4532-849e-e0bff83cf143"},{"name":"Delete Account","id":"5ecb27a8-7dbd-4376-bdb9-831fa23256e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"validating\",\n    \"active\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/payments/accounts/:account","description":"<p>Deletes the stripe account.</p>\n","urlObject":{"path":["web","partners",":partner","payments","accounts",":account"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e253ebb8-c060-4cb9-b7d4-601a2d97fd45","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"613c5c71-0abf-4210-8163-8a0d4e4bbefc","type":"any","value":"9050173d-27d0-4016-b0dc-22ffcc7df959","key":"account"}]}},"response":[],"_postman_id":"5ecb27a8-7dbd-4376-bdb9-831fa23256e4"}],"id":"ec2316c7-1d1b-484b-89cb-1e6095629363","_postman_id":"ec2316c7-1d1b-484b-89cb-1e6095629363","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Wildcards","item":[{"name":"Get Wildcards","id":"aa486ff5-8f43-4aaa-802e-c1970cdbe326","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/wildcards?per_page=15&page=1","description":"<p>Get the partner's wildcards.</p>\n","urlObject":{"path":["web","partners",":partner","wildcards"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"disabled":true,"key":"key","value":"wirldcard-key"}],"variable":[{"id":"3354c9f8-548d-4cea-9b41-f2e986848531","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"aa486ff5-8f43-4aaa-802e-c1970cdbe326"},{"name":"Delete Wildcard","id":"c5583a49-a633-4318-ada0-6e2b9a451a71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/wildcards/:wildcard","description":"<p>Deletes the partner's wildcard.</p>\n","urlObject":{"path":["web","partners",":partner","wildcards",":wildcard"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"03fe4dbc-356b-4f6a-b5a9-f3fc8f9773c5","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"d29a2220-c448-4d97-99b3-007c74fa6086","type":"any","value":"0a8285ee-939d-4a8c-aba1-88eec0e74cd5","key":"wildcard"}]}},"response":[],"_postman_id":"c5583a49-a633-4318-ada0-6e2b9a451a71"},{"name":"Create Wildcard","id":"e3d16e6d-14b8-488c-9f59-07c394393b72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"wildcard-key\",\n    \"value\": \"wildcard value\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/wildcards","description":"<p>Creates a wildcard for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>key*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>color*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>removable_role</td>\n<td>string (admin)</td>\n</tr>\n<tr>\n<td>auto_detach_status</td>\n<td>array (created, assigned, waiting, support, processing, cancelled, completed)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","wildcards"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"0e0783c9-4146-42a3-acba-582b00a592f5","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"e3d16e6d-14b8-488c-9f59-07c394393b72"},{"name":"Update Wildcard","id":"0a5a4b4b-1f67-4081-9c8a-8d0e6124fa54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag Name\",\n    \"color\": \"#5899c7\",\n    \"description\": \"Tag Description.\",\n    \"removable_role\": \"admin\",\n    \"auto_detach_status\": [\n        \"waiting\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/wildcards/:wildcard","description":"<p>Updates the partner's wildcard.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>removable_role (admin)</td>\n<td>string</td>\n</tr>\n<tr>\n<td>auto_detach_status</td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","wildcards",":wildcard"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"67cd4a52-a89f-41c2-a20f-97ed225e6518","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"7ed4d325-68be-48bd-89b4-772143f53835","type":"any","value":"0a8285ee-939d-4a8c-aba1-88eec0e74cd5","key":"wildcard"}]}},"response":[],"_postman_id":"0a5a4b4b-1f67-4081-9c8a-8d0e6124fa54"}],"id":"10f6d55e-5020-40b0-b027-634f45956af3","_postman_id":"10f6d55e-5020-40b0-b027-634f45956af3","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Workflows","item":[{"name":"Steps","item":[{"name":"Get Steps","id":"34bc68fe-ed4f-4675-9d62-66203b6666ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/workflows/:workflow/steps?per_page=15&page=1&action=send-email&next_workflow_step_id=ae155a9f-e165-49f5-bdd8-6cc591412be4","description":"<p>Get the partner's workflows.</p>\n","urlObject":{"path":["web","partners",":partner","workflows",":workflow","steps"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"action","value":"send-email"},{"key":"next_workflow_step_id","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4"}],"variable":[{"id":"fed1dbbf-8f16-4d4e-badc-cc7efcb73c31","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"19bb1b0b-fe1d-4661-8abb-525d69809a62","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"workflow"}]}},"response":[],"_postman_id":"34bc68fe-ed4f-4675-9d62-66203b6666ef"},{"name":"Get Step","id":"bb2869f7-4f7f-4a02-a9ca-77b68b3fe5b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/workflows/:workflow/steps/:step","description":"<p>Get the partner's workflows.</p>\n","urlObject":{"path":["web","partners",":partner","workflows",":workflow","steps",":step"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"80095672-1b50-47ae-ad07-56ab98b5f298","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"68a5bee4-1381-4f4c-901f-974412f30043","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"workflow"},{"id":"d97392ea-a2f4-45bf-ad33-b9790d0811db","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"step"}]}},"response":[],"_postman_id":"bb2869f7-4f7f-4a02-a9ca-77b68b3fe5b5"},{"name":"Delete Step","id":"63b80ee1-4d8b-486a-bf8d-5f9a82e5972e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/workflows/:workflow/steps/:step","description":"<p>Deletes the partner's workflow step.</p>\n","urlObject":{"path":["web","partners",":partner","workflows",":workflow","steps",":step"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d34ade10-bd76-4ed5-9c45-fa882a4716b0","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"2771d9ca-b9f0-45b6-8841-1391d9f50312","type":"any","value":"0a8285ee-939d-4a8c-aba1-88eec0e74cd5","key":"workflow"},{"id":"c0f806e4-55ab-4220-a230-4d0159eae8bc","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"step"}]}},"response":[],"_postman_id":"63b80ee1-4d8b-486a-bf8d-5f9a82e5972e"},{"name":"Create Step","id":"54f7bba4-7be6-4d9e-91cf-a4be945178be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"action\": \"wait\",\n    \"config\": {\n        \"duration\": 600\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/workflows/:workflow/steps","description":"<p>Creates a workflow step for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>action*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>config*</td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","workflows",":workflow","steps"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c1a409ab-5697-4e11-be01-20b013c1b05b","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"82819947-6ff9-446c-b8ec-1fc87ce2bed0","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"workflow"}]}},"response":[],"_postman_id":"54f7bba4-7be6-4d9e-91cf-a4be945178be"},{"name":"Update Workflow","id":"053b70b1-0049-481d-b288-1a4c7108962c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"action\": \"wait\",\n    \"config\": {\n        \"duration\": 1000\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/workflows/:workflow/steps/:step","description":"<p>Updates the partner's workflow step</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>action</td>\n<td>string</td>\n</tr>\n<tr>\n<td>config</td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","workflows",":workflow","steps",":step"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"3110cd12-54ec-413c-899d-1333261944c7","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"7af3fa61-26d0-4375-9c4d-3e2ea51b01f5","type":"any","value":"0a8285ee-939d-4a8c-aba1-88eec0e74cd5","key":"workflow"},{"id":"a96f725e-76d6-4cb9-a6cb-fc19db2cceac","type":"any","value":"0a8285ee-939d-4a8c-aba1-88eec0e74cd5","key":"step"}]}},"response":[],"_postman_id":"053b70b1-0049-481d-b288-1a4c7108962c"}],"id":"18107fe8-64d3-481a-95fa-a432a3164bab","_postman_id":"18107fe8-64d3-481a-95fa-a432a3164bab","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Workflows","id":"a4d30761-046d-4efd-945c-155fd8f94de2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/workflows?per_page=15&page=1&name=workflow-key&trigger_event=case_completed","description":"<p>Get the partner's workflows.</p>\n","urlObject":{"path":["web","partners",":partner","workflows"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"name","value":"workflow-key"},{"key":"trigger_event","value":"case_completed"}],"variable":[{"id":"de24fe4f-9a05-4961-b7c3-ee3e661088d2","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"a4d30761-046d-4efd-945c-155fd8f94de2"},{"name":"Get Workflow","id":"34874ff1-ad69-4cc4-94b2-8862a3db4a37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/workflows/:workflow","description":"<p>Get the partner's workflows.</p>\n","urlObject":{"path":["web","partners",":partner","workflows",":workflow"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"31047cb8-6479-460b-a1b0-acbd41510186","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"8fcfe1a7-dfe7-48d9-b38b-04ff0ab9e063","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"workflow"}]}},"response":[],"_postman_id":"34874ff1-ad69-4cc4-94b2-8862a3db4a37"},{"name":"Delete Workflow","id":"8684e4f1-1e2f-4a17-b154-fc53b8ceb2fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/workflows/:workflow","description":"<p>Deletes the partner's workflow.</p>\n","urlObject":{"path":["web","partners",":partner","workflows",":workflow"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b0669eaa-6007-4493-919c-8df0263970ae","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"f7e00355-1b75-4efa-94b2-006d62a1fcc7","type":"any","value":"0a8285ee-939d-4a8c-aba1-88eec0e74cd5","key":"workflow"}]}},"response":[],"_postman_id":"8684e4f1-1e2f-4a17-b154-fc53b8ceb2fb"},{"name":"Create Workflow","id":"996aa41e-7b6c-4296-877d-14e26fd02ac0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Example name\",\n    \"trigger_event\": \"case_completed\",\n    \"status\": \"active\",\n    \"config\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/workflows?per_page=15&page=1","description":"<p>Creates a wildcard for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>trigger_event*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>status</td>\n<td>(active, inactive)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","workflows"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"996aa41e-7b6c-4296-877d-14e26fd02ac0"},{"name":"Update Workflow","id":"645c560f-5b1d-4538-8bf7-408acee7866b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Example name\",\n    \"trigger_event\": \"case_completed\",\n    \"status\": \"active\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/wildcards/:workflow","description":"<p>Updates the partner's workflow.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>trigger_event</td>\n<td>string</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","wildcards",":workflow"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b73029ae-73de-4775-9836-dad2a7525d10","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"6b89b9eb-0131-4f28-8e66-61ad9e15440e","type":"any","value":"0a8285ee-939d-4a8c-aba1-88eec0e74cd5","key":"workflow"}]}},"response":[],"_postman_id":"645c560f-5b1d-4538-8bf7-408acee7866b"}],"id":"337660a3-fb5e-488d-895d-8d5715e73e9a","_postman_id":"337660a3-fb5e-488d-895d-8d5715e73e9a","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"NPS Surveys","item":[{"name":"Get NPS Surveys","id":"c5bbc1ea-ddb0-4f2e-b82e-dfa5c8dcc6bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/nps-surveys?per_page=15&page=1&name=nps name&key=nps-key&subject=A subject example here&status=active","description":"<p>Get the partner's NPS Surveys.</p>\n","urlObject":{"path":["web","partners",":partner","nps-surveys"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"name","value":"nps name"},{"key":"key","value":"nps-key"},{"key":"subject","value":"A subject example here"},{"key":"status","value":"active"}],"variable":[{"id":"9a42de91-0dc1-4cf9-a53d-6f3265b14937","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"c5bbc1ea-ddb0-4f2e-b82e-dfa5c8dcc6bd"},{"name":"Get NPS Survey","id":"91405162-30ff-41b0-9fd8-5eb7027b79ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/nps-surveys/:nps_survey_id","description":"<p>Get the partner's NPS Campaigns.</p>\n","urlObject":{"path":["web","partners",":partner","nps-surveys",":nps_survey_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5b0c5be4-590b-4628-843b-65e94b3c7999","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"fc327d9c-d5be-4401-a934-c27ec6b5e35a","type":"any","value":"0a8285ee-939d-4a8c-aba1-88eec0e74cd5","key":"nps_survey_id"}]}},"response":[],"_postman_id":"91405162-30ff-41b0-9fd8-5eb7027b79ac"},{"name":"Delete NPS Survey","id":"0861d88d-063f-43b9-88d7-140c0884cc17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/nps-surveys/:nps_survey_id","description":"<p>Deletes the partner's NPS Survey.</p>\n","urlObject":{"path":["web","partners",":partner","nps-surveys",":nps_survey_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"0dfbe00b-679c-4265-851c-4ed234db1cdf","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"5754a89e-bdee-40a9-8c02-27a4f785f5ce","type":"any","value":"0a8285ee-939d-4a8c-aba1-88eec0e74cd5","key":"nps_survey_id"}]}},"response":[],"_postman_id":"0861d88d-063f-43b9-88d7-140c0884cc17"},{"name":"Create NPS Survey","id":"a85f2204-6707-41c3-b406-2acd65137403","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Example name\",\n    \"key\": \"key\",\n    \"subject\": \"A subject example here\",\n    \"sending_type\": \"email\",\n    \"target_type\": \"clinician\",\n    \"status\": \"active\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/nps-surveys","description":"<p>Creates a NPS Survey for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>key*</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>subject*</td>\n<td>string</td>\n<td></td>\n</tr>\n<tr>\n<td>sending_type*</td>\n<td>string</td>\n<td>E.g: email, message</td>\n</tr>\n<tr>\n<td>target_type</td>\n<td>string</td>\n<td>E.g: clinician, offering, support, md-integrations, partner</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>E.g: active, inactive</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","nps-surveys"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"38739567-10c2-49c6-b562-7a8192afc31f","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[],"_postman_id":"a85f2204-6707-41c3-b406-2acd65137403"},{"name":"Update NPS Survey","id":"88f73d80-39d9-486b-ba7b-b4c4d0455673","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Example name\",\n    \"subject\": \"A subject example here\",\n    \"sending_type\": \"email\",\n    \"target_type\": \"support\",\n    \"status\": \"active\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner/nps-surveys/:nps_survey_id","description":"<p>Updates the partner's NPS Survey.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>subject</td>\n<td>string</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n</tr>\n<tr>\n<td>sending_type</td>\n<td>string</td>\n</tr>\n<tr>\n<td>target_type</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","nps-surveys",":nps_survey_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2dd8f6af-ddb2-4692-9c24-055da106e203","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"38ea3dbb-6b22-423d-b66f-2c8759794842","type":"any","value":"0a8285ee-939d-4a8c-aba1-88eec0e74cd5","key":"nps_survey_id"}]}},"response":[],"_postman_id":"88f73d80-39d9-486b-ba7b-b4c4d0455673"}],"id":"ed7e29fb-f554-4836-a619-34dfee51d829","_postman_id":"ed7e29fb-f554-4836-a619-34dfee51d829","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Update Partner","id":"5dd27df0-d767-44e4-a798-95aa22a945d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Partner Name\",\n    \"active\": true,\n    \"notification_priority\": \"clinician\",\n    \"notification_schedule\": 1,\n    \"reassignment_interval\": 4,\n    \"is_statistics_enabled\": true,\n    \"is_global_statistics_enabled\": false,\n    \"force_is_additional_approval_need\": false,\n    \"is_patient_allowed_choose_notification_inbox\": true,\n    \"is_ai_auto_summary_enabled\": true,\n    \"partner_notes\": \"Partner Notes\",\n    \"thank_you_note_header\": \"Thank You Note Header\",\n    \"thank_you_note_footer\": \"Thank You Note Footer\",\n    \"logo_file_id\": \"3ff1478c-10f5-4d38-aa54-0e4f327b28b9\",\n    \"operation_country_id\": \"39a4c803-7b39-49d6-8540-041e65f6ddcf\",\n    \"address_id\": null,\n    \"about\": \"About\",\n\t\"website_url\": \"https://website.url\",\n    \"customer_support_email\": \"support@customer.example\",\n    \"operations_support_email\": \"operations@customer.example\",\n    \"escalation_support_email\": \"escalation@customer.example\",\n    \"patient_message_capability\": \"integrated\",\n    \"support_message_capability\": \"integrated\",\n    \"support_hours\": \"9 to 5\",\n    \"support_location\": \"us-based\",\n    \"use_intake_form\": true,\n    \"is_voucher_reminder\": false,\n    \"use_messaging\": false,\n    \"messaging_app_primary_color\": \"#5899c7\",\n    \"messaging_app_secondary_color\": \"#5899c7\",\n    \"messaging_app_background_color\": \"#5899c7\",\n    \"accepted_at\": \"1991-12-14 18:05:14\",\n    \"vouched_integration_type\": \"disabled\",\n    \"text_message_integration_type\": \"automatic\",\n    \"parent_company\": \"Partner Company\",\n    \"business_model\": \"regular\",\n    \"enable_av_flow\": false,\n    \"enable_icd_bmi\": false,\n    \"is_auto_dl_flow\": true,\n    \"is_review_required\": true,\n    \"charge_sync_new_case\": 0.1,\n    \"charge_async_new_case\": 0.1,\n    \"charge_sync_follow_up_case\": 0.1,\n    \"charge_async_follow_up_case\": 0.1,\n    \"clinician_due_sync_case\": 0.1,\n    \"clinician_due_async_case\": 0.1,\n    \"clinician_due_sync_followup_encounter\": 0.1,\n    \"clinician_due_async_followup_encounter\": 0.1,\n    \"vouched_integration_charge\": 0.1,\n    \"text_message_integration_charge\": 0.1,\n    \"custom_theme\": null,\n    \"custom_style\": null,\n    \"review_notes\": null,\n    \"contract_file_id\" : \"b82f8c10-122c-4f17-9533-c83c71f4a7af\",\n    \"insurance_file_id\" : \"c619788d-b83f-40aa-b460-e986b80f156a\",\n    \"is_support_auto_archive_email_enabled\": true,\n    \"is_receiving_patient_transfers\":true,\n    \"is_sending_patient_transfers\": true,\n    \"is_patient_workflow_notification_enabled\": true,\n    \"is_auto_create_order_enabled\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners/:partner","description":"<h3 id=\"update-partner-information\">Update Partner Information</h3>\n<p>This endpoint is used to update partner information.</p>\n<h4 id=\"payload\">Payload</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>notification_priority</td>\n<td>string</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>logo_file_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>operation_country_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>address_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>customer_support_email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>operations_support_email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>patient_message_capability</td>\n<td>string</td>\n</tr>\n<tr>\n<td>support_message_capability</td>\n<td>string</td>\n</tr>\n<tr>\n<td>messaging_app_primary_color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>support_hours</td>\n<td>string</td>\n</tr>\n<tr>\n<td>support_location</td>\n<td>string</td>\n</tr>\n<tr>\n<td>use_intake_form</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>use_messaging</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>messaging_app_secondary_color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>messaging_app_background_color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>partner_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note_header</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note_footer</td>\n<td>string</td>\n</tr>\n<tr>\n<td>vouched_integration_type</td>\n<td>string</td>\n</tr>\n<tr>\n<td>text_message_integration_type</td>\n<td>string</td>\n</tr>\n<tr>\n<td>accepted_at</td>\n<td>datetime</td>\n</tr>\n<tr>\n<td>parent_company</td>\n<td>string</td>\n</tr>\n<tr>\n<td>enable_av_flow</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_review_required</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>charge_sync_new_case</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>charge_async_new_case</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>charge_sync_follow_up_case</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>charge_async_follow_up_case</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>clinician_due_sync_case</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>clinician_due_async_case</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>clinician_due_sync_followup_encounter</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>clinician_due_async_followup_encounter</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>vouched_integration_charge</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>text_message_integration_charge</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>is_statistics_enabled</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>force_is_additional_approval_need</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_patient_allowed_choose_notification_inbox</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_receiving_patient_transfers</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_sending_patient_transfers</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","partners",":partner"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"11be5292-30fb-4fd3-b673-429dbb0fa825","key":"partner"}]}},"response":[],"_postman_id":"5dd27df0-d767-44e4-a798-95aa22a945d4"},{"name":"Get Partner","id":"b2164aed-84d0-414b-ae1c-dde01a0481c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner","description":"<p>Get the partner details.</p>\n","urlObject":{"path":["web","partners",":partner"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"with_relationships[]","value":"contractFile"},{"disabled":true,"key":"with_relationships[]","value":"insuranceFile"},{"disabled":true,"key":"with_relationships[]","value":"logo"}],"variable":[{"type":"any","value":"11be5292-30fb-4fd3-b673-429dbb0fa825","key":"partner"}]}},"response":[],"_postman_id":"b2164aed-84d0-414b-ae1c-dde01a0481c2"},{"name":"Create Partner","id":"7f291ff2-b093-4114-827a-372fc9786545","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"partner\" : {\n        \"name\": \"Partner Name\",\n        \"notification_priority\": \"clinician\",\n        \"notification_schedule\": 1,\n        \"reassignment_interval\": 4,\n        \"active\": true,\n        \"is_statistics_enabled\": false,\n        \"is_global_statistics_enabled\": false,\n        \"force_is_additional_approval_need\": false,\n        \"is_patient_allowed_choose_notification_inbox\": true,\n        \"is_ai_auto_summary_enabled\": true,\n        \"partner_notes\": \"Partner Notes\",\n        \"thank_you_note_header\": \"Thank You Note Header\",\n        \"thank_you_note_footer\": \"Thank You Note Footer\",\n        \"logo_file_id\": \"3ff1478c-10f5-4d38-aa54-0e4f327b28b9\",\n        \"operation_country_id\": \"39a4c803-7b39-49d6-8540-041e65f6ddcf\",\n        \"address_id\": null,\n        \"about\": \"About\",\n\t    \"website_url\": \"https://website.url\",\n        \"customer_support_email\": \"support@customer.example\",\n        \"operations_support_email\": \"operations@customer.example\",\n        \"escalation_support_email\": \"escalation@customer.example\",\n        \"patient_message_capability\": \"integrated\",\n        \"support_message_capability\": \"integrated\",\n        \"support_hours\": \"9 to 5\",\n        \"support_location\": \"us-based\",\n        \"use_intake_form\": true,\n        \"is_voucher_reminder\": false,\n        \"use_messaging\": false,\n        \"enable_av_flow\": false,\n        \"enable_icd_bmi\": false,\n        \"is_auto_dl_flow\": true,\n        \"messaging_app_primary_color\": \"#5899c7\",\n        \"messaging_app_secondary_color\": \"#5899c7\",\n        \"messaging_app_background_color\": \"#5899c7\",\n        \"accepted_at\": \"2023-03-09 20:14:12\",\n        \"vouched_integration_type\": \"disabled\",\n        \"text_message_integration_type\": \"automatic\",\n        \"parent_company\": \"Partner Company\",\n        \"recaptcha\": \"reCAPTCHA\",\n        \"custom_theme\": null,\n        \"custom_style\": null,\n        \"review_notes\": null,\n        \"contract_file_id\" : \"b82f8c10-122c-4f17-9533-c83c71f4a7af\",\n        \"insurance_file_id\" : \"c619788d-b83f-40aa-b460-e986b80f156a\",\n        \"is_support_auto_archive_email_enabled\": true,\n        \"is_patient_workflow_notification_enabled\": true,\n        \"is_auto_create_order_enabled\": false\n    },\n    \"categories\": [\n        {\n            \"id\": \"d1334f2f-6493-43b3-a358-fc6951245275\"\n        },\n        {\n            \"id\": \"a2696f04-5843-4d98-bbe9-3d1d4db90308\"\n        }\n    ],\n    \"panel_user\": {\n        \"name\": \"Panel User Name\",\n        \"email\": \"panel@user.example\",\n        \"timezone_id\": \"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6\"\n    },\n    \"recaptcha\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJkZDBmMDA1ZS00MDU1LTRjNzMtYjkyMS01M2M...\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/partners","description":"<p>Creates a partner, attaches its categories, creates a panel user, and attaches it to the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner*</td>\n<td>object</td>\n</tr>\n<tr>\n<td>categories</td>\n<td>array</td>\n</tr>\n<tr>\n<td>panel_user*</td>\n<td>object</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-partner\">Payload (partner)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>notification_priority</td>\n<td>string</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>logo_file_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>operation_country_id*</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>address_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>customer_support_email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>operations_support_email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>patient_message_capability</td>\n<td>string</td>\n</tr>\n<tr>\n<td>support_message_capability</td>\n<td>string</td>\n</tr>\n<tr>\n<td>messaging_app_primary_color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>support_hours</td>\n<td>string</td>\n</tr>\n<tr>\n<td>support_location</td>\n<td>string (international, us-based)</td>\n</tr>\n<tr>\n<td>use_intake_form</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>use_messaging</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>messaging_app_secondary_color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>messaging_app_background_color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>partner_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note_header</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note_footer</td>\n<td>string</td>\n</tr>\n<tr>\n<td>vouched_integration_type</td>\n<td>string</td>\n</tr>\n<tr>\n<td>text_message_integration_type</td>\n<td>string (disabled, automatic)</td>\n</tr>\n<tr>\n<td>enable_av_flow</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>accepted_at</td>\n<td>datetime</td>\n</tr>\n<tr>\n<td>parent_company</td>\n<td>string</td>\n</tr>\n<tr>\n<td>recaptcha*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>is_statistics_enabled</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>force_is_additional_approval_need</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_patient_allowed_choose_notification_inbox</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-categories\">Payload (categories)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id*</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-panel_user\">Payload (panel_user)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7f291ff2-b093-4114-827a-372fc9786545"},{"name":"Review Partner","id":"63b76d3a-af76-486a-88b8-33dfbb6f81e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":null}]},"url":"https://api.mdintegrations.com/web/partners/:partner/review","description":"<p>Reviews the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>file*</td>\n<td>file</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","partners",":partner","review"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5a9113f5-44f1-4ea5-b10e-86054d59ef6d","type":"any","value":"9971c903-0f79-4ca6-ba52-2c9f3a90497d","key":"partner"}]}},"response":[],"_postman_id":"63b76d3a-af76-486a-88b8-33dfbb6f81e2"},{"name":"Get Partner Statistic","id":"3882c039-9112-479c-92b1-df99f24f6c09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/statistics/:statistic?start_date=2023-01-01&end_date=2024-01-01","description":"<p>Get the partner statistic.</p>\n","urlObject":{"path":["web","partners",":partner","statistics",":statistic"],"host":["https://api.mdintegrations.com"],"query":[{"key":"start_date","value":"2023-01-01"},{"key":"end_date","value":"2024-01-01"},{"disabled":true,"key":"view","value":"table"},{"disabled":true,"key":"columns[]","value":"amount_voucheds"}],"variable":[{"id":"921e61f5-354a-462b-9c94-d20167aee211","type":"any","value":"11be5292-30fb-4fd3-b673-429dbb0fa825","key":"partner"},{"id":"159afe3b-59ee-413e-8f5a-f021d08d9cf5","type":"any","value":"cases","key":"statistic"}]}},"response":[],"_postman_id":"3882c039-9112-479c-92b1-df99f24f6c09"},{"name":"Get Partner Latest Integrations","id":"779a43af-65da-47b2-b387-3352919ad72c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/partners/:partner/onboarding/integrations/latest","description":"<p>It returns the latest patient and case.</p>\n","urlObject":{"path":["web","partners",":partner","onboarding","integrations","latest"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"view","value":"table"},{"disabled":true,"key":"columns[]","value":"amount_voucheds"}],"variable":[{"id":"cdd0bb63-1b36-4dba-bb19-818637463396","type":"any","value":"11be5292-30fb-4fd3-b673-429dbb0fa825","key":"partner"}]}},"response":[],"_postman_id":"779a43af-65da-47b2-b387-3352919ad72c"}],"id":"160b7a5f-0394-41f8-a204-feed222cb71c","_postman_id":"160b7a5f-0394-41f8-a204-feed222cb71c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Specialties","item":[{"name":"Models","item":[{"name":"Get Clinicians","id":"b68d085e-cbd9-4a4b-a7a7-1436b581eeee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/clinicians","description":"<p>Get the specialty's clinicians.</p>\n","urlObject":{"path":["web","specialties",":specialty","clinicians"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d59e4d18-cb0a-4f05-8053-b0ae46f7596b","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"b68d085e-cbd9-4a4b-a7a7-1436b581eeee"},{"name":"Get Partners","id":"a28a47ca-b840-4989-9010-93feec1b12d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/partners","description":"<p>Get the specialty's partners.</p>\n","urlObject":{"path":["web","specialties",":specialty","partners"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"1e04740e-14bc-400a-945a-d77a2c7228f6","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"a28a47ca-b840-4989-9010-93feec1b12d6"},{"name":"Get Compounds","id":"a050e307-6840-47fa-93d9-5c8d689685c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/compounds","description":"<p>Get the specialty's compounds.</p>\n","urlObject":{"path":["web","specialties",":specialty","compounds"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"fe923ab4-9223-4565-8ee8-a621fbd77e54","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"a050e307-6840-47fa-93d9-5c8d689685c2"},{"name":"Get Medications","id":"bb04e8fc-81d7-4bf5-a221-ad368192c0f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/medications","description":"<p>Get the specialty's medications.</p>\n","urlObject":{"path":["web","specialties",":specialty","medications"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"590ac84f-3ec3-491d-9895-4babcb2c760f","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"bb04e8fc-81d7-4bf5-a221-ad368192c0f5"},{"name":"Get Supplies","id":"89fedd83-de6a-4a09-aed2-949655294604","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/supplies","description":"<p>Get the specialty's supplies.</p>\n","urlObject":{"path":["web","specialties",":specialty","supplies"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"66218d54-f282-497f-9987-5bc829123712","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"89fedd83-de6a-4a09-aed2-949655294604"},{"name":"Get Services","id":"caf634aa-a595-4d49-8043-de0258bbf17c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/services","description":"<p>Get the specialty's services.</p>\n","urlObject":{"path":["web","specialties",":specialty","services"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6475856b-08de-4da0-a18c-0e25f97930e5","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"caf634aa-a595-4d49-8043-de0258bbf17c"},{"name":"Get Questionnaires","id":"aa456f7d-96a3-4869-b0f9-2d9f22f2e4a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires","description":"<p>Get the specialty's questionnaires.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d848119d-bfa2-4f6c-8436-2f4d6789a31a","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"aa456f7d-96a3-4869-b0f9-2d9f22f2e4a3"}],"id":"cde3ff1c-af58-48e3-ba3e-b7409b3d7819","_postman_id":"cde3ff1c-af58-48e3-ba3e-b7409b3d7819","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Offerings","item":[{"name":"Diseases","item":[{"name":"Get Diseases","id":"1bbe577d-92a7-46a2-b27f-37c8752ce7b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering/diseases?per_page=15&page=1","description":"<p>Get the partner's medication's diseases (paginated).</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","diseases"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"1b64defd-a9fb-49cf-94b6-4af9d0c78edd","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"4e7b1de2-9059-416c-9933-14ed81a8f4ee","type":"any","value":"medications","key":"offerginType"},{"id":"5f5fbc23-cc6c-4549-aa3b-83f24bb095bd","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"}]}},"response":[],"_postman_id":"1bbe577d-92a7-46a2-b27f-37c8752ce7b7"},{"name":"Attach Disease","id":"186b9add-3030-4fec-a079-6eb8be805b8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering//diseases/:disease","description":"<p>Attach the disease to the partner's medication.</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","","diseases",":disease"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"44fd37bd-a7ba-4e7d-af72-9fb16b3948f0","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"318f5da7-20e2-4566-b0a0-755f2cf6b257","type":"any","value":"medications","key":"offerginType"},{"id":"319c46ef-a8fb-43b3-9556-be1621f7ce40","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"},{"id":"095c0ee5-40a3-42d0-84b9-f1eaec423eb4","type":"any","value":"ca9188dc-3421-4264-89a5-f866763c3a44","key":"disease"}]}},"response":[],"_postman_id":"186b9add-3030-4fec-a079-6eb8be805b8e"},{"name":"Detach Disease","id":"a8e8c24d-9e9f-4147-bf03-e30525dc4217","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering/diseases/:disease","description":"<p>Detach the disease from the partner's medication.</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","diseases",":disease"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"62862fab-9115-4e7a-a061-cbd3f3c63c07","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"e809a9f7-8d49-4b5d-bd68-64ce11bc2040","type":"any","value":"medications","key":"offerginType"},{"id":"ae78d951-6efa-4d5c-9f6d-6eda7614fc44","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"},{"id":"b540990c-a959-45be-9796-1deb661e8893","type":"any","value":"ca9188dc-3421-4264-89a5-f866763c3a44","key":"disease"}]}},"response":[],"_postman_id":"a8e8c24d-9e9f-4147-bf03-e30525dc4217"}],"id":"346ad253-739d-4650-92ff-6f50e7f1aaa4","_postman_id":"346ad253-739d-4650-92ff-6f50e7f1aaa4","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tags","item":[{"name":"Get Tags","id":"c918491f-55d4-4671-bd0f-0c31908086bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/tags?per_page=15&page=1","description":"<p>Get the partner's medication's tags (paginated).</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType","tags"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"2fc76277-9a93-4d2c-b7c1-f35145512c1b","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"7bc53a2c-5030-4355-bed5-1323d7777e35","type":"any","value":"medications","key":"offerginType"}]}},"response":[],"_postman_id":"c918491f-55d4-4671-bd0f-0c31908086bd"},{"name":"Attach Tag","id":"029ec122-bce6-4d83-a5b3-e11a1aae9fcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"medication notes\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering/tags/:tag","description":"<p>Attach the tag to the partner's medication.</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"28110f3e-f6af-4afa-bc88-00fd4cb1e08a","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"25e70b46-c1d2-4832-a6c0-4427c897ff29","type":"any","value":"medications","key":"offerginType"},{"id":"9e84d912-de89-4646-9fb6-f39ff9326254","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"},{"id":"4dc8ef99-90ce-428a-914e-a067ac5dd181","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"029ec122-bce6-4d83-a5b3-e11a1aae9fcb"},{"name":"Update Tag","id":"6161458d-6191-4dcd-9633-f8067ab80efb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"new medication notes\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering/tags/:tag","description":"<p>Update the tag's notes to the partner's medication.</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"eb2b1c0e-82cc-4776-ab2d-d289596ba170","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"3e5027f8-01cf-4361-bb7c-9c984a2f852c","type":"any","value":"medications","key":"offerginType"},{"id":"933764e9-76d9-46d3-9bca-548639e77d50","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"},{"id":"7bfcc830-cc64-474c-940e-a709118b783c","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"6161458d-6191-4dcd-9633-f8067ab80efb"},{"name":"Detach Tag","id":"6c831a05-69bd-4e4b-87e1-d74c7de40f5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering/tags/:tag","description":"<p>Detach the tag from the partner's medication.</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ae5eca39-5cb4-464e-80ee-cdee669140d8","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"fb53fc1f-f2f5-4d63-9aa1-38e9ae7a8a15","type":"any","value":"medications","key":"offerginType"},{"id":"9f25d8de-eaa7-4672-b026-10a4411e844f","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"},{"id":"b9f4bf5b-e113-40f8-ae66-2317727dc4b7","type":"any","value":"e2ac4509-5f54-4c1b-a220-bba9796dffde","key":"tag"}]}},"response":[],"_postman_id":"6c831a05-69bd-4e4b-87e1-d74c7de40f5a"}],"id":"bc032d30-84fb-46f1-a950-88846c11fdfc","_postman_id":"bc032d30-84fb-46f1-a950-88846c11fdfc","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"States","item":[{"name":"Get States","id":"7fb38d82-5427-492e-84be-d0eef64008b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering/states?per_page=15&page=1","description":"<p>Get the partner's medication's states (paginated).</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","states"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"ccb8a08d-5bf0-4752-8fe5-fecab9b290a8","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"0259ce33-451e-4d03-a621-e9c821c94445","type":"any","value":"medications","key":"offerginType"},{"id":"b3df892d-0bd4-4611-a75d-9b3d369027c6","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"}]}},"response":[],"_postman_id":"7fb38d82-5427-492e-84be-d0eef64008b7"},{"name":"Attach State","id":"c7cde3a9-6077-4224-b412-103c810153c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering/states/:state","description":"<p>Attach the state to the partner's medication.</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"38e2a206-1691-43be-9965-e576ef825568","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"efc66da8-71ad-413d-836e-e114fb5b22dc","type":"any","value":"medications","key":"offerginType"},{"id":"f26d4be4-c2ad-44c3-ba00-b3e13b40a609","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"},{"id":"1b6bc07a-d41a-44f1-92f9-f35904dd7735","type":"any","value":"c4d240f6-e183-4869-b5dd-851082ae8d97","key":"state"}]}},"response":[],"_postman_id":"c7cde3a9-6077-4224-b412-103c810153c1"},{"name":"Detach State","id":"b364efa9-505b-40e1-8715-f3263e4e3102","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering/states/:state","description":"<p>Detach the state from the partner's medication.</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"497a72fe-30d3-47b4-96a1-d9e08bd27a30","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"edb99903-3d0d-45e8-999f-10c66ba69615","type":"any","value":"medications","key":"offerginType"},{"id":"1f134b81-a8aa-4a97-a08f-0deeb487bf14","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"},{"id":"be002c3b-276a-4db3-9134-0fac9dcd0041","type":"any","value":"c4d240f6-e183-4869-b5dd-851082ae8d97","key":"state"}]}},"response":[],"_postman_id":"b364efa9-505b-40e1-8715-f3263e4e3102"}],"id":"777aea3f-9966-4efe-abf0-75cd9eac2782","_postman_id":"777aea3f-9966-4efe-abf0-75cd9eac2782","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Specialties","item":[{"name":"Get Specialties","id":"e6c10240-47f5-4d56-a079-9f25f7eb2ef2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering/states?per_page=15&page=1","description":"<p>Get the partner's medication's states (paginated).</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","states"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"1880f2a0-269d-4256-aa08-258747625277","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"c6d56176-d648-4770-982d-879205c2a300","type":"any","value":"medications","key":"offerginType"},{"id":"dfbd626a-8cde-4c24-84c6-b65d094895bb","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"}]}},"response":[],"_postman_id":"e6c10240-47f5-4d56-a079-9f25f7eb2ef2"},{"name":"Attach Specialty","id":"72c19906-07e9-4b77-ac62-d2fb19768c78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"is_auto_replicate\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering/speccialties/:specialty","description":"<p>Attach the state to the partner's medication.</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","speccialties",":specialty"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"87d97bc0-fbab-4a54-b928-bd6370bd422a","type":"any","value":"5dcc40fb-7dfa-41b0-a0fc-f890ccc9cf7b","key":"specialty"},{"id":"a6b01cc4-8962-4d81-ab07-61cef77666ed","type":"any","value":"medications","key":"offerginType"},{"id":"0c9eb746-9980-46bb-9a2b-2a65a36921aa","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"}]}},"response":[],"_postman_id":"72c19906-07e9-4b77-ac62-d2fb19768c78"},{"name":"Patch Specialty","id":"300bdba0-d147-4fd0-bb14-42717cdadea2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"is_auto_replicate\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering/speccialties/:specialty","description":"<p>Attach the state to the partner's medication.</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","speccialties",":specialty"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"db9ff9fe-ab5d-4aab-86cf-593db6593a51","type":"any","value":"5dcc40fb-7dfa-41b0-a0fc-f890ccc9cf7b","key":"specialty"},{"id":"eec1f094-38e5-4f4a-ac41-b526a6f81793","type":"any","value":"medications","key":"offerginType"},{"id":"69eca4b1-665e-48fe-9ee0-4ce28d6320c3","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"}]}},"response":[],"_postman_id":"300bdba0-d147-4fd0-bb14-42717cdadea2"},{"name":"Detach Specialty","id":"a901117e-b89c-45fd-b434-67e754f94d78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering/specialties/:specialty","description":"<p>Detach the state from the partner's medication.</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","specialties",":specialty"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a833056b-4958-467e-a3a9-79a0f0c71507","type":"any","value":"5dcc40fb-7dfa-41b0-a0fc-f890ccc9cf7b","key":"specialty"},{"id":"3f6dc190-fc24-4014-84f1-e618d55a8eb8","type":"any","value":"medications","key":"offerginType"},{"id":"27bdc547-aa2c-4c5e-9fd7-d8ce54c9c127","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"}]}},"response":[],"_postman_id":"a901117e-b89c-45fd-b434-67e754f94d78"}],"id":"288fd024-973f-4faa-8ccb-b93d57749e89","_postman_id":"288fd024-973f-4faa-8ccb-b93d57749e89","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Delete Offering","id":"b01942cc-b106-4ded-ad75-0d661dc57f2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering","description":"<p>Deletes the partner's medication.</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"32901efe-d4dd-4021-83c2-0d9f37c03fd3","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"b7abfce2-7aff-4f7f-a4bd-37f3f65b292b","type":"any","value":"medications","key":"offerginType"},{"id":"4d355a94-4cd7-4510-8287-cc5ec892aafe","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"}]}},"response":[],"_postman_id":"b01942cc-b106-4ded-ad75-0d661dc57f2c"},{"name":"Get Offerings","id":"1def085e-269e-4002-b487-32640fbdd97c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType?per_page=15&page=1&product_type=App\\Models\\DosespotSupply","description":"<p>Get the partner's medications (paginated).</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"disabled":true,"key":"order","value":"asc"},{"disabled":true,"key":"sort","value":"order"},{"disabled":true,"key":"search","value":"term"},{"disabled":true,"key":"trashed","value":"only/with"},{"key":"product_type","value":"App\\Models\\DosespotSupply"}],"variable":[{"type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"type":"any","value":"medications","key":"offerginType"}]}},"response":[],"_postman_id":"1def085e-269e-4002-b487-32640fbdd97c"},{"name":"Get Offering","id":"25deb200-5acd-4740-b17e-88ba5d0bed0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering","description":"<p>Get the partner's medication details.</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"cba81f48-9ba9-4e35-a344-28154cb981ac","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"5c77712c-0687-498e-8249-bfc50fd97c89","type":"any","value":"medications","key":"offerginType"},{"id":"cc96878e-d399-4fd4-87b0-8aef5340876d","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"}]}},"response":[],"_postman_id":"25deb200-5acd-4740-b17e-88ba5d0bed0d"},{"name":"Create Offering","id":"b61a1062-010c-44e5-8978-4e0a72c6e24e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"product_type\": \"App\\\\Models\\\\DosespotMedication\",\n\n    \"active\": true,\n    \"is_additional_approval_needed\": false,\n    \"clinical_note\": \"Notes from the MD.\",\n    \"thank_you_note\": \"Thank you!\",\n    \"order\": 1,\n    \"metadata\": \"Metadata\",\n    \"upcharge\": 1.01,\n    \"clinician_extra_fee\": 1.02,\n    \n    \"product\": {\n        // Medication\n        \"refills\": 1,\n        \"quantity\": \"2\",\n        \"days_supply\": 7,\n        \"directions\": \"One per day.\",\n        \"allow_substitutions\": true,\n        \"name\": \"Name\",\n        \"strength\": \"6 mg\",\n        \"ndc\": \"00527241532\",\n        \"effective_date\": 7,\n        \"dispense_unit\": \"Tablet\",\n        \"dispense_unit_id\": 26,\n        \"pharmacy_id\": 14,\n        \"pharmacy_name\": \"Pharmacy Name\",\n        \"force_pharmacy\": true,\n        \"dosespot_rxcui\": 1653438,\n        \"pharmacy_notes\": \"Notes for the parmacy.\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType","description":"<p>Creates a medication for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n</tr>\n<tr>\n<td>refills*</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>quantity*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>directions*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>strength*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>ndc</td>\n<td>string</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>dispense_unit*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>dispense_unit_id*</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>force_pharmacy*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>dosespot_rxcui</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>clinical_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>allow_substitutions*</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","specialties",":specialty",":offerginType"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"type":"any","value":"offerings","key":"offerginType"}]}},"response":[],"_postman_id":"b61a1062-010c-44e5-8978-4e0a72c6e24e"},{"name":"Restore Offering","id":"f76751cd-1768-43e7-8edd-6afc54b517e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering/restore","description":"<p>Restores the partner's medication.</p>\n","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","restore"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"129a41f5-bf37-40d4-8337-f4207f1ed062","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"5e5485b5-1bc1-45d5-8b4e-e2731916a8fd","type":"any","value":"medications","key":"offerginType"},{"id":"8a766894-1cfe-4a23-836f-86d6fc0cbb53","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"}]}},"response":[],"_postman_id":"f76751cd-1768-43e7-8edd-6afc54b517e4"},{"name":"Update Offering","id":"f8979c7d-db78-4a97-b0b5-a5df6fb76014","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": \"Metadata UPDATEDDDD2323\",\n    \"clinical_note\": \"Notes from the MD.\",\n    \"thank_you_note\": \"Thank you!\",\n    \"order\": 1,\n    \"upcharge\": 1.02,\n    \"clinician_extra_fee\": 1.02,\n    \"product\": {\n        // Medication\n        \"refills\": 2,\n        \"quantity\": \"8\",\n        \"days_supply\": 9,\n        \"directions\": \"One per day.12\",\n        \"name\": \"Name 12\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering","description":"<p>Updates the partner's medication.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n</tr>\n<tr>\n<td>refills</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>string</td>\n</tr>\n<tr>\n<td>days_supply</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>directions</td>\n<td>string</td>\n</tr>\n<tr>\n<td>effective_date</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>dispense_unit</td>\n<td>string</td>\n</tr>\n<tr>\n<td>dispense_unit_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_id</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>pharmacy_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>force_pharmacy</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>clinical_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>pharmacy_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note</td>\n<td>string</td>\n</tr>\n<tr>\n<td>metadata</td>\n<td>string</td>\n</tr>\n<tr>\n<td>order</td>\n<td>integer</td>\n</tr>\n<tr>\n<td>allow_substitutions</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"type":"any","value":"offerings","key":"offerginType"},{"type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"}]}},"response":[],"_postman_id":"f8979c7d-db78-4a97-b0b5-a5df6fb76014"},{"name":"Replicate Offering","id":"b32e66c9-21f8-4fd0-ab43-b5b410a4d853","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/:offerginType/:offering/replicate","description":"<p>Replicates the partner's medication.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","specialties",":specialty",":offerginType",":offering","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9fee26ef-223d-4416-899c-246c53e3a33a","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"48664f20-3b0e-43ba-bbc2-7a6aeb8b898f","type":"any","value":"medications","key":"offerginType"},{"id":"142621e0-b5a7-40ef-92a6-4d6523f44b67","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"}]}},"response":[],"_postman_id":"b32e66c9-21f8-4fd0-ab43-b5b410a4d853"},{"name":"Get Questionnaires","id":"ad0e7751-b9c1-45f7-9df6-adc0001de00f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/offerings/:offering/questionnaires","description":"<p>It retrieves all questionnaires linked to the specialty through its associated offerings.</p>\n","urlObject":{"path":["web","specialties",":specialty","offerings",":offering","questionnaires"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e1da2333-aef8-4292-8e5a-35ab4e7d6fdf","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"4fc39ba7-21d8-4cfa-9340-628a99c4a43b","type":"any","value":"a072f169-04c6-408b-a550-4d4ee79151bd","key":"offering"}]}},"response":[],"_postman_id":"ad0e7751-b9c1-45f7-9df6-adc0001de00f"}],"id":"3eafe708-1323-49d0-b189-41239e928346","_postman_id":"3eafe708-1323-49d0-b189-41239e928346","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Questionnaires","item":[{"name":"Questions","item":[{"name":"Options","item":[{"name":"Get Options","id":"bc4e0b49-da64-4bf0-9b19-0c6fd5651518","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/options","description":"<p>Get the questionnaire's question's option (paginated).</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","options"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"825db9e2-6de7-4b43-a1d0-440c64c61032","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"5c2fd2c5-5609-41ab-a518-5f4293494070","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"2c16e509-2091-4289-a168-e521f6fe95e7","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"}]}},"response":[],"_postman_id":"bc4e0b49-da64-4bf0-9b19-0c6fd5651518"},{"name":"Get Option","id":"61edd312-fa0e-480a-87e7-6dd2ee74bfaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/options/:option","description":"<p>Get the partner's questionnaire's question's option.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","options",":option"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c9a125c5-bd0e-41ce-9014-9151cd722366","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"6d5cf0c1-12b4-42a3-b7a2-ff822b075344","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"2b822ddb-9efb-4bbe-929c-a480a2ff4fad","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"f8608c9f-6f96-4def-97cd-d181cd185842","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"option"}]}},"response":[],"_postman_id":"61edd312-fa0e-480a-87e7-6dd2ee74bfaa"},{"name":"Post Option","id":"75b3aaba-8717-40e6-b403-89c10332bbcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"opt 1\",\n    \"is_important\": true,\n    \"is_critical\": true,\n    \"is_show_additional_field\": true,\n    \"order\": 1,\n    \"icon_type\": \"icon\",\n    \"icon\": \"person\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/options","description":"<p>Create a questionnaire's question's option.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","options"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"}]}},"response":[],"_postman_id":"75b3aaba-8717-40e6-b403-89c10332bbcf"},{"name":"Patch Option","id":"fb5ce1a2-fc2b-43d0-b147-83e22ab576e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"opt 1\",\n    \"is_important\": true,\n    \"is_critical\": true,\n    \"is_show_additional_field\": true,\n    \"order\": 1,\n    \"icon_type\": null,\n    \"icon\": null\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/options/:option","description":"<p>Update the questionnaire's question's option.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","options",":option"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"option"}]}},"response":[],"_postman_id":"fb5ce1a2-fc2b-43d0-b147-83e22ab576e0"},{"name":"Delete Option","id":"6e4f16da-d892-4563-b76a-f0f172301d51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/options/:option","description":"<p>Delete the questionnaire's question's option.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","options",":option"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5e960830-52cb-4745-913f-fc1634a2c095","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"c386097a-2190-4b58-9a49-ca2233c54903","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"0c2dafc5-a7bc-4ba7-858f-7bb080546062","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"d8cf66bb-62b4-4325-8d47-58eb4595f74c","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"option"}]}},"response":[],"_postman_id":"6e4f16da-d892-4563-b76a-f0f172301d51"}],"id":"972167a3-e590-4fff-a319-ad251cd73e61","_postman_id":"972167a3-e590-4fff-a319-ad251cd73e61","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Rules","item":[{"name":"Requirements","item":[{"name":"Get Requirements","id":"801feac2-a375-48c6-a6a4-ede9812b4574","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/rules/:rule/requirements?per_page=15&page=1","description":"<p>Get the questionnaire's question's rule's requirements (paginated).</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","rules",":rule","requirements"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"fef100ca-f6b2-4228-b28d-4ed2a1c17bdd","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"959ab012-9656-488d-bb20-dc0990d30364","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"572c5eb0-685f-48a9-9780-b8a44b92eee5","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"a79b58da-ae31-4dc4-bf92-10f3d1a43163","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"}]}},"response":[],"_postman_id":"801feac2-a375-48c6-a6a4-ede9812b4574"},{"name":"Get Requirement","id":"506e2519-c068-4c83-bfaa-42d101665808","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/rules/:rule/requirements/:requirement","description":"<p>Get the questionnaire's question's rule's requirement.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","rules",":rule","requirements",":requirement"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"789690e0-8ace-41c1-9336-eec32e7a68db","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"c84de34d-007d-41dc-bc40-7bef727d47db","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"4df53f81-b8ae-4666-9667-2f879e000722","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"8e80a29f-ada9-4ece-8f99-015555db25a3","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"},{"id":"f558cd89-e52d-4ecc-a59b-7510d37743aa","type":"any","value":"af89ac7c-ec83-43dc-adf7-82994a686b0d","key":"requirement"}]}},"response":[],"_postman_id":"506e2519-c068-4c83-bfaa-42d101665808"},{"name":"Post Requirement","id":"963ac4ee-f627-4d5e-bbcc-c4b5048a22bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"based_on\": \"state\",\n    \"required_answer\": \"dc2b5892-bd34-4822-97d1-9496207de918\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/rules/:rule/requirements","description":"<p>Create a questionnaire's question's rule's requirement.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","rules",":rule","requirements"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c5275c46-99dd-4cda-ad96-aed709d49f40","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"ea7db242-f800-454e-83ff-389766a5f142","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"b97a4e1b-e4dd-478b-b370-721c2f020053","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"164a124d-f352-4204-b950-852d468c219f","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"}]}},"response":[],"_postman_id":"963ac4ee-f627-4d5e-bbcc-c4b5048a22bf"},{"name":"Patch Requirement","id":"42582ba8-4ef2-4396-a069-87194def1c40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"based_on\": \"state\",\n    \"required_answer\": \"dc2b5892-bd34-4822-97d1-9496207de918\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/rules/:rule/requirements/:requirement","description":"<p>Update the questionnaire's question's rule's requirement.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","rules",":rule","requirements",":requirement"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"83e83cdf-41ed-421d-a034-959993dfd507","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"8b62f7ce-1fa3-4ef4-b688-edf51e119945","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"ae5da4fc-ac8e-4df9-af5b-f81446258899","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"c984f2b0-787d-41c7-8f2b-f21a91fac77f","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"},{"id":"58d51b56-357e-4ded-8512-7865fabd38e7","type":"any","value":"af89ac7c-ec83-43dc-adf7-82994a686b0d","key":"requirement"}]}},"response":[],"_postman_id":"42582ba8-4ef2-4396-a069-87194def1c40"},{"name":"Delete Requirement","id":"0abac897-ddce-4de3-8565-646ec5d57450","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/rules/:rule/requirements/:requirement","description":"<p>Delete the questionnaire's question's rule's requirement</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","rules",":rule","requirements",":requirement"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"eba0f44c-bf1f-43d5-8522-eb8e51a5c24e","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"f4818cd5-93c8-4e04-9b91-ee9344421d0e","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"2d0915e3-35a5-45ae-9016-5a32a2f712ae","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"db0f31d7-b9e7-4bb2-98b2-ff6fa94ffb6c","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"},{"id":"7771f01a-2fee-4a52-b71c-3a1d29816b28","type":"any","value":"af89ac7c-ec83-43dc-adf7-82994a686b0d","key":"requirement"}]}},"response":[],"_postman_id":"0abac897-ddce-4de3-8565-646ec5d57450"}],"id":"d33828b6-f12d-4000-b0d1-dacba8ff1865","_postman_id":"d33828b6-f12d-4000-b0d1-dacba8ff1865","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Rules","id":"6d997227-006e-4553-b598-924125fdccf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/rules?per_page=15&page=1&with_relationships[]=requirements","description":"<p>Get the questionnaire's question's rules (paginated).</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","rules"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"with_relationships[]","value":"requirements"}],"variable":[{"id":"859c4568-10f6-4174-bd7b-497b2350593e","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"ad39e969-47e2-4be0-be0e-e6c3dad69b66","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"b42ee23a-6444-4dc9-9f25-9e5aba746aae","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"}]}},"response":[],"_postman_id":"6d997227-006e-4553-b598-924125fdccf5"},{"name":"Get Rule","id":"6554171c-c321-48be-8eda-291f30ecba0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/rules/:rule","description":"<p>Get the questionnaire's question's rule.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","rules",":rule"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d716c7f0-43bd-41ff-a68c-de499fb5c5fb","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"fa256228-4eec-4130-878a-c5d02c9f9290","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"f8c6d518-b5cb-4728-be48-c5f81c4a470a","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"909fb52c-d2e9-452f-b580-b640bdb19857","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"rule"}]}},"response":[],"_postman_id":"6554171c-c321-48be-8eda-291f30ecba0e"},{"name":"Post Rule","id":"8a46f299-4510-4c4b-9e2a-830f907dd75c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"rule title\",\n    \"type\": \"not\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/rules","description":"<p>Create a questionnaire's question's rule.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","rules"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f631a67f-f367-42f8-a034-c9e7629e6a9a","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"6060b3da-92bf-4a48-849a-d1211ddc3624","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"05c5a2bd-9967-4371-b5ba-d0b3107c206c","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"}]}},"response":[],"_postman_id":"8a46f299-4510-4c4b-9e2a-830f907dd75c"},{"name":"Patch Rule","id":"ddaa278e-0523-4fc2-8ffb-ce61544a33f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"rule title\",\n    \"type\": \"not\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/rules/:rule","description":"<p>Update the questionnaire's question's rule.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","rules",":rule"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c4f84935-b21b-477b-9fc2-4d547f9b03e3","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"1b067343-9a76-4759-be12-54dfb98d4893","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"324f7456-8773-47ba-be4c-53a605be430f","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"cde8a870-2dcb-43a1-afb3-8209461f4169","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"rule"}]}},"response":[],"_postman_id":"ddaa278e-0523-4fc2-8ffb-ce61544a33f1"},{"name":"Post Rule/Requirements","id":"b4777c83-387c-4f50-aac6-5b804a87834d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"rules\": [\n        {\n            \"id\": \"6ef34c2a-1120-43a2-8bdf-4379a6e3a794\",\n            \"title\": \"title test\",\n            \"type\": \"and\",\n            \"requirements\": [\n                {\n                    \"based_on\": \"state\",\n                    \"required_answer\": \"dc2b5892-bd34-4822-97d1-9496207de918\"\n                },\n                {\n                    \"id\": \"dc0387cf-4995-4d9b-8837-dc1aaf0e65bf\",\n                    \"based_on\": \"bmi\",\n                    \"conditional_answer\": \"<=\",\n                    \"required_answer\": \"40\"\n                },\n                {\n                    \"based_on\": \"question\",\n                    \"required_question_id\": \"94f8f739-bca8-4734-b3a8-5260400d4585\",\n                    \"required_answer\": \"8f2b102b-9e04-4ad3-af40-7bb181b0fe46\"\n                }\n            ]\n        },\n        {\n            \"title\": \"title test or\",\n            \"type\": \"or\",\n            \"requirements\": [\n                {\n                    \"based_on\": \"bmi\",\n                    \"conditional_answer\": \">=\",\n                    \"required_answer\": \"30\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/rules/save","description":"<p>Save questionnaire's question's rules and requirements.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","rules","save"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8dce464d-e01a-45a2-9910-64164ac9f0f9","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"95ff2be7-7e5f-4138-9347-b4de490398ec","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"f0ad00fc-2ef7-4cbb-9c19-1d7ca3f3dbd5","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"}]}},"response":[],"_postman_id":"b4777c83-387c-4f50-aac6-5b804a87834d"},{"name":"Delete Rule","id":"e16cd3c8-979e-43de-ad5e-7f03af235d4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/rules/:rule","description":"<p>Delete the questionnaire's question's rule.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","rules",":rule"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a3d79d17-87be-4114-b50a-692457ecd08d","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"5c46b441-8997-4830-bcb5-80f6f35ae8e0","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"096f6f4c-820e-44e4-b136-eb812fa63d26","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"},{"id":"3abc9986-6d30-4522-a8c3-82f5e71f1170","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"rule"}]}},"response":[],"_postman_id":"e16cd3c8-979e-43de-ad5e-7f03af235d4a"}],"id":"324a2af3-2819-4551-a6e2-86c7fa909ee8","_postman_id":"324a2af3-2819-4551-a6e2-86c7fa909ee8","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Files","item":[{"name":"Attach File","id":"99f50112-1694-480a-838e-5e3994502e75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/files/:file","description":"<p>Attach the file to the question.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string (document, review, other)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"bd1a28bc-ca06-4534-9d4d-aac957aaa368","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"5c412a2f-6ffd-4e3b-b3e5-9d4d302a35cc","type":"any","value":"ccef7367-ee62-46ce-a2d0-199f95438329","key":"questionnaire"},{"id":"9fa47b2d-dd2f-4087-a0af-d2856200a383","type":"any","value":"cf61d7e9-8f38-4f20-a2dd-b53976b0b941","key":"question"},{"id":"8345e9cf-89a1-4026-b2ab-a38f35dca805","type":"any","value":"e3d90e92-b592-4851-8ff0-132db5f7d214","key":"file"}]}},"response":[],"_postman_id":"99f50112-1694-480a-838e-5e3994502e75"},{"name":"Detach File","id":"68b1cac2-8052-4291-86b0-7ab2516c8b7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question/files/:file","description":"<p>Detach the file from the question.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9b52b6a1-9247-4a51-94fa-d24d7471113f","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"028822d2-95eb-4c0d-9733-9fa2cf03f741","type":"any","value":"ccef7367-ee62-46ce-a2d0-199f95438329","key":"questionnaire"},{"id":"e5179a66-d640-4496-867c-f8bce12b1e57","type":"any","value":"cf61d7e9-8f38-4f20-a2dd-b53976b0b941","key":"question"},{"id":"b8b737f5-29d4-4fde-93d1-193cab151b26","type":"any","value":"e3d90e92-b592-4851-8ff0-132db5f7d214","key":"file"}]}},"response":[],"_postman_id":"68b1cac2-8052-4291-86b0-7ab2516c8b7c"}],"id":"a8ddc235-d2ee-458b-a03b-fb88b4f1c2bd","_postman_id":"a8ddc235-d2ee-458b-a03b-fb88b4f1c2bd","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Questions","id":"3a7b3d67-e9af-40c0-bb5d-8dd3ef46903d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions?per_page=15&page=1&with_relationships[]=rules.requirements&with_relationships[]=options","description":"<p>Get the questionnaire's questions (paginated).</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"with_relationships[]","value":"rules.requirements"},{"key":"with_relationships[]","value":"options"}],"variable":[{"id":"eed43907-a646-475a-b440-be4308424187","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"e8cdc27e-8716-4bf3-8038-a6c508e54563","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"}]}},"response":[],"_postman_id":"3a7b3d67-e9af-40c0-bb5d-8dd3ef46903d"},{"name":"Get Question","id":"66f03d06-7f96-418c-a2c9-e30768d0f199","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question?with_relationships[]=files","description":"<p>Get the questionnaire's question.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question"],"host":["https://api.mdintegrations.com"],"query":[{"key":"with_relationships[]","value":"files"}],"variable":[{"id":"b7f4dcb9-59e9-4be9-9893-9f301098b7ec","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"c99254ce-2ada-47db-9cf3-4bc955a8aec4","type":"any","value":"ccef7367-ee62-46ce-a2d0-199f95438329","key":"questionnaire"},{"id":"fe81ac64-42a0-449b-b400-c01ffd4d0315","type":"any","value":"cf61d7e9-8f38-4f20-a2dd-b53976b0b941","key":"question"}]}},"response":[],"_postman_id":"66f03d06-7f96-418c-a2c9-e30768d0f199"},{"name":"Post Question","id":"69ab5825-3305-48ae-b9d3-d09453888903","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"type question\",\n    \"description\": \"description question\",\n    \"label\": \"label\",\n    \"placeholder\": \"placeholder\",\n    \"order\": 1,\n    \"type\": \"file\",\n    \"file_type\": \"lab-result\",\n    \"is_important\": true,\n    \"display_in_pdf\": false,\n    \"is_optional\": false,\n    \"is_visible\": true,\n    \"default_value\": \"default\",\n    \"is_critical\": false,\n    \"has_next_button\": true,\n    \"has_back_button\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions","description":"<p>Create a questionnaire's question.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"type":"any","value":"b1f0bdba-a853-4237-9dfe-3e686ada3455","key":"questionnaire"}]}},"response":[],"_postman_id":"69ab5825-3305-48ae-b9d3-d09453888903"},{"name":"Patch Question","id":"e28c35fd-d477-49fb-bf77-bd21e63b5969","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"type question\",\n    \"description\": \"description question\",\n    \"label\": \"label\",\n    \"placeholder\": \"placeholder\",\n    \"order\": 1,\n    \"type\": \"file\",\n    \"file_type\": \"lab-result\",\n    \"is_important\": true,\n    \"display_in_pdf\": false,\n    \"is_optional\": false,\n    \"is_visible\": true,\n    \"default_value\": \"default\",\n    \"is_critical\": false,\n    \"has_next_button\": true,\n    \"has_back_button\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question","description":"<p>Update the questionnaire's question.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"}]}},"response":[],"_postman_id":"e28c35fd-d477-49fb-bf77-bd21e63b5969"},{"name":"Delete Question","id":"8259b0a8-a651-4746-b5ab-d75c1a3252a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/questions/:question","description":"<p>Delete the questionnaire's question.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","questions",":question"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"bb85924a-6ed2-4527-a7ca-52a1ac031e14","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"330acbeb-d79e-463c-b4f4-235fd2ca6a63","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"ce5055f3-6be5-4716-ab1b-bb11c3753391","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"question"}]}},"response":[],"_postman_id":"8259b0a8-a651-4746-b5ab-d75c1a3252a2"}],"id":"4f8f49e1-3807-4ba0-96eb-6a3d79eced3b","_postman_id":"4f8f49e1-3807-4ba0-96eb-6a3d79eced3b","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Offerings","item":[{"name":"Rules","item":[{"name":"Requirements","item":[{"name":"Get Requirements","id":"26850c8b-e8c4-492a-9068-8b97328af51c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings/:offering/rules/:rule/requirements?per_page=15&page=1","description":"<p>Get the questionnaire's offering's rule's requirements (paginated).</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings",":offering","rules",":rule","requirements"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"f0eaed3f-a8bb-484e-964e-005ef8a51a5f","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"6cad4af6-ccde-42d7-b2d2-2fbb0776382c","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"7a3cc3a0-36ac-41b7-9264-92f81ea8cc61","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"b71bc3b5-ef51-4805-8055-754911847c1d","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"}]}},"response":[],"_postman_id":"26850c8b-e8c4-492a-9068-8b97328af51c"},{"name":"Get Requirement","id":"b4a69a92-d9ce-4f25-aed0-f36c97237eea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings/:offering/rules/:rule/requirements/:requirement","description":"<p>Get the questionnaire's offering's rule's requirement.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings",":offering","rules",":rule","requirements",":requirement"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6b22ee27-37f6-4183-b764-2dae97d63f03","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"e2d39c10-1ec6-4750-9539-e2cc9727dc77","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"133724c5-ba7c-44d7-8e02-ee143d48a87c","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"020172da-31ff-49f2-8baa-e8e77c1f5342","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"},{"id":"8b452fce-1f37-4a2f-8644-593cdd87e64f","type":"any","value":"af89ac7c-ec83-43dc-adf7-82994a686b0d","key":"requirement"}]}},"response":[],"_postman_id":"b4a69a92-d9ce-4f25-aed0-f36c97237eea"},{"name":"Post Requirement","id":"fbd61079-0cce-43e8-895c-6862eeceeb11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"based_on\": \"state\",\n    \"required_answer\": \"dc2b5892-bd34-4822-97d1-9496207de918\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings/:offering/rules/:rule/requirements","description":"<p>Create a questionnaire's offering's rule's requirement.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings",":offering","rules",":rule","requirements"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"1cf033e7-c426-43cc-9099-3b5604fbd8de","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"e2cb8755-a8be-4510-8c9b-aea6a58d0220","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"2b19fcb5-1eba-44e0-b0d8-d09ca1115b96","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"20c0df45-6480-49ac-9583-32085c818b06","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"}]}},"response":[],"_postman_id":"fbd61079-0cce-43e8-895c-6862eeceeb11"},{"name":"Patch Requirement","id":"dbbf17b2-82a6-4dc8-a73b-df34bcafb026","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"based_on\": \"state\",\n    \"required_answer\": \"dc2b5892-bd34-4822-97d1-9496207de918\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings/:offering/rules/:rule/requirements/:requirement","description":"<p>Update the questionnaire's offering's rule's requirement.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings",":offering","rules",":rule","requirements",":requirement"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"50513534-0b03-49f5-ba51-ad9c7b4c0a43","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"30cca02e-40e7-4211-9c09-806a8de5d4e0","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"62a73051-1202-44ae-879f-b63391977445","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"22758365-64b5-4a13-85e6-b39a912bd7e0","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"},{"id":"d87ce208-2461-4f6f-923d-00456b93aedf","type":"any","value":"af89ac7c-ec83-43dc-adf7-82994a686b0d","key":"requirement"}]}},"response":[],"_postman_id":"dbbf17b2-82a6-4dc8-a73b-df34bcafb026"},{"name":"Delete Requirement","id":"7751f998-7541-4695-b979-ae5006e6726d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings/:offering/rules/:rule/requirements/:requirement","description":"<p>Delete the questionnaire's offering's rule's requirement.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings",":offering","rules",":rule","requirements",":requirement"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"bf9193fa-3ea9-4333-a7b3-19723391c396","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"75f672e9-e6f6-4027-a73e-a41fbe37b81c","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"dbd69da6-b479-4a90-9a77-3fd1bc78c5ad","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"b3415f9a-2592-4e45-9494-097239c074c5","type":"any","value":"599345ec-b013-412c-a4f3-d4e948e6fa9c","key":"rule"},{"id":"9bf9f23d-3581-41af-a357-e4154651c8b5","type":"any","value":"af89ac7c-ec83-43dc-adf7-82994a686b0d","key":"requirement"}]}},"response":[],"_postman_id":"7751f998-7541-4695-b979-ae5006e6726d"}],"id":"601ea4db-2864-44c5-aae0-b0413f300ff3","_postman_id":"601ea4db-2864-44c5-aae0-b0413f300ff3","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Rules","id":"2018b9e6-2e8f-4e3e-87fe-ab768dbf06bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings/:offering/rules?per_page=15&page=1&with_relationships[]=requirements","description":"<p>Get the questionnaire's offering's rules (paginated).</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings",":offering","rules"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"with_relationships[]","value":"requirements"}],"variable":[{"id":"98db3a9a-6fae-4e6d-9a8f-455a73b9426a","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"f2a6c99c-ab0a-480b-930e-6a604fe4f189","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"f00da755-8a92-43e1-83aa-8665a8f883c7","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"}]}},"response":[],"_postman_id":"2018b9e6-2e8f-4e3e-87fe-ab768dbf06bb"},{"name":"Get Rule","id":"9aedf584-4d9a-44a7-a665-8d1bd4a77b8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings/:offering/rules/:rule","description":"<p>Get the questionnaire's offering's rule.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings",":offering","rules",":rule"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"3c016ee8-6e54-4241-90bb-4a5727b87370","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"f1c1ef1a-ceee-48db-9764-c27c50829b69","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"bdf6c317-8fe2-45b6-bf9e-067a4f6fdbb6","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"439dfdf4-fbb5-4d2f-8ebb-b55c7e16961b","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"rule"}]}},"response":[],"_postman_id":"9aedf584-4d9a-44a7-a665-8d1bd4a77b8f"},{"name":"Post Rule","id":"44a6b053-a0d5-4a11-9539-c401c8f40b73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"rule title\",\n    \"type\": \"not\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings/:offering/rules","description":"<p>Create a questionnaire's offering's rule.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings",":offering","rules"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"52f79e7e-3cd1-4d42-98a1-b2a73f3eb594","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"112a2622-8dd8-4bdf-bd09-5ff99e5e4ccc","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"d3378d40-5d49-426d-b903-b0ef87b87f85","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"}]}},"response":[],"_postman_id":"44a6b053-a0d5-4a11-9539-c401c8f40b73"},{"name":"Patch Rule","id":"93f02cd8-b84a-49ad-a493-23c3f9e22964","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"rule title\",\n    \"type\": \"not\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings/:offering/rules/:rule","description":"<p>Update the questionnaire's offering's rule.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings",":offering","rules",":rule"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"1fbc6bc2-7346-4bce-87fc-85de761929dd","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"c8ad9712-e68c-451e-84da-171a24d2fe95","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"e37cdcb8-0e04-4138-ac2c-8879846a536e","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"03c3f011-edf1-43ad-9c72-2147bc901331","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"rule"}]}},"response":[],"_postman_id":"93f02cd8-b84a-49ad-a493-23c3f9e22964"},{"name":"Delete Rule","id":"0291c2c6-31ad-4f36-960d-2c862923483c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings/:offering/rules/:rule","description":"<p>Delete the questionnaire's offering's rule.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings",":offering","rules",":rule"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"60412d2e-ec3e-4852-813b-f37b528e66e1","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"41e699fe-e0f5-475f-8eb8-33d833e30475","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"3b954a92-a2a3-4392-8c2c-31a412f71d2f","type":"any","value":"ca56ddf2-2c89-49b7-898e-0f4b147d3af8","key":"offering"},{"id":"08f87309-24a9-42f1-b8bf-88794e6f821b","type":"any","value":"0a11a40a-bca6-4142-8e4c-bce0dcbd5bde","key":"rule"}]}},"response":[],"_postman_id":"0291c2c6-31ad-4f36-960d-2c862923483c"},{"name":"Post Rule/Requirements","id":"665e4580-97e1-4fd0-b2b4-7517d6728c7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"rules\": [\n        {\n            \"id\": \"6ef34c2a-1120-43a2-8bdf-4379a6e3a794\",\n            \"title\": \"title test\",\n            \"type\": \"and\",\n            \"requirements\": [\n                {\n                    \"based_on\": \"state\",\n                    \"required_answer\": \"dc2b5892-bd34-4822-97d1-9496207de918\"\n                },\n                {\n                    \"id\": \"dc0387cf-4995-4d9b-8837-dc1aaf0e65bf\",\n                    \"based_on\": \"bmi\",\n                    \"conditional_answer\": \"<=\",\n                    \"required_answer\": \"40\"\n                },\n                {\n                    \"based_on\": \"question\",\n                    \"required_question_id\": \"94f8f739-bca8-4734-b3a8-5260400d4585\",\n                    \"required_answer\": \"8f2b102b-9e04-4ad3-af40-7bb181b0fe46\"\n                }\n            ]\n        },\n        {\n            \"title\": \"title test or\",\n            \"type\": \"or\",\n            \"requirements\": [\n                {\n                    \"based_on\": \"bmi\",\n                    \"conditional_answer\": \">=\",\n                    \"required_answer\": \"30\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings/:offering/rules/save","description":"<p>Save questionnaire's question's rules and requirements.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings",":offering","rules","save"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7e5afce0-0cda-45c8-9fdf-7091422201f2","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"077958e2-d82c-4705-85de-e465b013e506","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"dd3bffec-57ac-4502-9d4b-6d6e88aff880","type":"any","value":"43c345ec-b013-412c-a4f3-d4e948e6fa9c","key":"offering"}]}},"response":[],"_postman_id":"665e4580-97e1-4fd0-b2b4-7517d6728c7e"}],"id":"de67f363-22a4-4479-abf6-8d3217ed1ef4","_postman_id":"de67f363-22a4-4479-abf6-8d3217ed1ef4","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Offerings","id":"fe18423d-511a-474f-8515-6aaff3605322","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings?per_page=15&page=1&with_relationships[]=rules.requirements","description":"<p>Get the questionnaire's offerings (paginated).</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"with_relationships[]","value":"rules.requirements"}],"variable":[{"id":"f63cbf4e-cbc4-44c2-9496-80ef21e01e17","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"c031a3e7-b8c2-4822-b1c5-19476f2efb05","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"}]}},"response":[],"_postman_id":"fe18423d-511a-474f-8515-6aaff3605322"},{"name":"Get Offering","id":"2e043927-2820-4f72-89b8-c80a58e62d34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings/:offering","description":"<p>Get the questionnaire's offering.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d53fbc36-98b4-41fe-abf4-41a9fb0cf9d9","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"119c1578-197c-41b6-ae5d-9a69be510351","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"92d7df53-8c19-4c52-bd2a-5896eff4c76f","type":"any","value":"fb11bab9-0b6d-416c-b7c1-fcdeb5bf264d","key":"offering"}]}},"response":[],"_postman_id":"2e043927-2820-4f72-89b8-c80a58e62d34"},{"name":"Post Offerings","id":"0a8b2fec-76c4-4dbe-bfd9-900004baac19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_service_id\": \"a4a3e155-958f-4afa-95f6-a2a944c11281\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings","description":"<p>Create a questionnaire's offering.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ab627af4-48f6-43e2-a961-df696c6b01ff","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"f143d7a2-b937-47c9-9b19-3a35b1a420f0","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"}]}},"response":[],"_postman_id":"0a8b2fec-76c4-4dbe-bfd9-900004baac19"},{"name":"Patch Offering","id":"9216aea2-8b50-40c7-a5ff-c78bfb6c1a93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_service_id\": \"a4a3e155-958f-4afa-95f6-a2a944c11281\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings/:offering","description":"<p>Update the questionnaire's offering.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"0bea6325-7329-4662-b5b1-cf6d763705df","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"d4758232-d1aa-44f0-96eb-4bfdd2ec9207","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"5a08f366-a958-44fd-9a8a-794e24b686ea","type":"any","value":"fb11bab9-0b6d-416c-b7c1-fcdeb5bf264d","key":"offering"}]}},"response":[],"_postman_id":"9216aea2-8b50-40c7-a5ff-c78bfb6c1a93"},{"name":"Delete Offering","id":"23892cb1-ffaf-4a40-afa4-6a4d4645bab1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/offerings/:offering","description":"<p>Delete the questionnaire's offering.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","offerings",":offering"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"6ca37273-b755-4254-8e72-89290ac3233d","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"408aa6fb-f117-4f4e-8dca-cb6778505e79","type":"any","value":"56d833f1-21e1-4c61-aab1-d61a15ec43ea","key":"questionnaire"},{"id":"a684c411-e70a-426d-8099-3c472f9aa294","type":"any","value":"fb11bab9-0b6d-416c-b7c1-fcdeb5bf264d","key":"offering"}]}},"response":[],"_postman_id":"23892cb1-ffaf-4a40-afa4-6a4d4645bab1"}],"id":"f22de8ca-48f0-4694-9548-4dfc6d2bb473","_postman_id":"f22de8ca-48f0-4694-9548-4dfc6d2bb473","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Questionnaires","id":"ebe48559-5f24-49b4-80e5-1a0425deaf6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires?per_page=15&page=1&with_relationships[]=questions.rules.requirements&with_relationships[]=questions.options&with_relationships[]=questions.review","description":"<p>Get the questionnaires (paginated).</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"key":"with_relationships[]","value":"questions.rules.requirements"},{"key":"with_relationships[]","value":"questions.options"},{"key":"with_relationships[]","value":"questions.review"},{"disabled":true,"key":"order","value":"asc"},{"disabled":true,"key":"sort","value":"name"},{"disabled":true,"key":"search","value":"term"},{"disabled":true,"key":"trashed","value":"only/with"}],"variable":[{"id":"d5519349-8e21-4539-9382-908de063ae4e","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"ebe48559-5f24-49b4-80e5-1a0425deaf6e"},{"name":"Get Questionnaire","id":"0cb1c35e-45d9-4088-a251-2258e84803a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire","description":"<p>Get the questionnaire.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"18c7d93d-0229-4484-a8be-a3a5c719c092","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"6d0e7dd0-f6bd-46b1-a050-6501170d852b","type":"any","value":"a767ae95-207f-49f5-bb0e-915089bfadd3","key":"questionnaire"}]}},"response":[],"_postman_id":"0cb1c35e-45d9-4088-a251-2258e84803a6"},{"name":"Post Questionnaire","id":"8b8d9274-b54a-4418-bdda-a371b9443a10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"name\",\n    \"enabled\": false,\n    \"intro_title\": \"intro title\",\n    \"intro_description\": \"intro description\",\n    \"outro_title\": \"outro title\",\n    \"outro_description\": \"outro description\",\n    \"redirect_url\": \"url.dev.com\",\n    \"redirect_title\": \"redirect title\",\n    \"has_pharmacy\": false,\n    \"terms_of_service\": \"terms of service\",\n    \"is_weight_asked\": false,\n    \"is_height_asked\": false,\n    \"is_body_temperature_asked\": false,\n    \"is_oxygen_saturation_asked\": false,\n    \"ask_blood_pressure\": false,\n    \"metadata\": \"metadata via api\",\n    \"stripes_key\": \"key-one\",\n    \"is_condensed_question\": false,\n    \"is_show_welcome\": true,\n    \"is_show_thanks\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires","description":"<p>Create a questionnaire.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"8b8d9274-b54a-4418-bdda-a371b9443a10"},{"name":"Patch Questionnaire","id":"dcddaf9c-9409-4460-984e-9a21f26e9917","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"name\",\n    \"enabled\": false,\n    \"intro_title\": \"intro title\",\n    \"intro_description\": \"intro description\",\n    \"outro_title\": \"outro title\",\n    \"outro_description\": \"outro description\",\n    \"redirect_url\": \"url.dev.com\",\n    \"redirect_title\": \"redirect title\",\n    \"has_pharmacy\": false,\n    \"terms_of_service\": \"terms of service\",\n    \"is_weight_asked\": false,\n    \"is_height_asked\": false,\n    \"is_body_temperature_asked\": false,\n    \"is_oxygen_saturation_asked\": false,\n    \"ask_blood_pressure\": false,\n    \"metadata\": \"metadata via api\",\n    \"stripes_key\": \"key-one\",\n    \"is_condensed_question\": false,\n    \"is_show_welcome\": false,\n    \"is_show_thanks\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire","description":"<p>Update the questionnaire.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"type":"any","value":"a767ae95-207f-49f5-bb0e-915089bfadd3","key":"questionnaire"}]}},"response":[],"_postman_id":"dcddaf9c-9409-4460-984e-9a21f26e9917"},{"name":"Delete Questionnaire","id":"73083379-3548-473f-9e7a-df5fcb0245ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire","description":"<p>Deletes the questionnaire.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"bbdfe9b1-ca23-470a-b67a-f2f05d6588e4","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"2166aab8-1bd8-41ce-b6bb-46e7fc830d54","type":"any","value":"a767ae95-207f-49f5-bb0e-915089bfadd3","key":"questionnaire"}]}},"response":[],"_postman_id":"73083379-3548-473f-9e7a-df5fcb0245ec"},{"name":"Restore Questionnaire","id":"28085b7c-aecf-4273-938f-55f0a2436557","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/restore","description":"<p>Restore the questionnaire.</p>\n","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","restore"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a682c020-0074-47ad-ae6f-1683ea573f66","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"a8b6e67e-a582-4d57-b886-bc6197f45a4f","type":"any","value":"a767ae95-207f-49f5-bb0e-915089bfadd3","key":"questionnaire"}]}},"response":[],"_postman_id":"28085b7c-aecf-4273-938f-55f0a2436557"},{"name":"Replicate Questionnaire","id":"f3745911-bbfe-4d82-b4a0-b20522ddd9a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"partner_id\": \"ebb30dd2-54f6-446d-82dd-38fd7d1111d5\",\n    \"is_offerings_ignored\": false\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty/questionnaires/:questionnaire/replicate","description":"<p>Replicates the questionnaire.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","specialties",":specialty","questionnaires",":questionnaire","replicate"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5b1d5352-7a2d-443d-a98a-5b40425c1fc0","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"},{"id":"a1e778c5-4eec-4bad-9529-773779cfa7ac","type":"any","value":"4a70f660-bad5-40be-a76d-a47e988a3005","key":"questionnaire"}]}},"response":[],"_postman_id":"f3745911-bbfe-4d82-b4a0-b20522ddd9a7"}],"id":"d0ea840e-fc07-458f-b920-742775426602","_postman_id":"d0ea840e-fc07-458f-b920-742775426602","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Specialties","id":"dd64d9c9-83e3-4abe-94db-00e42e10495f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties?is_public=true","description":"<p>Get the specialties (paginated).</p>\n","urlObject":{"path":["web","specialties"],"host":["https://api.mdintegrations.com"],"query":[{"description":{"content":"<p>Filter by public specialties or not</p>\n","type":"text/plain"},"key":"is_public","value":"true"}],"variable":[]}},"response":[],"_postman_id":"dd64d9c9-83e3-4abe-94db-00e42e10495f"},{"name":"Get Specialty","id":"5590b525-0f9f-4e7f-a08f-98a78a6e747c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty","description":"<p>Get the specialty details.</p>\n","urlObject":{"path":["web","specialties",":specialty"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f7277a30-a59d-41e6-9595-216376203535","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"5590b525-0f9f-4e7f-a08f-98a78a6e747c"},{"name":"Post Specialty","id":"3a7e6a64-0df9-4525-9f59-500e0bc0b62d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Weightloss\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties","description":"<p>Post a specialty.</p>\n","urlObject":{"path":["web","specialties"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a7e6a64-0df9-4525-9f59-500e0bc0b62d"},{"name":"Patch Specialty","id":"8b12d276-4a72-4f92-90fc-b63a4f7edb39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Weightloss\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/specialties/:specialty","description":"<p>Patch the specialty.</p>\n","urlObject":{"path":["web","specialties",":specialty"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"fbf2dcc0-6bce-4210-8392-511aa0f4435f","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"8b12d276-4a72-4f92-90fc-b63a4f7edb39"},{"name":"Delete Specialty","id":"fbaec3f9-3ebe-4d1d-961b-16346a9507e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/specialties/:specialty","description":"<p>Delete the specialty.</p>\n","urlObject":{"path":["web","specialties",":specialty"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e928b428-9408-43ef-b91e-3a451cfe0897","type":"any","value":"39af6239-1245-40cd-8d83-f19361dd01c7","key":"specialty"}]}},"response":[],"_postman_id":"fbaec3f9-3ebe-4d1d-961b-16346a9507e8"}],"id":"51f15cb2-0121-4db6-92bc-bafabd9a1c4a","_postman_id":"51f15cb2-0121-4db6-92bc-bafabd9a1c4a","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"States","item":[{"name":"Get State","id":"b36d848f-cb56-46c2-8de4-ad52d80c72dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/states/:state","description":"<p>Get the state details.</p>\n","urlObject":{"path":["web","states",":state"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7b812dff-ffaf-406b-bc25-a9171ed18f87","type":"any","value":"f7f779fa-9bf1-49ca-a81a-d08797af95c2","key":"state"}]}},"response":[],"_postman_id":"b36d848f-cb56-46c2-8de4-ad52d80c72dc"},{"name":"Get States","id":"88386ea9-ef3c-46c3-a80f-98ee13ba50fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/states?page=1&per_page=15","description":"<p>Get the states (paginated).</p>\n","urlObject":{"path":["web","states"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"}],"variable":[]}},"response":[],"_postman_id":"88386ea9-ef3c-46c3-a80f-98ee13ba50fa"}],"id":"f72a948f-ce79-4e6d-a253-ed7ec89ebcb6","_postman_id":"f72a948f-ce79-4e6d-a253-ed7ec89ebcb6","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Statistics","item":[{"name":"Get Statistics","id":"c8e53d3f-9c4d-4383-8336-485149fb02d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/statistics?page=1&per_page=15&type=api/embed","description":"<p>Get the statistics (paginated).</p>\n","urlObject":{"path":["web","statistics"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"key":"type","value":"api/embed"}],"variable":[]}},"response":[],"_postman_id":"c8e53d3f-9c4d-4383-8336-485149fb02d1"}],"id":"d413c1f0-13f9-4508-bff4-e3a31cc10d0f","_postman_id":"d413c1f0-13f9-4508-bff4-e3a31cc10d0f","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Statuses","item":[{"name":"Get Status","id":"0f679404-7ab8-455d-afa8-867ca2a9c3a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/status","description":"<p>Get the status details.</p>\n","urlObject":{"path":["web","status"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f679404-7ab8-455d-afa8-867ca2a9c3a4"}],"id":"fa05dcd3-e453-4a70-b6a8-9dce3bdb67cb","_postman_id":"fa05dcd3-e453-4a70-b6a8-9dce3bdb67cb","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Support Staffs","item":[{"name":"Get Support Staff","id":"3e5841b1-99f3-429a-9d21-d18ceafc13ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/support-staffs/:supportStaff","description":"<p>Get the support staff details.</p>\n","urlObject":{"path":["web","support-staffs",":supportStaff"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"96b6129e-f224-4f02-9820-0378d361c7a7","key":"supportStaff"}]}},"response":[],"_postman_id":"3e5841b1-99f3-429a-9d21-d18ceafc13ff"},{"name":"Get Support Staffs","id":"807a9f7a-8212-47b5-8d4e-5d609ab35465","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/support-staffs","description":"<p>Get the support staffs list.</p>\n","urlObject":{"path":["web","support-staffs"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"key":"search","value":"term"},{"disabled":true,"key":"sort","value":"created_at"},{"disabled":true,"key":"order","value":"asc"}],"variable":[]}},"response":[],"_postman_id":"807a9f7a-8212-47b5-8d4e-5d609ab35465"},{"name":"Get Support Staff Partners","id":"04f9d6cd-143c-4076-a2e5-6a5b4f492bf3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/support-staffs/:supportStaff/partners","description":"<p>Get the support staffs partners list.</p>\n","urlObject":{"path":["web","support-staffs",":supportStaff","partners"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"b3e51901-eb1e-43c6-8899-6ff32c04dbbb","type":"any","value":"96b6129e-f224-4f02-9820-0378d361c7a7","key":"supportStaff"}]}},"response":[],"_postman_id":"04f9d6cd-143c-4076-a2e5-6a5b4f492bf3"},{"name":"Create Support Staff","id":"3de3e077-6d9f-4c32-8efd-b60e7c2efa60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Support Staff First Name\",\n    \"last_name\": \"Support Staff Last Name\",\n    \"email\": \"support@staff.example\",\n    \"photo_id\": \"17b32c5d-8ad0-4180-b5f2-59e14c1cf2b9\",\n    \"active\": true,\n    \"timezone_id\": \"b7d08438-b5a3-4790-9c3e-1fe4930c923c\",\n    \"permissions\": [\"live\", \"sandbox\"]\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/support-staffs","description":"<p>Creates a support staff.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>photo_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>timezone_id*</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>permissions</td>\n<td>array (live, sandbox)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","support-staffs"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3de3e077-6d9f-4c32-8efd-b60e7c2efa60"},{"name":"Update Support Staff","id":"62802cd3-c8e2-46f7-b188-d7340ef1f1ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Support Staff First Name\",\n    \"last_name\": \"Support Staff Last Name\",\n    \"email\": \"support@staff.example\",\n    \"photo_id\": \"17b32c5d-8ad0-4180-b5f2-59e14c1cf2b9\",\n    \"active\": true,\n    \"password\": \"swordfish\",\n    \"password_confirmation\": \"swordfish\",\n    \"timezone_id\": \"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6\",\n    \"permissions\": [\"live\", \"sandbox\"]\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/support-staffs/:supportStaff","description":"<p>Updates the support staff.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>photo_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password_confirmation*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>permissions</td>\n<td>array (live, sandbox)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","support-staffs",":supportStaff"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"e9c102cd-4e86-4548-a0a5-611030e0cf1a","key":"supportStaff"}]}},"response":[],"_postman_id":"62802cd3-c8e2-46f7-b188-d7340ef1f1ac"},{"name":"Delete Support Staff","id":"728de44a-cb50-471f-8bba-49fb0601e235","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/support-staffs/:supportStaff","description":"<p>Updates the support staff.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>photo_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password_confirmation*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>permissions</td>\n<td>array (live, sandbox)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","support-staffs",":supportStaff"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"916c982d-7767-4e42-9a60-707ecedf9518","type":"any","value":"e9c102cd-4e86-4548-a0a5-611030e0cf1a","key":"supportStaff"}]}},"response":[],"_postman_id":"728de44a-cb50-471f-8bba-49fb0601e235"}],"id":"c0e20648-3d28-439f-9077-710eb159a593","_postman_id":"c0e20648-3d28-439f-9077-710eb159a593","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Timezones","item":[{"name":"Get Timezones","id":"ba4179b8-8c7f-4a99-be1e-0abe99e8745d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/timezones?page=1&per_page=15&identifier=africa","description":"<p>Get the timezones (paginated).</p>\n","urlObject":{"path":["web","timezones"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"key":"identifier","value":"africa"}],"variable":[]}},"response":[],"_postman_id":"ba4179b8-8c7f-4a99-be1e-0abe99e8745d"},{"name":"Get Timezone","id":"f6f30b47-3a75-41da-8a1a-d13c01ed5401","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/timezones/:timezone","description":"<p>Get the timezone details.</p>\n","urlObject":{"path":["web","timezones",":timezone"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"67f49b9c-7a79-48ab-ab31-b4510bbf6ff6","type":"any","value":"b7d08438-b5a3-4790-9c3e-1fe4930c923c","key":"timezone"}]}},"response":[],"_postman_id":"f6f30b47-3a75-41da-8a1a-d13c01ed5401"}],"id":"20ffc466-2201-462e-b085-3c7f6fd7ab42","_postman_id":"20ffc466-2201-462e-b085-3c7f6fd7ab42","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"User","item":[{"name":"Login","item":[{"name":"Request 2FA","id":"b4259ea4-1403-4eaa-9ddd-35d89171b1d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"jhon@mdintegrations.com\",\n    \"password\": \"#kujehsuqooo\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/user/passcodes","description":"<p>Creates a passcode for the user.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","user","passcodes"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"","key":"paneUser"}]}},"response":[],"_postman_id":"b4259ea4-1403-4eaa-9ddd-35d89171b1d6"},{"name":"Login User","id":"d42e8ac7-c3e6-4702-8820-17e52855cffc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"john@mdintegrations.com\",\n\t\"password\": \"#kujehsuqooo\",\n    \"code\": \"540YXM\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/user/login","description":"<p>Logins the user.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>code*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","user","login"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d42e8ac7-c3e6-4702-8820-17e52855cffc"},{"name":"Login Signed User","id":"f50cca5c-4cde-4143-8a1c-3073e63c01ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/user/signed-login?email=examplepartner18%40mdintegrations.com&expires=1649126602&signature=6e9dfaeba74c1a503f0b075ca8ac34de28b9014865846f385a78a0d391fb83f7","description":"<p>Logins the user.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>expires*</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>signature*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","user","signed-login"],"host":["https://api.mdintegrations.com"],"query":[{"key":"email","value":"examplepartner18%40mdintegrations.com"},{"key":"expires","value":"1649126602"},{"key":"signature","value":"6e9dfaeba74c1a503f0b075ca8ac34de28b9014865846f385a78a0d391fb83f7"}],"variable":[]}},"response":[],"_postman_id":"f50cca5c-4cde-4143-8a1c-3073e63c01ff"}],"id":"b9f76d0b-b306-48a7-aec3-59fa5e66b1f9","_postman_id":"b9f76d0b-b306-48a7-aec3-59fa5e66b1f9","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Logouts","item":[{"name":"Logout User","id":"a560bc2b-524a-45b8-b4a9-836f2c68b226","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/user/logout","description":"<p>Logouts the user from the current device.</p>\n","urlObject":{"path":["web","user","logout"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a560bc2b-524a-45b8-b4a9-836f2c68b226"},{"name":"Logout User (All)","id":"883ea5b4-e4f7-4081-9dd4-3a7a2ebd84f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/user/logout/all","description":"<p>Logouts the user from all devices.</p>\n","urlObject":{"path":["web","user","logout","all"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"883ea5b4-e4f7-4081-9dd4-3a7a2ebd84f5"}],"id":"d440fc58-26e3-4f81-b77b-cbeaa2f47f12","_postman_id":"d440fc58-26e3-4f81-b77b-cbeaa2f47f12","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Password Resets","item":[{"name":"Create Password Reset (Token)","id":"0ae7824d-5b85-4887-bfdb-373f850b8bb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"panel@user.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/user/password-resets","description":"<p>Creates a password reset (token) for the user.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","user","password-resets"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ae7824d-5b85-4887-bfdb-373f850b8bb3"},{"name":"Reset Password Reset","id":"d40aed15-fddf-42b8-a489-083fab1046f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"guilherme@mdintegrations.com\",\n    \"password\": \"papaleguas01\",\n    \"password_confirmation\": \"papaleguas01\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/user/password-resets/:token/reset","description":"<p>Retes the user's password through its password reset's token.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password_confirmation*</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","user","password-resets",":token","reset"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"c1f19cdc-6c9f-409d-988e-50df99625625","type":"any","value":"118cf0fe1e3bddd7c92560e91a316ac9a95790c0fbb2dddbb8a73d3ebfbceeab","key":"token"}]}},"response":[],"_postman_id":"d40aed15-fddf-42b8-a489-083fab1046f5"}],"id":"e5f873b5-3d71-4e9f-80f9-4d89831cf5c4","_postman_id":"e5f873b5-3d71-4e9f-80f9-4d89831cf5c4","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Partners","item":[{"name":"Get Partners","id":"d800f336-8e39-44ac-8c2c-3ab675974dcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/user/partners?per_page=15&page=1&should_query_children_partners=true&should_query_recently_active_partners=true","description":"<p>Get the user's partners (paginated).</p>\n","urlObject":{"path":["web","user","partners"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"},{"disabled":true,"key":"order","value":"asc"},{"disabled":true,"key":"sort","value":"parent_company"},{"disabled":true,"key":"id","value":"dcf91797-ca7b-45d6-a866-21a5550c1c07"},{"disabled":true,"key":"name","value":"partner"},{"disabled":true,"key":"parent_company","value":"company"},{"disabled":true,"key":"search","value":"partner"},{"disabled":true,"key":"status","value":"new"},{"key":"should_query_children_partners","value":"true"},{"key":"should_query_recently_active_partners","value":"true"}],"variable":[]}},"response":[],"_postman_id":"d800f336-8e39-44ac-8c2c-3ab675974dcc"}],"id":"6a761139-15a5-467c-b6a1-243a7d6556d1","_postman_id":"6a761139-15a5-467c-b6a1-243a7d6556d1","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Devices","item":[{"name":"Get devices","id":"84fcce9e-8ec6-472b-a651-f49c9d97afbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[],"url":"https://api.mdintegrations.com/web/user/devices","description":"<p>Get all active devices</p>\n","urlObject":{"path":["web","user","devices"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"84fcce9e-8ec6-472b-a651-f49c9d97afbe"},{"name":"Delete device","id":"0ea3beae-d5d7-4ab2-a505-980c2dafc0ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"devices\": [\r\n        \"mfUvVG3mxzwF4rfeed26d\",\r\n        \"...\",\r\n        \"...\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/user/devices/:device_id","description":"<p>Delete user device</p>\n","urlObject":{"path":["web","user","devices",":device_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"0ef3733d-f6bb-40f1-8653-eeb1ffb20268","type":"any","value":"","key":"device_id"}]}},"response":[],"_postman_id":"0ea3beae-d5d7-4ab2-a505-980c2dafc0ff"}],"id":"fa9bf5b2-dd7c-4fa6-9c39-2d8bec06442c","_postman_id":"fa9bf5b2-dd7c-4fa6-9c39-2d8bec06442c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get User","id":"1c8640e9-5e0b-4d83-b05e-d09fee5d00ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/user","description":"<p>Get the user details.</p>\n","urlObject":{"path":["web","user"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c8640e9-5e0b-4d83-b05e-d09fee5d00ce"},{"name":"Update User","id":"00006120-4298-4b57-8854-d50d31cbafc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Panel User Name\",\n    \"email\": \"panel@user.example\",\n    \"phone_number\": \"(629) 777-5752\",\n    \"password\": \"swordfish\",\n    \"password_confirmation\": \"swordfish\",\n    \"timezone_id\": \"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/user","description":"<p>Updates the user.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password_confirmation</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","user"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"00006120-4298-4b57-8854-d50d31cbafc1"}],"id":"c51a4677-8910-4071-8ddb-bf8e681f9caa","_postman_id":"c51a4677-8910-4071-8ddb-bf8e681f9caa","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tags","item":[{"name":"Get Tags","id":"35b9c6d3-5a87-4ce7-b9a6-e32ebe2ec798","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/tags?page=1&per_page=15&type=global","description":"<p>Get the tags (paginated).</p>\n","urlObject":{"path":["web","tags"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"key":"type","value":"global"}],"variable":[]}},"response":[],"_postman_id":"35b9c6d3-5a87-4ce7-b9a6-e32ebe2ec798"},{"name":"Delete Tag","id":"d9ac0476-2e07-497a-a4cb-0ab5e861e14a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/tags/:tag","description":"<p>Deletes the tag.</p>\n","urlObject":{"path":["web","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d2426d84-ee78-4ae4-ba0a-2e0051db9faa","type":"any","value":"844fbde1-c33e-4c27-a747-80047719b559","key":"tag"}]}},"response":[],"_postman_id":"d9ac0476-2e07-497a-a4cb-0ab5e861e14a"},{"name":"Create Tag","id":"cb850423-8169-4a85-96fb-6e325dca958a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag Name\",\n    \"key\": \"tag-key\",\n    \"type\": \"global\",\n    \"color\": \"#5899c7\",\n    \"description\": \"Tag Description.\",\n    \"removable_role\": \"admin\",\n    \"auto_detach_status\": [\"waiting\", \"cancelled\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/tags","description":"<p>Creates a tag.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>key*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>color*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>removable_role</td>\n<td>string (admin)</td>\n</tr>\n<tr>\n<td>auto_detach_status</td>\n<td>array (created, assigned, waiting, support, processing, cancelled, completed)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","tags"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cb850423-8169-4a85-96fb-6e325dca958a"},{"name":"Update Tag","id":"b3e3fff5-b783-4f18-80f9-610eaa05c7c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag Name\",\n    \"color\": \"#5899c7\",\n    \"description\": \"Tag Description.\",\n    \"removable_role\": \"admin\",\n    \"auto_detach_status\": [\n        \"waiting\",\n        \"cancelled\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/tags/:tag","description":"<p>Updates the tag.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n</tr>\n<tr>\n<td>color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>removable_role (admin)</td>\n<td>string</td>\n</tr>\n<tr>\n<td>auto_detach_status</td>\n<td>array [waiting, cancelled]</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9c281a45-09c7-4cba-b7dd-bd8612962f72","type":"any","value":"844fbde1-c33e-4c27-a747-80047719b559","key":"tag"}]}},"response":[],"_postman_id":"b3e3fff5-b783-4f18-80f9-610eaa05c7c7"}],"id":"43705c2d-d191-4d8c-8902-137ff5f89409","_postman_id":"43705c2d-d191-4d8c-8902-137ff5f89409","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Resources","item":[{"name":"Get Patients","id":"93d6aa65-2152-4f98-b3c6-10fa939d5fb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://api.mdintegrations.com/web/resources/patients?page=1&per_page=15&order=asc&string_search=19d8ac57-00f2-4adc-8f07-0dd596a97dfe","description":"<p>Get the patients by string search (paginated).</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","resources","patients"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"key":"order","value":"asc"},{"description":{"content":"<p>patient_id, email, first_name, last_name, partner_name</p>\n","type":"text/plain"},"key":"string_search","value":"19d8ac57-00f2-4adc-8f07-0dd596a97dfe"}],"variable":[]}},"response":[],"_postman_id":"93d6aa65-2152-4f98-b3c6-10fa939d5fb6"},{"name":"Get Patient","id":"ce04aa47-2839-4021-b057-1adeb7daf746","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/web/resources/patients/:patient_id?with_relationships[]=clinician&with_relationships[]=environment","description":"<p>Get the patient by ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","resources","patients",":patient_id"],"host":["https://api.mdintegrations.com"],"query":[{"key":"with_relationships[]","value":"clinician"},{"key":"with_relationships[]","value":"environment"}],"variable":[{"id":"b6935b05-49fa-4c2f-ba82-c3765bdfaf89","type":"any","value":"f748ea4d-10a5-4d9e-9f97-6874de6a2994","key":"patient_id"}]}},"response":[],"_postman_id":"ce04aa47-2839-4021-b057-1adeb7daf746"},{"name":"Get Cases","id":"b8d8c63f-2358-4e1c-8bf3-38ae13dc861f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/web/resources/cases?page=1&per_page=15&order=asc&string_search=8b7d6572-865f-4ce9-92e0-1bc323fd278c","description":"<p>Get the cases by string search (paginated).</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","resources","cases"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"key":"order","value":"asc"},{"description":{"content":"<p>case_id, patient first_name, patient last_name, patient email, partner_name</p>\n","type":"text/plain"},"key":"string_search","value":"8b7d6572-865f-4ce9-92e0-1bc323fd278c"}],"variable":[]}},"response":[],"_postman_id":"b8d8c63f-2358-4e1c-8bf3-38ae13dc861f"},{"name":"Get Case","id":"abf8d000-90bd-4a9d-84ef-2856fc0760e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/web/resources/cases/:case_id?with_relationships[]=patient&with_relationships[]=partner&with_relationships[]=caseStatus","description":"<p>Get the case by ID.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["web","resources","cases",":case_id"],"host":["https://api.mdintegrations.com"],"query":[{"key":"with_relationships[]","value":"patient"},{"key":"with_relationships[]","value":"partner"},{"key":"with_relationships[]","value":"caseStatus"}],"variable":[{"id":"7acbccc3-c1bd-444a-8b8e-43dce5e3f62d","type":"any","value":"5124ae37-19db-464e-870d-49a9a33a5153","key":"case_id"}]}},"response":[],"_postman_id":"abf8d000-90bd-4a9d-84ef-2856fc0760e0"}],"id":"d284343c-0d20-460f-a2cd-865a41cddd0f","_postman_id":"d284343c-0d20-460f-a2cd-865a41cddd0f","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Service Notifications","item":[{"name":"Get Service Notifications","id":"ad1a5518-5ff2-49ba-9608-d767fb996748","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/service-notifications?page=1&per_page=15&scope=api&type=notice&notify_to=in-app","description":"<p>Get the service notifications (paginated).</p>\n","urlObject":{"path":["web","service-notifications"],"host":["https://api.mdintegrations.com"],"query":[{"key":"page","value":"1"},{"key":"per_page","value":"15"},{"key":"scope","value":"api"},{"key":"type","value":"notice"},{"key":"notify_to","value":"in-app"}],"variable":[]}},"response":[],"_postman_id":"ad1a5518-5ff2-49ba-9608-d767fb996748"},{"name":"Create Service Notification","id":"45855a98-558b-4a11-8adf-d0214a11d681","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"scope\": \"clinicians-app\",\n    \"type\": \"notice\",\n    \"notify_to\": \"in-app\",\n    \"title\": \"Notification title\",\n    \"notes\": \"Here is the note for this service notifications, pls pay attention.\",\n    \"notified_models\": [\n        {\n            \"notified_model_type\": \"App\\\\Models\\\\Clinician\"\n        },\n        {\n            \"notified_model_type\": \"App\\\\Models\\\\InternalSupportStaff\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/web/service-notifications","description":"<p>It creates a service notifications.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>scope*</td>\n<td>string (api, clinicians-app, messages-app, native-apps, general, patient-apps)</td>\n</tr>\n<tr>\n<td>type*</td>\n<td>string (data-leak, service-disruption, maintenance, other, marketing, notice)</td>\n</tr>\n<tr>\n<td>notify_to*</td>\n<td>string (dont-notify, partner-operation-email, panel-user, in-app)</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n</tr>\n<tr>\n<td>notes*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>notified_models</td>\n<td>array</td>\n</tr>\n<tr>\n<td>notified_modes.*.notified_model_type*</td>\n<td>string (App\\Models\\SupportStaff, App\\Models\\InternalSupportStaff, App\\Models\\Clinician)</td>\n</tr>\n<tr>\n<td>notified_modes.*.notified_model_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["web","service-notifications"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"45855a98-558b-4a11-8adf-d0214a11d681"}],"id":"2b64eed1-bdf3-4891-8686-6a8efbd32277","_postman_id":"2b64eed1-bdf3-4891-8686-6a8efbd32277","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Reviews","item":[{"name":"Get Reviews","id":"c7675a49-c1d9-48ae-bb7c-46046df0b27e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/web/reviews?page=1&per_page=10&with_relationships[]=model&with_relationships[]=partner&search=MDI Usa&sort=partner/created_at/action&order=asc/desc","description":"<p>Get the partners's reviews (paginated).</p>\n","urlObject":{"path":["web","reviews"],"host":["https://api.mdintegrations.com"],"query":[{"disabled":true,"description":{"content":"<p>create,update,delete</p>\n","type":"text/plain"},"key":"action","value":"create"},{"disabled":true,"description":{"content":"<p>PartnerService,PartnerMedication,PartnerCompound,PartnerSupply,PartnerQuestionnaire,PartnerQuestionnaireOffering,PartnerQuestionnaireOfferingRule,PartnerQuestionnaireOfferingRuleRequirement,PartnerQuestionnaireQuestion,PartnerQuestionnaireQuestionRule,PartnerQuestionnaireQuestionRuleRequirement,PartnerQuestionnaireQuestionOption</p>\n","type":"text/plain"},"key":"model_type","value":"PartnerQuestionnaire"},{"key":"page","value":"1"},{"key":"per_page","value":"10"},{"description":{"content":"<p>model,partner</p>\n","type":"text/plain"},"key":"with_relationships[]","value":"model"},{"description":{"content":"<p>model,partner</p>\n","type":"text/plain"},"key":"with_relationships[]","value":"partner"},{"key":"search","value":"MDI Usa"},{"key":"sort","value":"partner/created_at/action"},{"key":"order","value":"asc/desc"}],"variable":[]}},"response":[],"_postman_id":"c7675a49-c1d9-48ae-bb7c-46046df0b27e"}],"id":"9e8b96fd-ce14-4ecd-a463-3aef5758e42e","_postman_id":"9e8b96fd-ce14-4ecd-a463-3aef5758e42e","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Unsubscribe Patient Email","id":"e6768e68-d5e2-48a0-b2b3-472f1322b916","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"url":"https://api.mdintegrations.com/web/partner/:partner/patient/:patient_email/email/unsubscribe/","urlObject":{"path":["web","partner",":partner","patient",":patient_email","email","unsubscribe",""],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"01310a3c-52b2-4aa6-b9e0-bb391e9d9d72","description":{"content":"<p>base64 encoded partner ID</p>\n","type":"text/plain"},"type":"any","value":"MjdjZWY3NTctZmFiMy00YzRkLThmNDktNDNlMWUwZDAxY2M2","key":"partner"},{"id":"3f16d88e-858e-4d3e-a1ad-bd5973e36440","description":{"content":"<p>base64 patient email</p>\n","type":"text/plain"},"type":"any","value":"c29tZS5wYXRpZW50QGVtYWlsLmNvbQ==","key":"patient_email"}]}},"response":[],"_postman_id":"e6768e68-d5e2-48a0-b2b3-472f1322b916"}],"id":"5b420050-dc59-465f-82d1-b971714c7d3c","_postman_id":"5b420050-dc59-465f-82d1-b971714c7d3c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Shopify","item":[{"name":"Partners","item":[{"name":"Patients","item":[{"name":"Get Partner Patients","id":"ae5ffb7b-d242-431b-8a76-466ec61302da","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-length":true,"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true}},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"},{"key":"Content-Type","value":"application/json"}],"url":"https://api.mdintegrations.com/shopify/partners/patients?metadata=shopify-customers_create:6298660601974&per_page=15&environments[]=da4083f5-436b-491e-9bc1-73507061cd01","urlObject":{"path":["shopify","partners","patients"],"host":["https://api.mdintegrations.com"],"query":[{"key":"metadata","value":"shopify-customers_create:6298660601974"},{"key":"per_page","value":"15"},{"key":"environments[]","value":"da4083f5-436b-491e-9bc1-73507061cd01"}],"variable":[]}},"response":[],"_postman_id":"ae5ffb7b-d242-431b-8a76-466ec61302da"},{"name":"Request patient data","id":"bbed8a9b-adb8-4ad7-bb8d-6d64c959c66b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/shopify/partners/patients/:patient/data","urlObject":{"path":["shopify","partners","patients",":patient","data"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"a5c70af1-49fc-4d51-a0be-7368282e204e","key":"patient"}]}},"response":[],"_postman_id":"bbed8a9b-adb8-4ad7-bb8d-6d64c959c66b"},{"name":"Delete Partner Patient","id":"9a9bb2d7-4546-4bfd-801b-833749766d0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.comshopify/partners/patients/:patient","urlObject":{"path":["partners","patients",":patient"],"host":["https://api.mdintegrations.comshopify"],"query":[],"variable":[{"id":"f881b0f8-645d-4965-abb8-07c9edc0c907","type":"any","value":"a5c70af1-49fc-4d51-a0be-7368282e204e","key":"patient"}]}},"response":[],"_postman_id":"9a9bb2d7-4546-4bfd-801b-833749766d0d"}],"id":"428604a4-668f-488a-bc36-07bbdf9c0d90","_postman_id":"428604a4-668f-488a-bc36-07bbdf9c0d90","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Vouchers","item":[{"name":"Get Partner Vouchers","id":"64ca14ab-30d6-43e0-ab1a-08dc0d7e5725","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"url":"https://api.mdintegrations.com/shopify/partners/vouchers?metadata=shopify-checkouts_create:9706428e21afbc13671d9940bef3fca2","urlObject":{"path":["shopify","partners","vouchers"],"host":["https://api.mdintegrations.com"],"query":[{"key":"metadata","value":"shopify-checkouts_create:9706428e21afbc13671d9940bef3fca2"}],"variable":[]}},"response":[],"_postman_id":"64ca14ab-30d6-43e0-ab1a-08dc0d7e5725"}],"id":"0d2ed51b-1068-4913-a911-41c5f64fc17c","_postman_id":"0d2ed51b-1068-4913-a911-41c5f64fc17c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Connect Store","id":"49c3736e-2bec-4112-9ad6-e5d6685c9246","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-length":true,"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true}},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"{\n    \"store_url\": \"mdintegrations-dev.myshopify.com\",\n    \"access_token\": \"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\",\n    \"shopify_id\": \"65fa0ae1-e219-402b-81a5-ef910ceac82f\",\n    \"environment_id\": \"38da4bf4-3843-4cc3-83d1-13130daffdbd\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/shopify/partners","urlObject":{"path":["shopify","partners"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"49c3736e-2bec-4112-9ad6-e5d6685c9246"},{"name":"Disconnect Store","id":"9b4c12b2-0ccd-4378-a1b2-8506023627b1","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-length":true,"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true}},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"},{"key":"Signature","value":"{{signature}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/shopify/partners","urlObject":{"path":["shopify","partners"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b4c12b2-0ccd-4378-a1b2-8506023627b1"}],"id":"d21aae48-02ce-436b-88ab-77ce428922c1","_postman_id":"d21aae48-02ce-436b-88ab-77ce428922c1","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Get Customer Auth Link","id":"c11997b1-891c-443c-a81d-55dc61193459","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{partner_access_token}}"},"isInherited":false},"method":"GET","header":[{"key":"X-Shopify-Topic","value":"checkouts/create"},{"key":"X-Shopify-Shop-Domain","value":"mdintegrations-store.myshopify.com"},{"key":"X-Shopify-Hmac-Sha256","value":"pkdvjGB53ZVrGcerX1wPfd0JDbLGCCMrzKqtYJqbeYk="}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/shopify/customers/:customer_id/auth","description":"<p>This endpoint is used to retrieve the authentication details for a specific customer.</p>\n","urlObject":{"path":["shopify","customers",":customer_id","auth"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"89570b89-2f6b-4d9c-871a-d8366efef50b","type":"any","value":"112","key":"customer_id"}]}},"response":[],"_postman_id":"c11997b1-891c-443c-a81d-55dc61193459"},{"name":"Get Settings","id":"432bcd72-8de1-4106-8400-df50884588c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.mdintegrations.com/shopify/settings?store=shopify","description":"<p>This endpoint retrieves the settings related to the Shopify application.</p>\n","urlObject":{"path":["shopify","settings"],"host":["https://api.mdintegrations.com"],"query":[{"key":"store","value":"shopify"}],"variable":[]}},"response":[],"_postman_id":"432bcd72-8de1-4106-8400-df50884588c6"},{"name":"Notifications","id":"c0e5f4b1-e3d1-4569-8232-302da76458b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Shopify-Topic","value":"checkouts/create"},{"key":"X-Shopify-Shop-Domain","value":"mdintegrations-store.myshopify.com"},{"key":"X-Shopify-Hmac-Sha256","value":"pkdvjGB53ZVrGcerX1wPfd0JDbLGCCMrzKqtYJqbeYk="}],"body":{"mode":"raw","raw":"{\"id\":34523374158057,\"token\":\"d5137d90336d7639f2eebd7b06896038\",\"cart_token\":\"Z2NwLXVzLWVhc3QxOjAxSEs2Rk1ZWkVDMEdTSzFUSlFDUVZaQVI0\",\"email\":null,\"gateway\":null,\"buyer_accepts_marketing\":false,\"buyer_accepts_sms_marketing\":false,\"sms_marketing_phone\":null,\"created_at\":\"2024-01-03T01:40:17+00:00\",\"updated_at\":\"2024-01-02T22:11:52-05:00\",\"landing_site\":\"\\/\",\"note\":\"\",\"note_attributes\":[],\"referring_site\":\"\",\"shipping_lines\":[{\"code\":\"Standard\",\"price\":\"0.00\",\"original_shop_price\":\"0.00\",\"original_shop_markup\":\"0.00\",\"source\":\"shopify\",\"title\":\"Standard\",\"presentment_title\":\"Standard\",\"phone\":null,\"tax_lines\":[],\"custom_tax_lines\":null,\"markup\":\"0.00\",\"carrier_identifier\":null,\"carrier_service_id\":null,\"api_client_id\":\"580111\",\"delivery_option_group\":{\"token\":\"d04ae790f74f0bc867b1d9bdf533fee3\",\"type\":\"one_time_purchase\"},\"delivery_expectation_range\":null,\"delivery_expectation_type\":null,\"id\":null,\"requested_fulfillment_service_id\":null,\"delivery_category\":null,\"validation_context\":null,\"applied_discounts\":[]}],\"shipping_address\":{\"first_name\":\"asd\",\"address1\":\"asd\",\"phone\":null,\"city\":\"asd\",\"zip\":\"10239\",\"province\":\"Paraná\",\"country\":\"Brazil\",\"last_name\":\"qwe\",\"address2\":null,\"company\":null,\"latitude\":null,\"longitude\":null,\"name\":\"asd qwe\",\"country_code\":\"BR\",\"province_code\":\"PR\"},\"taxes_included\":false,\"total_weight\":0,\"currency\":\"BRL\",\"completed_at\":null,\"phone\":null,\"customer_locale\":\"en-BR\",\"line_items\":[{\"key\":\"46164363706601\",\"fulfillment_service\":\"manual\",\"gift_card\":false,\"grams\":0,\"presentment_title\":\"The Collection Snowboard: Liquid\",\"presentment_variant_title\":\"\",\"product_id\":8273197203689,\"quantity\":1,\"requires_shipping\":true,\"sku\":\"\",\"tax_lines\":[{\"position\":1,\"price\":\"127.49\",\"rate\":0.17,\"title\":\"VAT\",\"source\":\"Shopify\",\"compare_at\":null,\"zone\":\"country\",\"channel_liable\":false,\"identifier\":null}],\"taxable\":true,\"title\":\"The Collection Snowboard: Liquid\",\"variant_id\":46164363706601,\"variant_title\":\"\",\"variant_price\":\"749.95\",\"vendor\":\"Hydrogen Vendor\",\"unit_price_measurement\":{\"measured_type\":null,\"quantity_value\":null,\"quantity_unit\":null,\"reference_value\":null,\"reference_unit\":null},\"compare_at_price\":null,\"line_price\":\"749.95\",\"price\":\"749.95\",\"applied_discounts\":[],\"destination_location_id\":null,\"user_id\":null,\"rank\":null,\"origin_location_id\":null,\"properties\":null}],\"name\":\"#34523374158057\",\"abandoned_checkout_url\":\"https:\\/\\/mdintegrations-store.myshopify.com\\/67488415977\\/checkouts\\/ac\\/Z2NwLXVzLWVhc3QxOjAxSEs2Rk1ZWkVDMEdTSzFUSlFDUVZaQVI0\\/recover?key=93797e775171092d18cd5117646b1626\",\"discount_codes\":[],\"tax_lines\":[{\"price\":\"127.49\",\"rate\":0.17,\"title\":\"VAT\"}],\"presentment_currency\":\"BRL\",\"source_name\":\"web\",\"total_line_items_price\":\"749.95\",\"total_tax\":\"127.49\",\"total_discounts\":\"0.00\",\"subtotal_price\":\"749.95\",\"total_price\":\"877.44\",\"total_duties\":\"0.00\",\"device_id\":null,\"user_id\":null,\"location_id\":null,\"source_identifier\":null,\"source_url\":null,\"source\":null,\"closed_at\":null}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/shopify/notifications","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["shopify","notifications"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c0e5f4b1-e3d1-4569-8232-302da76458b2"}],"id":"4aec2196-f949-4e35-b794-267d3a6cef1d","_postman_id":"4aec2196-f949-4e35-b794-267d3a6cef1d","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"WooCommerce","item":[{"name":"Patch Partner","id":"3f56be63-44fe-4b11-9547-18d0b5608a87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Shopify-Topic","value":"checkouts/create"},{"key":"X-Shopify-Shop-Domain","value":"mdintegrations-store.myshopify.com"},{"key":"X-Shopify-Hmac-Sha256","value":"pkdvjGB53ZVrGcerX1wPfd0JDbLGCCMrzKqtYJqbeYk="}],"body":{"mode":"raw","raw":"{\n    \"store_name\": \"Wocommerce store name example\",\n    \"store_url\": \"https://woocommerce.store.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/woocommerce/partners","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["woocommerce","partners"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f56be63-44fe-4b11-9547-18d0b5608a87"},{"name":"Partner Auth Callback","id":"12df20ef-1c7d-4961-95eb-391b2ad5332f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Shopify-Topic","value":"checkouts/create"},{"key":"X-Shopify-Shop-Domain","value":"mdintegrations-store.myshopify.com"},{"key":"X-Shopify-Hmac-Sha256","value":"pkdvjGB53ZVrGcerX1wPfd0JDbLGCCMrzKqtYJqbeYk="}],"body":{"mode":"raw","raw":"{\n    \"key_id\": \"312uhuh89h123in\",\n    \"user_id\": \"312uhuh89h123in\",\n    \"consumer_key\": \"312uhuh89h123in\",\n    \"consumer_secret\": \"312uhuh89h123in\",\n    \"key_permissions\": [\"read\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/woocommerce/partners/{partner}/auth/callback","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["woocommerce","partners","{partner}","auth","callback"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"12df20ef-1c7d-4961-95eb-391b2ad5332f"},{"name":"Post Orders","id":"3ec9f1bb-b67f-4eb7-a4bd-3852a27d8534","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Shopify-Topic","value":"checkouts/create"},{"key":"X-Shopify-Shop-Domain","value":"mdintegrations-store.myshopify.com"},{"key":"X-Shopify-Hmac-Sha256","value":"pkdvjGB53ZVrGcerX1wPfd0JDbLGCCMrzKqtYJqbeYk="}],"body":{"mode":"raw","raw":"{\n    \"order_meta\": {\n        \"billing_mdi_custom_gender_field\": [\n            \"1\"\n        ],\n        \"billing_mdi_custom_date_of_birth_field\": [\n            \"2025-01-18\"\n        ]\n    },\n    \"base_data\": {\n        \"id\": 144,\n        \"parent_id\": 0,\n        \"status\": \"processing\",\n        \"currency\": \"BRL\",\n        \"version\": \"9.5.2\",\n        \"prices_include_tax\": false,\n        \"date_created\": {\n            \"date\": \"2025-01-17 22:57:26.000000\",\n            \"timezone_type\": 1,\n            \"timezone\": \"+00:00\"\n        },\n        \"date_modified\": {\n            \"date\": \"2025-01-17 22:57:26.000000\",\n            \"timezone_type\": 1,\n            \"timezone\": \"+00:00\"\n        },\n        \"discount_total\": \"0\",\n        \"discount_tax\": \"0\",\n        \"shipping_total\": \"0\",\n        \"shipping_tax\": \"0\",\n        \"cart_tax\": \"0\",\n        \"total\": \"6.00\",\n        \"total_tax\": \"0\",\n        \"customer_id\": 1,\n        \"order_key\": \"wc_order_4FXMEqpI2i1T8\",\n        \"billing\": {\n            \"first_name\": \"WAGNER\",\n            \"last_name\": \"MOURA\",\n            \"company\": null,\n            \"address_1\": \"XAXAXA BAKER\",\n            \"address_2\": null,\n            \"city\": \"New York\",\n            \"state\": \"NY\",\n            \"postcode\": \"54321\",\n            \"country\": \"US\",\n            \"email\": \"renato+editado@mdintegrations.com\",\n            \"phone\": \"5615557689\"\n        },\n        \"shipping\": {\n            \"first_name\": null,\n            \"last_name\": null,\n            \"company\": null,\n            \"address_1\": null,\n            \"address_2\": null,\n            \"city\": null,\n            \"state\": null,\n            \"postcode\": null,\n            \"country\": null,\n            \"phone\": null\n        },\n        \"payment_method\": \"cod\",\n        \"payment_method_title\": \"Cash on delivery\",\n        \"transaction_id\": null,\n        \"customer_ip_address\": \"2804:14c:8793:8aeb:9d31:2fcb:7232:fd66\",\n        \"customer_user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36\",\n        \"created_via\": \"checkout\",\n        \"customer_note\": null,\n        \"date_completed\": null,\n        \"date_paid\": null,\n        \"cart_hash\": \"50e9efcbc777e0afbfcf4cd366e2dec5\",\n        \"order_stock_reduced\": true,\n        \"download_permissions_granted\": true,\n        \"new_order_email_sent\": false,\n        \"recorded_sales\": true,\n        \"recorded_coupon_usage_counts\": true,\n        \"number\": \"144\"\n    },\n    \"data\": {\n        \"id\": 144,\n        \"parent_id\": 0,\n        \"status\": \"processing\",\n        \"currency\": \"BRL\",\n        \"version\": \"9.5.2\",\n        \"prices_include_tax\": false,\n        \"date_created\": {\n            \"date\": \"2025-01-17 22:57:26.000000\",\n            \"timezone_type\": 1,\n            \"timezone\": \"+00:00\"\n        },\n        \"date_modified\": {\n            \"date\": \"2025-01-17 22:57:26.000000\",\n            \"timezone_type\": 1,\n            \"timezone\": \"+00:00\"\n        },\n        \"discount_total\": \"0\",\n        \"discount_tax\": \"0\",\n        \"shipping_total\": \"0\",\n        \"shipping_tax\": \"0\",\n        \"cart_tax\": \"0\",\n        \"total\": \"6.00\",\n        \"total_tax\": \"0\",\n        \"customer_id\": 1,\n        \"order_key\": \"wc_order_4FXMEqpI2i1T8\",\n        \"billing\": {\n            \"first_name\": \"WAGNER\",\n            \"last_name\": \"MOURA\",\n            \"company\": null,\n            \"address_1\": \"XAXAXA BAKER\",\n            \"address_2\": null,\n            \"city\": \"New York\",\n            \"state\": \"NY\",\n            \"postcode\": \"54321\",\n            \"country\": \"US\",\n            \"email\": \"renato+editado@mdintegrations.com\",\n            \"phone\": \"5615557689\"\n        },\n        \"shipping\": {\n            \"first_name\": null,\n            \"last_name\": null,\n            \"company\": null,\n            \"address_1\": null,\n            \"address_2\": null,\n            \"city\": null,\n            \"state\": null,\n            \"postcode\": null,\n            \"country\": null,\n            \"phone\": null\n        },\n        \"payment_method\": \"cod\",\n        \"payment_method_title\": \"Cash on delivery\",\n        \"transaction_id\": null,\n        \"customer_ip_address\": \"2804:14c:8793:8aeb:9d31:2fcb:7232:fd66\",\n        \"customer_user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36\",\n        \"created_via\": \"checkout\",\n        \"customer_note\": null,\n        \"date_completed\": null,\n        \"date_paid\": null,\n        \"cart_hash\": \"50e9efcbc777e0afbfcf4cd366e2dec5\",\n        \"order_stock_reduced\": true,\n        \"download_permissions_granted\": true,\n        \"new_order_email_sent\": false,\n        \"recorded_sales\": true,\n        \"recorded_coupon_usage_counts\": true,\n        \"number\": \"144\",\n        \"meta_data\": [\n            {\n                \"id\": 503,\n                \"key\": \"_billing_address_index\",\n                \"value\": \"WAGNER MOURA  XAXAXA BAKER  New York NY 54321 US renato+editado@mdintegrations.com 5615557689\"\n            },\n            {\n                \"id\": 504,\n                \"key\": \"_shipping_address_index\",\n                \"value\": null\n            },\n            {\n                \"id\": 500,\n                \"key\": \"_billing_mdi_custom_date_of_birth_field\",\n                \"value\": \"2025-01-18\"\n            },\n            {\n                \"id\": 501,\n                \"key\": \"_billing_mdi_custom_gender_field\",\n                \"value\": \"1\"\n            },\n            {\n                \"id\": 513,\n                \"key\": \"_wc_order_attribution_device_type\",\n                \"value\": \"Desktop\"\n            },\n            {\n                \"id\": 506,\n                \"key\": \"_wc_order_attribution_referrer\",\n                \"value\": \"https://973e-2804-14c-8793-8aeb-b0e8-2821-28a2-fa47.ngrok-free.app/wp-admin/post.php?post=61&action=edit\"\n            },\n            {\n                \"id\": 511,\n                \"key\": \"_wc_order_attribution_session_count\",\n                \"value\": \"19\"\n            },\n            {\n                \"id\": 508,\n                \"key\": \"_wc_order_attribution_session_entry\",\n                \"value\": \"https://973e-2804-14c-8793-8aeb-b0e8-2821-28a2-fa47.ngrok-free.app/product/ibuprofen/\"\n            },\n            {\n                \"id\": 510,\n                \"key\": \"_wc_order_attribution_session_pages\",\n                \"value\": \"6\"\n            },\n            {\n                \"id\": 509,\n                \"key\": \"_wc_order_attribution_session_start_time\",\n                \"value\": \"2025-01-11 13:11:10\"\n            },\n            {\n                \"id\": 505,\n                \"key\": \"_wc_order_attribution_source_type\",\n                \"value\": \"typein\"\n            },\n            {\n                \"id\": 512,\n                \"key\": \"_wc_order_attribution_user_agent\",\n                \"value\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36\"\n            },\n            {\n                \"id\": 507,\n                \"key\": \"_wc_order_attribution_utm_source\",\n                \"value\": \"(direct)\"\n            },\n            {\n                \"id\": 502,\n                \"key\": \"is_vat_exempt\",\n                \"value\": \"no\"\n            }\n        ],\n        \"line_items\": {\n            \"36\": {\n                \"legacy_values\": null,\n                \"legacy_cart_item_key\": null,\n                \"legacy_package_key\": null\n            }\n        },\n        \"tax_lines\": [],\n        \"shipping_lines\": [],\n        \"fee_lines\": [],\n        \"coupon_lines\": []\n    },\n    \"items\": {\n        \"76\": {\n            \"id\": 76,\n            \"name\": \"Ibuprofen - 800mg\",\n            \"slug\": \"ibuprofen-800mg\",\n            \"date_created\": {\n                \"date\": \"2025-01-11 13:55:56.000000\",\n                \"timezone_type\": 1,\n                \"timezone\": \"+00:00\"\n            },\n            \"date_modified\": {\n                \"date\": \"2025-01-17 22:57:26.000000\",\n                \"timezone_type\": 1,\n                \"timezone\": \"+00:00\"\n            },\n            \"status\": \"publish\",\n            \"featured\": false,\n            \"catalog_visibility\": \"visible\",\n            \"description\": null,\n            \"short_description\": null,\n            \"sku\": null,\n            \"global_unique_id\": null,\n            \"price\": \"6\",\n            \"regular_price\": \"6\",\n            \"sale_price\": null,\n            \"date_on_sale_from\": null,\n            \"date_on_sale_to\": null,\n            \"total_sales\": \"0\",\n            \"tax_status\": \"taxable\",\n            \"tax_class\": \"parent\",\n            \"manage_stock\": true,\n            \"stock_quantity\": 71,\n            \"stock_status\": \"instock\",\n            \"backorders\": \"no\",\n            \"low_stock_amount\": null,\n            \"sold_individually\": true,\n            \"weight\": null,\n            \"length\": null,\n            \"width\": null,\n            \"height\": null,\n            \"upsell_ids\": [],\n            \"cross_sell_ids\": [],\n            \"parent_id\": 61,\n            \"reviews_allowed\": false,\n            \"purchase_note\": null,\n            \"attributes\": {\n                \"ibuprofen\": \"800mg\"\n            },\n            \"default_attributes\": [],\n            \"menu_order\": 3,\n            \"post_password\": null,\n            \"virtual\": false,\n            \"downloadable\": false,\n            \"category_ids\": [],\n            \"tag_ids\": [],\n            \"shipping_class_id\": 0,\n            \"downloads\": [],\n            \"image_id\": 0,\n            \"gallery_image_ids\": [],\n            \"download_limit\": -1,\n            \"download_expiry\": -1,\n            \"rating_counts\": [],\n            \"average_rating\": 0,\n            \"review_count\": 0,\n            \"cogs_value\": 0,\n            \"attribute_summary\": \"Ibuprofen: 800mg\",\n            \"cogs_value_overrides_parent\": false,\n            \"meta_data\": []\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/woocommerce/orders","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["woocommerce","orders"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ec9f1bb-b67f-4eb7-a4bd-3852a27d8534"},{"name":"Get Vouchers","id":"026eeb5f-aa74-421a-a057-8742467ae56e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Shopify-Topic","value":"checkouts/create"},{"key":"X-Shopify-Shop-Domain","value":"mdintegrations-store.myshopify.com"},{"key":"X-Shopify-Hmac-Sha256","value":"pkdvjGB53ZVrGcerX1wPfd0JDbLGCCMrzKqtYJqbeYk="}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/woocommerce/orders/:order_id/vouchers","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["woocommerce","orders",":order_id","vouchers"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2f914301-462a-4dc1-ab35-69c8312cd28d","type":"any","value":"41","key":"order_id"}]}},"response":[],"_postman_id":"026eeb5f-aa74-421a-a057-8742467ae56e"},{"name":"Get Customer Auth Link","id":"ec09c617-fe2f-487c-8a01-e9a74745c061","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Shopify-Topic","value":"checkouts/create"},{"key":"X-Shopify-Shop-Domain","value":"mdintegrations-store.myshopify.com"},{"key":"X-Shopify-Hmac-Sha256","value":"pkdvjGB53ZVrGcerX1wPfd0JDbLGCCMrzKqtYJqbeYk="}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/woocommerce/customers/:customer_id/auth","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["woocommerce","customers",":customer_id","auth"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"eda1784a-0d71-4ed8-8f54-d63c2d32ff88","type":"any","value":"112","key":"customer_id"}]}},"response":[],"_postman_id":"ec09c617-fe2f-487c-8a01-e9a74745c061"},{"name":"Disconnect","id":"c1010688-7f96-4bc9-9792-95cab9e79e68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-Shopify-Topic","value":"checkouts/create"},{"key":"X-Shopify-Shop-Domain","value":"mdintegrations-store.myshopify.com"},{"key":"X-Shopify-Hmac-Sha256","value":"pkdvjGB53ZVrGcerX1wPfd0JDbLGCCMrzKqtYJqbeYk="}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/woocommerce/disconnect","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["woocommerce","disconnect"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1010688-7f96-4bc9-9792-95cab9e79e68"}],"id":"5c21f9cf-3286-4aec-b15c-6c18e46c1112","_postman_id":"5c21f9cf-3286-4aec-b15c-6c18e46c1112","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Twilio","item":[],"id":"ba6662ab-11d1-4297-a804-0c57c0e6a716","_postman_id":"ba6662ab-11d1-4297-a804-0c57c0e6a716","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Health Check","item":[{"name":"Processing Cases Queue","id":"d66b0970-6bf2-488b-bb24-85cb19661b64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/health-check/processing-cases-queue","description":"<p>Get processing cases queue.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["health-check","processing-cases-queue"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d66b0970-6bf2-488b-bb24-85cb19661b64"},{"name":"Servers Load","id":"70045328-5078-46bf-a202-cec3d4383bbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/health-check/servers-load","description":"<p>Get servers load.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["health-check","servers-load"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"70045328-5078-46bf-a202-cec3d4383bbc"},{"name":"Servers Memory","id":"82f9ff6c-e4ad-42b6-906f-be6a85f3bb4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/health-check/servers-memory","description":"<p>Get servers memory.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["health-check","servers-memory"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"82f9ff6c-e4ad-42b6-906f-be6a85f3bb4b"},{"name":"Servers Storage","id":"9849ce6c-7f87-4a05-9e6b-04a613314ddb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/health-check/servers-storage","description":"<p>Get servers storage.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["health-check","servers-storage"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9849ce6c-7f87-4a05-9e6b-04a613314ddb"}],"id":"784e5943-40f7-48cf-9f97-205427cb259e","_postman_id":"784e5943-40f7-48cf-9f97-205427cb259e","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Hubspot","item":[{"name":"Auth","item":[{"name":"Request access token","event":[{"listen":"test","script":{"id":"8da2d9fd-3280-46e2-ae83-2c6316575b7a","exec":["pm.environment.set('token', pm.response.json().access_token);"],"type":"text/javascript","packages":{}}}],"id":"91c9daa5-5192-4032-9179-52b1f4d4102c","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n\t\"grant_type\": \"client_credentials\",\n    \"client_id\": \"7fe656f8-d29d-439d-bcbc-565654808488\",\n    \"client_secret\": \"2hxOxYfzkKtPqm27g2hOPJuWoHPycq9dGfFhY1hF\",\n\t\"scope\": \"*\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/auth","description":"<p>With this endpoint, you can exchange your <strong>Client ID</strong> and <strong>Client Secret</strong> for an access token with <em>limited lifetime</em>.</p>\n<p>The access token allows your application to make authenticated requests to the MD Integrations API.</p>\n<p>For more details on the expected flow, you can checkout the <strong>Authentication</strong> section in the <strong>Introduction</strong>.</p>\n<h2 id=\"payload\">Payload</h2>\n<p>For this request, all fields in the payload are <strong>required</strong>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>grant_type</td>\n<td>string*</td>\n<td>Should always be <code>client_credentials</code></td>\n</tr>\n<tr>\n<td>client_id</td>\n<td>string*</td>\n<td>Client ID credential</td>\n</tr>\n<tr>\n<td>client_secret</td>\n<td>string*</td>\n<td>Client Secret credential</td>\n</tr>\n<tr>\n<td>scope</td>\n<td>string*</td>\n<td>Should always be <code>\\*</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"expired-tokens\">Expired tokens</h2>\n<p>Whenever an access token expires, you should request a brand new one for making new requests.</p>\n<h2 id=\"client-credentials\">Client Credentials</h2>\n<p>Your credentials will be provided to you by the MD Integrations team.</p>\n<p>Keep in mind the importance of <strong>protecting your credentials</strong> to avoid unauthorized access.</p>\n","urlObject":{"path":["hubspot","auth"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[{"id":"d0520955-8c3b-4e7d-8cd6-9b6593df38b5","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n\t\"grant_type\": \"client_credentials\",\n    \"client_id\": \"7fe656f8-d29d-439d-bcbc-565654808488\",\n    \"client_secret\": \"2hxOxYfzkKtPqm27g2hOPJuWoHPycq9dGfFhY1hF\",\n\t\"scope\": \"*\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/auth"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 86400,\n    \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI1MWU1ZTExNi1hNDhlLTQ1OTItYjEzZS1hMDYzZDRmYzFjNTgiLCJqdGkiOiIwYmU5YzlhNWRjODliN2ZjZGY1MTY5M2M5YTNmODZmOTI4ZGEzNzQwNWE2Y2M3MWZjZGVhOTJmZWEwMTc3YTkzNTEzNzhmMmFhNTViODJmOSIsImlhdCI6MTc1NzQxODk4NC44ODIzMDcsIm5iZiI6MTc1NzQxODk4NC44ODIzMDksImV4cCI6MTc1NzUwNTM4NC44NzIxNzUsInN1YiI6IiIsInNjb3BlcyI6WyIqIl19.HK5j3-Lbopxw5PNmCzDYjiPOAvJX3FXquDsMW1H_A1ujXnGVhOUTuRASrKVA_j6vs33y8KBH5lfiT99sGm7Ya48h28gJcFGcmuvlx1yhTYMSJyRLCi9LZm0ihj3hZcDIkkh7AuIt9lBtQhcYdyOSMsEQ1wWZzFV-Ul2PuNVKXTF99XTzFX2SdiFJPwKd_iwSADOxPuF-2ISAnJtCrApS13GfNKJKnY5N8IzwvvPTwzpeUtsqc9-YabyuyATHzXqBCe5IBSuLUOZDMUgL0RcEbTz2CgMKs_qFfOxSt_d1mHNMwplwVmWSf9Cu5nEF-bZfPNEl17lng8fdghVMt4VCXo5DuxcIWli5FUUvujfj1PLCakrNWiYZTJ7lJUCIJu4tYhVjeZENc81XhO6agABiSm2eTfMhvKVUeuRSLuYnQ95YSmJQjLnSgzCLbe16vHzmFyQmteiYX0VvMy2dsvnkC_5U-tVvXnYOkoEK8LbpdAdKPyjNyeYAAw0bTrrOFLi2Vf5Knx4Bfo1OxDzOLSVyY67WuCeO0MSuC-0TEQTzCYs2aAtPEh0TwdPLvY-thQl79bsbCI8dQFX95OmHbwM0PXd8iJCc72loVZxl_12eb2N6WAtAM0afQMpRM7_pxaN4SL6TWZN3mRTMmcshEPAmioj1DlWxx6GpVrK_ZRXJKyI\"\n}"}],"_postman_id":"91c9daa5-5192-4032-9179-52b1f4d4102c"}],"id":"e4159c9d-ffd9-4e09-9545-044f994a4b56","_postman_id":"e4159c9d-ffd9-4e09-9545-044f994a4b56","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Files","item":[{"name":"Create File","id":"e312e5b5-1390-4aa5-bab9-3aa565bc73d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"<p>Image file *  image - max 25MB</p>\n","src":"postman-cloud:///1ef6c4f7-f0ed-4770-b715-82fdc8c97649"},{"key":"type","value":"other","description":"<p>File type  * string(255)</p>\n","type":"text"}]},"url":"https://api.mdintegrations.com/hubspot/files","description":"<p>Creates a file.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>file*</td>\n<td>file</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hubspot","files"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[{"id":"cddbb9a6-f682-408c-90ae-2084671807b7","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"Image file *  image - max 25MB","src":"postman-cloud:///1ef6c4f7-f0ed-4770-b715-82fdc8c97649"},{"key":"type","value":"other","description":"File type  * string(255)","type":"text"}]},"url":"https://api.mdintegrations.com/hubspot/files"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1718a969-b2c8-4b7e-983b-abedd53b17a3\",\n    \"name\": \"example.pdf\",\n    \"type\": \"other\",\n    \"mime_type\": \"application/pdf\",\n    \"path\": \"files/2025_09_09/hubspot/51e5e116-a48e-4592-b13e-a063d4fc1c58/1757419107.1995_phpIgOFIg_example.pdf\",\n    \"metadata\": null,\n    \"created_at\": \"2025-09-09T11:58:27.000000Z\",\n    \"updated_at\": \"2025-09-09T11:58:27.000000Z\",\n    \"deleted_at\": null,\n    \"url\": \"https://api.mdintegrations.dev/s3/files/1718a969-b2c8-4b7e-983b-abedd53b17a3/redirect?signature=61b2cc89d1adf064e46833dc592798a66d336df328a821c7d30bc51a1e802291\",\n    \"url_thumbnail\": null,\n    \"file_id\": \"1718a969-b2c8-4b7e-983b-abedd53b17a3\"\n}"}],"_postman_id":"e312e5b5-1390-4aa5-bab9-3aa565bc73d1"}],"id":"6a3091c7-c7b8-4e13-990d-90fb6084e52b","_postman_id":"6a3091c7-c7b8-4e13-990d-90fb6084e52b","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Partners","item":[{"name":"Contacts","item":[{"name":"Get Contacts","id":"44e6dad3-5e36-45ad-95ea-76291de2dcce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/contacts?per_page=15&page=1","description":"<p>Get the partner's contacts (paginated).</p>\n","urlObject":{"path":["hubspot","partners",":partner","contacts"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"6d80ba03-ebfe-435a-b5c2-0dcb2d03a6e5","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[{"id":"28c142cb-0146-49bc-bc22-7e9570cd99cf","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/contacts?per_page=15&page=1","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","contacts"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"c40207e1-b728-31ad-ab95-2db4b4464ea7\",\n            \"first_name\": \"Kane\",\n            \"last_name\": \"Kerluke\",\n            \"job_title\": \"Sawing Machine Operator\",\n            \"partner_id\": \"7126c134-9bc3-4661-9afa-f5b200857144\",\n            \"email\": \"jamil.nitzsche@example.com\",\n            \"created_at\": \"2025-09-09T12:00:49.000000Z\",\n            \"updated_at\": \"2025-09-09T12:00:49.000000Z\",\n            \"deleted_at\": null,\n            \"full_name\": \"Kane Kerluke\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/api/partners/7126c134-9bc3-4661-9afa-f5b200857144/contacts?page=1\",\n        \"last\": \"http://localhost/api/partners/7126c134-9bc3-4661-9afa-f5b200857144/contacts?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"page\": null,\n                \"active\": false\n            },\n            {\n                \"url\": \"http://localhost/api/partners/7126c134-9bc3-4661-9afa-f5b200857144/contacts?page=1\",\n                \"label\": \"1\",\n                \"page\": 1,\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"page\": null,\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://localhost/api/partners/7126c134-9bc3-4661-9afa-f5b200857144/contacts\",\n        \"per_page\": 15,\n        \"to\": 1,\n        \"total\": 1\n    }\n}"}],"_postman_id":"44e6dad3-5e36-45ad-95ea-76291de2dcce"},{"name":"Update Contact","id":"576243dc-c1f4-415e-8cf6-f73dbef2614d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Partner\",\n    \"last_name\": \"Contact\",\n    \"email\": \"partner@contact.example\",\n    \"job_title\": \"Job Title\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner/contacts/:contact","description":"<p>Updates the partner's contact.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hubspot","partners",":partner","contacts",":contact"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"80e4f3d2-249e-471b-8107-732a4bfac9a2","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"45ab2e14-2a8b-4bf9-b990-fa9311b7cc7e","type":"any","value":"ff96384a-1404-4d08-a969-035ade5d93ba","key":"contact"}]}},"response":[{"id":"89a576a8-8ef4-49ea-bd29-8b0bbd16ef05","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Partner\",\n    \"last_name\": \"Contact\",\n    \"email\": \"partner@contact.example\",\n    \"job_title\": \"Job Title\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/contacts/:contact","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","contacts",":contact"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"contact","value":"ff96384a-1404-4d08-a969-035ade5d93ba"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"576243dc-c1f4-415e-8cf6-f73dbef2614d"},{"name":"Delete Contact","id":"a2e37148-cc4e-410a-8e88-8fbaebd4dca9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/contacts/:contact","description":"<p>Deletes the partner's contact.</p>\n","urlObject":{"path":["hubspot","partners",":partner","contacts",":contact"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"9424c6cb-fe08-409d-8ed9-9209cdd26dfb","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"3ad06a3f-ae83-4756-a10a-2c3828d20fa0","type":"any","value":"f3fe6939-5af5-45b2-86ee-f0e6601ab8b0","key":"contact"}]}},"response":[{"id":"d784d144-0ede-41c8-8f30-d2863e0db87b","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/contacts/:contact","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","contacts",":contact"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"contact","value":"f3fe6939-5af5-45b2-86ee-f0e6601ab8b0"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a2e37148-cc4e-410a-8e88-8fbaebd4dca9"},{"name":"Create Contact","id":"8ffbb889-f9df-4cac-9946-ee5923ee582d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Partner\",\n    \"last_name\": \"Contact\",\n    \"email\": \"partner@contact.example\",\n    \"job_title\": \"Job Title\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner/contacts","description":"<p>Creates a contact for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hubspot","partners",":partner","contacts"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2b55569b-c727-40c7-bcc9-4deb696b30ff","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[{"id":"4a1b0959-ea8d-4103-ac93-79cc2f6d3b64","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Partner\",\n    \"last_name\": \"Contact\",\n    \"email\": \"partner@contact.example\",\n    \"job_title\": \"Job Title\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/contacts","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","contacts"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1b3a7f7b-90d7-348e-b905-72f52b71a7cf\",\n    \"first_name\": \"Camren\",\n    \"last_name\": \"Volkman\",\n    \"job_title\": \"Biophysicist\",\n    \"partner_id\": \"f0ffd47f-a1b7-470b-b00c-d8aae1f06e60\",\n    \"email\": \"hadley03@example.net\",\n    \"created_at\": \"2025-09-09T12:01:45.000000Z\",\n    \"updated_at\": \"2025-09-09T12:01:45.000000Z\",\n    \"deleted_at\": null,\n    \"full_name\": \"Camren Volkman\"\n}"}],"_postman_id":"8ffbb889-f9df-4cac-9946-ee5923ee582d"},{"name":"Get Contact","id":"5a09577c-09f0-445d-b98a-8a88c3f954f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/contacts/:contact","description":"<p>It gets the partner contact.</p>\n","urlObject":{"path":["hubspot","partners",":partner","contacts",":contact"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a810de63-53fa-4f09-aa2b-d4e0d342d647","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"cc1b807a-4725-4be1-b50a-da2cb3073a2e","type":"any","value":"1b3a7f7b-90d7-348e-b905-72f52b71a7cf","key":"contact"}]}},"response":[{"id":"8036eaa5-fb20-4510-aafc-deab5d96453b","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Partner\",\n    \"last_name\": \"Contact\",\n    \"email\": \"partner@contact.example\",\n    \"job_title\": \"Job Title\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/contacts/:contant","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","contacts",":contant"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"contant","value":"1b3a7f7b-90d7-348e-b905-72f52b71a7cf"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1b3a7f7b-90d7-348e-b905-72f52b71a7cf\",\n    \"first_name\": \"Camren\",\n    \"last_name\": \"Volkman\",\n    \"job_title\": \"Biophysicist\",\n    \"partner_id\": \"f0ffd47f-a1b7-470b-b00c-d8aae1f06e60\",\n    \"email\": \"hadley03@example.net\",\n    \"created_at\": \"2025-09-09T12:01:45.000000Z\",\n    \"updated_at\": \"2025-09-09T12:01:45.000000Z\",\n    \"deleted_at\": null,\n    \"full_name\": \"Camren Volkman\"\n}"}],"_postman_id":"5a09577c-09f0-445d-b98a-8a88c3f954f8"}],"id":"772f255a-dc02-4a29-82a5-21f0319cfd5a","_postman_id":"772f255a-dc02-4a29-82a5-21f0319cfd5a","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Files","item":[{"name":"Attach File","id":"041f2101-1c01-4eb1-abc6-5c4f3b308e7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Title\",\n    \"type\": \"document\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner/files/:file","description":"<p>Attach the file to the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string (document, review, other)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hubspot","partners",":partner","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"0f05b3a8-d562-496f-8956-f2953039158f","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"0361c0fc-6990-47a3-a182-7fafc6a2f4e7","type":"any","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2","key":"file"}]}},"response":[{"id":"9db7986f-6ba8-4fc3-bd01-b1b8e1bf9644","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Title\",\n    \"type\": \"document\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/files/:file","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","files",":file"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"file","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"b4d302f1-da77-4f5f-aa81-ba2a5bed93b2\",\n    \"name\": \"dolor\",\n    \"type\": \"document\",\n    \"mime_type\": \"application/vnd.ms-word.document.macroenabled.12\",\n    \"path\": \"path/ut.pdf\",\n    \"metadata\": null,\n    \"created_at\": \"2025-09-09T12:04:48.000000Z\",\n    \"updated_at\": \"2025-09-09T12:04:48.000000Z\",\n    \"deleted_at\": null,\n    \"url\": \"https://api.mdintegrations.dev/s3/files/b4d302f1-da77-4f5f-aa81-ba2a5bed93b2/redirect?signature=5707d1c7e1ecb3a75349c115e2e4cd9a85d9425d9a4f73223366837dcdca377e\",\n    \"url_thumbnail\": \"https://api.mdintegrations.dev/s3/files/b4d302f1-da77-4f5f-aa81-ba2a5bed93b2/thumbnail?signature=dbf76e01dabad2bd41ea99daffceecfb81e4dbcf1db126219660002ad172c51f\",\n    \"pivot\": {\n        \"file_id\": \"b4d302f1-da77-4f5f-aa81-ba2a5bed93b2\",\n        \"partner_id\": \"aab0b282-b389-4724-bafc-680e68ef52ca\",\n        \"title\": \"Unde recusandae labore qui atque sunt debitis qui.\",\n        \"type\": \"document\",\n        \"created_at\": \"2025-09-09T12:04:48.000000Z\",\n        \"updated_at\": \"2025-09-09T12:04:48.000000Z\"\n    },\n    \"file_id\": \"b4d302f1-da77-4f5f-aa81-ba2a5bed93b2\"\n}"}],"_postman_id":"041f2101-1c01-4eb1-abc6-5c4f3b308e7f"},{"name":"Detach File","id":"8f8ff28d-88b2-4345-a1d2-ddadc8ddae73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/files/:file","description":"<p>Detach the file from the partner.</p>\n","urlObject":{"path":["hubspot","partners",":partner","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"7ea5749f-aee8-476a-b392-225ddf82f955","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"88ce1e91-507f-4a89-9466-da8e9b6f80bd","type":"any","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2","key":"file"}]}},"response":[{"id":"b431d395-ff6c-4231-8b91-36efe9f60719","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/files/:file","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","files",":file"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"file","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8f8ff28d-88b2-4345-a1d2-ddadc8ddae73"},{"name":"Get File","id":"b35c20d6-300e-4dad-9edd-4c0acbadd3f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Title\",\n    \"type\": \"document\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner/files/:file","description":"<p>It gets the partner's file.</p>\n","urlObject":{"path":["hubspot","partners",":partner","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"type":"any","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2","key":"file"}]}},"response":[{"id":"a09b18c0-fd36-4096-8910-3fab9f6418b5","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Title\",\n    \"type\": \"document\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/files/:file","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","files",":file"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"file","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"b6f02434-035b-4ee0-a7bc-540740d25d5e\",\n    \"name\": \"assumenda\",\n    \"type\": \"document\",\n    \"mime_type\": \"application/java-vm\",\n    \"path\": \"path/sapiente.pdf\",\n    \"metadata\": null,\n    \"created_at\": \"2025-09-09T12:06:40.000000Z\",\n    \"updated_at\": \"2025-09-09T12:06:40.000000Z\",\n    \"deleted_at\": null,\n    \"url\": \"https://api.mdintegrations.dev/s3/files/b6f02434-035b-4ee0-a7bc-540740d25d5e/redirect?signature=ac9863bd7e098d99d029c0ce26524f40baac2df978243ca353de07dbca350a00\",\n    \"url_thumbnail\": \"https://api.mdintegrations.dev/s3/files/b6f02434-035b-4ee0-a7bc-540740d25d5e/thumbnail?signature=906d13d902eeb068e7534c342bdd001382e7f0fd5eb6bc928d686abacc6a62da\",\n    \"file_id\": \"b6f02434-035b-4ee0-a7bc-540740d25d5e\"\n}"}],"_postman_id":"b35c20d6-300e-4dad-9edd-4c0acbadd3f6"},{"name":"Get Files","id":"c25d1e81-d9c0-4262-a45e-e1ec5591cc69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/files?per_page=15&page=1","description":"<p>Get the partner's files (paginated).</p>\n","urlObject":{"path":["hubspot","partners",":partner","files"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"f463b951-e8e6-4efd-8f10-bdd1cbaf5e20","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[{"id":"c0512c48-0200-4ec9-b307-dce4bfc02970","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/files?per_page=15&page=1","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","files"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"b5b5a939-0d60-482e-ba55-a633bd40a632\",\n            \"name\": \"nesciunt\",\n            \"type\": \"document\",\n            \"mime_type\": \"application/x-conference\",\n            \"path\": \"path/voluptatem.pdf\",\n            \"metadata\": \"Error ut consequuntur rerum voluptate occaecati. Eos placeat officiis nihil qui.\",\n            \"created_at\": \"2025-09-09T12:06:00.000000Z\",\n            \"updated_at\": \"2025-09-09T12:06:00.000000Z\",\n            \"deleted_at\": null,\n            \"url\": \"https://api.mdintegrations.dev/s3/files/b5b5a939-0d60-482e-ba55-a633bd40a632/redirect?signature=c215a9947426efa94a942cfd95069c8544dad721b4c46096bde940561f6deefa\",\n            \"url_thumbnail\": \"https://api.mdintegrations.dev/s3/files/b5b5a939-0d60-482e-ba55-a633bd40a632/thumbnail?signature=f5cf60cd507987fe2e41b4d059486879f7bf5999f124f306043e8087eb708ce3\",\n            \"pivot\": {\n                \"file_id\": \"b5b5a939-0d60-482e-ba55-a633bd40a632\",\n                \"partner_id\": \"82c04c88-6f54-49ff-9fee-4e75dcb64ed8\",\n                \"title\": null,\n                \"type\": null,\n                \"created_at\": \"2025-09-09T12:06:00.000000Z\",\n                \"updated_at\": \"2025-09-09T12:06:00.000000Z\"\n            },\n            \"file_id\": \"b5b5a939-0d60-482e-ba55-a633bd40a632\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/api/partners/82c04c88-6f54-49ff-9fee-4e75dcb64ed8/files?page=1\",\n        \"last\": \"http://localhost/api/partners/82c04c88-6f54-49ff-9fee-4e75dcb64ed8/files?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"page\": null,\n                \"active\": false\n            },\n            {\n                \"url\": \"http://localhost/api/partners/82c04c88-6f54-49ff-9fee-4e75dcb64ed8/files?page=1\",\n                \"label\": \"1\",\n                \"page\": 1,\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"page\": null,\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://localhost/api/partners/82c04c88-6f54-49ff-9fee-4e75dcb64ed8/files\",\n        \"per_page\": 15,\n        \"to\": 1,\n        \"total\": 1\n    }\n}"}],"_postman_id":"c25d1e81-d9c0-4262-a45e-e1ec5591cc69"},{"name":"Update File","id":"95f152b0-df42-4037-9169-fc6ede10aec2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Title\",\n    \"type\": \"document\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner/files/:file","description":"<p>Updates the partner's file.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>type*</td>\n<td>string (other, review, document)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hubspot","partners",":partner","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5bd8514b-7d2e-42bc-9a06-166ff052e5e1","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"e39fd76f-2b27-4dab-b61e-d8e82fb373e4","type":"any","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2","key":"file"}]}},"response":[],"_postman_id":"95f152b0-df42-4037-9169-fc6ede10aec2"}],"id":"2f9f5452-3ce1-4298-85ab-8d0e8c331491","_postman_id":"2f9f5452-3ce1-4298-85ab-8d0e8c331491","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Panel Users","item":[{"name":"Create  Panel User","id":"b6534ca3-851d-4503-a17b-6e47fb66da53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Panel User Name\",\n    \"email\": \"aapzanel-user@partner.example\",\n    \"timezone_id\": \"b7d08438-b5a3-4790-9c3e-1fe4930c923c\",\n    \"managed_by_partner\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner/panel-users","description":"<p>Creates a panel user and attaches it to the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>managed_by_partner</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hubspot","partners",":partner","panel-users"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"e5ca9ab1-dc1c-4cd4-9742-935250fcd2b6","type":"any","value":"48793bbe-5cf1-4001-8a8a-59d68a8ffaac","key":"partner"}]}},"response":[{"id":"58b1a00f-c1dd-4dbb-82a3-1826f7c40794","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Panel User Name\",\n    \"email\": \"aapzanel-user@partner.example\",\n    \"timezone_id\": \"b7d08438-b5a3-4790-9c3e-1fe4930c923c\",\n    \"managed_by_partner\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/panel-users","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","panel-users"],"variable":[{"key":"partner","value":"48793bbe-5cf1-4001-8a8a-59d68a8ffaac"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c9d20846-d0f9-42a3-b872-e22094ed09b6\",\n    \"name\": \"ut\",\n    \"type\": \"document\",\n    \"mime_type\": \"video/jpeg\",\n    \"path\": \"path/magnam.pdf\",\n    \"metadata\": \"Repellendus molestiae quos ex reiciendis. Sit vero nihil doloribus optio tempora quis quisquam.\",\n    \"created_at\": \"2025-09-09T12:07:32.000000Z\",\n    \"updated_at\": \"2025-09-09T12:07:32.000000Z\",\n    \"deleted_at\": null,\n    \"url\": \"https://api.mdintegrations.dev/s3/files/c9d20846-d0f9-42a3-b872-e22094ed09b6/redirect?signature=d7900d6be388b5b77029e9766ccd75153bbde8eacec5a0cea03b5d688f425843\",\n    \"url_thumbnail\": \"https://api.mdintegrations.dev/s3/files/c9d20846-d0f9-42a3-b872-e22094ed09b6/thumbnail?signature=5a73b31c6a76df62a841c4f3cd633ad22749a26d86c7ad87ccc9a601f4c50783\",\n    \"file_id\": \"c9d20846-d0f9-42a3-b872-e22094ed09b6\"\n}"}],"_postman_id":"b6534ca3-851d-4503-a17b-6e47fb66da53"},{"name":"Detach Panel User","id":"4074269d-9618-4c22-9c46-e2736f2944ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/panel-users/:panelUser","description":"<p>Detach the panel user from the partner.</p>\n","urlObject":{"path":["hubspot","partners",":partner","panel-users",":panelUser"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4410348e-7176-4b31-8880-9687a1a3e064","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"5f97fcc3-6cc7-420f-aea7-b42dd06cddb3","type":"any","value":"10259828-6086-495a-bd0d-e37779977866","key":"panelUser"}]}},"response":[{"id":"1aa7ceb8-d625-409c-bf6b-3590aacaf1cd","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/panel-users/:panelUser","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","panel-users",":panelUser"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"panelUser","value":"10259828-6086-495a-bd0d-e37779977866"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"4074269d-9618-4c22-9c46-e2736f2944ca"},{"name":"Get Panel Users","id":"a733057c-b43d-4e21-9e0b-e6957e46653b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/panel-users?per_page=15&page=1","description":"<p>Get the partner's panel users (paginated).</p>\n","urlObject":{"path":["hubspot","partners",":partner","panel-users"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"95d133e4-f6f4-4a16-a910-a6b12cfa7135","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[{"id":"3dbc9cb8-8e99-4a9c-a00c-575d6148d9e9","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/panel-users?per_page=15&page=1","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","panel-users"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"key":"partner","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"d54d2785-3645-4954-ae88-0a1b8ff3ae5f\",\n    \"name\": \"animi\",\n    \"type\": \"document\",\n    \"mime_type\": \"audio/vnd.dece.audio\",\n    \"path\": \"path/consectetur.pdf\",\n    \"metadata\": \"Ipsa nam nobis quia excepturi dolor. Minus excepturi dolor eius aut assumenda amet.\",\n    \"created_at\": \"2025-09-09T12:08:56.000000Z\",\n    \"updated_at\": \"2025-09-09T12:08:56.000000Z\",\n    \"deleted_at\": null,\n    \"url\": \"https://api.mdintegrations.dev/s3/files/d54d2785-3645-4954-ae88-0a1b8ff3ae5f/redirect?signature=eb2d8d5287ad29ba64cde506a083f8b1de63c5eec8dc74420ab87989b839f33d\",\n    \"url_thumbnail\": \"https://api.mdintegrations.dev/s3/files/d54d2785-3645-4954-ae88-0a1b8ff3ae5f/thumbnail?signature=5f12e739f6ef1dadbc8a56519cc7b953b9b15c2882c55bd684660c876696ab41\",\n    \"file_id\": \"d54d2785-3645-4954-ae88-0a1b8ff3ae5f\"\n}"}],"_postman_id":"a733057c-b43d-4e21-9e0b-e6957e46653b"},{"name":"Get Panel User","id":"68c6a3e6-fe85-484c-9c7a-1027cfdc94b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/panel-users/:panel_user_id","description":"<p>Get the partner's panel user.</p>\n","urlObject":{"path":["hubspot","partners",":partner","panel-users",":panel_user_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d5449af3-11bc-405b-a9ae-ed9f151e8d4f","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"b4cdc81a-4679-4d71-a6e6-28a74e3feaa8","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"panel_user_id"}]}},"response":[{"id":"3e4cbc14-ddb1-4379-aee7-0e3a9f9549df","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/panel-users/:panel_user_id","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","panel-users",":panel_user_id"],"variable":[{"key":"partner","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4"},{"key":"panel_user_id","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c9d20846-d0f9-42a3-b872-e22094ed09b6\",\n    \"name\": \"ut\",\n    \"type\": \"document\",\n    \"mime_type\": \"video/jpeg\",\n    \"path\": \"path/magnam.pdf\",\n    \"metadata\": \"Repellendus molestiae quos ex reiciendis. Sit vero nihil doloribus optio tempora quis quisquam.\",\n    \"created_at\": \"2025-09-09T12:07:32.000000Z\",\n    \"updated_at\": \"2025-09-09T12:07:32.000000Z\",\n    \"deleted_at\": null,\n    \"url\": \"https://api.mdintegrations.dev/s3/files/c9d20846-d0f9-42a3-b872-e22094ed09b6/redirect?signature=d7900d6be388b5b77029e9766ccd75153bbde8eacec5a0cea03b5d688f425843\",\n    \"url_thumbnail\": \"https://api.mdintegrations.dev/s3/files/c9d20846-d0f9-42a3-b872-e22094ed09b6/thumbnail?signature=5a73b31c6a76df62a841c4f3cd633ad22749a26d86c7ad87ccc9a601f4c50783\",\n    \"file_id\": \"c9d20846-d0f9-42a3-b872-e22094ed09b6\"\n}"}],"_postman_id":"68c6a3e6-fe85-484c-9c7a-1027cfdc94b5"},{"name":"Patch Panel User","id":"6ad95837-fce5-48e8-985e-e86f7c792a82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Panel User Name\",\n    \"email\": \"user@partner.example\",\n    \"timezone_id\": \"b7d08438-b5a3-4790-9c3e-1fe4930c923c\",\n    \"managed_by_partner\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner/panel-users/:panelUser","description":"<p>I updates the panel user from the partner.</p>\n","urlObject":{"path":["hubspot","partners",":partner","panel-users",":panelUser"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4a7c4448-df3f-43e8-94e7-a984540b06a1","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"4545cd90-cba6-443e-a4b7-e992edf96472","type":"any","value":"10259828-6086-495a-bd0d-e37779977866","key":"panelUser"}]}},"response":[{"id":"dcf946bf-84e3-403b-a3b5-73e87f4d797b","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Panel User Name\",\n    \"email\": \"user@partner.example\",\n    \"timezone_id\": \"b7d08438-b5a3-4790-9c3e-1fe4930c923c\",\n    \"managed_by_partner\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/panel-users/:panelUser","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","panel-users",":panelUser"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"panelUser","value":"10259828-6086-495a-bd0d-e37779977866"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c9d20846-d0f9-42a3-b872-e22094ed09b6\",\n    \"name\": \"ut\",\n    \"type\": \"document\",\n    \"mime_type\": \"video/jpeg\",\n    \"path\": \"path/magnam.pdf\",\n    \"metadata\": \"Repellendus molestiae quos ex reiciendis. Sit vero nihil doloribus optio tempora quis quisquam.\",\n    \"created_at\": \"2025-09-09T12:07:32.000000Z\",\n    \"updated_at\": \"2025-09-09T12:07:32.000000Z\",\n    \"deleted_at\": null,\n    \"url\": \"https://api.mdintegrations.dev/s3/files/c9d20846-d0f9-42a3-b872-e22094ed09b6/redirect?signature=d7900d6be388b5b77029e9766ccd75153bbde8eacec5a0cea03b5d688f425843\",\n    \"url_thumbnail\": \"https://api.mdintegrations.dev/s3/files/c9d20846-d0f9-42a3-b872-e22094ed09b6/thumbnail?signature=5a73b31c6a76df62a841c4f3cd633ad22749a26d86c7ad87ccc9a601f4c50783\",\n    \"file_id\": \"c9d20846-d0f9-42a3-b872-e22094ed09b6\"\n}"}],"_postman_id":"6ad95837-fce5-48e8-985e-e86f7c792a82"}],"id":"5cf18d82-0e81-423d-9e8d-4e150b679a31","_postman_id":"5cf18d82-0e81-423d-9e8d-4e150b679a31","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Parameters","item":[{"name":"Get Parameters","id":"e9e10768-810f-413e-935c-abae660b3ca2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/parameters?per_page=15&page=1","description":"<p>Get the partner's parameters (paginated).</p>\n","urlObject":{"path":["hubspot","partners",":partner","parameters"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"96301784-9379-40db-8c72-ae3f4044cc6c","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[{"id":"d28c8d8f-86bd-4fec-b7a3-82974829c586","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/parameters?per_page=15&page=1","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","parameters"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"20450ff0-b18d-48e5-b61d-f7ca45d0bf83\",\n            \"key\": \"dolor\",\n            \"value\": \"voluptas\",\n            \"type\": \"web\",\n            \"partner_id\": \"5bf40e71-4b35-4e71-b2e8-18947b20d233\",\n            \"created_at\": \"2025-09-09T12:20:35.000000Z\",\n            \"updated_at\": \"2025-09-09T12:20:35.000000Z\",\n            \"deleted_at\": null\n        },\n        {\n            \"id\": \"3383be42-c4b5-41c5-a539-890d243e97e5\",\n            \"key\": \"quasi\",\n            \"value\": \"rerum\",\n            \"type\": \"web\",\n            \"partner_id\": \"5bf40e71-4b35-4e71-b2e8-18947b20d233\",\n            \"created_at\": \"2025-09-09T12:20:35.000000Z\",\n            \"updated_at\": \"2025-09-09T12:20:35.000000Z\",\n            \"deleted_at\": null\n        },\n        {\n            \"id\": \"796f2761-faa8-47c8-9674-796360f1525d\",\n            \"key\": \"assumenda\",\n            \"value\": \"temporibus\",\n            \"type\": \"web\",\n            \"partner_id\": \"5bf40e71-4b35-4e71-b2e8-18947b20d233\",\n            \"created_at\": \"2025-09-09T12:20:35.000000Z\",\n            \"updated_at\": \"2025-09-09T12:20:35.000000Z\",\n            \"deleted_at\": null\n        },\n        {\n            \"id\": \"d0e1ce17-1fd9-43c5-a3e3-4fcc8d20d5f2\",\n            \"key\": \"quo\",\n            \"value\": \"nihil\",\n            \"type\": \"web\",\n            \"partner_id\": \"5bf40e71-4b35-4e71-b2e8-18947b20d233\",\n            \"created_at\": \"2025-09-09T12:20:35.000000Z\",\n            \"updated_at\": \"2025-09-09T12:20:35.000000Z\",\n            \"deleted_at\": null\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/api/partners/5bf40e71-4b35-4e71-b2e8-18947b20d233/parameters?page=1\",\n        \"last\": \"http://localhost/api/partners/5bf40e71-4b35-4e71-b2e8-18947b20d233/parameters?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"page\": null,\n                \"active\": false\n            },\n            {\n                \"url\": \"http://localhost/api/partners/5bf40e71-4b35-4e71-b2e8-18947b20d233/parameters?page=1\",\n                \"label\": \"1\",\n                \"page\": 1,\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"page\": null,\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://localhost/api/partners/5bf40e71-4b35-4e71-b2e8-18947b20d233/parameters\",\n        \"per_page\": 15,\n        \"to\": 4,\n        \"total\": 4\n    }\n}"}],"_postman_id":"e9e10768-810f-413e-935c-abae660b3ca2"},{"name":"Update Contact","id":"feada14f-18d3-4064-bd7f-bde16751ef0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"value\": \"Partner\",\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner/parameters/:paremeter","description":"<p>Updates the partner's parameter.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hubspot","partners",":partner","parameters",":paremeter"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"59e9f99d-c0ad-4dd3-923e-6d24fc790794","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"051d6a59-b47e-497b-8247-b473db0e9512","type":"any","value":"ff96384a-1404-4d08-a969-035ade5d93ba","key":"paremeter"}]}},"response":[{"id":"6a497484-ef28-4122-99ac-ad5fd2353aef","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"value\": \"Partner\",\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/parameters/:paremeter","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","parameters",":paremeter"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"paremeter","value":"ff96384a-1404-4d08-a969-035ade5d93ba"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"03c9e353-e2c7-4c92-8f28-05c20a937d40\",\n    \"name\": \"recusandae\",\n    \"type\": \"document\",\n    \"mime_type\": \"application/x-glulx\",\n    \"path\": \"path/sit.pdf\",\n    \"metadata\": null,\n    \"created_at\": \"2025-09-09T12:10:02.000000Z\",\n    \"updated_at\": \"2025-09-09T12:10:02.000000Z\",\n    \"deleted_at\": null,\n    \"url\": \"https://api.mdintegrations.dev/s3/files/03c9e353-e2c7-4c92-8f28-05c20a937d40/redirect?signature=0f8ccee19a1eaf5bbdc59bfd42540825ebaab41f2369ce1d76481a1ab87cb2c1\",\n    \"url_thumbnail\": \"https://api.mdintegrations.dev/s3/files/03c9e353-e2c7-4c92-8f28-05c20a937d40/thumbnail?signature=92659ab6364e4390a2cec41c2800babb9640c8359f437300bad4e1c8d5fb5cf9\",\n    \"file_id\": \"03c9e353-e2c7-4c92-8f28-05c20a937d40\"\n}"}],"_postman_id":"feada14f-18d3-4064-bd7f-bde16751ef0b"},{"name":"Delete Parameter","id":"995609b9-13a0-481d-bc56-ab1b06d2f626","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/parameters/:parameter","description":"<p>Deletes the partner's parameter.</p>\n","urlObject":{"path":["hubspot","partners",":partner","parameters",":parameter"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"8d8d811c-e559-4776-a447-c387cde1db26","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"3cbc5309-820d-4a53-8757-6b022239a766","type":"any","value":"f3fe6939-5af5-45b2-86ee-f0e6601ab8b0","key":"parameter"}]}},"response":[{"id":"9cd1a408-ecd0-4390-aaee-57858fab716e","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/parameters/:parameter","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","parameters",":parameter"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"parameter","value":"f3fe6939-5af5-45b2-86ee-f0e6601ab8b0"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"995609b9-13a0-481d-bc56-ab1b06d2f626"},{"name":"Create Parameter","id":"12c0153c-bff5-4f5c-8715-ab96d328e6ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"Partner\",\n    \"value\": \"Contact\",\n    \"type\": \"partner@contact.example\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner/parameters","description":"<p>Creates a parameter for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>key*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>value*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>type*</td>\n<td>string (web, patient, clinician)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hubspot","partners",":partner","parameters"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"1c2424d0-e29f-4a58-851f-e05e796394b3","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[{"id":"41696c78-d266-49d2-a97f-af66a4729da3","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"Partner\",\n    \"value\": \"Contact\",\n    \"type\": \"partner@contact.example\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/parameters","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","parameters"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"03c9e353-e2c7-4c92-8f28-05c20a937d40\",\n    \"name\": \"recusandae\",\n    \"type\": \"document\",\n    \"mime_type\": \"application/x-glulx\",\n    \"path\": \"path/sit.pdf\",\n    \"metadata\": null,\n    \"created_at\": \"2025-09-09T12:10:02.000000Z\",\n    \"updated_at\": \"2025-09-09T12:10:02.000000Z\",\n    \"deleted_at\": null,\n    \"url\": \"https://api.mdintegrations.dev/s3/files/03c9e353-e2c7-4c92-8f28-05c20a937d40/redirect?signature=0f8ccee19a1eaf5bbdc59bfd42540825ebaab41f2369ce1d76481a1ab87cb2c1\",\n    \"url_thumbnail\": \"https://api.mdintegrations.dev/s3/files/03c9e353-e2c7-4c92-8f28-05c20a937d40/thumbnail?signature=92659ab6364e4390a2cec41c2800babb9640c8359f437300bad4e1c8d5fb5cf9\",\n    \"file_id\": \"03c9e353-e2c7-4c92-8f28-05c20a937d40\"\n}"}],"_postman_id":"12c0153c-bff5-4f5c-8715-ab96d328e6ac"},{"name":"Get Parameter","id":"4a7d03da-bb0c-425d-abdb-dd4ff4bd3a11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/parameters/:parameter","description":"<p>It gets a partner parameter.</p>\n","urlObject":{"path":["hubspot","partners",":partner","parameters",":parameter"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5a96120d-681f-47aa-b8b1-7768c7b6d58d","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"e3a720a0-b8aa-402b-b9a4-1f966dec3a57","type":"any","value":"92d7b2e2-8145-4474-9297-d9d625769da0","key":"parameter"}]}},"response":[{"id":"dbb8b267-a656-4f95-8f23-54f05dd2f1fd","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"Partner\",\n    \"value\": \"Contact\",\n    \"type\": \"partner@contact.example\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/parameters/:parameter","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","parameters",":parameter"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"parameter","value":"92d7b2e2-8145-4474-9297-d9d625769da0"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"92d7b2e2-8145-4474-9297-d9d625769da0\",\n    \"name\": \"perspiciatis\",\n    \"type\": \"document\",\n    \"mime_type\": \"application/vnd.sun.xml.draw.template\",\n    \"path\": \"path/eius.pdf\",\n    \"metadata\": null,\n    \"created_at\": \"2025-09-09T12:12:04.000000Z\",\n    \"updated_at\": \"2025-09-09T12:12:04.000000Z\",\n    \"deleted_at\": null,\n    \"url\": \"https://api.mdintegrations.dev/s3/files/92d7b2e2-8145-4474-9297-d9d625769da0/redirect?signature=7b1307ecae9690f9166bf2cbf12f36c04dde7f44d91fae6fc0f9a04f1b3152e6\",\n    \"url_thumbnail\": \"https://api.mdintegrations.dev/s3/files/92d7b2e2-8145-4474-9297-d9d625769da0/thumbnail?signature=074f03c6ca93fb44b8edf79018b12c37308ee6ed136f9d75b89efd4aeb249179\",\n    \"file_id\": \"92d7b2e2-8145-4474-9297-d9d625769da0\"\n}"}],"_postman_id":"4a7d03da-bb0c-425d-abdb-dd4ff4bd3a11"}],"id":"07391cbe-504d-4fe7-9442-b8c0f4a94dbc","_postman_id":"07391cbe-504d-4fe7-9442-b8c0f4a94dbc","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Support Staffs","item":[{"name":"Create  Support Staff","id":"795a1bf6-ce54-4639-86ba-499483ae2ba7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Support Staff First Name\",\n    \"last_name\": \"Support Staff Last Name\",\n    \"email\": \"support@staff.example\",\n    \"photo_id\": \"17b32c5d-8ad0-4180-b5f2-59e14c1cf2b9\",\n    \"active\": true,\n    \"timezone_id\": \"b7d08438-b5a3-4790-9c3e-1fe4930c923c\",\n    \"permissions\": [\"live\", \"sandbox\"],\n    \"can_unlock_phi\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner/support-staffs","description":"<p>Creates a support staff and attaches it to the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>photo_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active*</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>permissions</td>\n<td>array (live, sandbox)</td>\n</tr>\n<tr>\n<td>can_unlock_phi</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hubspot","partners",":partner","support-staffs"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"bc91d235-dda4-4cc5-9c3c-62b68933e44b","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[{"id":"ff6f8f83-73aa-4eb9-bb85-fd65b062c416","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Support Staff First Name\",\n    \"last_name\": \"Support Staff Last Name\",\n    \"email\": \"support@staff.example\",\n    \"photo_id\": \"17b32c5d-8ad0-4180-b5f2-59e14c1cf2b9\",\n    \"active\": true,\n    \"timezone_id\": \"b7d08438-b5a3-4790-9c3e-1fe4930c923c\",\n    \"permissions\": [\"live\", \"sandbox\"],\n    \"can_unlock_phi\": true\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/support-staffs","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","support-staffs"],"variable":[{"key":"partner","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"626c4638-4d46-48f8-a7fd-7b5e9dfac4cb\",\n    \"first_name\": \"Ruth\",\n    \"last_name\": \"Orn\",\n    \"email\": \"shanna.thompson@example.org\",\n    \"photo_id\": null,\n    \"active\": true,\n    \"timezone_id\": \"d91114c5-4c99-48c8-8a86-e0f50112d364\",\n    \"created_at\": \"2025-09-09T12:21:18.000000Z\",\n    \"updated_at\": \"2025-09-09T12:21:19.000000Z\",\n    \"deleted_at\": null,\n    \"full_name\": \"Ruth Orn\",\n    \"is_online\": false,\n    \"can_unlock_phi\": false,\n    \"permissions\": [\n        {\n            \"id\": \"85356a3d-6292-46b9-8930-ac8c803523d7\",\n            \"name\": \"sandbox\",\n            \"created_at\": \"2025-09-07T15:40:03.000000Z\",\n            \"updated_at\": \"2025-09-07T15:40:03.000000Z\",\n            \"pivot\": {\n                \"permission_id\": \"85356a3d-6292-46b9-8930-ac8c803523d7\",\n                \"model_id\": \"626c4638-4d46-48f8-a7fd-7b5e9dfac4cb\",\n                \"model_type\": \"App\\\\Models\\\\Clinician\",\n                \"created_at\": null,\n                \"updated_at\": null\n            }\n        }\n    ],\n    \"photo\": null,\n    \"pivot\": {\n        \"clinician_id\": \"626c4638-4d46-48f8-a7fd-7b5e9dfac4cb\",\n        \"partner_id\": \"4ac6d58b-5640-4f27-82ac-a9b5dc69815f\",\n        \"can_unlock_phi\": false,\n        \"created_at\": \"2025-09-09T12:21:19.000000Z\",\n        \"updated_at\": \"2025-09-09T12:21:19.000000Z\",\n        \"deleted_at\": null\n    }\n}"}],"_postman_id":"795a1bf6-ce54-4639-86ba-499483ae2ba7"},{"name":"Update Support Staff","id":"05ce5057-b9b2-48f0-8904-78285697de14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Support Staff First Name\",\n    \"last_name\": \"Support Staff Last Name\",\n    \"email\": \"support@staff.example\",\n    \"photo_id\": \"17b32c5d-8ad0-4180-b5f2-59e14c1cf2b9\",\n    \"active\": true,\n    \"password\": \"swordfish\",\n    \"password_confirmation\": \"swordfish\",\n    \"timezone_id\": \"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6\",\n    \"permissions\": [\"live\", \"sandbox\"],\n    \"can_unlock_phi\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner/support-staffs/:supportStaff","description":"<p>Updates the partner's support staff.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>photo_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n</tr>\n<tr>\n<td>password_confirmation*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>permissions</td>\n<td>array (live, sandbox)</td>\n</tr>\n<tr>\n<td>can_unlock_phi</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hubspot","partners",":partner","support-staffs",":supportStaff"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2449795b-a5c1-4539-99b6-f95adc58722c","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"e3574a6c-77da-445d-8d30-32636a36e86c","type":"any","value":"79cd3aa2-f667-4808-a70f-7f745c514def","key":"supportStaff"}]}},"response":[{"id":"c3027c99-a944-4850-9f0a-b40b20c87d51","name":"Succcess","originalRequest":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Support Staff First Name\",\n    \"last_name\": \"Support Staff Last Name\",\n    \"email\": \"support@staff.example\",\n    \"photo_id\": \"17b32c5d-8ad0-4180-b5f2-59e14c1cf2b9\",\n    \"active\": true,\n    \"password\": \"swordfish\",\n    \"password_confirmation\": \"swordfish\",\n    \"timezone_id\": \"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6\",\n    \"permissions\": [\"live\", \"sandbox\"],\n    \"can_unlock_phi\": true\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/support-staffs/:supportStaff","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","support-staffs",":supportStaff"],"variable":[{"key":"partner","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4"},{"key":"supportStaff","value":"79cd3aa2-f667-4808-a70f-7f745c514def"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"626c4638-4d46-48f8-a7fd-7b5e9dfac4cb\",\n    \"first_name\": \"Ruth\",\n    \"last_name\": \"Orn\",\n    \"email\": \"shanna.thompson@example.org\",\n    \"photo_id\": null,\n    \"active\": true,\n    \"timezone_id\": \"d91114c5-4c99-48c8-8a86-e0f50112d364\",\n    \"created_at\": \"2025-09-09T12:21:18.000000Z\",\n    \"updated_at\": \"2025-09-09T12:21:19.000000Z\",\n    \"deleted_at\": null,\n    \"full_name\": \"Ruth Orn\",\n    \"is_online\": false,\n    \"can_unlock_phi\": false,\n    \"permissions\": [\n        {\n            \"id\": \"85356a3d-6292-46b9-8930-ac8c803523d7\",\n            \"name\": \"sandbox\",\n            \"created_at\": \"2025-09-07T15:40:03.000000Z\",\n            \"updated_at\": \"2025-09-07T15:40:03.000000Z\",\n            \"pivot\": {\n                \"permission_id\": \"85356a3d-6292-46b9-8930-ac8c803523d7\",\n                \"model_id\": \"626c4638-4d46-48f8-a7fd-7b5e9dfac4cb\",\n                \"model_type\": \"App\\\\Models\\\\Clinician\",\n                \"created_at\": null,\n                \"updated_at\": null\n            }\n        }\n    ],\n    \"photo\": null,\n    \"pivot\": {\n        \"clinician_id\": \"626c4638-4d46-48f8-a7fd-7b5e9dfac4cb\",\n        \"partner_id\": \"4ac6d58b-5640-4f27-82ac-a9b5dc69815f\",\n        \"can_unlock_phi\": false,\n        \"created_at\": \"2025-09-09T12:21:19.000000Z\",\n        \"updated_at\": \"2025-09-09T12:21:19.000000Z\",\n        \"deleted_at\": null\n    }\n}"}],"_postman_id":"05ce5057-b9b2-48f0-8904-78285697de14"},{"name":"Get Support Staffs","id":"b8344401-9773-478f-a57b-8d5bbe65f77a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","description":"<p>Get the partner's support staffs (paginated).</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"query":[],"variable":[{"type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"}]}},"response":[{"id":"22f3fa6f-6155-4f09-b75c-30c8512cdd31","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/support-staffs?per_page=100&page=1","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","support-staffs"],"query":[{"key":"per_page","value":"100"},{"key":"page","value":"1"}],"variable":[{"key":"partner","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"9d0f9b12-d203-4ad1-9272-05ec41e939d1\",\n            \"first_name\": \"Mara\",\n            \"last_name\": \"Rodriguez\",\n            \"email\": \"mhessel@example.org\",\n            \"photo_id\": null,\n            \"active\": false,\n            \"timezone_id\": null,\n            \"created_at\": \"2025-09-09T12:22:43.000000Z\",\n            \"updated_at\": \"2025-09-09T12:22:43.000000Z\",\n            \"deleted_at\": null,\n            \"full_name\": \"Mara Rodriguez\",\n            \"is_online\": true,\n            \"can_unlock_phi\": false,\n            \"permissions\": [],\n            \"photo\": null,\n            \"pivot\": {\n                \"clinician_id\": \"9d0f9b12-d203-4ad1-9272-05ec41e939d1\",\n                \"partner_id\": \"03579f0d-2f9b-4683-b259-61155956f0b6\",\n                \"can_unlock_phi\": false,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"deleted_at\": null\n            }\n        },\n        {\n            \"id\": \"8c70bcd1-d386-4d5d-af85-4eb9389fff7c\",\n            \"first_name\": \"Stacey\",\n            \"last_name\": \"Torphy\",\n            \"email\": \"gbrown@example.org\",\n            \"photo_id\": null,\n            \"active\": false,\n            \"timezone_id\": null,\n            \"created_at\": \"2025-09-09T12:22:43.000000Z\",\n            \"updated_at\": \"2025-09-09T12:22:43.000000Z\",\n            \"deleted_at\": null,\n            \"full_name\": \"Stacey Torphy\",\n            \"is_online\": true,\n            \"can_unlock_phi\": false,\n            \"permissions\": [],\n            \"photo\": null,\n            \"pivot\": {\n                \"clinician_id\": \"8c70bcd1-d386-4d5d-af85-4eb9389fff7c\",\n                \"partner_id\": \"03579f0d-2f9b-4683-b259-61155956f0b6\",\n                \"can_unlock_phi\": false,\n                \"created_at\": null,\n                \"updated_at\": null,\n                \"deleted_at\": null\n            }\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/api/partners/03579f0d-2f9b-4683-b259-61155956f0b6/support-staffs?page=1\",\n        \"last\": \"http://localhost/api/partners/03579f0d-2f9b-4683-b259-61155956f0b6/support-staffs?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"page\": null,\n                \"active\": false\n            },\n            {\n                \"url\": \"http://localhost/api/partners/03579f0d-2f9b-4683-b259-61155956f0b6/support-staffs?page=1\",\n                \"label\": \"1\",\n                \"page\": 1,\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"page\": null,\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://localhost/api/partners/03579f0d-2f9b-4683-b259-61155956f0b6/support-staffs\",\n        \"per_page\": 15,\n        \"to\": 2,\n        \"total\": 2\n    }\n}"}],"_postman_id":"b8344401-9773-478f-a57b-8d5bbe65f77a"},{"name":"Get Support Staff","id":"d8208c1d-6520-4c6f-9d59-d1003fbbf474","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/support-staffs/:support_staff_id","description":"<p>Get the partner's support staff.</p>\n","urlObject":{"path":["hubspot","partners",":partner","support-staffs",":support_staff_id"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"be8f0fa8-6f0f-4cac-a304-a0bba17e953c","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"partner"},{"id":"2cb23c72-21e2-4d67-b355-1702463eec15","type":"any","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4","key":"support_staff_id"}]}},"response":[{"id":"2ce648ab-5487-4d94-b024-6c5b50eda03b","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/support-staffs/:support_staff_id","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","support-staffs",":support_staff_id"],"variable":[{"key":"partner","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4"},{"key":"support_staff_id","value":"ae155a9f-e165-49f5-bdd8-6cc591412be4"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"626c4638-4d46-48f8-a7fd-7b5e9dfac4cb\",\n    \"first_name\": \"Ruth\",\n    \"last_name\": \"Orn\",\n    \"email\": \"shanna.thompson@example.org\",\n    \"photo_id\": null,\n    \"active\": true,\n    \"timezone_id\": \"d91114c5-4c99-48c8-8a86-e0f50112d364\",\n    \"created_at\": \"2025-09-09T12:21:18.000000Z\",\n    \"updated_at\": \"2025-09-09T12:21:19.000000Z\",\n    \"deleted_at\": null,\n    \"full_name\": \"Ruth Orn\",\n    \"is_online\": false,\n    \"can_unlock_phi\": false,\n    \"permissions\": [\n        {\n            \"id\": \"85356a3d-6292-46b9-8930-ac8c803523d7\",\n            \"name\": \"sandbox\",\n            \"created_at\": \"2025-09-07T15:40:03.000000Z\",\n            \"updated_at\": \"2025-09-07T15:40:03.000000Z\",\n            \"pivot\": {\n                \"permission_id\": \"85356a3d-6292-46b9-8930-ac8c803523d7\",\n                \"model_id\": \"626c4638-4d46-48f8-a7fd-7b5e9dfac4cb\",\n                \"model_type\": \"App\\\\Models\\\\Clinician\",\n                \"created_at\": null,\n                \"updated_at\": null\n            }\n        }\n    ],\n    \"photo\": null,\n    \"pivot\": {\n        \"clinician_id\": \"626c4638-4d46-48f8-a7fd-7b5e9dfac4cb\",\n        \"partner_id\": \"4ac6d58b-5640-4f27-82ac-a9b5dc69815f\",\n        \"can_unlock_phi\": false,\n        \"created_at\": \"2025-09-09T12:21:19.000000Z\",\n        \"updated_at\": \"2025-09-09T12:21:19.000000Z\",\n        \"deleted_at\": null\n    }\n}"}],"_postman_id":"d8208c1d-6520-4c6f-9d59-d1003fbbf474"},{"name":"Detach Support Staff","id":"5d16ce01-491d-461d-a427-1487c1d97cfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/support-staffs/:supportStaff","description":"<p>Detach the support staff from the partner.</p>\n","urlObject":{"path":["hubspot","partners",":partner","support-staffs",":supportStaff"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"4f1bc554-fe12-4f6e-8d16-e1b254867d9c","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"16641605-2a3c-4572-8f90-980c2bfe43a1","type":"any","value":"4fc74ef6-495c-4b45-b57c-7326c329e4df","key":"supportStaff"}]}},"response":[{"id":"2722b4c3-eeaa-4fa0-b9ce-5f29b260de2c","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/support-staffs/:supportStaff","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","support-staffs",":supportStaff"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"supportStaff","value":"4fc74ef6-495c-4b45-b57c-7326c329e4df"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5d16ce01-491d-461d-a427-1487c1d97cfe"}],"id":"c0d9b83f-ad6b-4a19-b9aa-4d616a84834c","_postman_id":"c0d9b83f-ad6b-4a19-b9aa-4d616a84834c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tags","item":[{"name":"Attach Tag","id":"f131df7b-987c-483f-91b1-531c3dd2c3a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"Example of notes here\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner/tags/:tag","description":"<p>Attach the tag to the partner.</p>\n","urlObject":{"path":["hubspot","partners",":partner","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"a4340b98-6b68-4fe2-8704-650be3a9e5ba","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"b99c80a3-bdac-4bf7-a522-5a67a2b9fb51","type":"any","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2","key":"tag"}]}},"response":[{"id":"6ac0143a-6cd5-487c-a270-679378dd58e1","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Title\",\n    \"type\": \"document\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/tags/:tag","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","tags",":tag"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"tag","value":"8f3dce14-ef06-4b27-90b0-2e7d303ae574"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"8f3dce14-ef06-4b27-90b0-2e7d303ae574\",\n    \"name\": \"Tag aut ut illo\",\n    \"key\": \"tag-aut-ut-illo\",\n    \"description\": \"\",\n    \"color\": \"#845EC2\",\n    \"type\": \"account\",\n    \"removable_role\": null,\n    \"auto_detach_status\": null,\n    \"created_at\": \"2025-09-09T18:41:11.000000Z\",\n    \"updated_at\": \"2025-09-09T18:41:11.000000Z\",\n    \"deleted_at\": null,\n    \"notes\": \"Example of notes here\",\n    \"pivot\": {\n        \"tag_id\": \"8f3dce14-ef06-4b27-90b0-2e7d303ae574\",\n        \"model_type\": \"App\\\\Models\\\\Partner\",\n        \"model_id\": \"8a6ff017-a9ba-4b4c-b245-46a089b97007\",\n        \"notes\": \"Example of notes here\",\n        \"created_at\": \"2025-09-09T18:41:11.000000Z\",\n        \"updated_at\": \"2025-09-09T18:41:11.000000Z\"\n    }\n}"}],"_postman_id":"f131df7b-987c-483f-91b1-531c3dd2c3a9"},{"name":"Detach File","id":"1effcb08-bdbd-4ba1-8bf8-26e3e6787b4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/tags/:tag","description":"<p>Detach the tag from the partner.</p>\n","urlObject":{"path":["hubspot","partners",":partner","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"d97970a6-fb3a-432b-93ea-60aa88a2d6ca","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"45c7f7c7-45f1-42ae-8a41-573fd7f36f76","type":"any","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2","key":"tag"}]}},"response":[{"id":"776d235a-8639-4c2c-a08c-b5352b67a00c","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/files/:file","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","files",":file"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"file","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1effcb08-bdbd-4ba1-8bf8-26e3e6787b4f"},{"name":"Detach File Copy","id":"6f2cb6b4-291f-447e-8022-c294e90f9dc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"notes\": \"Example of notes\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner/tags/:tag","description":"<p>Detach the tag from the partner.</p>\n","urlObject":{"path":["hubspot","partners",":partner","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"2a22b869-7071-43b7-9837-48f66524224f","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"4de2c315-17f7-473b-ae57-cd8ca1fa2445","type":"any","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2","key":"tag"}]}},"response":[{"id":"c6965e40-d974-4784-a8d5-76d07dad3558","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/files/:file","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","files",":file"],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"},{"key":"file","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"6f2cb6b4-291f-447e-8022-c294e90f9dc8"},{"name":"Get Tags","id":"0f92a8f6-0ff7-4a07-8d64-f157b6b00eba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner/tags?per_page=15&page=1","description":"<p>Get the partner's tags (paginated).</p>\n","urlObject":{"path":["hubspot","partners",":partner","tags"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"id":"52a694a4-9afb-4bd0-9b5c-5188fe4c88fc","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"}]}},"response":[{"id":"2f974c11-5ea7-4bcc-9265-6b3c4253fef2","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner/tags?per_page=15&page=1","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner","tags"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[{"key":"partner","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"66e3f5bb-b9a0-4b73-8f54-d497172f2aa9\",\n            \"name\": \"Tag inventore molestias et\",\n            \"key\": \"tag-inventore-molestias-et\",\n            \"description\": \"\",\n            \"color\": \"#845EC2\",\n            \"type\": \"account\",\n            \"removable_role\": null,\n            \"auto_detach_status\": null,\n            \"created_at\": \"2025-09-09T18:42:16.000000Z\",\n            \"updated_at\": \"2025-09-09T18:42:16.000000Z\",\n            \"deleted_at\": null,\n            \"notes\": null,\n            \"pivot\": {\n                \"tag_id\": \"66e3f5bb-b9a0-4b73-8f54-d497172f2aa9\",\n                \"model_type\": \"App\\\\Models\\\\Partner\",\n                \"model_id\": \"5e952770-e175-4ab2-9391-6c4c804f6ed3\",\n                \"notes\": null,\n                \"created_at\": \"2025-09-09T18:42:16.000000Z\",\n                \"updated_at\": \"2025-09-09T18:42:16.000000Z\"\n            }\n        },\n        {\n            \"id\": \"7a6bb3ed-0b13-4be2-ad7b-3c6b88d430a9\",\n            \"name\": \"Tag sunt perspiciatis amet\",\n            \"key\": \"tag-sunt-perspiciatis-amet\",\n            \"description\": \"\",\n            \"color\": \"#845EC2\",\n            \"type\": \"account\",\n            \"removable_role\": null,\n            \"auto_detach_status\": null,\n            \"created_at\": \"2025-09-09T18:42:16.000000Z\",\n            \"updated_at\": \"2025-09-09T18:42:16.000000Z\",\n            \"deleted_at\": null,\n            \"notes\": null,\n            \"pivot\": {\n                \"tag_id\": \"7a6bb3ed-0b13-4be2-ad7b-3c6b88d430a9\",\n                \"model_type\": \"App\\\\Models\\\\Partner\",\n                \"model_id\": \"5e952770-e175-4ab2-9391-6c4c804f6ed3\",\n                \"notes\": null,\n                \"created_at\": \"2025-09-09T18:42:16.000000Z\",\n                \"updated_at\": \"2025-09-09T18:42:16.000000Z\"\n            }\n        },\n        {\n            \"id\": \"47359698-e52c-454f-8631-60559c69e302\",\n            \"name\": \"Tag occaecati expedita officia\",\n            \"key\": \"tag-occaecati-expedita-officia\",\n            \"description\": \"\",\n            \"color\": \"#845EC2\",\n            \"type\": \"account\",\n            \"removable_role\": null,\n            \"auto_detach_status\": null,\n            \"created_at\": \"2025-09-09T18:42:16.000000Z\",\n            \"updated_at\": \"2025-09-09T18:42:16.000000Z\",\n            \"deleted_at\": null,\n            \"notes\": null,\n            \"pivot\": {\n                \"tag_id\": \"47359698-e52c-454f-8631-60559c69e302\",\n                \"model_type\": \"App\\\\Models\\\\Partner\",\n                \"model_id\": \"5e952770-e175-4ab2-9391-6c4c804f6ed3\",\n                \"notes\": null,\n                \"created_at\": \"2025-09-09T18:42:16.000000Z\",\n                \"updated_at\": \"2025-09-09T18:42:16.000000Z\"\n            }\n        },\n        {\n            \"id\": \"ced43adb-dc8d-4fe4-b7fc-106160c92be3\",\n            \"name\": \"Tag voluptatibus harum dolore\",\n            \"key\": \"tag-voluptatibus-harum-dolore\",\n            \"description\": \"\",\n            \"color\": \"#845EC2\",\n            \"type\": \"account\",\n            \"removable_role\": null,\n            \"auto_detach_status\": null,\n            \"created_at\": \"2025-09-09T18:42:16.000000Z\",\n            \"updated_at\": \"2025-09-09T18:42:16.000000Z\",\n            \"deleted_at\": null,\n            \"notes\": null,\n            \"pivot\": {\n                \"tag_id\": \"ced43adb-dc8d-4fe4-b7fc-106160c92be3\",\n                \"model_type\": \"App\\\\Models\\\\Partner\",\n                \"model_id\": \"5e952770-e175-4ab2-9391-6c4c804f6ed3\",\n                \"notes\": null,\n                \"created_at\": \"2025-09-09T18:42:16.000000Z\",\n                \"updated_at\": \"2025-09-09T18:42:16.000000Z\"\n            }\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/api/partners/5e952770-e175-4ab2-9391-6c4c804f6ed3/tags?page=1\",\n        \"last\": \"http://localhost/api/partners/5e952770-e175-4ab2-9391-6c4c804f6ed3/tags?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"page\": null,\n                \"active\": false\n            },\n            {\n                \"url\": \"http://localhost/api/partners/5e952770-e175-4ab2-9391-6c4c804f6ed3/tags?page=1\",\n                \"label\": \"1\",\n                \"page\": 1,\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"page\": null,\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://localhost/api/partners/5e952770-e175-4ab2-9391-6c4c804f6ed3/tags\",\n        \"per_page\": 15,\n        \"to\": 4,\n        \"total\": 4\n    }\n}"}],"_postman_id":"0f92a8f6-0ff7-4a07-8d64-f157b6b00eba"},{"name":"Update File","id":"94a31d68-016d-4d36-84a3-816ad5439153","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"title\": \"Title\",\n    \"type\": \"document\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner/files/:file","description":"<p>Updates the partner's file.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>type*</td>\n<td>string (other, review, document)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hubspot","partners",":partner","files",":file"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"ae9b22e8-76e1-4b73-b3f3-98ebdf878070","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"partner"},{"id":"cd355ff5-abd1-4c05-a455-f46f16e31801","type":"any","value":"b0120eb1-1ef6-47c4-b09c-007d34483df2","key":"file"}]}},"response":[],"_postman_id":"94a31d68-016d-4d36-84a3-816ad5439153"}],"id":"5787c0c7-a00a-40aa-a38d-f82cacc78eb6","_postman_id":"5787c0c7-a00a-40aa-a38d-f82cacc78eb6","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Update Partner","id":"45740ea6-217b-4e6b-90b6-598c00885963","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Partner Name\",\n    \"active\": true,\n    \"notification_priority\": \"clinician\",\n    \"notification_schedule\": 1,\n    \"reassignment_interval\": 4,\n    \"is_statistics_enabled\": true,\n    \"is_global_statistics_enabled\": false,\n    \"force_is_additional_approval_need\": false,\n    \"is_patient_allowed_choose_notification_inbox\": true,\n    \"is_ai_auto_summary_enabled\": true,\n    \"partner_notes\": \"Partner Notes\",\n    \"thank_you_note_header\": \"Thank You Note Header\",\n    \"thank_you_note_footer\": \"Thank You Note Footer\",\n    \"logo_file_id\": \"3ff1478c-10f5-4d38-aa54-0e4f327b28b9\",\n    \"operation_country_id\": \"39a4c803-7b39-49d6-8540-041e65f6ddcf\",\n    \"address_id\": null,\n    \"about\": \"About\",\n\t\"website_url\": \"https://website.url\",\n    \"customer_support_email\": \"support@customer.example\",\n    \"operations_support_email\": \"operations@customer.example\",\n    \"escalation_support_email\": \"escalation@customer.example\",\n    \"patient_message_capability\": \"integrated\",\n    \"support_message_capability\": \"integrated\",\n    \"support_hours\": \"9 to 5\",\n    \"support_location\": \"us-based\",\n    \"use_intake_form\": true,\n    \"is_voucher_reminder\": false,\n    \"use_messaging\": false,\n    \"messaging_app_primary_color\": \"#5899c7\",\n    \"messaging_app_secondary_color\": \"#5899c7\",\n    \"messaging_app_background_color\": \"#5899c7\",\n    \"accepted_at\": \"1991-12-14 18:05:14\",\n    \"vouched_integration_type\": \"disabled\",\n    \"text_message_integration_type\": \"automatic\",\n    \"parent_company\": \"Partner Company\",\n    \"business_model\": \"regular\",\n    \"enable_av_flow\": false,\n    \"enable_icd_bmi\": false,\n    \"is_auto_dl_flow\": true,\n    \"is_review_required\": true,\n    \"charge_sync_new_case\": 0.1,\n    \"charge_async_new_case\": 0.1,\n    \"charge_sync_follow_up_case\": 0.1,\n    \"charge_async_follow_up_case\": 0.1,\n    \"clinician_due_sync_case\": 0.1,\n    \"clinician_due_async_case\": 0.1,\n    \"clinician_due_sync_followup_encounter\": 0.1,\n    \"clinician_due_async_followup_encounter\": 0.1,\n    \"vouched_integration_charge\": 0.1,\n    \"text_message_integration_charge\": 0.1,\n    \"custom_theme\": null,\n    \"custom_style\": null,\n    \"review_notes\": null,\n    \"contract_file_id\" : \"b82f8c10-122c-4f17-9533-c83c71f4a7af\",\n    \"insurance_file_id\" : \"c619788d-b83f-40aa-b460-e986b80f156a\",\n    \"is_support_auto_archive_email_enabled\": true,\n    \"is_receiving_patient_transfers\":true,\n    \"is_sending_patient_transfers\": true,\n    \"is_patient_workflow_notification_enabled\" : true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners/:partner","description":"<h3 id=\"update-partner-information\">Update Partner Information</h3>\n<p>This endpoint is used to update partner information.</p>\n<h4 id=\"payload\">Payload</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>notification_priority</td>\n<td>string</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>logo_file_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>operation_country_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>address_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>customer_support_email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>operations_support_email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>patient_message_capability</td>\n<td>string</td>\n</tr>\n<tr>\n<td>support_message_capability</td>\n<td>string</td>\n</tr>\n<tr>\n<td>messaging_app_primary_color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>support_hours</td>\n<td>string</td>\n</tr>\n<tr>\n<td>support_location</td>\n<td>string</td>\n</tr>\n<tr>\n<td>use_intake_form</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>use_messaging</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>messaging_app_secondary_color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>messaging_app_background_color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>partner_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note_header</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note_footer</td>\n<td>string</td>\n</tr>\n<tr>\n<td>vouched_integration_type</td>\n<td>string</td>\n</tr>\n<tr>\n<td>text_message_integration_type</td>\n<td>string</td>\n</tr>\n<tr>\n<td>accepted_at</td>\n<td>datetime</td>\n</tr>\n<tr>\n<td>parent_company</td>\n<td>string</td>\n</tr>\n<tr>\n<td>enable_av_flow</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_review_required</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>charge_sync_new_case</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>charge_async_new_case</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>charge_sync_follow_up_case</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>charge_async_follow_up_case</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>clinician_due_sync_case</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>clinician_due_async_case</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>clinician_due_sync_followup_encounter</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>clinician_due_async_followup_encounter</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>vouched_integration_charge</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>text_message_integration_charge</td>\n<td>numeric</td>\n</tr>\n<tr>\n<td>is_statistics_enabled</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>force_is_additional_approval_need</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_patient_allowed_choose_notification_inbox</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_receiving_patient_transfers</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_sending_patient_transfers</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["hubspot","partners",":partner"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"5d959b52-ee15-4f53-ad8c-28c3416a3d53","type":"any","value":"11be5292-30fb-4fd3-b673-429dbb0fa825","key":"partner"}]}},"response":[{"id":"c95a5462-5bbb-4ac1-8263-4b49b570d063","name":"Update Partner","originalRequest":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Partner Name\",\n    \"active\": true,\n    \"notification_priority\": \"clinician\",\n    \"notification_schedule\": 1,\n    \"reassignment_interval\": 4,\n    \"is_statistics_enabled\": true,\n    \"is_global_statistics_enabled\": false,\n    \"force_is_additional_approval_need\": false,\n    \"is_patient_allowed_choose_notification_inbox\": true,\n    \"is_ai_auto_summary_enabled\": true,\n    \"partner_notes\": \"Partner Notes\",\n    \"thank_you_note_header\": \"Thank You Note Header\",\n    \"thank_you_note_footer\": \"Thank You Note Footer\",\n    \"logo_file_id\": \"3ff1478c-10f5-4d38-aa54-0e4f327b28b9\",\n    \"operation_country_id\": \"39a4c803-7b39-49d6-8540-041e65f6ddcf\",\n    \"address_id\": null,\n    \"about\": \"About\",\n\t\"website_url\": \"https://website.url\",\n    \"customer_support_email\": \"support@customer.example\",\n    \"operations_support_email\": \"operations@customer.example\",\n    \"escalation_support_email\": \"escalation@customer.example\",\n    \"patient_message_capability\": \"integrated\",\n    \"support_message_capability\": \"integrated\",\n    \"support_hours\": \"9 to 5\",\n    \"support_location\": \"us-based\",\n    \"use_intake_form\": true,\n    \"is_voucher_reminder\": false,\n    \"use_messaging\": false,\n    \"messaging_app_primary_color\": \"#5899c7\",\n    \"messaging_app_secondary_color\": \"#5899c7\",\n    \"messaging_app_background_color\": \"#5899c7\",\n    \"accepted_at\": \"1991-12-14 18:05:14\",\n    \"vouched_integration_type\": \"disabled\",\n    \"text_message_integration_type\": \"automatic\",\n    \"parent_company\": \"Partner Company\",\n    \"business_model\": \"regular\",\n    \"enable_av_flow\": false,\n    \"enable_icd_bmi\": false,\n    \"is_auto_dl_flow\": true,\n    \"is_review_required\": true,\n    \"charge_sync_new_case\": 0.1,\n    \"charge_async_new_case\": 0.1,\n    \"charge_sync_follow_up_case\": 0.1,\n    \"charge_async_follow_up_case\": 0.1,\n    \"clinician_due_sync_case\": 0.1,\n    \"clinician_due_async_case\": 0.1,\n    \"clinician_due_sync_followup_encounter\": 0.1,\n    \"clinician_due_async_followup_encounter\": 0.1,\n    \"vouched_integration_charge\": 0.1,\n    \"text_message_integration_charge\": 0.1,\n    \"custom_theme\": null,\n    \"custom_style\": null,\n    \"review_notes\": null,\n    \"contract_file_id\" : \"b82f8c10-122c-4f17-9533-c83c71f4a7af\",\n    \"insurance_file_id\" : \"c619788d-b83f-40aa-b460-e986b80f156a\",\n    \"is_support_auto_archive_email_enabled\": true,\n    \"is_receiving_patient_transfers\":true,\n    \"is_sending_patient_transfers\": true,\n    \"is_patient_workflow_notification_enabled\" : true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner"],"variable":[{"key":"partner","value":"11be5292-30fb-4fd3-b673-429dbb0fa825"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"2cc13621-79f0-40bf-9203-7cf705ba4447\",\n    \"is_patient_identity_verified\": false,\n    \"name\": \"Test Partner\",\n    \"active\": true,\n    \"logo_file_id\": null,\n    \"operation_country_id\": \"39a4c803-7b39-49d6-8540-041e65f6ddcf\",\n    \"about\": null,\n    \"address_id\": null,\n    \"website_url\": null,\n    \"status\": \"new\",\n    \"is_expedited\": false,\n    \"customer_support_email\": null,\n    \"operations_support_email\": null,\n    \"escalation_support_email\": null,\n    \"patient_message_capability\": \"notification_email\",\n    \"support_message_capability\": \"notification_email\",\n    \"support_hours\": null,\n    \"support_location\": null,\n    \"enable_av_flow\": true,\n    \"is_auto_dl_flow\": true,\n    \"is_review_required\": null,\n    \"is_statistics_enabled\": false,\n    \"is_global_statistics_enabled\": false,\n    \"is_patient_allowed_choose_notification_inbox\": false,\n    \"is_sending_tracking_number_enabled\": true,\n    \"is_ai_auto_summary_enabled\": null,\n    \"enable_icd_bmi\": false,\n    \"business_model\": \"regular\",\n    \"use_intake_form\": true,\n    \"is_voucher_reminder\": true,\n    \"reassignment_interval\": 4,\n    \"invoice_due_days\": 7,\n    \"invoice_minimum_charge\": 0,\n    \"enable_automatic_sync_flow\": false,\n    \"force_hold_status\": false,\n    \"force_is_additional_approval_needed\": false,\n    \"use_messaging\": null,\n    \"messaging_app_primary_color\": null,\n    \"messaging_app_secondary_color\": null,\n    \"messaging_app_background_color\": null,\n    \"notification_priority\": \"App\\\\Models\\\\Clinician\",\n    \"notification_schedule\": 12,\n    \"partner_notes\": null,\n    \"parent_partner_id\": null,\n    \"parent_partner\": null,\n    \"thank_you_note_header\": null,\n    \"thank_you_note_footer\": null,\n    \"charge_sync_new_case\": null,\n    \"charge_async_new_case\": null,\n    \"charge_sync_follow_up_case\": null,\n    \"charge_async_follow_up_case\": null,\n    \"vouched_integration_type\": \"manually\",\n    \"vouched_integration_charge\": 1,\n    \"text_message_integration_type\": \"disabled\",\n    \"text_message_integration_charge\": 0.02,\n    \"accepted_at\": \"2025-09-09T12:23:35.000000Z\",\n    \"slack_channel_id\": null,\n    \"shopify_id\": null,\n    \"shopify_url\": null,\n    \"is_shopify_active\": null,\n    \"custom_theme\": null,\n    \"custom_style\": null,\n    \"review_notes\": null,\n    \"contract_file_id\": null,\n    \"insurance_file_id\": null,\n    \"is_receiving_patient_transfers\": false,\n    \"is_sending_patient_transfers\": false,\n    \"is_patient_workflow_notification_enabled\": true,\n    \"integration_type\": null,\n    \"recommendation_pageview_charge_amount\": null,\n    \"recommendation_encounter_charge_amount\": null,\n    \"created_at\": \"2025-09-09T12:23:35.000000Z\",\n    \"updated_at\": \"2025-09-09T12:23:35.000000Z\",\n    \"deleted_at\": null,\n    \"integrations\": {\n        \"woocommerce\": null,\n        \"boothwyn\": null\n    },\n    \"is_support_auto_archive_email_enabled\": true,\n    \"partner_id\": \"2cc13621-79f0-40bf-9203-7cf705ba4447\",\n    \"parent_partner_name\": null,\n    \"logo\": null\n}"}],"_postman_id":"45740ea6-217b-4e6b-90b6-598c00885963"},{"name":"Get Partner","id":"dd988ace-bfd0-4961-b759-258a5fb73f85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners/:partner","description":"<p>It gets the given partner.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["hubspot","partners",":partner"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"acb35937-54ad-4bb0-8ab2-607c85026e96","type":"any","value":"11be5292-30fb-4fd3-b673-429dbb0fa825","key":"partner"}]}},"response":[{"id":"f45b155f-e2a9-4697-8d1d-6ec1cdf96d1c","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners/:partner","host":["https://api.mdintegrations.com"],"path":["hubspot","partners",":partner"],"variable":[{"key":"partner","value":"11be5292-30fb-4fd3-b673-429dbb0fa825"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1a172960-7373-4a0d-abf2-2a4c2f8b6f6c\",\n    \"is_patient_identity_verified\": false,\n    \"name\": \"Partner Yoshiko Cummings Sr.\",\n    \"active\": true,\n    \"logo_file_id\": null,\n    \"operation_country_id\": \"39a4c803-7b39-49d6-8540-041e65f6ddcf\",\n    \"about\": null,\n    \"address_id\": null,\n    \"website_url\": null,\n    \"status\": \"live\",\n    \"is_expedited\": false,\n    \"customer_support_email\": \"frederique07@example.com\",\n    \"operations_support_email\": null,\n    \"escalation_support_email\": null,\n    \"patient_message_capability\": null,\n    \"support_message_capability\": null,\n    \"support_hours\": null,\n    \"support_location\": null,\n    \"enable_av_flow\": false,\n    \"is_auto_dl_flow\": true,\n    \"is_review_required\": true,\n    \"is_statistics_enabled\": false,\n    \"is_global_statistics_enabled\": false,\n    \"is_patient_allowed_choose_notification_inbox\": false,\n    \"is_sending_tracking_number_enabled\": false,\n    \"is_ai_auto_summary_enabled\": true,\n    \"enable_icd_bmi\": false,\n    \"business_model\": \"natus\",\n    \"use_intake_form\": false,\n    \"is_voucher_reminder\": false,\n    \"reassignment_interval\": 4,\n    \"invoice_due_days\": 7,\n    \"invoice_minimum_charge\": 0,\n    \"enable_automatic_sync_flow\": false,\n    \"force_hold_status\": false,\n    \"force_is_additional_approval_needed\": false,\n    \"use_messaging\": false,\n    \"messaging_app_primary_color\": null,\n    \"messaging_app_secondary_color\": null,\n    \"messaging_app_background_color\": null,\n    \"notification_priority\": null,\n    \"notification_schedule\": null,\n    \"partner_notes\": null,\n    \"parent_partner_id\": null,\n    \"parent_partner\": null,\n    \"thank_you_note_header\": null,\n    \"thank_you_note_footer\": null,\n    \"charge_sync_new_case\": \"0.00\",\n    \"charge_async_new_case\": \"0.00\",\n    \"charge_sync_follow_up_case\": \"0.00\",\n    \"charge_async_follow_up_case\": \"0.00\",\n    \"vouched_integration_type\": \"manually\",\n    \"vouched_integration_charge\": \"0.00\",\n    \"text_message_integration_type\": \"disabled\",\n    \"text_message_integration_charge\": \"0.00\",\n    \"accepted_at\": \"1984-08-06T00:00:00.000000Z\",\n    \"slack_channel_id\": null,\n    \"shopify_id\": null,\n    \"shopify_url\": null,\n    \"is_shopify_active\": null,\n    \"custom_theme\": null,\n    \"custom_style\": null,\n    \"review_notes\": null,\n    \"contract_file_id\": null,\n    \"insurance_file_id\": null,\n    \"is_receiving_patient_transfers\": false,\n    \"is_sending_patient_transfers\": false,\n    \"is_patient_workflow_notification_enabled\": true,\n    \"integration_type\": null,\n    \"recommendation_pageview_charge_amount\": null,\n    \"recommendation_encounter_charge_amount\": null,\n    \"created_at\": \"2025-09-09T12:24:41.000000Z\",\n    \"updated_at\": \"2025-09-09T12:24:41.000000Z\",\n    \"deleted_at\": null,\n    \"integrations\": {\n        \"woocommerce\": null,\n        \"boothwyn\": null\n    },\n    \"is_support_auto_archive_email_enabled\": true,\n    \"partner_id\": \"1a172960-7373-4a0d-abf2-2a4c2f8b6f6c\",\n    \"parent_partner_name\": null\n}"}],"_postman_id":"dd988ace-bfd0-4961-b759-258a5fb73f85"},{"name":"Get Partners","id":"60b6de72-fb24-4370-b48a-37de25096581","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/partners?per_page=100&page=1","description":"<p>It gets all partners.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["hubspot","partners"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"100"},{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"14c183d7-d650-4a9d-87b3-dd3648e27448","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/partners?per_page=100&page=1","host":["https://api.mdintegrations.com"],"path":["hubspot","partners"],"query":[{"key":"per_page","value":"100"},{"key":"page","value":"1"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"400c6782-c51f-45c3-993e-12353fae93e4\",\n            \"is_patient_identity_verified\": false,\n            \"name\": \"Partner Rickie Kuphal\",\n            \"active\": true,\n            \"logo_file_id\": null,\n            \"operation_country_id\": \"39a4c803-7b39-49d6-8540-041e65f6ddcf\",\n            \"about\": null,\n            \"address_id\": null,\n            \"website_url\": null,\n            \"status\": \"live\",\n            \"is_expedited\": false,\n            \"customer_support_email\": \"bogan.adelia@example.net\",\n            \"operations_support_email\": null,\n            \"escalation_support_email\": null,\n            \"patient_message_capability\": null,\n            \"support_message_capability\": null,\n            \"support_hours\": null,\n            \"support_location\": null,\n            \"enable_av_flow\": false,\n            \"is_auto_dl_flow\": true,\n            \"is_review_required\": true,\n            \"is_statistics_enabled\": false,\n            \"is_global_statistics_enabled\": false,\n            \"is_patient_allowed_choose_notification_inbox\": false,\n            \"is_sending_tracking_number_enabled\": false,\n            \"is_ai_auto_summary_enabled\": true,\n            \"enable_icd_bmi\": false,\n            \"business_model\": \"vel\",\n            \"use_intake_form\": false,\n            \"is_voucher_reminder\": false,\n            \"reassignment_interval\": 4,\n            \"invoice_due_days\": 7,\n            \"invoice_minimum_charge\": 0,\n            \"enable_automatic_sync_flow\": false,\n            \"force_hold_status\": false,\n            \"force_is_additional_approval_needed\": false,\n            \"use_messaging\": false,\n            \"messaging_app_primary_color\": null,\n            \"messaging_app_secondary_color\": null,\n            \"messaging_app_background_color\": null,\n            \"notification_priority\": null,\n            \"notification_schedule\": null,\n            \"partner_notes\": null,\n            \"parent_partner_id\": null,\n            \"parent_partner\": null,\n            \"thank_you_note_header\": null,\n            \"thank_you_note_footer\": null,\n            \"charge_sync_new_case\": \"0.00\",\n            \"charge_async_new_case\": \"0.00\",\n            \"charge_sync_follow_up_case\": \"0.00\",\n            \"charge_async_follow_up_case\": \"0.00\",\n            \"vouched_integration_type\": \"manually\",\n            \"vouched_integration_charge\": \"0.00\",\n            \"text_message_integration_type\": \"disabled\",\n            \"text_message_integration_charge\": \"0.00\",\n            \"accepted_at\": \"1977-02-02T00:00:00.000000Z\",\n            \"slack_channel_id\": null,\n            \"shopify_id\": null,\n            \"shopify_url\": null,\n            \"is_shopify_active\": null,\n            \"custom_theme\": null,\n            \"custom_style\": null,\n            \"review_notes\": null,\n            \"contract_file_id\": null,\n            \"insurance_file_id\": null,\n            \"is_receiving_patient_transfers\": false,\n            \"is_sending_patient_transfers\": false,\n            \"is_patient_workflow_notification_enabled\": true,\n            \"integration_type\": null,\n            \"recommendation_pageview_charge_amount\": null,\n            \"recommendation_encounter_charge_amount\": null,\n            \"created_at\": \"2025-09-09T12:25:31.000000Z\",\n            \"updated_at\": \"2025-09-09T12:25:31.000000Z\",\n            \"deleted_at\": null,\n            \"integrations\": {\n                \"woocommerce\": null,\n                \"boothwyn\": null\n            },\n            \"is_support_auto_archive_email_enabled\": true,\n            \"partner_id\": \"400c6782-c51f-45c3-993e-12353fae93e4\",\n            \"parent_partner_name\": null\n        },\n        {\n            \"id\": \"f34ba7c8-c2a8-4c7d-bef6-162309a7435e\",\n            \"is_patient_identity_verified\": false,\n            \"name\": \"Partner Unique Schmeler\",\n            \"active\": true,\n            \"logo_file_id\": null,\n            \"operation_country_id\": \"39a4c803-7b39-49d6-8540-041e65f6ddcf\",\n            \"about\": null,\n            \"address_id\": null,\n            \"website_url\": null,\n            \"status\": \"cancelled\",\n            \"is_expedited\": false,\n            \"customer_support_email\": \"douglas.orpha@example.net\",\n            \"operations_support_email\": null,\n            \"escalation_support_email\": null,\n            \"patient_message_capability\": null,\n            \"support_message_capability\": null,\n            \"support_hours\": null,\n            \"support_location\": null,\n            \"enable_av_flow\": true,\n            \"is_auto_dl_flow\": false,\n            \"is_review_required\": true,\n            \"is_statistics_enabled\": false,\n            \"is_global_statistics_enabled\": false,\n            \"is_patient_allowed_choose_notification_inbox\": false,\n            \"is_sending_tracking_number_enabled\": false,\n            \"is_ai_auto_summary_enabled\": true,\n            \"enable_icd_bmi\": false,\n            \"business_model\": \"quo\",\n            \"use_intake_form\": false,\n            \"is_voucher_reminder\": false,\n            \"reassignment_interval\": 4,\n            \"invoice_due_days\": 7,\n            \"invoice_minimum_charge\": 0,\n            \"enable_automatic_sync_flow\": false,\n            \"force_hold_status\": false,\n            \"force_is_additional_approval_needed\": false,\n            \"use_messaging\": false,\n            \"messaging_app_primary_color\": null,\n            \"messaging_app_secondary_color\": null,\n            \"messaging_app_background_color\": null,\n            \"notification_priority\": null,\n            \"notification_schedule\": null,\n            \"partner_notes\": null,\n            \"parent_partner_id\": null,\n            \"parent_partner\": null,\n            \"thank_you_note_header\": null,\n            \"thank_you_note_footer\": null,\n            \"charge_sync_new_case\": \"0.00\",\n            \"charge_async_new_case\": \"0.00\",\n            \"charge_sync_follow_up_case\": \"0.00\",\n            \"charge_async_follow_up_case\": \"0.00\",\n            \"vouched_integration_type\": \"manually\",\n            \"vouched_integration_charge\": \"0.00\",\n            \"text_message_integration_type\": \"automatic\",\n            \"text_message_integration_charge\": \"0.00\",\n            \"accepted_at\": \"1981-07-08T00:00:00.000000Z\",\n            \"slack_channel_id\": null,\n            \"shopify_id\": null,\n            \"shopify_url\": null,\n            \"is_shopify_active\": null,\n            \"custom_theme\": null,\n            \"custom_style\": null,\n            \"review_notes\": null,\n            \"contract_file_id\": null,\n            \"insurance_file_id\": null,\n            \"is_receiving_patient_transfers\": false,\n            \"is_sending_patient_transfers\": false,\n            \"is_patient_workflow_notification_enabled\": true,\n            \"integration_type\": null,\n            \"recommendation_pageview_charge_amount\": null,\n            \"recommendation_encounter_charge_amount\": null,\n            \"created_at\": \"2025-09-09T12:25:31.000000Z\",\n            \"updated_at\": \"2025-09-09T12:25:31.000000Z\",\n            \"deleted_at\": null,\n            \"integrations\": {\n                \"woocommerce\": null,\n                \"boothwyn\": null\n            },\n            \"is_support_auto_archive_email_enabled\": true,\n            \"partner_id\": \"f34ba7c8-c2a8-4c7d-bef6-162309a7435e\",\n            \"parent_partner_name\": null\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/api/partners?page=1\",\n        \"last\": \"http://localhost/api/partners?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"page\": null,\n                \"active\": false\n            },\n            {\n                \"url\": \"http://localhost/api/partners?page=1\",\n                \"label\": \"1\",\n                \"page\": 1,\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"page\": null,\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://localhost/api/partners\",\n        \"per_page\": 15,\n        \"to\": 2,\n        \"total\": 2\n    }\n}"}],"_postman_id":"60b6de72-fb24-4370-b48a-37de25096581"},{"name":"Create Partner","id":"8e25322d-4913-4935-a41a-2acbadbf397b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"partner\" : {\n        \"name\": \"Partner Name\",\n        \"notification_priority\": \"clinician\",\n        \"notification_schedule\": 1,\n        \"reassignment_interval\": 4,\n        \"active\": true,\n        \"is_statistics_enabled\": false,\n        \"is_global_statistics_enabled\": false,\n        \"force_is_additional_approval_need\": false,\n        \"is_patient_allowed_choose_notification_inbox\": true,\n        \"is_ai_auto_summary_enabled\": true,\n        \"partner_notes\": \"Partner Notes\",\n        \"thank_you_note_header\": \"Thank You Note Header\",\n        \"thank_you_note_footer\": \"Thank You Note Footer\",\n        \"logo_file_id\": \"3ff1478c-10f5-4d38-aa54-0e4f327b28b9\",\n        \"operation_country_id\": \"39a4c803-7b39-49d6-8540-041e65f6ddcf\",\n        \"address_id\": null,\n        \"about\": \"About\",\n\t    \"website_url\": \"https://website.url\",\n        \"customer_support_email\": \"support@customer.example\",\n        \"operations_support_email\": \"operations@customer.example\",\n        \"escalation_support_email\": \"escalation@customer.example\",\n        \"patient_message_capability\": \"integrated\",\n        \"support_message_capability\": \"integrated\",\n        \"support_hours\": \"9 to 5\",\n        \"support_location\": \"us-based\",\n        \"use_intake_form\": true,\n        \"is_voucher_reminder\": false,\n        \"use_messaging\": false,\n        \"enable_av_flow\": false,\n        \"enable_icd_bmi\": false,\n        \"is_auto_dl_flow\": true,\n        \"messaging_app_primary_color\": \"#5899c7\",\n        \"messaging_app_secondary_color\": \"#5899c7\",\n        \"messaging_app_background_color\": \"#5899c7\",\n        \"accepted_at\": \"2023-03-09 20:14:12\",\n        \"vouched_integration_type\": \"disabled\",\n        \"text_message_integration_type\": \"automatic\",\n        \"parent_company\": \"Partner Company\",\n        \"recaptcha\": \"reCAPTCHA\",\n        \"custom_theme\": null,\n        \"custom_style\": null,\n        \"review_notes\": null,\n        \"contract_file_id\" : \"b82f8c10-122c-4f17-9533-c83c71f4a7af\",\n        \"insurance_file_id\" : \"c619788d-b83f-40aa-b460-e986b80f156a\",\n        \"is_support_auto_archive_email_enabled\": true,\n        \"is_patient_workflow_notification_enabled\": true,\n    },\n    \"categories\": [\n        {\n            \"id\": \"d1334f2f-6493-43b3-a358-fc6951245275\"\n        },\n        {\n            \"id\": \"a2696f04-5843-4d98-bbe9-3d1d4db90308\"\n        }\n    ],\n    \"panel_user\": {\n        \"name\": \"Panel User Name\",\n        \"email\": \"panel@user.example\",\n        \"timezone_id\": \"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6\"\n    },\n    \"recaptcha\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJkZDBmMDA1ZS00MDU1LTRjNzMtYjkyMS01M2M...\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners","description":"<p>Creates a partner, attaches its categories, creates a panel user, and attaches it to the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partner*</td>\n<td>object</td>\n</tr>\n<tr>\n<td>categories</td>\n<td>array</td>\n</tr>\n<tr>\n<td>panel_user*</td>\n<td>object</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-partner\">Payload (partner)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>notification_priority</td>\n<td>string</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>logo_file_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>operation_country_id*</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>address_id</td>\n<td>uuid</td>\n</tr>\n<tr>\n<td>customer_support_email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>operations_support_email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>patient_message_capability</td>\n<td>string</td>\n</tr>\n<tr>\n<td>support_message_capability</td>\n<td>string</td>\n</tr>\n<tr>\n<td>messaging_app_primary_color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>support_hours</td>\n<td>string</td>\n</tr>\n<tr>\n<td>support_location</td>\n<td>string (international, us-based)</td>\n</tr>\n<tr>\n<td>use_intake_form</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>use_messaging</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>messaging_app_secondary_color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>messaging_app_background_color</td>\n<td>string</td>\n</tr>\n<tr>\n<td>partner_notes</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note_header</td>\n<td>string</td>\n</tr>\n<tr>\n<td>thank_you_note_footer</td>\n<td>string</td>\n</tr>\n<tr>\n<td>vouched_integration_type</td>\n<td>string</td>\n</tr>\n<tr>\n<td>text_message_integration_type</td>\n<td>string (disabled, automatic)</td>\n</tr>\n<tr>\n<td>enable_av_flow</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>accepted_at</td>\n<td>datetime</td>\n</tr>\n<tr>\n<td>parent_company</td>\n<td>string</td>\n</tr>\n<tr>\n<td>recaptcha*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>is_statistics_enabled</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>force_is_additional_approval_need</td>\n<td>boolean</td>\n</tr>\n<tr>\n<td>is_patient_allowed_choose_notification_inbox</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-categories\">Payload (categories)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id*</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payload-panel_user\">Payload (panel_user)</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>timezone_id</td>\n<td>uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hubspot","partners"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[{"id":"93cb0427-a9a9-4b4e-9d50-cca1cf0c2c4d","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"partner\" : {\n        \"name\": \"Partner Name\",\n        \"notification_priority\": \"clinician\",\n        \"notification_schedule\": 1,\n        \"reassignment_interval\": 4,\n        \"active\": true,\n        \"is_statistics_enabled\": false,\n        \"is_global_statistics_enabled\": false,\n        \"force_is_additional_approval_need\": false,\n        \"is_patient_allowed_choose_notification_inbox\": true,\n        \"is_ai_auto_summary_enabled\": true,\n        \"partner_notes\": \"Partner Notes\",\n        \"thank_you_note_header\": \"Thank You Note Header\",\n        \"thank_you_note_footer\": \"Thank You Note Footer\",\n        \"logo_file_id\": \"3ff1478c-10f5-4d38-aa54-0e4f327b28b9\",\n        \"operation_country_id\": \"39a4c803-7b39-49d6-8540-041e65f6ddcf\",\n        \"address_id\": null,\n        \"about\": \"About\",\n\t    \"website_url\": \"https://website.url\",\n        \"customer_support_email\": \"support@customer.example\",\n        \"operations_support_email\": \"operations@customer.example\",\n        \"escalation_support_email\": \"escalation@customer.example\",\n        \"patient_message_capability\": \"integrated\",\n        \"support_message_capability\": \"integrated\",\n        \"support_hours\": \"9 to 5\",\n        \"support_location\": \"us-based\",\n        \"use_intake_form\": true,\n        \"is_voucher_reminder\": false,\n        \"use_messaging\": false,\n        \"enable_av_flow\": false,\n        \"enable_icd_bmi\": false,\n        \"is_auto_dl_flow\": true,\n        \"messaging_app_primary_color\": \"#5899c7\",\n        \"messaging_app_secondary_color\": \"#5899c7\",\n        \"messaging_app_background_color\": \"#5899c7\",\n        \"accepted_at\": \"2023-03-09 20:14:12\",\n        \"vouched_integration_type\": \"disabled\",\n        \"text_message_integration_type\": \"automatic\",\n        \"parent_company\": \"Partner Company\",\n        \"recaptcha\": \"reCAPTCHA\",\n        \"custom_theme\": null,\n        \"custom_style\": null,\n        \"review_notes\": null,\n        \"contract_file_id\" : \"b82f8c10-122c-4f17-9533-c83c71f4a7af\",\n        \"insurance_file_id\" : \"c619788d-b83f-40aa-b460-e986b80f156a\",\n        \"is_support_auto_archive_email_enabled\": true,\n        \"is_patient_workflow_notification_enabled\": true,\n    },\n    \"categories\": [\n        {\n            \"id\": \"d1334f2f-6493-43b3-a358-fc6951245275\"\n        },\n        {\n            \"id\": \"a2696f04-5843-4d98-bbe9-3d1d4db90308\"\n        }\n    ],\n    \"panel_user\": {\n        \"name\": \"Panel User Name\",\n        \"email\": \"panel@user.example\",\n        \"timezone_id\": \"0bf566d7-bf01-4290-ab8e-1f3cf71a8da6\"\n    },\n    \"recaptcha\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJkZDBmMDA1ZS00MDU1LTRjNzMtYjkyMS01M2M...\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/partners"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"2cc13621-79f0-40bf-9203-7cf705ba4447\",\n    \"is_patient_identity_verified\": false,\n    \"name\": \"Test Partner\",\n    \"active\": true,\n    \"logo_file_id\": null,\n    \"operation_country_id\": \"39a4c803-7b39-49d6-8540-041e65f6ddcf\",\n    \"about\": null,\n    \"address_id\": null,\n    \"website_url\": null,\n    \"status\": \"new\",\n    \"is_expedited\": false,\n    \"customer_support_email\": null,\n    \"operations_support_email\": null,\n    \"escalation_support_email\": null,\n    \"patient_message_capability\": \"notification_email\",\n    \"support_message_capability\": \"notification_email\",\n    \"support_hours\": null,\n    \"support_location\": null,\n    \"enable_av_flow\": true,\n    \"is_auto_dl_flow\": true,\n    \"is_review_required\": null,\n    \"is_statistics_enabled\": false,\n    \"is_global_statistics_enabled\": false,\n    \"is_patient_allowed_choose_notification_inbox\": false,\n    \"is_sending_tracking_number_enabled\": true,\n    \"is_ai_auto_summary_enabled\": null,\n    \"enable_icd_bmi\": false,\n    \"business_model\": \"regular\",\n    \"use_intake_form\": true,\n    \"is_voucher_reminder\": true,\n    \"reassignment_interval\": 4,\n    \"invoice_due_days\": 7,\n    \"invoice_minimum_charge\": 0,\n    \"enable_automatic_sync_flow\": false,\n    \"force_hold_status\": false,\n    \"force_is_additional_approval_needed\": false,\n    \"use_messaging\": null,\n    \"messaging_app_primary_color\": null,\n    \"messaging_app_secondary_color\": null,\n    \"messaging_app_background_color\": null,\n    \"notification_priority\": \"App\\\\Models\\\\Clinician\",\n    \"notification_schedule\": 12,\n    \"partner_notes\": null,\n    \"parent_partner_id\": null,\n    \"parent_partner\": null,\n    \"thank_you_note_header\": null,\n    \"thank_you_note_footer\": null,\n    \"charge_sync_new_case\": null,\n    \"charge_async_new_case\": null,\n    \"charge_sync_follow_up_case\": null,\n    \"charge_async_follow_up_case\": null,\n    \"vouched_integration_type\": \"manually\",\n    \"vouched_integration_charge\": 1,\n    \"text_message_integration_type\": \"disabled\",\n    \"text_message_integration_charge\": 0.02,\n    \"accepted_at\": \"2025-09-09T12:23:35.000000Z\",\n    \"slack_channel_id\": null,\n    \"shopify_id\": null,\n    \"shopify_url\": null,\n    \"is_shopify_active\": null,\n    \"custom_theme\": null,\n    \"custom_style\": null,\n    \"review_notes\": null,\n    \"contract_file_id\": null,\n    \"insurance_file_id\": null,\n    \"is_receiving_patient_transfers\": false,\n    \"is_sending_patient_transfers\": false,\n    \"is_patient_workflow_notification_enabled\": true,\n    \"integration_type\": null,\n    \"recommendation_pageview_charge_amount\": null,\n    \"recommendation_encounter_charge_amount\": null,\n    \"created_at\": \"2025-09-09T12:23:35.000000Z\",\n    \"updated_at\": \"2025-09-09T12:23:35.000000Z\",\n    \"deleted_at\": null,\n    \"integrations\": {\n        \"woocommerce\": null,\n        \"boothwyn\": null\n    },\n    \"is_support_auto_archive_email_enabled\": true,\n    \"partner_id\": \"2cc13621-79f0-40bf-9203-7cf705ba4447\",\n    \"parent_partner_name\": null,\n    \"logo\": null\n}"}],"_postman_id":"8e25322d-4913-4935-a41a-2acbadbf397b"}],"id":"816b8015-bf15-4ae0-a39b-c8a66b4cf952","_postman_id":"816b8015-bf15-4ae0-a39b-c8a66b4cf952","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Tags","item":[{"name":"Get Tags","id":"deca199f-b470-4b10-940a-b472a88577ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/tags?per_page=15&page=1","description":"<p>It gets a list of tags</p>\n","urlObject":{"path":["hubspot","tags"],"host":["https://api.mdintegrations.com"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"cc1ba54a-c707-4cc3-9994-07afde824ace","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/tags?per_page=15&page=1","host":["https://api.mdintegrations.com"],"path":["hubspot","tags"],"query":[{"key":"per_page","value":"15"},{"key":"page","value":"1"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"436c4df4-59e6-48c9-b24a-da9f618a7870\",\n            \"name\": \"Tag repudiandae doloribus veritatis\",\n            \"key\": \"tag-repudiandae-doloribus-veritatis\",\n            \"description\": \"\",\n            \"color\": \"#845EC2\",\n            \"type\": \"account\",\n            \"removable_role\": null,\n            \"auto_detach_status\": null,\n            \"created_at\": \"2025-09-09T12:34:14.000000Z\",\n            \"updated_at\": \"2025-09-09T12:34:14.000000Z\",\n            \"deleted_at\": null,\n            \"notes\": null\n        },\n        {\n            \"id\": \"1e0e920d-6a98-42a4-b151-36121a84e874\",\n            \"name\": \"Tag veritatis dolor nihil\",\n            \"key\": \"tag-veritatis-dolor-nihil\",\n            \"description\": \"\",\n            \"color\": \"#845EC2\",\n            \"type\": \"account\",\n            \"removable_role\": null,\n            \"auto_detach_status\": null,\n            \"created_at\": \"2025-09-09T12:34:14.000000Z\",\n            \"updated_at\": \"2025-09-09T12:34:14.000000Z\",\n            \"deleted_at\": null,\n            \"notes\": null\n        },\n        {\n            \"id\": \"3afc8bf6-0490-4e43-b786-a592cd387501\",\n            \"name\": \"Tag quo ab ea\",\n            \"key\": \"tag-quo-ab-ea\",\n            \"description\": \"\",\n            \"color\": \"#845EC2\",\n            \"type\": \"account\",\n            \"removable_role\": null,\n            \"auto_detach_status\": null,\n            \"created_at\": \"2025-09-09T12:34:14.000000Z\",\n            \"updated_at\": \"2025-09-09T12:34:14.000000Z\",\n            \"deleted_at\": null,\n            \"notes\": null\n        },\n        {\n            \"id\": \"69223fee-4899-4570-bfa7-a146e9d8dddb\",\n            \"name\": \"Tag rerum quas at\",\n            \"key\": \"tag-rerum-quas-at\",\n            \"description\": \"\",\n            \"color\": \"#845EC2\",\n            \"type\": \"account\",\n            \"removable_role\": null,\n            \"auto_detach_status\": null,\n            \"created_at\": \"2025-09-09T12:34:14.000000Z\",\n            \"updated_at\": \"2025-09-09T12:34:14.000000Z\",\n            \"deleted_at\": null,\n            \"notes\": null\n        },\n        {\n            \"id\": \"f6431f45-0eef-4afe-a156-cc56f0644674\",\n            \"name\": \"Tag est eveniet quo\",\n            \"key\": \"tag-est-eveniet-quo\",\n            \"description\": \"\",\n            \"color\": \"#845EC2\",\n            \"type\": \"account\",\n            \"removable_role\": null,\n            \"auto_detach_status\": null,\n            \"created_at\": \"2025-09-09T12:34:14.000000Z\",\n            \"updated_at\": \"2025-09-09T12:34:14.000000Z\",\n            \"deleted_at\": null,\n            \"notes\": null\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://localhost/api/tags?page=1\",\n        \"last\": \"http://localhost/api/tags?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"page\": null,\n                \"active\": false\n            },\n            {\n                \"url\": \"http://localhost/api/tags?page=1\",\n                \"label\": \"1\",\n                \"page\": 1,\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"page\": null,\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://localhost/api/tags\",\n        \"per_page\": 15,\n        \"to\": 5,\n        \"total\": 5\n    }\n}"}],"_postman_id":"deca199f-b470-4b10-940a-b472a88577ef"},{"name":"Update Tag","id":"bf33323a-af99-4053-8c5e-2e3d2d0b5e8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag Example\",\n    \"color\": \"#FFF\",\n    \"description\": \"Example of description\",\n    \"key\": \"key-example\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/tags/:tag","description":"<p>Updates the partner's contact.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["hubspot","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"67f9e6aa-f453-4a0a-a099-f7b7b400fd06","type":"any","value":"6499d040-0dbe-4413-9de1-0695dbfd08d6","key":"tag"}]}},"response":[{"id":"76184e6f-4c69-4c89-80cd-e44e574c4af0","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/tags/:tag","host":["https://api.mdintegrations.com"],"path":["hubspot","tags",":tag"],"variable":[{"key":"tag","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6499d040-0dbe-4413-9de1-0695dbfd08d6\",\n    \"name\": \"adipisci\",\n    \"key\": \"similique-nihil-quibusdam-iusto-inventore-id-consequatur\",\n    \"description\": \"Dolorem eum voluptatem est aut et rerum autem non.\",\n    \"color\": \"#12ba21\",\n    \"type\": \"account\",\n    \"removable_role\": null,\n    \"auto_detach_status\": null,\n    \"created_at\": \"2025-09-09T12:28:42.000000Z\",\n    \"updated_at\": \"2025-09-09T12:28:42.000000Z\",\n    \"deleted_at\": null,\n    \"notes\": null\n}"}],"_postman_id":"bf33323a-af99-4053-8c5e-2e3d2d0b5e8c"},{"name":"Delete Tag","id":"f998d2c5-9af7-44f1-935f-333513a980a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/hubspot/tags/:tag","description":"<p>Deletes the partner's contact.</p>\n","urlObject":{"path":["hubspot","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"bb530c7b-d2d7-4c57-bdf5-65f31b87b6a1","type":"any","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7","key":"tag"}]}},"response":[{"id":"7b4d27f9-2e38-42b8-aa84-89fdf757ec43","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Version","value":"{{version}}"}],"url":{"raw":"https://api.mdintegrations.com/hubspot/tags/:tag","host":["https://api.mdintegrations.com"],"path":["hubspot","tags",":tag"],"variable":[{"key":"tag","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f998d2c5-9af7-44f1-935f-333513a980a1"},{"name":"Create Tag","id":"919788b8-a21b-41e2-8de1-c1419e5dd4ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Tag Example\",\n    \"color\": \"#FFF\",\n    \"description\": \"Example of description\",\n    \"key\": \"key-example\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/tags","description":"<p>Creates a contact for the partner.</p>\n<h1 id=\"payload\">Payload</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>last_name*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>email*</td>\n<td>string</td>\n</tr>\n<tr>\n<td>job_title</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["hubspot","tags"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[]}},"response":[{"id":"e122b764-1f08-44b2-9616-86268cd811b0","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Partner\",\n    \"last_name\": \"Contact\",\n    \"email\": \"partner@contact.example\",\n    \"job_title\": \"Job Title\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mdintegrations.com/hubspot/tags"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6499d040-0dbe-4413-9de1-0695dbfd08d6\",\n    \"name\": \"adipisci\",\n    \"key\": \"similique-nihil-quibusdam-iusto-inventore-id-consequatur\",\n    \"description\": \"Dolorem eum voluptatem est aut et rerum autem non.\",\n    \"color\": \"#12ba21\",\n    \"type\": \"account\",\n    \"removable_role\": null,\n    \"auto_detach_status\": null,\n    \"created_at\": \"2025-09-09T12:28:42.000000Z\",\n    \"updated_at\": \"2025-09-09T12:28:42.000000Z\",\n    \"deleted_at\": null,\n    \"notes\": null\n}"}],"_postman_id":"919788b8-a21b-41e2-8de1-c1419e5dd4ad"},{"name":"Get Tag","id":"69dc0411-19c5-4a15-a625-30dba5206651","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mdintegrations.com/hubspot/tags/:tag","description":"<p>It gets the partner contact.</p>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"path":["hubspot","tags",":tag"],"host":["https://api.mdintegrations.com"],"query":[],"variable":[{"id":"f3eeb2db-4f9a-4f12-8902-fbbcd8be2881","type":"any","value":"6499d040-0dbe-4413-9de1-0695dbfd08d6","key":"tag"}]}},"response":[{"id":"1919d1d3-8093-46d6-9fa6-15e5badaa4a8","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Partner\",\n    \"last_name\": \"Contact\",\n    \"email\": \"partner@contact.example\",\n    \"job_title\": \"Job Title\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mdintegrations.com/hubspot/tags/:tag","host":["https://api.mdintegrations.com"],"path":["hubspot","tags",":tag"],"variable":[{"key":"tag","value":"df1a8a56-0771-4a21-bab8-6b3b215dd1e7"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6499d040-0dbe-4413-9de1-0695dbfd08d6\",\n    \"name\": \"adipisci\",\n    \"key\": \"similique-nihil-quibusdam-iusto-inventore-id-consequatur\",\n    \"description\": \"Dolorem eum voluptatem est aut et rerum autem non.\",\n    \"color\": \"#12ba21\",\n    \"type\": \"account\",\n    \"removable_role\": null,\n    \"auto_detach_status\": null,\n    \"created_at\": \"2025-09-09T12:28:42.000000Z\",\n    \"updated_at\": \"2025-09-09T12:28:42.000000Z\",\n    \"deleted_at\": null,\n    \"notes\": null\n}"}],"_postman_id":"69dc0411-19c5-4a15-a625-30dba5206651"}],"id":"07abdb9d-aec9-419e-a0b1-81c39801d900","_postman_id":"07abdb9d-aec9-419e-a0b1-81c39801d900","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Webhooks","item":[{"name":"Webhook Sample","id":"bc18a0ea-d925-49fb-ab71-ba4592076c5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Signature","value":"<Your Secret Key>","description":"<p>The request will have a header called Signature created by Secret Key that will contain a signature the receiving app can use to verify the payload hasn't been tampered with.</p>\n"},{"key":"Authorization","value":"<Your Token Authorization>","description":"<p>The request will have a header called Authorization used to authenticate to your API</p>\n"},{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"entity_type\": \"partner | panel_user | contact | support_staff | file\",\r\n    \"event_type\": \"created | updated | deleted | detached | attached | file_attached\",\r\n    \"file_type\": \"contract | insurance\",\r\n    \"mdi_record_id\": \"906124a0-31ce-49da-920c-70ba464d09b4\",\r\n    \"mdi_partner_id\": \"915f1978-48e2-4221-aa15-369b2ffd5301\",\r\n    \"email\": \"email@example.com\",\r\n    \"changes\": {\r\n        \"first_name\": {\r\n            \"previous\": \"Jhon\",\r\n            \"current\": \"Richard\"\r\n        },\r\n        \"last_name\": {\r\n            \"previous\": \"Smith\",\r\n            \"current\": \"Miles\"\r\n        },\r\n        \"job_title\": {\r\n            \"previous\": \"Chief of Operation\",\r\n            \"current\": \"Doctor\"\r\n        }\r\n    },\r\n    \"change_source\": \"mdi | hubspot\"\r\n}"},"url":"https://webhook.site","description":"<p>This endpoint is designed to show how events will be dispatched.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<p>The request body will be in JSON format and include the following parameters:</p>\n<ul>\n<li><p><strong>entity_type</strong> (string): Specifies the type of entity that is being updated. Possible values include <code>partner</code>, <code>panel_user</code>, <code>support_staff</code>, <code>contact</code> or <code>file</code></p>\n</li>\n<li><p><strong>event_type</strong> (string): Indicates the type of event being reported.<br />  Valid options are <code>created</code> , <code>updated</code>, <code>deleted</code>, <code>detached</code>, <code>file_attached</code>.</p>\n</li>\n<li><p><strong>fyle_type</strong> (string): Only used when the entity type is <code>file</code> . Valid options are <code>contract</code> or <code>insurance</code>.</p>\n</li>\n<li><p><strong>mdi_record_id</strong> (string): A unique identifier for the record in the MDI system.</p>\n</li>\n<li><p><strong>mdi_partner_id</strong> (string): A unique identifier for the partner in the MDI system.</p>\n</li>\n<li><p><strong>email</strong> (string): The email address associated with the entity (if exists)</p>\n</li>\n<li><p><strong>changes</strong> (object): An object that outlines the changes made. It contains:</p>\n<ul>\n<li>(object): An object with <code>previous</code> and <code>current</code> values representing the first name change. It can be any field.</li>\n</ul>\n</li>\n<li><p><strong>change_source</strong> (string): Indicates the source of the change. Possible values include <code>mdi</code> or <code>hubspot</code>.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}},"urlObject":{"protocol":"https","host":["webhook","site"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc18a0ea-d925-49fb-ab71-ba4592076c5e"}],"id":"3ea82ac5-b7cb-4fd0-a8e9-7d5e609ae15c","_postman_id":"3ea82ac5-b7cb-4fd0-a8e9-7d5e609ae15c","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"380ed5b5-ed20-4ed6-94d9-fa6c9c944b58","_postman_id":"380ed5b5-ed20-4ed6-94d9-fa6c9c944b58","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"PharmacyApi","item":[{"name":"Pharmacies","item":[{"name":"Get Pharmacies (Search) Copy","id":"ec345535-bc95-45ce-a01b-8830ad70eb35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/pharmacies-api/pharmacies/search?name=USA","description":"<p>Get the DoseSpot's pharmacies with the search terms.</p>\n","urlObject":{"path":["pharmacies-api","pharmacies","search"],"host":["https://api.mdintegrations.com"],"query":[{"key":"name","value":"USA"}],"variable":[]}},"response":[],"_postman_id":"ec345535-bc95-45ce-a01b-8830ad70eb35"}],"id":"12629ea3-6e85-473e-bdb5-e1011d4ef0a3","_postman_id":"12629ea3-6e85-473e-bdb5-e1011d4ef0a3","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}},{"name":"Medications","item":[{"name":"Get Medications (Search)","id":"952504b9-dfa8-43d1-a03d-68be167f9819","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":""},"isInherited":false},"method":"GET","header":[{"key":"Version","value":"{{version}}"}],"url":"https://api.mdintegrations.com/pharmacies-api/medications/search?name=Ibupro","description":"<p>Get the DoseSpot's medications with the search terms.</p>\n","urlObject":{"path":["pharmacies-api","medications","search"],"host":["https://api.mdintegrations.com"],"query":[{"key":"name","value":"Ibupro"}],"variable":[]}},"response":[],"_postman_id":"952504b9-dfa8-43d1-a03d-68be167f9819"}],"id":"efea90d0-37f6-4ad9-b51c-2ddcf0dbaad7","_postman_id":"efea90d0-37f6-4ad9-b51c-2ddcf0dbaad7","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"40b3d033-7338-41e5-9e67-13f4ba8815bf","_postman_id":"40b3d033-7338-41e5-9e67-13f4ba8815bf","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"id":"5bef64b6-59be-4b0f-8ce9-9e0b01fc2148","_postman_id":"5bef64b6-59be-4b0f-8ce9-9e0b01fc2148","description":"","auth":{"type":"bearer","bearer":{"token":""},"isInherited":true,"source":{"_postman_id":"69395158-7d05-487b-adea-421ba5bf18d2","id":"69395158-7d05-487b-adea-421ba5bf18d2","name":"MD Integrations API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"token":""}},"event":[{"listen":"prerequest","script":{"id":"e4dc3bb3-c538-4af5-bdd0-c796e8243c5f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b7d8981f-bdf2-4094-9856-09037de92cc8","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.mdintegrations.com/v1"},{"key":"token","value":""},{"key":"url","value":"https://api.mdintegrations.com"}]}