Skip to main content

Base URL

The Mintlify API reference is backed by the live OpenAPI 3.1 spec from https://api.okrapdf.com/openapi.json (version 1.14.0).

Authentication

Use a Bearer token for authenticated endpoints:
Secret keys use the okra_sk_ prefix. Browser-facing publishable keys use okra_pk_. Create and rotate keys in app.okrapdf.com/settings.

First request

Response:

Current surfaces

Common document endpoints

Errors

Errors use a structured JSON envelope:
See Errors for common codes and retry behavior.