friends
Send Friend Streak Reminders Cron
Cron endpoint to send friend streak loss reminders via Expo push.
POST /api/friends/streaks/send-reminders-cron
For each active streak pair (streak_count >= 2) at risk of expiring, notifies the partner who has completed today to nudge their friend. When neither has completed, user_a (canonical first partner) is notified. Users with multiple at-risk pairs receive one grouped notification.
Runs at 9 PM–10:45 PM local time (cron every 30 minutes). Requires x-api-key header for authentication.
post/api/friends/streaks/send-reminders-cron
Request
- Base URLhttps://api.usecreed.com (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-api-keystring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 23 revisions of this API.