api

Get Patient

Once a patient has been created in the Truepill ecosystem, you can access the patient information at any time using the patient_token that was provided on the Create Patient response.<br/><br/>If the patient_token does not map to a patient record, a 404 Not Found will be returned.<br/><br/>Querying for patient information that does not belong to you will return an error response.<br/><br/>Patient SSN and id_image information is not viewable through this endpoint

get/api/v1/patient/{patient_token}

Request

Path parameters

patient_tokenstring required

Response

OK

guardianstring
speciesstring

Pet type

first_namestring

Legal patient first name

last_namestring

Legal patient last name

dobstring

Legal patient date of birth, YYYYMMDD format

genderstring

Assigned gender at birth: male or female

communications_opt_inboolean
patient_tokenstring
mbistring

Medicare Beneficiary ID

Example response

{
  "species": "Dog",
  "first_name": "Lola",
  "last_name": "Martin",
  "dob": "20180401",
  "gender": "male",
  "address": {
    "company": "Walmart Pharmacy",
    "street1": "123 Some Lane",
    "street2": "Maggio Expressway",
    "city": "San Mateo",
    "state": "CA",
    "zip": "94538",
    "country": "US",
    "email": "some_email@gmail.com"
  },
  "patient_token": "a35be240f1f5da6b",
  "mbi": "1EG4TE5MK73"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.