Find and remove empty pages from PDF
The suggested workflow for finding and deleting empty pages (where empty page meanse a page without a text):
Call
pdf/infoendpoint to find number of pages in the documentUse
/pdf/convert/to/text-simplefor every page and check if returned text is empty or notIf page is empty then use
/pdf/edit/delete-pagesendpoint to delete this page (see https://developer.pdf.co/api/pdf-delete-pages for more details).Or use
/pdf/splitendpoint to split PDF to exclude given pages and thenpdf/mergeto merge into a new PDF.
If you use Zapier, Integromat/Make or similar plugin, you can use Custom API Call module to call any endpoint from PDF.co.