Unlock an encrypted draft PDF in place
Decrypts a password-protected PDF via LibreOffice re-export and claims the usable bytes back onto the document (the draft was not readable by pdf-lib anyway). Returns libreoffice_roundtrip in warnings — layout may shift on complex documents.
POST
/documents/pdf/unlockAuthorization
AuthorizationBearer token · headerrequiredPass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.
Request body
requiredapplication/jsonidstringrequiredpasswordstringrequiredmax length 128
Responses
200
Unlocked
successbooleanstorage_idstringpage_countintegerwarningsstring[]400
not_encrypted / invalid_pdf / wrong password