Pdfblocks
PDFBlocks is an API-based service for generating or processing PDF documents programmatically.
- Base URL:
https://api.pdfblocks.com - Auth:
header:X-Api-Key(pass your key via theapiKeyinput)
Operations
addpasswordv1— POST /v1/add_password — Add a password to a PDFaddrestrictionsv1— POST /v1/add_restrictions — Add restrictions to a PDFaddimagewatermarkv1— POST /v1/add_watermark/image — Add an image watermark to a PDFaddtextwatermarkv1— POST /v1/add_watermark/text — Add a text watermark to a PDFextractpagesv1— POST /v1/extract_pages — Extract pages from a PDFmergedocumentsv1— POST /v1/merge_documents — Merge PDF documents
Inputs
apiKey— your pdfblocks 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: addpasswordv1
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: addpasswordv1, addrestrictionsv1, addimagewatermarkv1, addtextwatermarkv1, extractpagesv1, mergedocumentsv1 |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |