Qomplement Fill PDF API

The Fill PDF API from Qomplement — 1 operation(s) for fill pdf.

Operations 1

POST /v1/fill/pdf Fill Pdf #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/qomplement-fill-pdf-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

qomplement-fill-pdf-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: StructDatafy API Keys Fill PDF API
  description: Document extraction, PDF filling, and Excel filling API
  version: 1.0.0
servers:
- url: https://developer-api.qomplement.com/v1
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Fill PDF
paths:
  /v1/fill/pdf:
    post:
      tags:
      - Fill PDF
      summary: Fill Pdf
      description: 'Fill a PDF form using source documents, natural language instructions, or explicit mappings.


        Three ways to fill:

        1. **Source documents** — upload source doc(s), AI extracts and maps data to form fields

        2. **Instructions** — describe what to fill in plain language

        3. **Explicit mappings** — provide JSON {field_name: value} pairs


        At least one of source_files, instructions, or field_mappings must be provided.'
      operationId: fill_pdf_v1_fill_pdf_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_fill_pdf_v1_fill_pdf_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_fill_pdf_v1_fill_pdf_post:
      properties:
        target_pdf:
          type: string
          format: binary
          title: Target Pdf
          description: Target PDF form to fill
        source_files:
          anyOf:
          - items:
              type: string
              format: binary
            type: array
          - type: 'null'
          title: Source Files
          description: Source document(s) to extract data from
        model:
          type: string
          title: Model
          description: 'OCR model: qomplement-OCR-v1 or qomplement-OCR-XL-v1'
          default: qomplement-OCR-v1
        instructions:
          anyOf:
          - type: string
          - type: 'null'
          title: Instructions
          description: Natural language instructions for filling (e.g. "Fill client name as 'Acme Corp'")
        field_mappings:
          anyOf:
          - type: string
          - type: 'null'
          title: Field Mappings
          description: 'JSON explicit mappings {field: value}'
        flatten:
          type: boolean
          title: Flatten
          description: Flatten form after filling
          default: false
        webhook_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Webhook Url
      type: object
      required:
      - target_pdf
      title: Body_fill_pdf_v1_fill_pdf_post
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError