curl --request POST \
--url https://api.operator.xyz/conversational_agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Operator-Version: <operator-version>' \
--data '{
"name": "<string>",
"description": "<string>",
"config": {
"personas": [
{
"name": "<string>",
"voice": {
"provider": "operator",
"id": "Female 1"
}
}
],
"voice": {
"ambient_sound": null,
"busy_sound": null,
"boosted_keywords": [
"<string>"
]
},
"runtime": {
"model": "openai/gpt-4o",
"prompt": {
"text": "<string>",
"type": "fixed"
},
"variables": [
{
"name": "<string>",
"description": "<string>",
"default_value": null
}
]
},
"tool": {
"tools": [
{
"ns": "syscall",
"name": "<string>"
}
],
"transfers": [
{
"id": "<string>"
}
]
},
"language": {
"default_language": "English",
"supported_languages": [
"English"
]
},
"channel": {
"is_voicemail_enabled": true
}
}
}'