cURL
curl --request GET \ --url https://api.decodahealth.com/v1/patient/get_by_external_id/{external_id} \ --header 'API-KEY: <api-key>' \ --header 'TENANT: <tenant>'
{ "address": "<string>", "addressLineTwo": "<string>", "addressValid": true, "allergies": [ "<string>" ], "city": "<string>", "country": "<string>", "createdDate": "2023-11-07T05:31:56Z", "dateOfBirth": "2023-12-25", "email": "<string>", "externalUserId": "<string>", "familyHistory": [ "<string>" ], "firstName": "<string>", "id": "<string>", "lastName": "<string>", "medicalHistory": [ "<string>" ], "medications": [ "<string>" ], "meta": {}, "optedOutOfSms": false, "phoneNumber": "<string>", "prescriptions": [ "<string>" ], "state": "<string>", "type": "<string>", "zipCode": "<string>" }
Get a Patient by its external ID (i.e. the ID in your system).
Patient
The tenant you are making this request on behalf of
Your api key
Successful Response
The response is of type object.
object