curl --request POST \
--url https://app.closerx.ai/api/agent/create/ \
--header 'Company-Name: <company-name>' \
--header 'api_key: <api-key>'{
"success": true,
"message": "<string>",
"data": {
"agent": {
"pk": 123,
"agent_name": "<string>",
"agent_id": "<string>",
"voice_id": "<string>",
"language": "<string>",
"interruption_sensitivity": "<string>",
"voicemail": true,
"voicemail_message": "<string>",
"end_call_after_silence": 123,
"max_call_duration": 123,
"reminder_trigger": 123,
"ambient_sound": "<string>",
"analysis_data": [
"<string>"
],
"llm": 123,
"voice_speed": 123,
"voice_temperature": 123,
"volume": 123,
"enable_backchannel": true,
"normalize_for_speech": true,
"enable_transcription_formatting": true,
"reminder_trigger_ms": 123,
"reminder_max_count": 123,
"boosted_keywords": [
"<string>"
],
"ambient_sound_volume": 123,
"voicemail_detection_timeout_ms": 123,
"begin_message_delay_ms": 123,
"updated_at": "2023-11-07T05:31:56Z",
"is_locked": true,
"calendar_id": "<string>",
"inbound_appoitment": true,
"ring_duration_sec": 123,
"stt_mode": "<string>",
"backchannel_words": "<string>",
"backchannel_frequency": 123,
"call_scheduling": true,
"agent_crm_type": "<string>",
"voicemail_option": {
"action": {
"type": "<string>"
}
}
},
"llm": {
"pk": 123,
"model": "<string>",
"states": "<string>",
"s2s_model": "<string>",
"model_temperature": "<string>",
"general_prompt": "<string>",
"general_tools": [
{}
],
"begin_message": "<string>",
"ghl_book_meeting": true,
"price_set_per_model": "<string>",
"custom_message": "<string>"
}
}
}Creates a new AI call agent with default settings
curl --request POST \
--url https://app.closerx.ai/api/agent/create/ \
--header 'Company-Name: <company-name>' \
--header 'api_key: <api-key>'{
"success": true,
"message": "<string>",
"data": {
"agent": {
"pk": 123,
"agent_name": "<string>",
"agent_id": "<string>",
"voice_id": "<string>",
"language": "<string>",
"interruption_sensitivity": "<string>",
"voicemail": true,
"voicemail_message": "<string>",
"end_call_after_silence": 123,
"max_call_duration": 123,
"reminder_trigger": 123,
"ambient_sound": "<string>",
"analysis_data": [
"<string>"
],
"llm": 123,
"voice_speed": 123,
"voice_temperature": 123,
"volume": 123,
"enable_backchannel": true,
"normalize_for_speech": true,
"enable_transcription_formatting": true,
"reminder_trigger_ms": 123,
"reminder_max_count": 123,
"boosted_keywords": [
"<string>"
],
"ambient_sound_volume": 123,
"voicemail_detection_timeout_ms": 123,
"begin_message_delay_ms": 123,
"updated_at": "2023-11-07T05:31:56Z",
"is_locked": true,
"calendar_id": "<string>",
"inbound_appoitment": true,
"ring_duration_sec": 123,
"stt_mode": "<string>",
"backchannel_words": "<string>",
"backchannel_frequency": 123,
"call_scheduling": true,
"agent_crm_type": "<string>",
"voicemail_option": {
"action": {
"type": "<string>"
}
}
},
"llm": {
"pk": 123,
"model": "<string>",
"states": "<string>",
"s2s_model": "<string>",
"model_temperature": "<string>",
"general_prompt": "<string>",
"general_tools": [
{}
],
"begin_message": "<string>",
"ghl_book_meeting": true,
"price_set_per_model": "<string>",
"custom_message": "<string>"
}
}
}The name of the schema to be used for the request
AI call agent creation response
Indicates whether the request was successful
Message describing the result of the request
Show child attributes
Show child attributes
Primary key for the AI call agent
Name of the AI call agent
Unique identifier for the AI call agent
Identifier for the voice used by the agent
Language code or type (e.g., en-US, multi)
Sensitivity level for interruptions
Indicates if voicemail is enabled
Voicemail message content
Duration of silence before ending the call (in seconds)
Maximum call duration (in minutes)
Time before triggering a reminder (in seconds)
Ambient sound setting
Data for call analysis
Identifier for the language model used
Speed of the voice
Temperature setting for voice generation
Volume level for the voice
Indicates if backchannel responses are enabled
Indicates if speech normalization is enabled
Indicates if transcription formatting is enabled
Reminder trigger time in milliseconds
Maximum number of reminders
List of keywords to boost in processing
Volume level for ambient sound
Timeout for voicemail detection in milliseconds
Delay before starting message in milliseconds
Timestamp when the agent was last updated
Indicates if the agent is locked
Identifier for associated calendar
Indicates if inbound appointment scheduling is enabled
Ring duration in seconds
Speech-to-text mode (e.g., fast)
Words used for backchannel responses
Frequency of backchannel responses
Indicates if call scheduling is enabled
Type of CRM integration for the agent
Show child attributes
Primary key for the language model
Name of the language model
State settings for the model
Speech-to-speech model identifier
Temperature setting for the model
General prompt for the model
List of tools available to the model
Initial message for the model
Indicates if meeting booking is enabled
Price set for the model
Custom message for the model