Skip to main content
POST
cURL

Authorizations

X-API-KEY
string
header
required

Authorization header containing API key. You can find your API key in the dashboard under 'API Keys'.

Body

application/json
name
string
required

The name of the AI Assistant

voice
integer
required

The voice id of the AI Assistant

prompt
string
required

The prompt of the AI Assistant

begin_message
string
required

The begin message of the AI Assistant

who_speaks_first
enum<string>
default:assistant

Who speaks first value of the AI Assistant

Available options:
assistant
model
enum<string>
default:puretalk-plg

The model of the AI Assistant

Available options:
puretalk-plg
call_recording_enabled
boolean
default:true

If call recording is enabled for the AI Assistant

assistant_type
enum<string>
default:single_prompt

The assistant type of the AI Assistant

Available options:
single_prompt,
multi_prompt
avatar
string<uri> | null

The avatar url of the AI Assistant

custom_knowledge_base
string

The custom knowledge base of the AI Assistant

timezone
string

The timezone of the AI Assistant

reminder_message_frequency
integer

The reminder message frequency of the AI Assistant

max_reminder_messages
integer

The maximum reminder messages of the AI Assistant

voice_stability
string

The voice stability of the AI Assistant

voice_clarity_similarity
string

The voice clarity similarity of the AI Assistant

voice_stream_latency_optimization
integer

The voice stream latency optimization of the AI Assistant

voice_boost
boolean
default:false

Indicates if voice boost is enabled for the AI Assistant

knowledge_base
string<uuid>

The knowledge base id of the AI Assistant

template
string<uuid>

The template id of the AI Assistant

behavior
string<uuid>

The behavior id of the AI Assistant

Response

AI Assistant created

msg
string
err
boolean
results
object