---
title: "Admin Reseed Welcome"
method: POST
path: "/v1/admin/handles/{handle_id}/reseed-welcome"
tags: ["admin"]
---

# Admin Reseed Welcome

`POST /v1/admin/handles/{handle_id}/reseed-welcome`

## Request

- Base URL: `https://www.tandem-cc.com` (the document declares no server; this is the origin it was published from)
- URL: `https://www.tandem-cc.com/v1/admin/handles/{handle_id}/reseed-welcome`
- Auth: none declared

Wipe an existing handle's welcome thread(s) and re-seed with the
current template.

Brian m_b4372290-follow-up (Leslie session 2026-04-25). The welcome
template was retired mid-session — Leslie had already received the
old chatty version. This endpoint backfills: deletes any existing
welcome thread(s) that the well-known welcome address sent to this
handle, then runs the seed function again so the user sees the new
minimal welcome.

Why the matcher is conservative: only deletes threads where
from_handle is the known welcome sender AND the subject matches
a known welcome phrase (current OR previous). This intentionally
doesn't cascade to "any thread between Brian and the user" because
we don't want a future bug to wipe real conversation history.

Path:
    POST /v1/admin/handles/<handle>/reseed-welcome

Auth: admin API key.

Returns:
    {"ok": true, "handle": "leslie@tandem-cc.com", "deleted_threads": N,
     "reseeded": true}

## Path parameters

- `handle_id` string, required

## Headers

- `X-Tandem-Api-Key` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tandem-cc/apis/tandem-api.md) · [All operations](https://skmtc.dev/tandem-cc/apis/tandem-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tandem-cc/apis/tandem-api/revisions/3b804877b47c?raw)
