Upload the chat bot's profile photo (admin)
POST/api/widget/settings/bot-avatar
Uploads the avatar shown next to bot replies in the widget. Must be a SQUARE PNG/JPG/WebP, 128–1024 px, ≤ 2 MB — the admin cropper produces exactly this. Replaces any previous bot avatar. Admin only.
Request
Responses
- 200
- 401
- 403
- 422
The updated widget settings (with the new bot_avatar_url).
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Authenticated but not allowed.
The request failed validation.