Skip to content

Email the owner about new sign-ups (GET)

GET
/cron/signup-notify
curl --request GET \
--url https://example.com/api/cron/signup-notify

Claims new accounts in auth.users that have not been reported yet and emails one notification per account to SIGNUP_NOTIFY_EMAIL. E2E identities are resolved without sending. Protected by CRON_SECRET via the x-cron-secret header. Scheduled hourly by the signup-notify RunsGreen schedule in .slipstream.json (the pg_cron twin in supabase/migrations is inert — the extension is not installed).

Sign-up notification run counts

Media type application/json
object
ok
required

False when any send or bookkeeping error occurred.

boolean
claimed
required

New accounts claimed by this run.

integer
sent
required

Notifications emailed to the owner.

integer
skipped
required

Claimed accounts deliberately not emailed (E2E identities).

integer
failed
required

Sends that failed; retried on a later run until the attempt ceiling.

integer
errors
required

Failures of any kind (claim, send, or outcome bookkeeping).

integer

Missing or invalid CRON_SECRET