Adds to each tag the mailboxes of the emails it is attached to, for one case (caseId) or for all cases; it only adds, so it is safe to repeat. Runs synchronously and reports how many tags changed. Super admin only.
POST
/admin/email/backfill-tag-sources
curl \
--request POST 'http://api.example.com/admin/email/backfill-tag-sources' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"caseId": "string"
}'
Request examples
{
"caseId": "string"
}
Response examples (200)
{
"data": {
"message": "Done",
"isSuccess": true
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}