# Get medical consent

Canonical page: https://docs.ovok.com/api/me/consent/get-medical-consent

`GET /v1/me/consent/medical`

Returns the signed-in practitioner's medical settings notifications consent, or `null` when it is not given. Use it on app load to decide whether to show the medical notifications prompt.

**Auth:** Bearer token for a practitioner session (the profile must be a `Practitioner`). The caller's access policy must grant `Consent:read` and `Consent:search` (a project admin who holds no access policy skips this check).
**Scope:** The caller's practitioner profile in the caller's project (from the token).

## Behaviour

- `medical` is `null` when the practitioner never gave the consent or withdrew it.
- Only withdrawing ends it. Unlike `GET /v1/slim/user/consents`, a newly published version does not turn it off here.
- `acceptedAt` is when it was given, `null` when that is not recorded.
- Answers are cached for a rolling day. Any consent write by the practitioner refreshes them right away.


## Example

```bash
curl -X GET 'https://api.sandbox.ovok.com/v1/me/consent/medical' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk'
```

```json
{ "medical": { "consentId": "c3499c27-2973-0a7f-807e-fb8676a92dcb", "acceptedAt": "2026-09-02T07:30:00.000Z" } }
```
