---
title: "Get consent PDF info by consent ID"
method: GET
path: "/api/consents/{consent_id}/pdf"
tags: ["consents"]
---

# Get consent PDF info by consent ID

`GET /api/consents/{consent_id}/pdf`

Returns JSON with the same structure as items in GET /consents/pdfs (file_path, created_at, thumbnail) for the given consent.

## Path parameters

- `consent_id` string, uuid, required

## Response `200`

Successful Response

- ConsentPDFResponse — Generated informed consent PDF file information.
  - `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)
