Get a list of Transfers
This endpoint retrieves a list of all the transfer requests you have made to the Truepill ecosystem.<br/><br/>List transfers utilizes an optional pagination functionality when retrieving a large number of transfers. By default, this endpoint retrieves 50 transfers at a time, starting with the earliest transfers.<br/><br/>For example, if you were looking to retrieve the 70-80th transfers made to Truepill, you would use a pagination of 1 (zero base indexing).<br/><br/>To paginate, append a ? at the end of the API endpoint along with the page=[PAGE_NUMBER], and replace<br/><br/>[PAGE_NUMBER] with an integer.<br/><br/>If the pagination value surpasses the number of transfers in the system, an empty array [] will be returned.<br/><br/>This endpoint retrieves 50 transfers at a time, starting with the earliest-made transfers. If you have a large number of transfers and are looking to retrieve more recent transfers, you will need to paginate.
Request
- Base URLhttps://api.truepill.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Example response
[
{
"created_at": "2021-02-28T22:34:50.000Z",
"url_token": "e4bce6d1e2",
"status": "completed",
"transfer_medications": [
{
"url_token": "e6014ac9da658c1c",
"medication_name": "duloxetine 30mg capsule"
}
]
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.