PocketPills-TeleMedicine APIs
Number of APIs: 18
Here is a collection of APIs that would be required by a TeleMedicine Service Provider (TMSP) to interact with PocketPills(PP) systems and help patients get prescriptions delivered to their door for free.
Authentication
- All API requests should contain an Authorization HTTP Header.
- Other modes of authentication that can be chosen:
- AES-256 encyrption of API requests. Secret Keys exchanged separately.
- Oauth
Security
- Whitelisting of IPs of both PP & TSMP.
- All API requests will be over HTTPS to prevent MITM attacks.
Pocketpills Sandbox/Production
- Please request Sandbox access by mailing to sandbox@pocketpills.com
- Production Url for apis is api.pocketpills.com & for users is app.pocketpills.com
-
Direct Order Creation - Direct Order Creation POST {{URL}}/direct-order
-
Patient - Create Patient PUT {{URL}}/patient
-
Patient - Get Patient GET {{URL}}/patient/{{PATIENT_ID}}
-
Patient - Update Patient PUT {{URL}}/patient/{{PATIENT_ID}}
-
Patient - Add Patient Address POST {{URL}}/patient/{{PATIENT_ID}}/address
-
Patient - Update Address PUT {{URL}}/patient/{{PATIENT_ID}}/address/{{ADDRESS_ID}}
-
Patient - Search Patient GET {{URL}}/patient/search?phone=9958893881&email=test@pocketpills.com
-
Insurances - Add Insurance POST {{URL}}/patient/{{PATIENT_ID}}/insurance
-
Insurances - Get Insurances GET {{URL}}/patient/{{PATIENT_ID}}/insurances
-
Insurances - Get Insurance GET {{URL}}/patient/{{PATIENT_ID}}/insurance/{{INSURANCE_ID}}