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
| Field | Description | Required | Format |
|---|---|---|---|
| ConvertAPI Secret | Your ConvertAPI Secret key for authentication | Yes | xxxxxxxxxxxxxxxxxxxxxxxx |
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.
Parameters
URL of the file to convert
Input file format (e.g. ‘docx’, ‘pdf’, ‘png’)
Output file format (e.g. ‘pdf’, ‘jpg’, ‘docx’)
Output filename without extension
Conversion timeout in seconds (Default:
300)Response
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.
Parameters
Base64-encoded file content
Input file format (e.g. ‘docx’, ‘pdf’)
Output file format (e.g. ‘pdf’, ‘jpg’)
Output filename without extension (Default:
converted)Conversion timeout in seconds (Default:
300)Response
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
Website URL to convert
Output format: ‘pdf’ or ‘jpg’ (Default:
pdf)Output filename without extension
Conversion timeout in seconds (Default:
300)Delay in seconds to let page fully load before conversion
PDF page orientation (‘portrait’ or ‘landscape’)
PDF page size (e.g. ‘a4’, ‘letter’, ‘legal’)
Allow web pages to run JavaScript (Default:
true)Block ads in the converting page (Default:
false)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.