cURL
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." }
Uploads an icon image for the chatbot
API key in Bearer token format
ID of the chatbot
"ckl123abc456"
Icon image file
Icon uploaded successfully
"Chatbot chat icon uploaded successfully."