How to autorotate scanned PDF pages
The /pdf/makesearchable endpoint supports PDF page rotation. To do this, please add the profiles param below:
{ "profiles": "{ 'OCRDetectPageRotation': true }"}Aside from fixing the page rotation, this will turn your PDF into searchable. To convert it back to unsearchable PDF, you may use the /pdf/makeunsearchable endpoint.
For more information, please see the API Docs here https://developer.pdf.co/api/pdf-change-text-searchable/searchable