api
GET auto refill subscription
get/api/v1/auto-refill/{prescription_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
prescription_tokenstring required
Response
ok
Example response
{
"code": 200,
"data": {
"timestamp": "2026-10-14T20:08:03.938Z",
"status": "successful",
"details": {
"auto_refill_medications": {
"auto_refill_id": 1,
"auto_refill_date": "2026-10-14T20:08:03.938Z",
"auto_reminder": true,
"refills_remaining": 3
},
"scheduled_fill_address": {
"name": "address name",
"street1": "street 1",
"street2": "street 2",
"city": "city",
"state": "state",
"zip": 12345,
"phone": "((123)456-7890",
"email": "email@email.com"
}
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.