Skip to main content

Endpoints

Read operations require the contract-templates:read scope. Mutations require contract-templates:write.

Key concepts

  • Templates store a structured templateJson payload with sections and merge variables consumed by PDF and e-sign workflows.
  • type distinguishes customer, supplier, and partner contract variants; omit it for all-purpose templates.
  • Optional translation blocks let you attach localized metadata and HTML bodies—fetch with locale (or lang) query parameters.
  • Webhook events (contract-template.created|updated|deleted) fire on changes for downstream sync.
  • Template variables can be documented inside translation.variables to help consumer apps populate dynamic data.