Skip to main content
A counter issues sequential identifiers, such as document numbers, following a pattern that combines fixed text, date segments and incrementing digits or letters — for example ID-{year}-{###}. A counter can restart whenever one of its date segments changes, such as at the start of each year. Create, read and update counters, and take the next value from one.

Endpoints

  • GET /counters — Retrieve a counter
  • POST /counters — Create a counter
  • PUT /counters — Update a counter
  • GET /counters/next — Take the next value from a counter