Document templates

Validate a draft against data

Compiles the draft, checks the data (the body's, else the sample data) against its schema and runs the template, without printing or billing. Always 200; valid says whether it would render.

post/v1/document-templates/{id}/validate

Request

  • Base URL: https://api.ironfang.com/render
  • URL: https://api.ironfang.com/render/v1/document-templates/{id}/validate
  • Auth: HTTP bearer

Request body

dataobject

Response

The answer.

errorstring

A compile or run error.

fieldsobject[]

Data problems by path.

validboolean

Changes

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