Create a Transfer
A transfer request can be created using our transfer_request API endpoint. Truepill will provide a receipt confirmation of the request, but please note the subsequent webhook event notifying you of a successful transfer may take 1-3 days.<br/><br/>The following endpoint requests the transfer of a prescription from a third-party pharmacy to Truepill’s pharmacy. If the prescription in question was generated by a physician contracted by the API User then this endpoint does not need to be called; otherwise this request is necessary for the Fill Request to be fulfilled.<br/><br/>Note: You MUST send either pharmacy contact information or prescriber contact information to avoid an error.<br/><br/>If medications field is not provided in the request, Truepill will transfer all possible patient prescriptions.
Request
- Base URLhttps://api.truepill.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Created
Example response
{
"request_id": "7b8b4ed9ef459888d6bbb503363e5f00",
"timestamp": 1631571795,
"status": "success",
"details": {
"message": "Your transfer request has been received.",
"transfer_id": "d01f30b320",
"transfer_token": "d01f30b320",
"transfer_medications": [
{
"transfer_medication_id": "a4d262ba4793835c",
"transfer_medication_token": "a4d262ba4793835c",
"medication_name": "Lisinopril 5 mg Oral Tablet *[41]*"
}
],
"patient_id": "507ee4b3ea5318b7",
"patient_token": "507ee4b3ea5318b7"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.