---
title: "Get all pending consents"
method: GET
path: "/api/consents/pending"
tags: ["consents"]
---

# Get all pending consents

`GET /api/consents/pending`

Get all pending consents to show when operators are assigned.

## Response `200`

Successful Response

- PendingConsentsResponse — Pending consents response - multiple banners.
  - `items` PendingConsentResponse[], required — List of pending consents to show (0..2)
    - `consent_type` 'psychological' | 'nutritional', required — Informed consent type constants.
    - `operator_id` string, uuid, required — Operator UUID for this consent
    - `popup` ModelsSchemasConsentModelsPopupConfig, required — Popup configuration for consent prompt (same as questionnaires).
      - `title` string, required — Popup title
      - `message` string, required — Popup message
      - `actionLabel` string, required — Action button label
    - `status` union, required — Status: draft, pending_otp, pending_approval, revision_required, expired, none
      - 'draft' | 'pending_otp' | 'pending_approval' | 'revision_required' | 'verified' | 'expired' | 'revoked' — Informed consent status constants.
      - 'none'
    - `consent_id` string, uuid, nullable — Consent ID if exists
    - `action_required` 'none' | 'upload_documents' | 'sign_pdf' | 'wait_approval' | 'verify_otp' | 'complete_form' | 'renew', required — Next action for consent flow.
  - `total` integer, required — Total number of pending consents

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corabea/corabea-api/revisions/13c1bce1bdc4/schema)
