---
title: "Save Custom Fields"
method: PUT
path: "/api/pdf/templates/{template_id}/custom-fields"
tags: ["PDF Form Processing"]
---

# Save Custom Fields

`PUT /api/pdf/templates/{template_id}/custom-fields`

Save custom fields (positions + descriptions) for a non-fillable PDF template.

## Path parameters

- `template_id` string, required

## Request body

- SaveCustomFieldsRequest — Request to save custom fields for a PDF template
  - `custom_fields` CustomFieldModel[], required
    - `id` string, required
    - `name` string, required
    - `description` string
    - `page` integer
    - `x` number
    - `y` number
    - `width` number
    - `height` number
    - `type` string
    - `font_size` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/versions/718de1c0d866/schema)
