Templates

Get detected merge fields for a DOCX template

Returns the auto-detected {{placeholder}} merge fields from the DOCX template body. Only available for DOCX templates.

get/api/v1/templates/{id}/merge-fields

Request

  • Base URL: https://api.korala.ai
  • URL: https://api.korala.ai/api/v1/templates/{id}/merge-fields
  • Auth: one of:
    • API key in header X-API-Key
    • bearer (a scheme the document does not define)

Path parameters

idstring required

Response

namestring required
occurrencesnumber required

Example response

[
  {
    "name": "client_name",
    "occurrences": 3
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.