π¦ ClawHub
Document to PDF
by @rishabhdugar
Convert office documents (DOCX, DOC, PPT, PPTX, XLS, XLSX, CSV, TXT, ODT, RTF) to PDF via the PDFAPIHub cloud API. Documents are uploaded to pdfapihub.com fo...
TERMINAL
clawhub install document-to-pdfπ About This Skill
name: document-to-pdf description: "Convert office documents (DOCX, DOC, PPT, PPTX, XLS, XLSX, CSV, TXT, ODT, RTF) to PDF via the PDFAPIHub cloud API. Documents are uploaded to pdfapihub.com for conversion. Requires a CLIENT-API-KEY."
Document to PDF
What It Does
Converts office documents to PDF via the PDFAPIHub hosted API. Your document is uploaded to PDFAPIHub servers for processing and the converted PDF is returned. Supports a wide range of input formats including Word, PowerPoint, Excel, and text files.When to Use
Supported Input Formats
doc, docx, odt, rtf, txt, ppt, pptx, odp, xls, xlsx, ods, csvRequired Inputs
Provide one of:url β public URL to the documentfile β base64-encoded document (set input_format too)file fieldAuthentication
This skill calls the PDFAPIHub hosted API athttps://pdfapihub.com/api. Your document is sent to PDFAPIHub servers for conversion.Send your API key in the CLIENT-API-KEY header.
Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.
Privacy note: Documents you convert are uploaded to PDFAPIHub's cloud service. Do not send confidential documents unless you trust the service. Files are auto-deleted after 30 days.
Use Cases
Aliases
/v1/convert/document/pdf is an alias for this endpointExample Usage
curl -X POST https://pdfapihub.com/api/v1/convert/docx/pdf \
-H "CLIENT-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://pdfapihub.com/sample.docx",
"output": "url"
}'