---
title: "Patient Request Renewal"
method: POST
path: "/api/patient/prescriptions/{rx_id}/request-renewal"
---

# Patient Request Renewal

`POST /api/patient/prescriptions/{rx_id}/request-renewal`

## Request

- Base URL: `https://api.mednode.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mednode.in/api/patient/prescriptions/{rx_id}/request-renewal`
- Auth: HTTP bearer

Patient requests their doctor to renew/extend a prescription.

- Marks renewal_requested_at = now on the prescription row
- Sends a WhatsApp notification to the doctor (if doctor has a phone)
- Returns 409 if a renewal request is already pending

## Path parameters

- `rx_id` integer, required

## Request body

- BodyPatientRequestRenewalApiPatientPrescriptionsRxIdRequestRenewalPost
  - `message` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mednode/apis/mednode-ai-api.md) · [All operations](https://skmtc.dev/mednode/apis/mednode-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mednode/apis/mednode-ai-api/revisions/7e0b84effd6e?raw)
