Skip to main content
PATCH
/
v0
/
chatbots
/
chatbot
/
{chatbotId}
/
settings
/
icons
Update Icon Settings
curl --request PATCH \
  --url https://interhemispheric-unwet-paulene.ngrok-free.dev/api/v0/chatbots/chatbot/{chatbotId}/settings/icons \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form botIconSrc='@example-file' \
  --form userIconSrc='@example-file' \
  --form agentIconSrc='@example-file' \
  --form bubbleIconSrc='@example-file' \
  --form watermarkBrandIcon='@example-file'
{
  "success": true,
  "message": "Icons updated successfully",
  "data": {
    "botIconSrc": "<string>",
    "userIconSrc": "<string>",
    "agentIconSrc": "<string>",
    "bubbleIconSrc": "<string>",
    "watermarkBrandIcon": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatbotId
string
required
Example:

"361628903185318481"

Body

All fields are optional. Upload icon files as multipart form fields. Only provided fields are updated.

botIconSrc
file

Icon file for the bot avatar

userIconSrc
file

Icon file for the user avatar

agentIconSrc
file

Icon file for the human agent avatar

bubbleIconSrc
file

Icon file for the chat bubble launcher icon

watermarkBrandIcon
file

Icon file for the watermark brand logo

Response

Icons updated

success
boolean
Example:

true

message
string
Example:

"Icons updated successfully"

data
object