latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-1715378564.1 KB

274a178284a4

Widget

Get widget configuration

Returns the current web widget configuration for the agent. Also includes assistantId (same as the agent ID) as a convenience field for the widget embed code.

get/agent/{id}/widget-config

Path parameters

idstring required

Agent ObjectId

Response

Widget configuration

successboolean

Example response

{
  "success": true
}