latestOpenAPI 3.1.02026-08-13222180275.3 KB
cb25d3fef898
gamification
Earn Reward
Award tokens to the user for completing a reward source.
- reward_key: The reward key identifier (e.g., 'quest_daily_reading', 'achievement_bible_read_10')
This endpoint is called when a user completes a quest, achievement, daily login, etc. The token amount is determined by the reward configuration in the database.
post/api/gamification/rewards/earn
Headers
x-user-idstring nullable
Request body
Response
Successful Response