curl --request PUT \
--url https://voice.menaceui.com/api/v1/workflow/{workflow_id} \
--header 'authorization: <string>' \
--header 'X-API-Key: <string>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"workflow_definition": {},
"template_context_variables": {},
"workflow_configurations": {
"agent_setup": {
"agent_brief": "<string>",
"tone": "<string>",
"language": "<string>",
"voice_provider": "<string>",
"voice_name": "<string>",
"behavior_notes": "<string>",
"workflow_stages": [
"<string>"
],
"agent_name": "<string>",
"use_case": "<string>",
"call_type": "inbound"
},
"voice_clone_id": "<string>",
"ambient_noise_configuration": {
"enabled": false,
"volume": 0.3
},
"max_call_duration": 300,
"max_user_idle_timeout": 10,
"smart_turn_stop_secs": 2,
"turn_start_strategy": "default",
"turn_start_min_words": 3,
"provisional_vad_pause_secs": 1.5,
"turn_stop_strategy": "transcription",
"dictionary": "",
"context_compaction_enabled": false,
"call_dispositions": [
{
"code": "<string>",
"description": "<string>"
}
],
"text_chat_inactivity_timeout_seconds": 1800,
"external_pbx_field_mappings": [
{
"context_path": "<string>",
"destination_field": "<string>"
}
],
"external_pbx_lead_headers": [
"<string>"
]
}
}'