Skip to main content

Endpoints

MethodPathDescription
GET/v1/contract-seriesList contract series for the current workspace.
POST/v1/contract-seriesCreate a new contract series.
GET/v1/contract-series/:idRetrieve a contract series by ID.
PUT/v1/contract-series/:idUpdate a contract series.
DELETE/v1/contract-series/:idDelete a contract series.
POST/v1/contract-series/:id/set-defaultSet a contract series as the booking-engine default.
Read operations require the contract-series:read scope. Creating, updating, deleting, or setting the default requires contract-series:write.

Key concepts

  • A series defines how contract numbers are generated: prefix, pattern, start value, and reset cadence (year, quarter, month, or never).
  • enforceGapless ensures numbers remain sequential even if contracts are deleted. enforceMonotonicDates blocks back-dating.
  • defaultForBe marks the series used automatically by the booking engine; only one series can be default at a time.
  • Webhook events (contract-series.created, contract-series.updated, contract-series.deleted, contract-series.set-as-default) fire on changes for downstream sync.