api
Get a list of all prescriptions currently subscribed to auto-refill for a given patient
get/api/v1/auto-refill/patient/{patient_token}
Request
- Base URLhttps://api.truepill.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
patient_tokenstring required
Response
ok
Example response
{
"code": 200,
"data": {
"timestamp": "2021-05-20T00:00:00.000Z",
"status": "successful",
"details": {
"auto_refill_subscriptions": [
{
"id": 1,
"prescription_token": "token",
"status": "active"
}
],
"nextPageToken": "nextPageTokenString",
"total": 1
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.