Skip to main content
POST
Create chat agent

Authorizations

Authorization
string
header
required

Generate tokens from your profile settings at app.uponai.com.

Body

application/json
workspaceId
integer
required
agent_name
string
required
response_engine
object
required
auto_close_message
string
end_chat_after_silence_ms
integer
webhook_url
string<uri>
webhook_events
string[]
timezone
string
is_public
boolean
data_storage_setting
string
data_storage_retention_days
integer
post_chat_analysis_model
string
post_chat_analysis_data
object[]
uponai_dynamic_variables
object

Response

201 - application/json

Newly created chat agent.

agent_id
string
agent_name
string
version
integer
response_engine
object
auto_close_message
string | null
is_public
boolean
end_chat_after_silence_ms
integer | null
webhook_url
string<uri> | null
webhook_events
string[]
timezone
string | null
data_storage_setting
string | null
data_storage_retention_days
integer | null
post_chat_analysis_model
string | null
post_chat_analysis_data
object[]
uponai_dynamic_variables
object