Parsing Password-Protected PDFs

Some PDF documents are password-protected for security reasons. The Reducto API supports parsing these documents by allowing you to provide the password in your request.

Example Request

To parse a password-protected PDF, include the password in the advanced_options of your request:

{
  "document_url": "https://example.com/protected.pdf",
  "advanced_options": {
    "document_password": "your-pdf-password"
  }
}

The API will use this password to decrypt the document before processing. If the password is incorrect or not provided for a password-protected document, you’ll receive an error response.