Accept a grant request (patient)
Accept a pending grant, making the requesting clinician's access active. Available to all authenticated users (any role can act as a patient).
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Query Parameters
grant_id*Grant Id
Format
uuidHeader Parameters
x-api-key?string|null
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/grants/accept?grant_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}Grants
Patient data-sharing grants. Doctors and clinic admins invite patients; patients accept or revoke. Once active, the grantee can read the patient's health data within the grant's permission set.
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.