---
title: "Generate Call Script"
method: POST
path: "/v2.0/ai/call-script"
tags: ["Intelligent Features"]
---

# Generate Call Script

`POST /v2.0/ai/call-script`

Generates a call script based on lead information and an associated task.

## Headers

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

## Request body

- GenerateCallScriptRequest — Generate call script request
  - `leadId` integer, required — Lead ID
  - `taskId` integer, required — Task ID

## Response `200`

Call script generated successfully

- CallScriptResponse — Generated call script
  - `context` string — Call background context overview
  - `objectiveSuggestion` string[] — Suggested call objectives
  - `keyTalkingPoints` KeyTalkingPoint[] — Key talking points
    - `title` string — Talking point title
    - `value` string[] — Talking point content items

## 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/versions/23e640467118/schema)
