---
title: "Create internal notification email task"
method: POST
path: "/api/system/create-internal-notification-task"
tags: ["System"]
---

# Create internal notification email task

`POST /api/system/create-internal-notification-task`

## Request

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

Creates an outreach task for a specific type of internal notification email (like partnership confirmations)

## Request body

- object
  - `kol_id` string, required: ID of the KOL to notify
  - `campaign_id` string, required: ID of the relevant campaign
  - `type` 'partnership_confirmed' | 'partnership_canceled' | 'payment_processed', required: Type of notification to generate
  - `metadata` object: Additional data for the notification

## Response `200`

Notification email task created successfully

- object
  - `success` boolean
  - `data` object
    - `title` string: Generated email subject
    - `content` string: Generated email body
    - `content_version` string: Content template version
    - `kol` object: KOL details
    - `campaign` object: Campaign details
    - `type` string: Notification type
    - `task_id` string: ID of the created task

## Other responses

- `400`: Bad request - missing required fields or invalid notification type
- `404`: No email template found for the specified task type
- `500`: Failed to generate notification email

---

[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)
