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
Example response
{
"success": true
}