Create a reward
Rewards
Create a reward
Creates a reward customers can redeem with points. Scheduling
(start_date/end_date), time-of-day windows (time_active),
cooldowns, birthday gating, and free-text conditions are supported —
see the guides for how conditions powers product-specific rewards.
POST
Create a reward
Authorizations
API key from the Rigaly dashboard: Authorization: Bearer rgly_sk_...
Body
application/json
Example:
"Free Coffee"
Required range:
x >= 0Example:
500
Per-day time-of-day windows. Omit a day to leave it unrestricted; omit the whole field for always-active.
Example:
Free-text conditions shown to customers and returned on validation — use it to encode product restrictions your system enforces.
Maximum string length:
1000Available options:
none, limit, once Available options:
minute, hour, day, month