Skip to main content

Endpoints

MethodPathDescription
GET/v1/contract-seriesList numbering series configured for the workspace.
POST/v1/contract-seriesCreate a new numbering series.
GET/v1/contract-series/:idRetrieve a numbering series.
PUT/v1/contract-series/:idUpdate a numbering series.
DELETE/v1/contract-series/:idDelete a numbering series.
POST/v1/contract-series/:id/set-defaultMark a series as the default for booking engine issuance.
GET/v1/contract-templatesList contract templates with optional locale filtering.
POST/v1/contract-templatesCreate a contract template (optionally with a translation).
GET/v1/contract-templates/:idRetrieve a contract template (optionally localized).
PUT/v1/contract-templates/:idUpdate template content or metadata.
DELETE/v1/contract-templates/:idDelete a contract template.
All endpoints require workspace-scoped API keys. Read operations use contract-series:read or contract-templates:read. Mutations require the corresponding :write scope.

Key concepts

  • Contract series control numbering, prefixes, and reset periods used when issuing contracts from bookings or workflows.
  • Contract templates store the base legal text, variables, and optional localized HTML bodies rendered when generating PDFs or e-sign payloads.
  • Localization is handled through optional translation payloads and the locale query parameter when fetching templates.
  • Setting a default series pins the numbering scheme used by the booking engine across automatic contract issuance flows.
  • Template JSON payloads retain structured sections/variables; keep them as JSON objects rather than strings.
  • Webhooks fire on create/update/delete events (contract-series.*, contract-template.*) so downstream systems can sync changes.