Skip to main content
POST
Create a level

Authorizations

Authorization
string
header
required

API key from the Rigaly dashboard: Authorization: Bearer rgly_sk_...

Body

application/json
rank
integer
required

1 = lowest tier

Required range: 1 <= x <= 6
Example:

2

name
string
required
Required string length: 1 - 60
Example:

"Gold"

manual_only
boolean
default:false

true = assignable only manually, no automatic threshold

threshold_points
integer | null

Required for automatic tiers; MUST be null when manual_only is true

Example:

10000

points_multiplier_enabled
boolean
points_multiplier
number
Example:

1.5

cashback_boost_enabled
boolean
cashback_boost_percentage
number
referral_bonus_enabled
boolean
referral_bonus_points
integer
tier_bonus_enabled
boolean
tier_bonus_points
integer

Response

Tier created

success
boolean
Example:

true

message
string
data
object