latestOpenAPI 3.1.02026-08-13222180275.3 KB

cb25d3fef898

streaks

Send Streak Reminders Cron

Cron endpoint to send solo streak loss reminders (iOS Live Activity + Android chronometer).

Sends reminders to users at 10 PM local time who:

  • Haven't completed their daily quest today
  • Have an active streak (streak_count > 0)
  • Have a live activity token (iOS) or push token (Android)
  • Haven't received a reminder today

Requires x-api-key header for authentication.

post/api/streaks/send-reminders-cron

Query parameters

user_idstring nullable

Dev-only: target a single user (bypasses time-window/dedup). Rejected outside development.

Dev-only: target a single user (bypasses time-window/dedup). Rejected outside development.

Headers

x-api-keystring required

Response

Successful Response

{"stackTrail":"paths:/api/streaks/send-reminders-cron:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}