---
title: "Returns PDF document."
method: POST
path: "/perfectpdf/api"
---

# Returns PDF document.

`POST /perfectpdf/api`

## Request body

- PerfectpdfApiBody
  - `api_key` string, required — api key
  - `html` string, required — html/css markup

## Response `200`

Either a PDF document or an error message

---

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