# Get all user consents

Canonical page: https://docs.ovok.com/api/slim/user/get-all-user-consents

`GET /v1/slim/user/consents`

Returns every consent of the signed-in practitioner in one response. Use it at sign-in to decide which consent prompts to show.

**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

- Both `medicalSettingsNotificationsConsent` and `termsAndConditionsConsent` are versioned. Each is `true` only when an acceptance is on file and either matches the currently published version of that consent or no version has been published yet.
- Publishing a new version of a consent turns it `false` for everyone until they accept again.
- The published version is the one of the root project of your project tree. Without one, the platform-wide version applies.
- A consent with no record reads `false`.


## Example

```bash
curl -X GET 'https://api.sandbox.ovok.com/v1/slim/user/consents' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk'
```

```json
{ "medicalSettingsNotificationsConsent": true, "termsAndConditionsConsent": false }
```
