GET
/
v1
/
patient
/
get_by_external_id
/
{external_id}
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>"
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

external_id
string
required

Response

200
application/json

Successful Response

The response is of type object.