Anvil · Schema

Anvil Fill PDF Request

Request body schema for the Anvil PDF Filling API endpoint POST /api/v1/fill/{pdfTemplateID}.pdf

PDFPDF FillingPDF GenerationE-SignaturesDocument AutomationOCRDocument AIGraphQLRESTWorkflowsWeb FormsPaperwork Automation

Properties

Name Type Description
title string Optional title to encode into the PDF document metadata.
fontFamily string Font family for text fields. Default is Noto Sans.
fontSize integer Font size for text fields in points.
textColor string Hex color code (6 digits) for text field color.
alignment string Text alignment for text fields.
fontWeight string Font weight for text fields.
useInteractiveFields boolean When true, preserves interactive/fillable fields instead of flattening.
defaultReadOnly boolean When true, all fields are set as read-only in the output.
data object Field data to fill into the template. Keys are field aliases.
View JSON Schema on GitHub

JSON Schema

anvil-fill-pdf-request.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/anvil/main/json-schema/anvil-fill-pdf-request.json",
  "title": "Anvil Fill PDF Request",
  "description": "Request body schema for the Anvil PDF Filling API endpoint POST /api/v1/fill/{pdfTemplateID}.pdf",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Optional title to encode into the PDF document metadata."
    },
    "fontFamily": {
      "type": "string",
      "description": "Font family for text fields. Default is Noto Sans.",
      "default": "Noto Sans"
    },
    "fontSize": {
      "type": "integer",
      "description": "Font size for text fields in points.",
      "default": 10,
      "minimum": 1,
      "maximum": 100
    },
    "textColor": {
      "type": "string",
      "description": "Hex color code (6 digits) for text field color.",
      "pattern": "^#[0-9A-Fa-f]{6}$",
      "examples": ["#3E3E57", "#000000"]
    },
    "alignment": {
      "type": "string",
      "description": "Text alignment for text fields.",
      "enum": ["left", "center", "right"],
      "default": "left"
    },
    "fontWeight": {
      "type": "string",
      "description": "Font weight for text fields.",
      "enum": ["normal", "bold", "italic", "boldItalic"],
      "default": "normal"
    },
    "useInteractiveFields": {
      "type": "boolean",
      "description": "When true, preserves interactive/fillable fields instead of flattening.",
      "default": false
    },
    "defaultReadOnly": {
      "type": "boolean",
      "description": "When true, all fields are set as read-only in the output.",
      "default": false
    },
    "data": {
      "description": "Field data to fill into the template. Keys are field aliases.",
      "oneOf": [
        {
          "type": "object",
          "additionalProperties": true,
          "description": "Single set of field values keyed by field alias."
        },
        {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          },
          "description": "Array of field value objects for multi-section templates."
        }
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/anvil-fill-pdf-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.