Lock PDF API for Developers
Use the sandbox below to test lock/encryption quickly. Detailed notes are at the bottom of this page.
Use cases
Why lock
- Secure sharing with partners
- Protect HR / legal documents
- Encrypt KYC packets before sending
- Control access via password
Parameters
What you send
PDF URL to lock.
User password (required to open).
Owner password (to change permissions). Defaults to user password.
If the PDF is already password protected.
aes256 (default), aes128, or rc4.
Object: print, copy, modify, annotate, fill_forms, extract, assemble. All default true.
url, file, or base64.
Filename for downloads.
Description
Implementation notes and workflow guidance
Password-protect PDFs for secure sharing and compliant handling.
Add encryption as a standard step before sending invoices, statements, or contracts. Use dynamic passwords per recipient and preserve a clear audit trail for access control and policy-driven document workflows.
In production, pair lock operations with deterministic naming, delivery confirmation, and retry-safe processing. That pattern makes it easier to prove document handling policy compliance while maintaining predictable automation behavior across internal systems and external recipients.
Teams often combine lock actions with role-based routing so only intended recipients can open documents. This approach improves security posture while keeping customer-facing delivery flows efficient and automated.