v4
latestOpenAPI 3.1.02026-08-08221179273.1 KBstreaks
Update Oneoff Event
Update one-off daily event completion for a user.
Authentication methods:
- Regular user auth via Bearer token
- Admin auth via X-API-Key and X-User-ID headers
This will update the last_oneoff_daily_event timestamp and trigger streak calculation. Uses user's timezone from current_user if available, otherwise queries user_info table.
Query parameters:
- restore: If true, restore a broken streak by incrementing the last active streak instead of starting fresh.
Request body (optional):
- useFreeOffer: If true, increment the free_restore_count when restoring.
- txnId: Transaction ID if the user paid for the restore.
post/api/streaks/extend
Query parameters
restoreboolean
If true, restore a broken streak by incrementing the last active streak instead of starting fresh
If true, restore a broken streak by incrementing the last active streak instead of starting fresh
Headers
x-api-keystring nullable
x-user-idstring nullable
Request body
Response
Successful Response