Skip to Content

Create Voice Agent

POST
/api/v1/voice-agents

Create a new voice agent linked to an existing agent.

Required scope: agents:write

Authorization

headerAuthorizationBearer <luso8_sk_live_<40 characters>>

A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.

Request Body

application/json
  1. body
name*Name
Length1 <= length <= 255
description?string|null
voice_id*Voice Id
Length1 <= length
voice_name?string|null
language?|
Default"english"
model_id?|
Default"eleven_v4_turbo"
active?Active
Defaultfalse
voice_speed?|
Default100
voice_stability?|
Default0.5
voice_similarity_boost?|
Default0.5
voice_style?|
Default0
output_format?|
Default"mp3_44100_128"
prompt?string|null
temperature?|
Default0.7
tools?|null
phone_number?string|null
phone_trunk_id?string|null
outbound_trunk_id?string|null
agent_id*Agent Id

Response Body

Successful Response

application/json
  1. response
name*Name
Length1 <= length <= 255
description?string|null
voice_id*Voice Id
Length1 <= length
voice_name?string|null
language?|
Default"english"
model_id?|
Default"eleven_v4_turbo"
active?Active
Defaultfalse
voice_speed?|
Default100
voice_stability?|
Default0.5
voice_similarity_boost?|
Default0.5
voice_style?|
Default0
output_format?|
Default"mp3_44100_128"
prompt?string|null
temperature?|
Default0.7
tools?|null
phone_number?string|null
phone_trunk_id?string|null
outbound_trunk_id?string|null
id*Id
agent_id*Agent Id
organization_id*Organization Id
agent_kind?Agent Kind
Default"standard"
created_at*Created At
Formatdate-time
updated_at?|null
Example Request
curl -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"}