Widgets
Create a new widget
Creates a widget bound to an agent. The widget’s DNS label and hostname are generated by the server and returned in info. The hostname may take up to a minute to become reachable while the edge propagates.
POST
Authorizations
Body
application/json
Create widget request.
Response
OK
Widget is an embeddable chat surface bound to a single agent. Each widget owns a globally unique, immutable DNS label under the widgets domain (e.g. "k7m2xq9fp4wn.widgets.cadenya.com"): one widget = one hostname = one origin allowlist = one agent binding. Browsers talk to the widget host with session bearer tokens minted server-side via WidgetSessionService.