Developer Reference

FHIR API Documentation

Integrate EHR records directly into your intake flows, mobile apps, or billing CRMs using our clean RESTful endpoints.

Authentication

All REST requests must supply a valid workspace API key inside the custom x-api-key HTTP header. Credentials can be generated inside the developer settings tab.

x-api-key: ms_live_xxxxxxxxxxxxxxxx

API Resource Endpoints

GET/v1/patients/{id}

Retrieve Patient Records

Fetches verified demographic fields, active allergies, medications list, and diagnosis records.

POST/v1/appointments

Schedule Appointment Sync

Writes scheduled visit data to the patient's EHR calendar record directly.

curl -X GET "https://api.medisync.ai/v1/patients/EHR-12345" \ -H "x-api-key: ms_live_7d983bc701f4c52e89d" \ -H "Content-Type: application/json"
Example Response Payload (200 OK)
{ "status": "success", "data": { "id": "patient-sarah-smith", "mrn": "EHR-12345", "firstName": "Sarah", "lastName": "Smith", "dob": "1995-10-01", "gender": "Female", "bloodType": "A+", "allergies": [ { "name": "Penicillin", "severity": "Moderate" } ], "medications": [ { "name": "Cyclobenzaprine 5mg", "dose": "1 tablet before bed" } ], "lastSynced": "2026-06-20T19:35:48Z" } }