Create Webchat Agent
POST /webchat/agents
POST
/webchat/agents
Map an agent onto the URLs it answers on.
url_filter is matched against the page the widget is embedded on.
default: true is the fallback when nothing matches - without one, a
visitor on an unlisted page gets no agent.
Authorizations
Parameters
Header Parameters
Request Body required
Map an AI agent onto the URLs it should answer on.
Responses
201
Successful Response
object
data
required
An open envelope for one webchat object.
Open because the widget’s config grows a field per product decision and a pinned schema would DROP it. Same choice the desk surface made.
object
key
additional properties
any
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string