Update widget configuration
Changed onUpdates 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.
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/agent/{id}/widget-config
- AuthHTTP bearer
Path parameters
Agent ObjectId
Request body
Response
Updated widget configuration
Example response
{
"success": true
}Changes
- info
api tag
Widgetadded - info
api tag
Agentsremoved - info
endpoint deprecated
- info
- breaking
removed the media type
application/jsonfor the response with the status - warning
removed the request property
/ - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
from the response with the status - info
api operation id
updateAgentWidgetConfigwas added - info
the request property
became optional - info
the
/request property's minLength was decreased from1to0 - info
the
/request property's minLength was decreased from1to0 - info
the
/request property's minLength was decreased from1to0 - info
the
/request property's minLength was decreased from1to0 - info
the
/request property's minLength was decreased from1to0 - info
added the optional property
to the response with the status
- breaking