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