Hosting
Create Hosted PDF
Publish a PDF file to a clean okrapdf.dev hostname.
POST
Overview
Publish an existing PDF from/v1/files or /v1/documents as https://{namespace}.okrapdf.dev. Internal storage keys such as original.pdf are not exposed.
Source file or document reference. Use a file ID for passive assets or a document ID for parsed documents.
Desired DNS-label namespace. If omitted, OkraPDF generates one.
Human-readable title for the hosted PDF.
Optional access settings such as disabled, unlisted, expiry, password, download availability, and indexing.