Generates a call script based on lead information and an associated task.
curl --request POST \
--url https://api.lofty.com/v2.0/ai/call-script \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"leadId": 100001,
"taskId": 300001
}
'{
"context": "<string>",
"objectiveSuggestion": [
"<string>"
],
"keyTalkingPoints": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
}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.
curl --request POST \
--url https://api.lofty.com/v2.0/ai/call-script \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"leadId": 100001,
"taskId": 300001
}
'{
"context": "<string>",
"objectiveSuggestion": [
"<string>"
],
"keyTalkingPoints": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
}