Skip to main content
POST
Create Agent From Call Script

Authorizations

X-API-Key
string
header
required

Your organization's API key (account in the bottom-left of the dashboard → Brosbots API).

Headers

authorization
string | null
X-API-Key
string | null

Body

application/json
agent
ScriptAgentPlan · object
required
facts
object
faq
object[]
knowledge
string
default:""
website
string | null
language
string
default:en
agent_name
string | null
agent_voice
string | null
generate_with_ai
boolean
default:true
enable_booking
boolean
default:false
calcom_connection_id
string | null

Response

Successful Response

id
integer
required
public_id
string
required
name
string
required
status
string
required
created_at
string<date-time>
required
workflow_definition
object
required
current_definition_id
integer | null
required
updated_at
string<date-time> | null
template_context_variables
object | null
call_disposition_codes
object | null
total_runs
integer | null
workflow_configurations
object | null