Api2Pdf
Api2Pdf is an API service for generating PDFs from HTML, URLs, templates, or documents.
- Base URL:
https://v2018.api2pdf.com - Auth:
header:Authorization(pass your key via theapiKeyinput)
Operations
chromefromurlget— GET /chrome/url — Convert URL to PDFwkhtmltopdffromurlget— GET /wkhtmltopdf/url — Convert URL to PDFzebraget— GET /zebra — Generate bar codes and QR codes with ZXING.chromefromhtmlpost— POST /chrome/html — Convert raw HTML to PDFchromefromurlpost— POST /chrome/url — Convert URL to PDFlibreconvertpost— POST /libreoffice/convert — Convert office document or image to PDF
Inputs
apiKey— your api2pdf API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: chromefromurlget
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: chromefromurlget, wkhtmltopdffromurlget, zebraget, chromefromhtmlpost, chromefromurlpost, libreconvertpost |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |