# Zapier — DynamicPDF API Integrations
> zapier.com/apps/dynamicpdf-api/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
DynamicPDF API is a PDF development tool that allows generating, transforming, and inspecting PDFs using REST endpoints.

- App slug: dynamicpdf-api
- Operations published here: 10 (10 functions)

## Authentication
Zapier connects to DynamicPDF API via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection dynamicpdf-api
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/dynamicpdf-api/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect DynamicPDF API through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · dlex_layout_dlexpath`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "dynamicpdf-api", owner: "me" });

const { data } = await zapier.runAction({
  app: "dynamicpdf-api",
  actionType: "write",
  action: "dlex_layout_dlexpath",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action dynamicpdf-api write dlex_layout_dlexpath \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing DynamicPDF API's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "dynamicpdf-api" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions dynamicpdf-api --page-size 50 --max-items 200 --json
```

### Functions (10)

Functions change something in DynamicPDF API.

#### Generate PDF From Remote DLEX Template
Generates a PDF by applying JSON LayoutData to a DLEX template stored in DynamicPDF API Storage.

- Type: write · Key: `dlex_layout_dlexpath`
- Requires: dlexPath, layoutDataFile
- Optional: outputFileName
- SDK: `runAction({ app: "dynamicpdf-api", actionType: "write", action: "dlex_layout_dlexpath" })`
- CLI: `npx zapier-sdk run-action dynamicpdf-api write dlex_layout_dlexpath`

#### Generate PDF From Local DLEX Template
Generates a PDF by applying LayoutData JSON to a local DLEX template and associated resource files.

- Type: write · Key: `dlex_layout_resources`
- Requires: layoutDataFile, resourceFiles, resourceFileNames
- Optional: outputFileName
- SDK: `runAction({ app: "dynamicpdf-api", actionType: "write", action: "dlex_layout_resources" })`
- CLI: `npx zapier-sdk run-action dynamicpdf-api write dlex_layout_resources`

#### Extract Image Metadata
Extracts metadata from an image.

- Type: write · Key: `image_info`
- Requires: file
- SDK: `runAction({ app: "dynamicpdf-api", actionType: "write", action: "image_info" })`
- CLI: `npx zapier-sdk run-action dynamicpdf-api write image_info`

#### Generate PDF From Instructions and Resources
Generates a PDF from an uploaded Instructions JSON file and accompanying resource files.

- Type: write · Key: `pdf`
- Requires: instructionsFile, resourceFiles, resourceFileNames
- Optional: outputFileName
- SDK: `runAction({ app: "dynamicpdf-api", actionType: "write", action: "pdf" })`
- CLI: `npx zapier-sdk run-action dynamicpdf-api write pdf`

#### Rasterize PDF Pages to Images
Converts PDF pages to rasterized images and returns them.

- Type: write · Key: `pdf_image`
- Requires: pdfFile
- Optional: sp, pc, if, qt, cf, da, dp, qa, bt, mp, imageSize, hd, vd, ht, wd, ut, mh, mw, hp, vp, stashImages, fileNamePrefix, includeBase64Data
- SDK: `runAction({ app: "dynamicpdf-api", actionType: "write", action: "pdf_image" })`
- CLI: `npx zapier-sdk run-action dynamicpdf-api write pdf_image`

#### Extract PDF Metadata
Extracts metadata from a PDF.

- Type: write · Key: `pdf_info`
- Requires: file
- SDK: `runAction({ app: "dynamicpdf-api", actionType: "write", action: "pdf_info" })`
- CLI: `npx zapier-sdk run-action dynamicpdf-api write pdf_info`

#### Generate PDF From JSON Instructions
Generates a PDF by sending the Instructions JSON as raw JSON (not multipart).

- Type: write · Key: `pdf_json`
- Requires: instructionsFile
- Optional: outputFileName
- SDK: `runAction({ app: "dynamicpdf-api", actionType: "write", action: "pdf_json" })`
- CLI: `npx zapier-sdk run-action dynamicpdf-api write pdf_json`

#### Extract PDF Security Info
Extracts the security and encryption details from a PDF document.

- Type: write · Key: `pdf_security_info`
- Requires: file
- SDK: `runAction({ app: "dynamicpdf-api", actionType: "write", action: "pdf_security_info" })`
- CLI: `npx zapier-sdk run-action dynamicpdf-api write pdf_security_info`

#### Extract PDF Text
Extracts text from a PDF.

- Type: write · Key: `pdf_text`
- Requires: file
- Optional: startPage, pageCount, textOrder
- SDK: `runAction({ app: "dynamicpdf-api", actionType: "write", action: "pdf_text" })`
- CLI: `npx zapier-sdk run-action dynamicpdf-api write pdf_text`

#### Extract XMP Metadata
Extracts XMP metadata from a PDF as XML.

- Type: write · Key: `pdf_xmp`
- Requires: file
- SDK: `runAction({ app: "dynamicpdf-api", actionType: "write", action: "pdf_xmp" })`
- CLI: `npx zapier-sdk run-action dynamicpdf-api write pdf_xmp`

## Links
- Full app page: zapier.com/apps/dynamicpdf-api/integrations
- MCP: zapier.com/mcp/dynamicpdf-api
- SDK: npmjs.com/package/@zapier/zapier-sdk