Upload Chat Widget icon
Chat SDK API
Upload Chat Widget Icon
Upload a custom launcher icon for the Chat Widget
POST
Upload Chat Widget icon
Overview
Upload a custom image to replace the Chat Widget’s floating launcher button icon. The uploaded file is stored and applied to the widget immediately after upload. Requires theORG_ADMIN or DEVELOPER role.
Required Permission
agents — ORG_ADMIN or DEVELOPER role
Path Parameters
Request
Send the request asmultipart/form-data with a single field named file containing the image. When using cURL with the -F flag, the Content-Type header is set automatically.
Accepted formats: JPEG, PNG, GIF, BMP, WebP, TIFF, SVG
Example cURL
Response
Success (200)
Response Fields
Error Responses
Use Cases
- Branding the chat widget launcher with your company logo
- Using a different icon per agent to reflect different product lines
- Updating the icon after a brand refresh
For best results, use a square image of at least 60×60 pixels. PNG or WebP with a transparent background renders cleanly on any launcher button color.
Save the
requestId from every response. You will need it if you contact Inya support to trace a specific request.Authorizations
API key with 'agents' permission
Path Parameters
Unique identifier of the agent
Body
multipart/form-data
Icon image file (JPEG, PNG, GIF, BMP, WebP, TIFF, SVG)