Templates
List embedded AcroForm fields of the base PDF
Fillable PDFs (e.g. IRS tax forms like the W-9 or W-8BEN) embed their form fields in the file. This returns each field with its exact position, type, and name, so template fields can be created with acroFieldName links instead of guessed coordinates. Returns an empty list for flat PDFs.
get/api/v1/templates/{id}/form-fields
Request
- Base URL: https://api.korala.ai
- URL: https://api.korala.ai/api/v1/templates/{id}/form-fields
- Auth: one of:
- API key in header X-API-Key
- bearer (a scheme the document does not define)
Path parameters
idstring required
Response
Example response
[
{
"name": "topmostSubform[0].Page1[0].f1_01[0]",
"pageNumber": 1,
"xPosition": 59,
"yPosition": 118,
"width": 517,
"height": 14,
"maxLength": 9,
"label": "Employee's social security number",
"fontSize": 9,
"fontFamily": "Helvetica",
"textColor": "#000080",
"optionValue": "married",
"options": [
"CA",
"NY"
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.