---
title: "Backfill welcome emails for accounts that never received one (admin/cron)"
method: POST
path: "/v1/admin/backfill_welcome_emails"
tags: ["maintenance"]
---

# Backfill welcome emails for accounts that never received one (admin/cron)

`POST /v1/admin/backfill_welcome_emails`

Finds accounts with an email identity that do not have a 'welcome' row in email_sent, and sends them the welcome email. Safe to run repeatedly (idempotent). Use `limit` to control batch size.

## Query parameters

- `limit` integer — Max emails to send per call

## Headers

- `X-MAINTENANCE-KEY` string, nullable

## Response `200`

Backfill results with sent and skipped counts

- unknown

## Other responses

- `403` — Invalid maintenance key
- `422` — Validation Error

---

[API](https://skmtc.net/grove/apis/grove-api.md) · [All operations](https://skmtc.net/grove/apis/grove-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grove/grove-api/versions/f286b48a8105/schema)
