JavaScript
Admin
Create points levels
Create points levels. Maximum 100 levels per request.
POST
JavaScript
Authorizations
Headers
The tenant identifier for multi-tenant organisations. Required when the organisation has multi-tenancy enabled. Pass your own internal customer ID for the tenant. Ignored for single-tenant organisations.
Path Parameters
The UUID of the points system.
Body
application/json
Array of levels to create. Maximum 100 levels per request.
Required array length:
1 - 100 elementsThe name of the level.
Example:
"Bronze"
A unique key for the level. Only alphanumeric characters, hyphens, and underscores are permitted.
Pattern:
^[a-zA-Z\d-_]+$Example:
"bronze"
The threshold points value for the level.
Required range:
x >= 0Example:
100
An optional description of the level.
Example:
"Starting level"
An optional badge for the level.