---
title: "Bulk Re Engage Route"
method: POST
path: "/api/crm/bulk-re-engage"
tags: ["CRM"]
---

# Bulk Re Engage Route

`POST /api/crm/bulk-re-engage`

## Request

- Base URL: `https://api.kolens.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolens.ai/api/crm/bulk-re-engage`
- Auth: HTTP bearer

Bulk-generate re-engagement drafts for a list of KOL usernames.

Workspace member only. Caps the batch at 50 usernames to keep both
LLM cost and round-trip predictable; over the cap → 400. Drafts are
persisted as ``ai_generated=True`` events on the conversation
timeline (one conversation per (workspace, platform, handle); the
service helper is idempotent on that triple).

Pre-charges 0.1 credit per username, rounded up to a whole credit
via ``math.ceil``, through the unified ``charge()`` orchestrator
(workspace pool first, then personal Supabase profile).
Insufficient credits → 402.

## Headers

- `x-kolens-user-id` string, nullable
- `x-kolens-workspace-id` string, nullable

## Request body

- BulkReEngageRequest: ``POST /api/crm/bulk-re-engage`` body. ``usernames`` is the list of KOL handles the user selected on /kols. ``goal`` steers the AI compose prompt; ``context`` is free-form workspace context (e.g. "launching a new phone case next month"). The route caps ``usernames`` at 50 (over -> 400 too_many_targets); pricing is 0.1 credit per username, rounded up to a whole credit via the existing ``charge()`` orchestrator.
  - `usernames` string[], required
  - `goal` 'reactivate' | 'promote_new_product' | 'feedback'
  - `context` string, nullable

## Response `200`

Successful Response

- BulkReEngageResponse
  - `results` BulkReEngageRow[], required
    - `username` string, required
    - `kol_conversation_id` string, nullable
    - `draft_event_id` string, nullable
    - `draft_subject` string, nullable
    - `draft_body` string, nullable
    - `error` string, nullable
  - `cost_credits` integer, required
  - `charged_from` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kolens/apis/kolens-api.md) · [All operations](https://skmtc.dev/kolens/apis/kolens-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kolens/apis/kolens-api/revisions/5d6865ab0a24?raw)
