Email the owner about new sign-ups (POST)
POST
/cron/signup-notify
const url = 'https://example.com/api/cron/signup-notify';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/cron/signup-notifySame as GET. Preferred by pg_cron net.http_post. Protected by CRON_SECRET via the x-cron-secret header.
Responses
Section titled “ Responses ”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