Overview
Add ConvertAPI to any ModuleX agent or workflow. File-format conversion (PDF, DOCX, JPG, etc.), base64 file conversion, web-page-to-PDF rendering, and format-discovery against the ConvertAPI v2 REST endpoints (v2.convertapi.com).
Categories: Productivity & Collaboration · Utilities · Convert · Documents · Auth: API Key · Actions: 4
Authentication
API Key Authentication
Authenticate using your ConvertAPI Secret keyRequired Credentials
Available Actions
convert_file — Convert a file from a URL to another format. Supports hundreds of conversions including PDF, DOCX, JPG, PNG, XLSX, and more.
convert_file — Convert a file from a URL to another format. Supports hundreds of conversions including PDF, DOCX, JPG, PNG, XLSX, and more.
convert_base64_file — Convert a base64-encoded file to another format. Useful when file content is already in memory.
convert_base64_file — Convert a base64-encoded file to another format. Useful when file content is already in memory.
convert_web_url — Convert a web page URL to PDF or JPG. Renders the page and captures it as a document or image.
convert_web_url — Convert a web page URL to PDF or JPG. Renders the page and captures it as a document or image.
Parameters
string
required
Website URL to convert
string
Output format: ‘pdf’ or ‘jpg’ (Default:
pdf)string
Output filename without extension
integer
Conversion timeout in seconds (Default:
300)integer
Delay in seconds to let page fully load before conversion
string
PDF page orientation (‘portrait’ or ‘landscape’)
string
PDF page size (e.g. ‘a4’, ‘letter’, ‘legal’)
boolean
Allow web pages to run JavaScript (Default:
true)boolean
Block ads in the converting page (Default:
false)boolean
Try to remove cookie consent popups (Default:
false)Response
Limits & Quotas
- Conversions cost credits;
get_supported_formatsis free. - Long-running conversions accept a per-call
timeout(default 300s). - Failures (non-200, empty
Files, exceptions) surface assuccess=Falsewitherror.