curl --location --request POST '/calls//actions/ai_assistant_start' \
--header 'Content-Type: application/json' \
--data-raw '{
"assistant": {
"id": "string",
"instructions": "You are a friendly voice assistant.",
"openai_api_key_ref": "string"
},
"client_state": "aGF2ZSBhIG5pY2UgZGF5ID1d",
"command_id": "891510ac-f3e4-11e8-af5b-de00688a4901",
"greeting": "Hello, can you tell me your age and where you live?",
"interruption_settings": {
"enable": true
},
"transcription": {
"model": "distil-whisper/distil-large-v2"
},
"voice": "Telnyx.KokoroTTS.af",
"voice_settings": {
"api_key_ref": "my_elevenlabs_api_key"
}
}'