---
title: "Generates a PDF document from HTML and web technologies."
method: POST
path: "/pdf/generate/"
tags: ["PDF"]
---

# Generates a PDF document from HTML and web technologies.

`POST /pdf/generate/`

Generates a PDF document from web assets.

## Response `201`

PDF Document generated successfully

- object
  - `url` string, uri, required — URL to the generated PDF document

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error
- `502` — Bad Gateway

---

[API](https://skmtc.net/onedoclabs/apis/fileforge-api.md) · [All operations](https://skmtc.net/onedoclabs/apis/fileforge-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onedoclabs/fileforge-api/versions/a5a51ce2a2fd/schema)
