Admin

Send the daily unread-notifications email digest (cron entry point)

Changed on

Internal — system/cron principal only (ADR-0017), not part of the public consumer surface. This is the verb Vercel Cron invokes on the 08:00 UTC schedule declared in vercel.json. Requires Authorization: Bearer <CRON_SECRET>, which Vercel attaches automatically when the project defines that variable.

get/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