Resolido Docs
Chat widget

Set widget avatar

PUT
/agents/{agentId}/widget/avatar

Set the agent's avatar/logo in the chat widget from an image URL (max 2 MB). Owner/admin.

Authorization

bearer agents:write
headerAuthorizationBearer <token>

API key (rsl_live_…) from Settings → Developers.

Scope: agents:write

Path Parameters

agentId*string

AI agent id. Never invent ids – list resources first.

Length1 <= length <= 64

Request Body

application/json
  1. body
imageUrl*string

https URL of a PNG, JPEG, WebP or GIF.

Formaturi

Response Body

Success

application/json
  1. response
agentId*string
avatarUrl*string
curl -X PUT "https://example.com/agents/string/widget/avatar" \  -H "Content-Type: application/json" \  -d '{    "imageUrl": "http://example.com"  }'
{  "agentId": "string",  "avatarUrl": "string"}