PDF OCR then Protect
A 3-step recipe with Adobe Creative Cloud. We can help you get access.
Recipe · 3 steps
PDF OCR then Protect
with Adobe Creative Cloud
OCR an uploaded scanned PDF, then password-protect the OCR result.
- Create an upload asset for the scanned PDF, obtaining an asset ID and a presigned upload URI.
- Submit the OCR job for the uploaded asset to make its text searchable. Responds 201 with a Location header for job status.
- Submit the protect-PDF job for the OCR result asset, applying password protection and the chosen encryption algorithm. Responds 201 with a Location header for job status.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer access token from the Adobe IMS token endpoint.
- apiKey: Client ID (x-api-key) from the Adobe Developer Console.
- ocrLang: OCR language code.
- ocrType: OCR type (searchable_image or searchable_image_exact).
- ocrResultAssetID: Asset ID of the searchable OCR result asset to protect.
- userPassword: Password required to open the protected document.
- ownerPassword: Password required to change document permissions.
- encryptionAlgorithm: Encryption algorithm (AES_128 or AES_256).
For your developer
Arazzo workflow adobe-creative-cloud:pdf-ocr-then-protect, 3 operations: createAsset → ocrPdf → protectPdf. Specs on APIs.io.