---
title: "Create outreach email tasks for KOLs"
method: POST
path: "/api/create-outreach-task"
tags: ["Tasks"]
---

# Create outreach email tasks for KOLs

`POST /api/create-outreach-task`

## Request

- Base URL: `https://api.kolect.com`
- URL: `https://api.kolect.com/api/create-outreach-task`
- Auth: HTTP bearer

Creates outreach tasks for pending KOLs associated with campaigns in the generating state, including generating personalized email content

## Request body

- object
  - `campaign_id` string: Optional ID of specific campaign to process
  - `count` string: Maximum number of outreach tasks to create (1-20)

## Response `200`

Outreach tasks created successfully

- object
  - `results` object[]: Processing results for each KOL
    - `success` boolean
    - `data` object: Created task details (when successful)
    - `error` object: Error details (when failed)

## Other responses

- `500`: Server error

---

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