Admin

Send the daily unread-notifications email digest

Changed on

Internal — system/cron principal only (ADR-0017), not part of the public consumer surface. Triggered by Vercel Cron at 08:00 UTC daily; may also be invoked manually as a same-day retry. Requires Authorization: Bearer <CRON_SECRET>.

post/api/v1/admin/send-digest

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/v1/admin/send-digest
  • Auth: HTTP bearer

Response

Digest run completed (per-recipient outcomes; a partial failure does not fail the whole request).

eligible_usersinteger required

Distinct recipients with at least one eligible unread notification.

sentinteger required
failedinteger required
skippedinteger required

Already claimed for today (same-day re-invocation) — not a failure.

Changes