curl --request POST \
--url https://api.upon-ai.com/api/llms \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspaceId": 42,
"display_name": "Concierge with cold transfer",
"model": "gpt-4o-mini",
"general_prompt": "You are the voice of UponAI. Help callers and transfer them when needed.",
"begin_message": "Hi there! Thanks for calling.",
"responsiveness": "fast",
"general_tools": [
{
"type": "transfer_call",
"name": "transfer_to_support",
"description": "Transfer the caller to support when they ask for a human.",
"transfer_destination": {
"type": "predefined",
"number": "+18885551212"
},
"transfer_option": {
"type": "cold_transfer",
"cold_transfer_mode": "sip_invite",
"show_transferee_as_caller": false
}
}
]
}
'