---
title: "Check Consent"
method: GET
path: "/api/policies/consent/check"
tags: ["policies"]
---

# Check Consent

`GET /api/policies/consent/check`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/policies/consent/check`
- Auth: HTTP bearer

Check whether the current user has accepted the latest version
of all policy documents.

## Headers

- `X-User-Email` string, nullable
- `X-User-Name` string, nullable

## Response `200`

Successful Response

- PolicyConsentCheck: Overall consent status for the user.
  - `all_accepted` boolean, required
  - `pending_documents` PolicyDocumentResponse[], required
    - `uuid` string, uuid4, required
    - `slug` string, required
    - `title` string, required
    - `content` string, required
    - `version` integer, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `consent_statuses` PolicyConsentStatus[], required
    - `policy_document_uuid` string, uuid4, required
    - `slug` string, required
    - `title` string, required
    - `current_version` integer, required
    - `accepted_version` integer, nullable
    - `is_accepted` boolean, required

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/regdoor/apis/regdoor-api.md) - [All operations](https://skmtc.dev/regdoor/apis/regdoor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/regdoor/apis/regdoor-api/revisions/7642336631af?raw)
