API Reference
Complete reference documentation for the Pharmako REST API.
Base URL
All API requests should be made to the following base URL:
https://api.pharmako.dev/v1Patients
Create, retrieve, and manage patient records
GET
/v1/patientsList all patientsPOST
/v1/patientsCreate a patientGET
/v1/patients/:idRetrieve a patientPATCH
/v1/patients/:idUpdate a patientDELETE
/v1/patients/:idDelete a patientLabs
Order tests and retrieve results
GET
/v1/labs/ordersList lab ordersPOST
/v1/labs/ordersCreate a lab orderGET
/v1/labs/orders/:idRetrieve an orderGET
/v1/labs/results/:idGet lab resultsGET
/v1/labs/catalogAvailable testsDocuments
Medical records and clinical documents
GET
/v1/documentsList documentsPOST
/v1/documentsUpload a documentGET
/v1/documents/:idRetrieve a documentWebhooks
Configure event notifications
GET
/v1/webhooksList webhooksPOST
/v1/webhooksCreate a webhookDELETE
/v1/webhooks/:idDelete a webhook