Body
application/json
Response
Successful Response
The response is of type any.
curl --request POST \
--url https://dev-voice-api.actualize.ae/api/v1/playground/tokens \
--header 'Content-Type: application/json' \
--data '
{
"agent_config": {
"agent": {
"id": "<string>",
"description": "<string>",
"welcome_text": "<string>",
"full_name": "<string>",
"language": "<string>"
},
"tts": {
"model": {
"provider": "<string>",
"model": "<string>",
"api_key": "<string>",
"base_url": "<string>"
},
"voice": "<string>",
"speed": "x-slow",
"volume": "silent",
"language": "en",
"emotion": {
"emotion": "anger",
"level": "lowest"
},
"metadata": {}
},
"stt": {
"model": {
"provider": "<string>",
"model": "<string>",
"api_key": "<string>",
"base_url": "<string>"
},
"language": "en",
"detect_language": false,
"interim_results": true,
"punctuate": true,
"metadata": {}
},
"llm": {
"model": {
"provider": "<string>",
"model": "<string>",
"api_key": "<string>",
"base_url": "<string>"
},
"temperature": 0.5,
"max_tokens": 60,
"system_prompt": "The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly.",
"metadata": {}
},
"vad": {
"min_speech_duration": 123,
"activation_threshold": 123,
"prefix_padding_duration": 123,
"min_silence_duration": 123,
"max_buffered_speech": 123,
"sample_rate": 8000,
"padding_duration": 123
},
"allow_interruptions": true,
"interrupt_speech_duration": 123,
"interrupt_min_words": 123,
"min_endpointing_delay": 123,
"preemptive_synthesis": true,
"end_of_turn_detection": true,
"background_noise_enabled": true
},
"agent_id": "<string>",
"platform": "<string>",
"session_id": "<string>",
"user_info": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"ttl": 123
}
'"<any>"curl --request POST \
--url https://dev-voice-api.actualize.ae/api/v1/playground/tokens \
--header 'Content-Type: application/json' \
--data '
{
"agent_config": {
"agent": {
"id": "<string>",
"description": "<string>",
"welcome_text": "<string>",
"full_name": "<string>",
"language": "<string>"
},
"tts": {
"model": {
"provider": "<string>",
"model": "<string>",
"api_key": "<string>",
"base_url": "<string>"
},
"voice": "<string>",
"speed": "x-slow",
"volume": "silent",
"language": "en",
"emotion": {
"emotion": "anger",
"level": "lowest"
},
"metadata": {}
},
"stt": {
"model": {
"provider": "<string>",
"model": "<string>",
"api_key": "<string>",
"base_url": "<string>"
},
"language": "en",
"detect_language": false,
"interim_results": true,
"punctuate": true,
"metadata": {}
},
"llm": {
"model": {
"provider": "<string>",
"model": "<string>",
"api_key": "<string>",
"base_url": "<string>"
},
"temperature": 0.5,
"max_tokens": 60,
"system_prompt": "The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly.",
"metadata": {}
},
"vad": {
"min_speech_duration": 123,
"activation_threshold": 123,
"prefix_padding_duration": 123,
"min_silence_duration": 123,
"max_buffered_speech": 123,
"sample_rate": 8000,
"padding_duration": 123
},
"allow_interruptions": true,
"interrupt_speech_duration": 123,
"interrupt_min_words": 123,
"min_endpointing_delay": 123,
"preemptive_synthesis": true,
"end_of_turn_detection": true,
"background_noise_enabled": true
},
"agent_id": "<string>",
"platform": "<string>",
"session_id": "<string>",
"user_info": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"ttl": 123
}
'"<any>"Successful Response
The response is of type any.