Skip to main content
POST
Set Event Details
For the complete documentation index, see llms.txt. Defines (or updates) an event that customers can claim tokens for. Events are the unit your backend hooks into: when something happens in your app (signup, birthday, purchase), you call /claim-tokens referencing the event’s name. You can also manage events from the Customer Rewards dashboard.

Request Body

string
required
Lowercase event identifier (e.g. "signup", "birthday", "buy-ticket")
number
required
Tokens awarded per claim. Decimals allowed.
boolean
required
true for one-time events (signup, birthday). false for repeatable events (purchase, daily check-in).

Response

string
Reference identifier for the configuration