Skip to main content
Take the next value from a counter

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Query Parameters

name
string
required

Name of the counter to take the value from, matched exactly.

Minimum string length: 1
Example:

"invoice_number"

Response

Returns the value taken from the counter.

current
string

Value taken from the counter, with the pattern's brackets stripped so it can be written onto a record as-is. It is already consumed - the counter has moved past it.

Example:

"ID-2025-ac-074"