---
title: "Read PDF metadata"
method: POST
path: "/api/pdf-tools/metadata"
tags: ["PDF Tools"]
---

# Read PDF metadata

`POST /api/pdf-tools/metadata`

## Request

- Base URL: `https://api.dokmatiq.com`
- URL: `https://api.dokmatiq.com/api/pdf-tools/metadata`
- Auth: API key in header `X-API-Key`

Upload a PDF and retrieve its metadata (title, author, subject, keywords, creation date, page count, PDF version, encryption status).

## Response `200`

PDF metadata

---

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