---
title: "Prepare Insight"
method: POST
path: "/v2.0/ai/prepare-insight"
tags: ["Intelligent Features"]
---

# Prepare Insight

`POST /v2.0/ai/prepare-insight`

Generates pre-meeting insight based on lead and appointment information.

## Headers

- `Authorization` string, required
- `Content-Type` string, required

## Request body

- GeneratePrepareInsightRequest — Generate prepare insight request
  - `leadId` integer, required — Lead ID
  - `appointmentId` integer, required — Appointment ID

## Response `200`

Insight generated successfully

- ApiCommonResponse — Common API response wrapper
  - `code` integer — Response code, 0 means success
  - `message` string — Response message
  - `data` object — Response data payload

## Other responses

- `400` — Invalid parameters
- `500` — Internal server error

---

[API](https://skmtc.net/lofty/apis/lofty-service-open-apis.md) · [All operations](https://skmtc.net/lofty/apis/lofty-service-open-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lofty/lofty-service-open-apis/revisions/23e640467118/schema)
