curl --request POST \
--url https://api.klavis.ai/sandbox/close/{sandbox_id}/initialize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"leads": [
{
"name": "<string>",
"status_label": "<string>",
"contacts": [
{
"name": "<string>",
"emails": [
{}
],
"phones": [
{}
]
}
],
"opportunities": [
{
"note": "<string>",
"value": 123,
"confidence": 123,
"value_period": "<string>"
}
],
"tasks": [
{
"text": "<string>",
"date": "<string>",
"is_complete": true,
"assigned_to": "<string>"
}
]
}
]
}
'