PDF.co
pdf_coPDF.co is a REST API platform for PDF automation including PDF extraction, generation, editing, splitting, merging, form filling, barcode processing, OCR, document parsing, file conversion (PDF to Excel/CSV/JSON/XML/HTML/Image and vice versa), and AI-powered invoice parsing.
Acciones disponibles (33)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Get Account Balance InfoPDF_CO_ACCOUNT_BALANCE_INFOAcciónTool to get account balance info. use after authenticating to check remaining credits.
PDF_CO_ACCOUNT_BALANCE_INFOAcciónTool to get account balance info. use after authenticating to check remaining credits.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate BarcodePDF_CO_BARCODE_GENERATEAcciónTool to generate barcode images (qr, code128, code39, pdf417, etc.). use when you need to encode data into barcodes on the fly.
PDF_CO_BARCODE_GENERATEAcciónTool to generate barcode images (qr, code128, code39, pdf417, etc.). use when you need to encode data into barcodes on the fly.
Parámetros de entrada
namestringFilename for the generated barcode (extension added automatically).
typestringObligatorioBarcode type (e.g., Code128, QRCode, Code39, PDF417).
valuestringObligatorioData/content to encode in the barcode.
async_booleanProcess request asynchronously.
marginintegerMargin (white border) size around barcode in pixels.
addTextbooleanDisplay human-readable text below the barcode.
fontNamestringFont name for human-readable text (e.g., 'Arial').
fontSizeintegerFont size (points) for human-readable text.
backColorstringBarcode background color (hex or rgba).
foreColorstringBarcode foreground color (hex e.g., '#000000' or rgba string).
resolutionintegerImage resolution in DPI.
aspectRationumberAspect ratio (width/height) for 2D barcodes.
pdfPasswordstringPassword to protect PDF if output format is 'pdf'.
barcodeWidthintegerWidth of the barcode image in pixels.
outputFormatstringOutput image format ('png', 'jpg', 'pdf').
barcodeHeightintegerHeight of the barcode image in pixels.
caseSensitivebooleanTreat barcode value as case-sensitive.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert Excel to CSVPDF_CO_CONVERT_EXCEL_TO_CSVAcciónTool to convert an excel file (xls/xlsx) to csv. use when you have a public excel file url and need csv output. inline option returns data inline; otherwise provides download url.
PDF_CO_CONVERT_EXCEL_TO_CSVAcciónTool to convert an excel file (xls/xlsx) to csv. use when you have a public excel file url and need csv output. inline option returns data inline; otherwise provides download url.
Parámetros de entrada
urlstringObligatorioLink to source XLS or XLSX file to be converted to CSV
namestringDesired name for the output CSV file
pagesstringPages to convert (e.g., '0-2,4'), default is all pages
inlinebooleanIf true, returns CSV data inline; otherwise returns URL to CSV
passwordstringPassword for a protected Excel file, if applicable
profilesstringConversion profiles in JSON format, see PDF.co docs for structure
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert Excel to HTMLPDF_CO_CONVERT_EXCEL_TO_HTMLAcciónTool to convert an excel file to html. use when you have an excel url or file bytes and need html output.
PDF_CO_CONVERT_EXCEL_TO_HTMLAcciónTool to convert an excel file to html. use when you have an excel url or file bytes and need html output.
Parámetros de entrada
urlstringURL to the source Excel file (xls, xlsx, or csv).
filestringbinaryBinary content of the Excel file to upload as an alternative to 'url'.
namestringName for the resulting HTML file (e.g., 'report.html').
asyncbooleanSet to true to run the conversion asynchronously.
profilesstringConversion profiles as a JSON string.
extraParamsstringAdditional parameters as a JSON string.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert Excel to JSONPDF_CO_CONVERT_EXCEL_TO_JSONAcciónTool to convert an online excel or csv file to json format. use when you have a public file url and need structured data extraction.
PDF_CO_CONVERT_EXCEL_TO_JSONAcciónTool to convert an online excel or csv file to json format. use when you have a public file url and need structured data extraction.
Parámetros de entrada
urlstringObligatorioPublic URL of the source Excel/CSV file.
namestringDesired name for the generated JSON file.
pagesstringComma-separated page indices or ranges to process, e.g., '1,3-5'.
passwordstringPassword for password-protected files.
profilesstringCustom processing profiles in JSON format.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert Excel to TextPDF_CO_CONVERT_EXCEL_TO_TEXTAcciónTool to convert excel files to plain text. use after providing an excel file url to extract spreadsheet content.
PDF_CO_CONVERT_EXCEL_TO_TEXTAcciónTool to convert excel files to plain text. use after providing an excel file url to extract spreadsheet content.
Parámetros de entrada
urlstringObligatorioLink to the source Excel file (xls, xlsx, or csv).
namestringOptional name for the output file.
pagesstringComma-separated list of sheet indices to convert, e.g., '0,2'.
inlinebooleanSet to true to return data inline in response instead of URL.
encryptbooleanSet to true to encrypt the resulting file.
passwordstringPassword for password-protected Excel files.
profilesstringConversion profiles in JSON format.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert Excel to XMLPDF_CO_CONVERT_EXCEL_TO_XMLAcciónTool to convert an excel file to xml. use when needing xml output from xls/xlsx/csv synchronously or asynchronously.
PDF_CO_CONVERT_EXCEL_TO_XMLAcciónTool to convert an excel file to xml. use when needing xml output from xls/xlsx/csv synchronously or asynchronously.
Parámetros de entrada
urlstringObligatorioURL to the source file (xls, xlsx or csv).
namestringOutput file name.
asyncbooleanSet true to run asynchronously, returning a jobId.
inlinebooleanSet true to return XML inline, otherwise returns file URL.
callbackstringCallback URL for async mode, used when async is true.
profilesobjectProfiles settings.
expirationintegerLink expiration time in minutes.
httppasswordstringHTTP auth password for source URL.
httpusernamestringHTTP auth user name for source URL.
worksheetIndexintegerWorksheet index (1-based).
DataDecryptionIVstringInitialization vector for decryption.
DataEncryptionIVstringInitialization vector for encryption.
DataDecryptionKeystringDecryption key.
DataEncryptionKeystringEncryption key.
DataDecryptionAlgorithmstringenumDecryption algorithm (AES128, AES192, AES256).
AES128AES192AES256DataEncryptionAlgorithmstringenumEncryption algorithm (AES128, AES192, AES256).
AES128AES192AES256
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Document ParserPDF_CO_DOCUMENT_PARSERAcciónTool to parse documents based on predefined templates to extract structured data. use when you need to extract structured fields from a pdf by supplying a custom template.
PDF_CO_DOCUMENT_PARSERAcciónTool to parse documents based on predefined templates to extract structured data. use when you need to extract structured fields from a pdf by supplying a custom template.
Parámetros de entrada
urlstringuriPublic URL of the PDF to parse. Required if not uploading a file.
filestringbinaryRaw PDF file bytes to upload directly. Required if not providing a URL.
namestringCustom name for the output/result file.
templatestringObligatorioInline YAML/JSON parsing template to extract structured data
async_reqbooleanRun parsing asynchronously and return a result URL instead of inline data.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload FilePDF_CO_FILE_UPLOADAcciónTool to upload a local file to pdf.co. use when you need to stage a document on pdf.co for downstream processing.
PDF_CO_FILE_UPLOADAcciónTool to upload a local file to pdf.co. use when you need to stage a document on pdf.co for downstream processing.
Parámetros de entrada
namestringOptional filename to assign on PDF.co (defaults to original name).
file_pathstringObligatorioLocal filesystem path to the file to upload.
run_asyncbooleanWhether to execute the upload asynchronously (defaults to false).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check Job StatusPDF_CO_JOB_CHECKAcciónTool to check status and result of an asynchronous job. use after submitting a job to poll for completion.
PDF_CO_JOB_CHECKAcciónTool to check status and result of an asynchronous job. use after submitting a job to poll for completion.
Parámetros de entrada
jobidstringObligatorioThe unique identifier of the asynchronous job to check status for
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add Content to PDFPDF_CO_PDF_ADDAcciónTool to add content to an existing pdf. use when you need to overlay text, images, barcodes, or links before distributing the file.
PDF_CO_PDF_ADDAcciónTool to add content to an existing pdf. use when you need to overlay text, images, barcodes, or links before distributing the file.
Parámetros de entrada
urlstringObligatorioLink to the source PDF file
namestringDesired name for the result PDF file
pagesstringComma-separated page indices (e.g., '0,2-4') to process; defaults to all pages
objectsobject[]ObligatorioList of objects to add (text, image, barcode, link, document, etc.). See API docs for structure.
passwordstringPassword for protected PDF, if needed
run_asyncbooleanRun the process asynchronously; if true, returns a jobId for status checking
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Change PDF Text SearchablePDF_CO_PDF_CHANGE_TEXT_SEARCHABLEAcciónTool to make pdf text searchable using ocr. use when you need to add a searchable text layer to scanned or image-only pdf documents.
PDF_CO_PDF_CHANGE_TEXT_SEARCHABLEAcciónTool to make pdf text searchable using ocr. use when you need to add a searchable text layer to scanned or image-only pdf documents.
Parámetros de entrada
urlstringObligatorioPublic URL of the source PDF file.
rectstringComma-separated rectangle coordinates 'left,top,width,height' to limit OCR.
pagesstringPages to process (e.g., '0,2-5,7'). Defaults to all pages.
inlinebooleanWhether to return the processed PDF data inline (base64) or as a URL. Set to true for inline response, false for URL.
languagestringLanguage code for OCR (default: eng).
passwordstringPassword for encrypted PDF, if applicable.
profilesstringJSON string with advanced OCR profiles and configurations.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete PDF PagesPDF_CO_PDF_DELETE_PAGESAcciónTool to delete specific pages from a pdf file. use when you need to remove unwanted pages before further processing.
PDF_CO_PDF_DELETE_PAGESAcciónTool to delete specific pages from a pdf file. use when you need to remove unwanted pages before further processing.
Parámetros de entrada
urlstringObligatorioURL or base64-encoded content of the source PDF.
namestringOptional name for the resulting PDF file.
pagesstringObligatorioComma-separated list of page indices or ranges to delete (0-based). E.g., '0,2-4'.
passwordstringPassword for protected PDF file.
profilesstringOptional JSON string for advanced configuration.
async_jobbooleanProcess request asynchronously. If true, returns a job ID instead of immediate URL.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Extract PDF AttachmentsPDF_CO_PDF_EXTRACT_ATTACHMENTSAcciónTool to extract embedded attachments from a pdf. use when you need to retrieve embedded files from a pdf after uploading.
PDF_CO_PDF_EXTRACT_ATTACHMENTSAcciónTool to extract embedded attachments from a pdf. use when you need to retrieve embedded files from a pdf after uploading.
Parámetros de entrada
urlstringObligatorioURL of the input PDF file to process.
passwordstringPassword for protected PDF file (if applicable).
async_jobbooleanRun processing asynchronously. If true, returns a jobId for async processing.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find Text in PDFPDF_CO_PDF_FINDAcciónTool to find text in a pdf document. use when you need to locate keywords or regex patterns and get their page positions.
PDF_CO_PDF_FINDAcciónTool to find text in a pdf document. use when you need to locate keywords or regex patterns and get their page positions.
Parámetros de entrada
urlstringObligatorioPublicly accessible URL of the PDF file to search.
pagesstringComma-separated page ranges to search, e.g., '1-3,5'.
passwordstringPassword for protected PDF, if applicable.
profilesstringAdvanced JSON configuration for PDF processing.
regexSearchbooleanWhether to treat searchString as a regular expression (default: false).
searchStringstringObligatorioKeyword or regex pattern to find in the document.
caseSensitivebooleanWhether the search is case-sensitive (default: false).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
PDF Forms Info ReaderPDF_CO_PDF_FORMS_INFO_READERAcciónTool to extract form field information from a pdf. use when you need to retrieve names, types, and values of form fields.
PDF_CO_PDF_FORMS_INFO_READERAcciónTool to extract form field information from a pdf. use when you need to retrieve names, types, and values of form fields.
Parámetros de entrada
urlstringObligatoriouriPublicly accessible URL of the PDF file containing form fields.
inlinebooleanIf true, returns form fields details inline in the response.
passwordstringPassword for encrypted PDF, if applicable.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert Text to PDFPDF_CO_PDF_FROM_DOCUMENT_TXTAcciónTool to convert plain text data to pdf. use when you need to generate a pdf from raw text content or text file links.
PDF_CO_PDF_FROM_DOCUMENT_TXTAcciónTool to convert plain text data to pdf. use when you need to generate a pdf from raw text content or text file links.
Parámetros de entrada
urlstringObligatorioLink to source text file or raw text content.
namestringObligatorioName of the resulting PDF file (e.g., 'result.pdf').
profilesstringOptional JSON-formatted string with advanced API options.
async_jobbooleanRun processing asynchronously; if true, returns a jobId for status checking.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert Email to PDFPDF_CO_PDF_FROM_EMAILAcciónTool to convert email files (.eml/.msg) to pdf. use when you need to transform standalone email messages into pdf documents.
PDF_CO_PDF_FROM_EMAILAcciónTool to convert email files (.eml/.msg) to pdf. use when you need to transform standalone email messages into pdf documents.
Parámetros de entrada
urlstringObligatorioDirect URL to the input EML or MSG file.
namestringOptional name for the resulting PDF file.
profilesstringAdvanced configuration options as JSON-formatted string.
async_jobbooleanRun processing asynchronously; if true, returns a jobId for status checking.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert HTML to PDFPDF_CO_PDF_FROM_HTMLAcciónTool to convert html code or webpage url into a pdf document. use when you need to capture a webpage or html snippet as a pdf file.
PDF_CO_PDF_FROM_HTMLAcciónTool to convert html code or webpage url into a pdf document. use when you need to capture a webpage or html snippet as a pdf file.
Parámetros de entrada
urlstringObligatorioThe HTML page or resource URL to convert into PDF.
namestringDesired output filename for the PDF result.
footerstringHTML snippet for page footers applied to each page.
headerstringHTML snippet for page headers applied to each page.
marginsstringCustom page margins in '{top} {right} {bottom} {left}' format (units: px, mm, cm, in).
callbackstringWebhook URL to receive asynchronous results when async=true.
profilesstringAdvanced conversion profiles/settings as JSON string.
async_jobbooleanRun conversion as background job; returns jobId when true.
mediaTypestringCSS media type: 'print', 'screen', or 'none'.
paperSizestringPaper size: standard like 'Letter', 'Legal', 'A4'–'A6', or custom '200px 300px', '8in 10in'.
expirationintegerExpiration time in minutes for the output file link.
orientationstringDocument orientation: 'Portrait' or 'Landscape'.
printBackgroundbooleanInclude background graphics (colors/images) if true.
DoNotWaitFullLoadbooleanIf true, speeds up conversion by not waiting for full page load.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
PDF Info ReaderPDF_CO_PDF_INFO_READERAcciónTool to retrieve detailed information and metadata of a pdf. use when you need page count, author, encryption details, and other document properties.
PDF_CO_PDF_INFO_READERAcciónTool to retrieve detailed information and metadata of a pdf. use when you need page count, author, encryption details, and other document properties.
Parámetros de entrada
urlstringObligatoriouriURL to the source PDF file
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Merge PDFsPDF_CO_PDF_MERGEAcciónTool to merge multiple pdf files into one document. use when you need to combine several pdf urls into a single pdf file.
PDF_CO_PDF_MERGEAcciónTool to merge multiple pdf files into one document. use when you need to combine several pdf urls into a single pdf file.
Parámetros de entrada
namestringOptional name for the resulting PDF file (must end with .pdf)
urlsstringObligatorioComma-separated string of PDF URLs or a list of PDF URLs to merge. Each URL must point to a publicly accessible or presigned PDF file.
profilesstring(Advanced) Custom JSON profiles for processing.
run_asyncbooleanRun the merge asynchronously; if true returns a jobId for status checking.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Rotate PDF PagesPDF_CO_PDF_ROTATEAcciónTool to rotate selected pages in a pdf. use when you need to adjust the orientation of specific pages in an online pdf file before further processing.
PDF_CO_PDF_ROTATEAcciónTool to rotate selected pages in a pdf. use when you need to adjust the orientation of specific pages in an online pdf file before further processing.
Parámetros de entrada
urlstringObligatorioURL of the source PDF file to rotate
namestringOptional filename for the resulting PDF (should end with .pdf)
angleintegerObligatorioenumRotation angle in degrees; must be one of 90, 180, or 270
90180270pagesstringObligatorioComma-separated list of page indices or ranges to rotate (e.g., '0,2-5')
passwordstringPassword for encrypted PDFs, if required
run_asyncbooleanRun the operation asynchronously; if true, returns a jobId for status checking
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search and Delete Text in PDFPDF_CO_PDF_SEARCH_AND_DELETE_TEXTAcciónTool to search for and delete text in a pdf by keyword or regex. use when you need to remove sensitive or unwanted text from a pdf document.
PDF_CO_PDF_SEARCH_AND_DELETE_TEXTAcciónTool to search for and delete text in a pdf by keyword or regex. use when you need to remove sensitive or unwanted text from a pdf document.
Parámetros de entrada
urlstringObligatorioURL or base64 content of the source PDF file.
pagesstringComma-separated list of page indices or ranges to process (0-based), e.g., '0,2-5'.
passwordstringPassword for protected PDF if required.
async_jobbooleanRun operation asynchronously. Returns jobId if true.
regexSearchbooleanTreat searchString as regular expression.
searchStringstringObligatorioText string or regex pattern to search and delete.
caseSensitivebooleanEnable case-sensitive matching.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search and Replace Text in PDFPDF_CO_PDF_SEARCH_AND_REPLACE_TEXTAcciónTool to search for and replace text in a pdf document. use when you need to update specific text instances within an existing pdf file (e.g., changing invoice numbers).
PDF_CO_PDF_SEARCH_AND_REPLACE_TEXTAcciónTool to search for and replace text in a pdf document. use when you need to update specific text instances within an existing pdf file (e.g., changing invoice numbers).
Parámetros de entrada
urlstringObligatorioPublicly accessible URL of the source PDF file.
namestringOptional name for the resulting PDF file.
passwordstringPassword for protected PDF, if required.
async_jobbooleanSet to true to run process asynchronously (returns jobId).
regexSearchbooleanEnable regular expression search if true.
searchStringstringObligatorioText to search for in the document.
replaceStringstringObligatorioText to replace each found occurrence with.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Split PDFPDF_CO_PDF_SPLITAcciónTool to split a pdf into multiple files by page ranges. use when you need to extract specific pages or page ranges from a pdf.
PDF_CO_PDF_SPLITAcciónTool to split a pdf into multiple files by page ranges. use when you need to extract specific pages or page ranges from a pdf.
Parámetros de entrada
urlstringPublic URL of the PDF file to split.
namestringBase name for output files; each part receives a suffix.
pagesstringComma-separated or dash page ranges to split, e.g. '1-2,4'. 1-based indexing; omit to split all pages.
inlinebooleanReturn split documents inline (base64) instead of URLs.
callbackstringWebhook URL for async notifications; only used when run_async is True.
passwordstringOwner password for encrypted PDF files, if any.
profilesobjectAdvanced processing profiles as JSON-formatted dict.
file_pathstringLocal path to the PDF file to upload instead of using URL.
run_asyncbooleanRun processing asynchronously; returns jobId instead of immediate results.
expirationintegerMinutes before temporary output links expire; default is service default.
httppasswordstringHTTP basic auth password if the source URL is protected.
httpusernamestringHTTP basic auth username if the source URL is protected.
DataEncryptionIVstringBase64-encoded IV for output data encryption.
outputDataFormatstringSet to 'base64' to return split PDFs as base64 strings.
DataEncryptionKeystringBase64-encoded key for output data encryption.
DataEncryptionAlgorithmstringAlgorithm for user-controlled output encryption (AES128, AES192, AES256).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert PDF to CSVPDF_CO_PDF_TO_CSVAcciónTool to convert pdf or scanned images to csv format. use when you need to extract tabular data from a pdf into csv format.
PDF_CO_PDF_TO_CSVAcciónTool to convert pdf or scanned images to csv format. use when you need to extract tabular data from a pdf into csv format.
Parámetros de entrada
urlstringObligatorioLink to the PDF file to be converted.
langstringLanguage for OCR text recognition (e.g., 'eng', 'deu').
namestringOptional name for the output CSV file (must end with .csv).
pagesstringComma-separated page indices or ranges to convert (e.g., '1,3-5').
inlinebooleanIf true, returns CSV data inline; otherwise returns a URL to the CSV.
encryptbooleanIf true, encrypts the output CSV file.
passwordstringPassword for protected PDF files, if required.
profilesstringAdvanced conversion settings in JSON format.
run_asyncbooleanRun job asynchronously; returns jobId for status checking.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert PDF to HTMLPDF_CO_PDF_TO_HTMLAcciónTool to convert pdf documents to html. use when you need an html rendition of a pdf or scanned image.
PDF_CO_PDF_TO_HTMLAcciónTool to convert pdf documents to html. use when you need an html rendition of a pdf or scanned image.
Parámetros de entrada
urlstringURL to the source PDF file.
filestringbinaryBinary content of the PDF file to upload as an alternative to 'url'.
namestringDesired name for the resulting HTML file (e.g., 'result.html').
inlinebooleanIf true, returns raw HTML in the 'html' field instead of a link.
encryptbooleanWhether to encrypt the output HTML file.
profilesstringAdditional conversion profiles as a JSON string.
run_asyncbooleanSet to true to run the conversion asynchronously.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert PDF to ImagePDF_CO_PDF_TO_IMAGEAcciónTool to convert pdf pages to images (png, jpg, tiff). use when you need image previews of pdf content.
PDF_CO_PDF_TO_IMAGEAcciónTool to convert pdf pages to images (png, jpg, tiff). use when you need image previews of pdf content.
Parámetros de entrada
dpiintegerResolution in DPI for the output images (1-300).
urlstringObligatorioLink to the source PDF file.
pagesstringComma-separated list of page indices or ranges to convert. For example: '1,3-5' to convert pages 1, 3, 4, and 5.
passwordstringPassword for protected PDF files, if required.
profilesstringCustom JSON profiles for advanced conversion options.
async_jobbooleanRun processing asynchronously. Returns jobId when true.
imageFormatstringenumOutput image format: PNG (default), JPG, or TIFF.
PNGJPGTIFF
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert PDF to JSONPDF_CO_PDF_TO_JSONAcciónTool to convert pdf or scanned images to json format. use when you need a structured json representation of pdf content.
PDF_CO_PDF_TO_JSONAcciónTool to convert pdf or scanned images to json format. use when you need a structured json representation of pdf content.
Parámetros de entrada
urlstringLink to the PDF file to be converted.
filestringbinaryBinary content of the PDF file to convert.
namestringOptional name for the output JSON file (should end with .json).
asyncbooleanIf true, runs the job asynchronously; returns jobId for status checking.
pagesstringComma-separated page indices or ranges to convert (e.g., '1,3-5').
inlinebooleanIf true, returns JSON data inline; otherwise returns a URL.
passwordstringPassword for protected PDF files, if required.
profilesstringAdvanced conversion configuration in JSON format.
searchStringstringOptional text to search for in the PDF before conversion.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert PDF to TextPDF_CO_PDF_TO_TEXTAcciónTool to convert pdf or scanned images to plain text. use when you need raw text output preserving layout.
PDF_CO_PDF_TO_TEXTAcciónTool to convert pdf or scanned images to plain text. use when you need raw text output preserving layout.
Parámetros de entrada
urlstringObligatorioURL to the source PDF or image file.
langstringOCR language(s) code, e.g. 'eng', or 'eng+deu'.
namestringDesired name for the output file (e.g. 'result.txt').
rectstringExtraction rectangle in format '{x} {y} {width} {height}'.
pagesstringComma-separated page indices or ranges to process (e.g. '0,2-4').
inlinebooleanReturn text inline in response instead of URL.
unwrapbooleanUnwrap lines into a single line within table cells (only when lineGrouping='1').
callbackstringWebhook URL to receive callback when async=true.
passwordstringPassword for protected PDF files.
run_asyncbooleanRun process asynchronously; returns jobId if true.
expirationintegerExpiration time in minutes for the output file link.
httppasswordstringHTTP auth password for source URL.
httpusernamestringHTTP auth username for source URL.
lineGroupingstringLine grouping mode: '1', '2', or '3'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert PDF to XLSPDF_CO_PDF_TO_XLSAcciónTool to convert pdf or scanned images to xls format. use when you need to extract tabular data into an excel spreadsheet.
PDF_CO_PDF_TO_XLSAcciónTool to convert pdf or scanned images to xls format. use when you need to extract tabular data into an excel spreadsheet.
Parámetros de entrada
urlstringObligatorioLink to the PDF file to be converted.
namestringOptional name for the output XLS file (must end with .xls).
pagesstringComma-separated page indices or ranges to convert (e.g., '1,3-5').
passwordstringPassword for protected PDF files, if required.
profilesstringAdvanced conversion settings in JSON format.
run_asyncbooleanRun job asynchronously; returns jobId for status checking.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert PDF to XLSXPDF_CO_PDF_TO_XLSXAcciónTool to convert pdf or scanned images to xlsx (excel) format. use when you need structured spreadsheet output from a pdf.
PDF_CO_PDF_TO_XLSXAcciónTool to convert pdf or scanned images to xlsx (excel) format. use when you need structured spreadsheet output from a pdf.
Parámetros de entrada
urlstringObligatorioLink to the PDF file to be converted.
namestringOptional name for the output XLSX file (must end with .xlsx).
pagesstringComma-separated page indices or ranges to convert (e.g., '1,3-5').
inlinebooleanIf true, returns XLSX data inline; otherwise returns a URL to the XLSX.
encryptbooleanIf true, encrypts the output XLSX file.
passwordstringPassword for protected PDF files, if required.
profilesstringAdvanced conversion settings in JSON format.
run_asyncbooleanRun job asynchronously; returns processId for status checking.
expirationintegerExpiration time for the output link in minutes (default is 60).
optimizationstringOptimization mode, e.g., 'ocr'.
columns0BasedbooleanSet to true if column indices in profiles are zero-based.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert PDF to XMLPDF_CO_PDF_TO_XMLAcciónTool to convert pdf or scanned images to xml format. use when you need to extract structured data from pdf into xml.
PDF_CO_PDF_TO_XMLAcciónTool to convert pdf or scanned images to xml format. use when you need to extract structured data from pdf into xml.
Parámetros de entrada
urlstringObligatorioLink to the PDF file to be converted.
pagesstringComma-separated page indices or ranges to convert (e.g., '1,3-5').
passwordstringPassword for protected PDF files, if required.
profilesstringAdvanced conversion settings in JSON format.
run_asyncbooleanRun job asynchronously; returns jobId for status checking.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not