Skip to content

Create Counter

Create a new auto-increment counter. Counters generate sequential numbers used as identifiers in forms and tasks (e.g., INC-0001). Requires ADMIN, MANAGE_OBJECTS, MANAGE_FORM, or MANAGE_TASK permissions.

Parameters

name * are required parametersdata typedescription
body.name*stringThe display name of the counter
body.prefixstringA prefix string prepended to each counter value
body.startValuenumberThe starting value for the counter (default: 1)
body.paddingnumberNumber of zero-padded digits (e.g., 4 for 0001)

Return Value

The created counter configuration.

Examples

bash
curl -X POST "https://app.wombat.software/api/{targetPath}/counter" \
  -H "Content-Type: application/json" \
  -H "Authentication: Bearer ..." \
  -d '{"name": "Incident Counter", "prefix": "INC-", "padding": 4}'

ENDPOINTS

post/api/{targetPath}/counter