Przejdź do głównej treści
POST
Utwórz agenta ze skryptu rozmowy

Autoryzacje

X-API-Key
string
header
wymagane

Klucz API organizacji (konto w lewym dolnym rogu panelu → Brosbots API).

Nagłówki

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

Treść

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

Odpowiedź

Pomyślna odpowiedź

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