---
title: "Ai Draft Route"
method: POST
path: "/api/crm/conversations/{conversation_id}/ai/draft"
tags: ["CRM"]
---

# Ai Draft Route

`POST /api/crm/conversations/{conversation_id}/ai/draft`

## 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/conversations/{conversation_id}/ai/draft`
- Auth: HTTP bearer

## Path parameters

- `conversation_id` string, required

## Headers

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

## Request body

- DraftOutreachRequest
  - `prompt_hint` string, nullable

## Response `200`

Successful Response

- DraftOutreachResponse
  - `subject` string, required
  - `body_plain` string, required
  - `body_html` string, nullable
  - `rationale` string, required
  - `recommended_send_time` string, nullable
  - `tokens_used` integer, required
  - `model` 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)
