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
- Base URLhttps://api.truepill.com
- AuthAPI key in header Authorization
- TypeScripthttps://skmtc.dev/truepill/apis/truepill-api-documentation/docs/api/v1/patient/:patient_token/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
patient_tokenstring required
Response
OK
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.