Documents
Add a field placed against text in the PDF
Names a phrase in the uploaded PDF ("Tenant signature") and where the field goes relative to it; the server works out the coordinates. For callers that cannot see the page. Use GET :id/text first when the phrase may appear more than once.
post/api/v1/documents/{id}/fields/anchored
Request
- Base URL: https://api.korala.ai
- URL: https://api.korala.ai/api/v1/documents/{id}/fields/anchored
- Auth: one of:
- API key in header X-API-Key
- bearer (a scheme the document does not define)
Path parameters
idstring required
Request body
Example request
{
"required": true,
"signingDate": true,
"label": "Your full name",
"acroFieldName": "topmostSubform[0].Page1[0].f1_01[0]",
"acroOptionValue": "married",
"options": [
"CA",
"NY"
],
"maxLength": 11,
"inputMask": "###-##-####",
"validationPattern": "^\\d{3}-\\d{2}-\\d{4}$",
"validationMessage": "Enter your SSN as XXX-XX-XXXX",
"dateFormat": "MM-DD-YYYY",
"groupKey": "fed_tax_class",
"groupRequired": true,
"requiredWhenValue": "Other",
"fontSize": 9,
"textColor": "#000080",
"fontFamily": "Helvetica-Bold",
"anchorText": "Tenant signature"
}Response
Example response
{
"inputMask": "###-##-####",
"fontSize": 9,
"textColor": "#000080",
"fontFamily": "Helvetica-Bold"
}Changes
No recorded changes to this operation across all 1 revision of this API.