v45

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0114775543.6 KB
Agents

Update widget configuration

Updates the web widget configuration for the agent. Only provided fields are updated (partial update). When avatarUrl is changed, the old CDN avatar is automatically deleted from S3. The avatarUrl must be a URL from the platform's CDN domain — use POST /agent/{id}/avatar/presigned-url to upload first.

patch/agent/{id}/widget-config

Path parameters

idstring required

Agent ObjectId

Request body

Response

Updated widget configuration

successboolean
dataobject

The updated widgetConfig object

Example response

{
  "success": true
}