Decline a pending grant request (patient)
Decline a **pending** grant request — the clinician never gets access. For revoking an already-active grant, use `/grants/revoke` instead.
Authorization
HTTPBearer In: header
Path Parameters
uuidHeader Parameters
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/grants/497f6eca-6276-4993-bfeb-53cbbbba6f08/decline"null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}Who accessed my data (patient) GET
The audit trail of clinicians reading or acting on the current user's data, newest first — so patients can see exactly how the access they granted is being used.
Invite a patient to share data POST
Create a **pending** grant requesting access to a patient's health data. The patient must accept the grant before any data becomes accessible. Requires role: `doctor`, `clinic_admin`, or `admin`. `clinic_staff` cannot initiate grants — a doctor or admin must invite on their behalf. Permissions can be any subset of: `check_ins`, `medications`, `symptoms`, `wearable_data`, `heart_data`, `ai_insights`, or `full`.