Skip to main content
POST
/
v2.0
/
ai
/
prepare-insight
Prepare Insight
curl --request POST \
  --url https://api.lofty.com/v2.0/ai/prepare-insight \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "leadId": 100001,
  "appointmentId": 200001
}
'
{
  "code": 0,
  "message": "success",
  "data": {}
}

Documentation Index

Fetch the complete documentation index at: https://developer.lofty.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
required

Bearer [access_token]

Content-Type
string
required

application/json

Body

application/json

Generate prepare insight request

leadId
integer<int64>
required

Lead ID

Example:

100001

appointmentId
integer<int64>
required

Appointment ID

Example:

200001

Response

Insight generated successfully

Common API response wrapper

code
integer<int32>

Response code, 0 means success

Example:

0

message
string

Response message

Example:

"success"

data
object

Response data payload