Add file attachment to PDF
WriteAttach a file to a PDF document.
Permissions and limits
Account permissions
- A pdfRest API key
A repeated request may repeat the external action. Review the previous result before retrying a write.
Upload, convert, OCR, extract, edit, merge, split, compress, redact and flatten PDFs with pdfRest.
Explore 50 workflow actions for pdfRest, including account permissions and operation limits.
Choose an action in the workflow builder, connect an account, and map its inputs. These actions are available in the catalog; your account access and a successful test determine whether they work for your setup.
Attach a file to a PDF document.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Insert one or more images into a PDF with optional sizing, page selection, reuse, and tagging controls.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Draw line and rectangle objects in a PDF.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Insert styled tables into a PDF.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Insert text blocks into a PDF at specified locations with custom font, styling, and optional tagging settings for newly added content.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Apply a watermark to selected PDF pages: - Text watermark , Customize the font, text size, and color.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Complete the PDF text-redaction workflow: 1.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Apply Text and Data Mining (TDM) reservation metadata to a PDF.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Compress any number of supported files into a ZIP archive by repeating file and/or id[] parameters.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Compress a PDF to reduce its file size.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Convert PDF colors with precise document color control through custom ICC profiles and a library of print, screen, web, and grayscale presets.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Convert a PDF into BMP image files, one output image per page.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Convert a PDF into GIF image files, one output image per page.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Convert a PDF into JPEG image files, one output image per page.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Convert PDF documents into clean, structured Markdown format, facilitating content repurposing, easy text manipulation, and LLM training.
Converts a PDF to an editable Microsoft Excel document.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Converts a PDF to a Microsoft PowerPoint document.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Converts a PDF to an editable Microsoft Word document.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Convert a PDF to one of the following PDF/A conformance levels: - PDF/A-1b , Provides basic visual conformance.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Convert a PDF to one of the following PDF/X standards: - PDF/X-1a , Requires embedded fonts and CMYK or spot colors.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Convert a PDF into PNG image files, one output image per page.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Convert a PDF to PostScript level 2 or level 3.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Convert a PDF into TIFF image files, one output image per page.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Convert any of the following supported inputs to PDF: | Input type | Supported formats | | --- | --- | | Microsoft Word | .doc, .docx | | Microsoft Excel | .xls, .xlsx | | Microsoft PowerPoint |.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Convert XFA forms to AcroForms, improving compatibility so forms can be accessed and edited across a wider range of PDF readers and applications.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Create a validated ZUGFeRD or Factur-X PDF/A-3 invoice from CII XML.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Create a new blank PDF with a precisely defined page size, page count, and orientation as a foundation for programmatic PDF generation.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Delete a previously uploaded or generated resource file by ID.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Delete one or more resource files by ID.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Export form-field data from an AcroForm or XFA-based PDF to an external data file.
Extract all embedded images from a PDF file, or from a specified page range, and return one resource per extracted image in its original JPG, PNG, or TIFF format while preserving its compression and.
Extract all text from a PDF, optionally including style and/or position information.
Flatten all annotations in a PDF to collapse their appearances into page content and make them no longer editable.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Flatten static and dynamic XFA forms and AcroForms so fields are no longer editable while preserving form data and improving compatibility with standard PDF viewers and processing tools.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Flatten all layers in a PDF to collapse content from multiple layers onto a single layer.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Flatten transparent PDF objects with configurable quality to improve RIP speed in prepress workflows and support workflows that do not handle transparency.
A repeated request may repeat the external action. Review the previous result before retrying a write.
PDF text redaction is a two-step process: 1.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Import data into matching fields of an AcroForm or XFA-based PDF whose form fields have edit permissions enabled.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Linearize and restructure a PDF for fast web view so it can be loaded one page at a time from web servers.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Merge any number of PDF file and/or existing id[] inputs in the order specified.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Use optical character recognition (OCR) to identify text within images embedded in a PDF and place the detected text behind those images, producing searchable and extractable text.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Poll for the status of an asynchronous API request.
Return detailed information about a PDF document and its contents to assess its current state and drive conditional processing.
Rasterize each PDF page to a flattened image, removing dependencies on fonts and vector elements for consistent rendering and printing.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Retrieve a resource file directly, its URL, or metadata about it by ID.
Set one or more PDF page boundary boxes: | Page box | Purpose | | --- | --- | | MediaBox | Defines the page size.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Split one PDF into one or more output files.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Upload protected workflow files to pdfRest; the answer lists each file's resource ID for later calls.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Fetch files from public links into pdfRest; the answer lists each file's resource ID.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Validate a completed ZUGFeRD or Factur-X hybrid invoice without modifying it.
Use the account and permissions required for your process. Review the connection check before configuring a workflow action.
Select a listed operation and map its required inputs. Use test records and add a human approval before writes that need review.
Inspect step outputs and confirm the result in pdfRest. A saved workflow is not a completed provider action.