Create Patient
This endpoint generates a patient record in the Truepill ecosystem.<br/><br/>Upon a successful request, the endpoint returns a patient_token for you to reference in subsequent API requests that require this field.<br/><br/>The patient_token that is returned upon successfully creating a patient record can be used with many of the other endpoints to continue referencing the same record.<br/><br/>If the patient information in the request body matches the information in an existing patient record, the existing patient_token will be returned in the API response.<br/><br/>The address and phone number provided should be the same as the information provided to the prescriber on the e-Script. These attributes are only used for matching purposes.
Request body
Example request
{
"prefix": "Mr",
"suffix": "Jr.",
"first_name": "Lola",
"last_name": "Martin",
"gender": "female",
"dob": "20180401",
"zip": "94402",
"species": "sparrow",
"company": "True Pill",
"street1": "123 Some Lane",
"street2": "Apt. 123",
"city": "Los Angeles",
"state": "CA",
"phone": "430-304-3949",
"email": "hulkout@hulk.com",
"ssn": "123456789",
"ssn_serial": "6789",
"language_preference": "English",
"viewed_notice_of_privacy_practices_date": "20180401"
}Response
Created