PDF
Password protect PDF
Add password protection and encryption to a PDF.
Encryption Options
- user_password: Password required to open the PDF
- owner_password: Password required to change permissions
- permissions: List of allowed actions (print, copy, modify)
post/pdf/encrypt
Request
- Base URL: https://api.filegraph.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.filegraph.ai/pdf/encrypt
- Auth: API key in header X-API-Key
Response
Successful Response
Example response
{
"content_base64": "JVBERi0xLjQK...",
"content_type": "application/pdf",
"filename": "output.pdf",
"size_bytes": 102400
}Changes
No recorded changes to this operation across all 1 revision of this API.