Endpoints
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
translationpayloads and thelocalequery 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.