Skip to main content
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
object
required
Source file or document reference. Use a file ID for passive assets or a document ID for parsed documents.
namespace
string
Desired DNS-label namespace. If omitted, okraPDF generates one.
title
string
Human-readable title for the hosted PDF.
access
object
Optional access settings such as disabled, unlisted, expiry, password, download availability, and indexing.

Response