API referenceAgents
Create Voice Agent
POST
Create a new voice agent linked to an existing agent.
Required scope: agents:write
header
AuthorizationBearer <luso8_sk_live_<40 characters>>A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.
application/json- body
name*NameLength
1 <= length <= 255description?string|nullvoice_id*Voice IdLength
1 <= lengthvoice_name?string|nulllanguage?|Default
"english"model_id?|Default
"eleven_v4_turbo"active?ActiveDefault
falsevoice_speed?|Default
100voice_stability?|Default
0.5voice_similarity_boost?|Default
0.5voice_style?|Default
0output_format?|Default
"mp3_44100_128"prompt?string|nulltemperature?|Default
0.7tools?|nullphone_number?string|nullphone_trunk_id?string|nulloutbound_trunk_id?string|nullagent_id*Agent IdSuccessful Response
application/json- response
name*NameLength
1 <= length <= 255description?string|nullvoice_id*Voice IdLength
1 <= lengthvoice_name?string|nulllanguage?|Default
"english"model_id?|Default
"eleven_v4_turbo"active?ActiveDefault
falsevoice_speed?|Default
100voice_stability?|Default
0.5voice_similarity_boost?|Default
0.5voice_style?|Default
0output_format?|Default
"mp3_44100_128"prompt?string|nulltemperature?|Default
0.7tools?|nullphone_number?string|nullphone_trunk_id?string|nulloutbound_trunk_id?string|nullid*Idagent_id*Agent Idorganization_id*Organization Idagent_kind?Agent KindDefault
"standard"created_at*Created AtFormat
date-timeupdated_at?|nullcurl -X POST 'https://api.luso8.rexplore.ai/api/v1/voice-agents' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "voice_id": "string", "agent_id": "string"}'Example Response
{ "name": "string", "description": "string", "voice_id": "string", "voice_name": "string", "language": "english", "model_id": "eleven_v4_turbo", "active": false, "voice_speed": 100, "voice_stability": 0.5, "voice_similarity_boost": 0.5, "voice_style": 0, "output_format": "mp3_44100_128", "prompt": "string", "temperature": 0.7, "tools": {}, "phone_number": "string", "phone_trunk_id": "string", "outbound_trunk_id": "string", "id": "string", "agent_id": "string", "organization_id": "string", "agent_kind": "standard", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}