Integration

APITemplate.io integration

APITemplate.io document and image generation: fill a visual template with JSON data to produce a PDF or a social image, render arbitrary HTML or a live URL into a PDF with full control over paper size and margins, merge several PDFs, and manage the templates and generated objects of the account. Every call authenticates with an API key sent in a header.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in APITemplate.io.Built from the 9 APITemplate.io tools below, on the connection you add once.

Common APITemplate.io use cases

  • archiving a published page as a PDF
  • producing an invoice from order data
  • finding a previously generated invoice
  • checking remaining quota before a batch
  • finding the identifier of a template by name
  • deleting a document once it has been delivered
  • binding a generated cover to a generated report
  • turning a generated report into a paginated PDF
  • producing an open graph image for each published article
  • monitoring monthly consumption

What you can do with APITemplate.io

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Pdf, 4 operations

  • create_pdfCreate pdfPOSTGenerates a PDF from an APITemplate.io template and JSON data.
  • create_pdf_from_htmlCreate pdf from htmlPOSTRenders HTML and CSS into a PDF.
  • create_pdf_from_urlCreate pdf from urlPOSTRenders a live URL into a PDF.
  • merge_pdfsMerge pdfsPOSTMerges PDFs given as URLs into a single document.

Object, 2 operations

  • delete_objectDelete objectGETDeletes a generated PDF or image.
  • list_objectsList objectsGETLists the generated PDFs and images of the account.

Account, 1 operation

  • get_account_informationGet account informationGETReturns the plan and usage of the APITemplate.io account.

Image, 1 operation

  • create_imageCreate imagePOSTGenerates a JPEG or PNG from an APITemplate.io image template.

Template, 1 operation

  • list_templatesList templatesGETLists the APITemplate.io templates of the account.

Use APITemplate.io from Claude Code, Cursor or Codex

Connect APITemplate.io in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its APITemplate.io operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect APITemplate.io

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect APITemplate.io once

    Add your APITemplate.io connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

APITemplate.io integration FAQ

What can you do with the APITemplate.io integration?

LiveContext exposes 9 operations on APITemplate.io, covering pdf, object, account and image. Common uses include archiving a published page as a PDF, producing an invoice from order data and finding a previously generated invoice.

Popular integrations

Browse the whole catalog