A document security API for your LMS, store or backend

If your product already handles customers and payments, you should not have to build document encryption and a protected reader as well. The DocusPocus Developer API lets your backend convert PDFs into encrypted files, grant and revoke access when an order or subscription changes, and replace a document without changing its link.

How an integration works

  1. Create an API key Create a tenant-scoped key in your account. Every resource is derived from the key's owner and constrained by that owner's plan.
  2. Upload and convert Create a Zone, then send a PDF to POST /zones/{zoneId}/secure-documents to convert it into an encrypted protected file.
  3. Sync access from your system Call POST /zones/{zoneId}/access-grants when a customer buys, renews or cancels. Readers sign in and open the document in the protected reader.

What the API covers

Protected documents

Convert a PDF into an encrypted Zone document, or publish it as an e-book, from your own backend.

Access lifecycle

Grant, extend, schedule cancellation or revoke Zone access, and grant, extend or revoke e-book licenses.

In-place content updates

PUT /zones/{zoneId}/files/{fileId}/content replaces the PDF while keeping the file's identity, link and permissions.

Safe retries

All non-GET operations require an Idempotency-Key, so a retried request does not repeat the change.

Audit trail

GET /audit lists your tenant's Developer API changes, for debugging and internal records.

OpenAPI 3.1 document

A machine-readable OpenAPI document and a browsable reference make it straightforward to generate a client.

Questions about the document security API

Which plan do I need?

Access level (read-only, content write or full), number of keys and rate limit depend on your plan. Creating documents or managing access needs a plan with write access; the pricing page and the Developer Platform list the limits for each plan.

Do my users need a DocusPocus account?

Yes. Readers sign in so that access belongs to them, and they read in the protected web reader or the desktop Viewer for Windows and macOS.

Can I keep my own checkout?

Yes. DocusPocus does not take a commission. Your system handles payment and calls the API to grant or revoke access.

Does this make documents impossible to copy?

No tool can do that, since anything on a screen can be captured. The API gives you encrypted delivery, access you can revoke and per-file print and text-copy permissions, which make unauthorized sharing harder.

Where is the full reference?

The Developer API v1 reference lists every operation, and the OpenAPI document is available at /openapi/developer-api-v1.json.

Share your document with peace of mind.

Your file stays encrypted, opens only for the people you allow, and you decide how long they can read it.

Missing a feature? Tell us — we'll do our best to build it. info@docuspocus.com

Start free