Skip to content

List loyalty tiers with user distribution counts

Requires VIEWER.

projectId
required
string

Project (tenant) identifier. Row-level tenant isolation is enforced on every query.

Tiers with userCount.

Media typeapplication/json
object
tiers
Array<object>
object
id
string
projectId
string
programId
string
programName
string
name
string
minValueScore
number
sortOrder
integer
userCount
integer
configJson
string
key
additional properties
any

Missing/invalid path input (e.g. projectId) or invalid JSON body.

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Not authenticated (401 via requireAuthenticated) or insufficient project role (403).

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}