# Consent

Canonical page: https://docs.ovok.com/java-sdk/consent

`ovok.consent()` reads and records the signed-in user's `legal()` and `medical()` consent, and requests consent signatures.

```java
JsonNode legal = ovok.consent().legal().retrieve();
ovok.consent().medical().set(true);
```

Every method is in the [`ConsentResource` reference](/java-sdk/reference/consent-resource).
