---
title: "Consent Expiring"
method: GET
path: "/v1/consent/expiring"
tags: ["consent-api"]
---

# Consent Expiring

`GET /v1/consent/expiring`

## Request

- Base URL: `https://api.openproof.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openproof.io/v1/consent/expiring`
- Auth: none declared. Required headers: `X-OpenProof-Api-Key`

People whose accepted consent lapses within `within_days` (0 = only the ones that have already lapsed),
soonest first, so your own system can ask them again. Only categories with a validity period are covered;
only the latest decision per person and category counts, so someone who already renewed, rejected or
withdrew is not listed. `truncated` is true when more than `limit` matched.

## Query parameters

- `within_days` integer
- `limit` integer

## Headers

- `X-OpenProof-Api-Key` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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