Skip to main content
POST
/
upload-chatbot-icon
Upload chatbot icon
curl --request POST \
  --url https://www.chatbase.co/api/v1/upload-chatbot-icon \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form chatbotId=ckl123abc456 \
  --form chatbotIconFile=@example-file
{
  "message": "Chatbot chat icon uploaded successfully."
}

Authorizations

Authorization
string
header
required

API key in Bearer token format

Body

multipart/form-data
chatbotId
string
required

ID of the chatbot

Example:

"ckl123abc456"

chatbotIconFile
file
required

Icon image file

Response

Icon uploaded successfully

message
string
Example:

"Chatbot chat icon uploaded successfully."

I