---
title: "Get Field Positions"
method: POST
path: "/api/pdf/field-positions"
tags: ["PDF Form Processing"]
---

# Get Field Positions

`POST /api/pdf/field-positions`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/pdf/field-positions`
- Auth: none declared

Get the positions of form fields in the PDF for UI overlay.

Args:
    file: PDF file (optional if pdf_content provided)
    pdf_content: Base64-encoded PDF (optional if file provided)

Returns:
    Dict with field positions by page

## Query parameters

- `pdf_content` string, nullable

## Request body `multipart/form-data`

- BodyGetFieldPositionsApiPdfFieldPositionsPost
  - `file` string, binary

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
