Skip to content

Upload a chat icon

post/upload-chatbot-icon/{chatbotId}
Any key

This API endpoint allows you to update the chat icon of your chatbot. The image is resized to 100×100 pixels.

Path parameters

Required
chatbotIdstring
The unique identifier allocated to the chatbot.

Request body

Sending 1 of 1 field
Required
imagefile
The chat icon to upload. It must be a square PNG, JPEG, GIF or WebP image of up to 1 MB.

Only these fields are sent (multipart/form-data).

Try it · POST /upload-chatbot-icon/{chatbotId}
curl 'https://api.chat-data.com/api/v2/upload-chatbot-icon/6650f1c2a9e4b83d2c7a1f05' \  -H "Authorization: Bearer $CHAT_DATA_API_KEY" \  -F 'image=@"/path/to/image.png"'
Loading…

Responses

The request was processed. status is success when the icon was saved. If the image passed validation but could not be resized or saved, the response is still 200, with status: error and a message.

Content type: application/json

FieldDescription
statusstringOne of: success, error.
messagestringWhy the icon could not be saved. Only present when status is error.

Example

{  "status": "success"}

Last updated October 14, 2026