{
"type": 0,
"voice_id": "string",
"voice": "string",
"response_engine": {
"type": "string",
"conversation_flow_id": "string"
},
"agent_name": "string",
"agent_id": "string",
"last_modification_timestamp": 0,
"language": "string",
"languageId": "string",
"opt_out_sensitive_data_storage": true,
"max_call_duration_ms": 0,
"voicemail_detection_timeout_ms": 0,
"post_call_analysis_model": "string"
}
curl --location --request POST '/aiCall/saveAgent' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": 0,
"voice_id": "string",
"voice": "string",
"response_engine": {
"type": "string",
"conversation_flow_id": "string"
},
"agent_name": "string",
"agent_id": "string",
"last_modification_timestamp": 0,
"language": "string",
"languageId": "string",
"opt_out_sensitive_data_storage": true,
"max_call_duration_ms": 0,
"voicemail_detection_timeout_ms": 0,
"post_call_analysis_model": "string"
}'
{
"date": "string",
"status": 0,
"message": "string",
"data": {
"type": 0,
"voice_id": "string",
"voice": "string",
"response_engine": {
"type": "string",
"conversation_flow_id": "string"
},
"agent_name": "string",
"agent_id": "string",
"last_modification_timestamp": 0,
"language": "string",
"languageId": "string",
"opt_out_sensitive_data_storage": true,
"max_call_duration_ms": 0,
"voicemail_detection_timeout_ms": 0,
"post_call_analysis_model": "string"
},
"returnCode": 0,
"count": 0,
"isEmpty": true
}