---
title: "Get generated consent PDFs"
method: GET
path: "/api/consents/pdfs"
tags: ["consents"]
---

# Get generated consent PDFs

`GET /api/consents/pdfs`

Get list of generated informed consent PDFs from users/<user_id>/consents/generated/. Users see their own; operators/admins can pass patient_user_id for a patient.

## Query parameters

- `include_thumbnails` boolean — If false, thumbnails are not computed nor returned.
- `patient_user_id` string, uuid, nullable — Optional patient user ID (for authorized CRM users).

## Response `200`

Successful Response

- ConsentPDFResponse[]
  - `file_path` string, required — Path to PDF file in storage
  - `consent_type` 'psychological' | 'nutritional' — Informed consent type constants.
  - `created_at` string, date-time, nullable — File creation/modification time
  - `thumbnail` string, nullable — Base64 encoded thumbnail image

## Other responses

- `422` — Validation Error

---

[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)
