Chatbot Icons
Update Chatbot Icons
Add or Update the chatbot icons (Bot Icon, Person Icon, Agent Icon, Watermark Icon, Chat Bubble Icon)
POST
/
v0
/
chatbots
/
{chatbotId}
/
icons
Authorization
Path
Body
curl --request POST \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/icons \
--header 'Authorization: <authorization>' \
--header 'Content-Type: multipart/form-data' \
--form iconType=CHAT_BUBBLE \
--form 'iconSrc=<string>'
{
"success": true,
"message": "Updated the chatbot icon successfully",
"data": null
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
chatbotId
string
requiredId of the chatbot
Body
multipart/form-data
iconType
enum<string>
requiredType of the icon
Available options:
BOT
, PERSON
, AGENT
, WATERMARK
, CHAT_BUBBLE
iconSrc
string
requiredIcon file
Response
200 - application/json
success
boolean
Indicates whether this is success response or error response
message
string
Overall message regarding the operation performed
data
object | null
Data returned from the server
Was this page helpful?
curl --request POST \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/icons \
--header 'Authorization: <authorization>' \
--header 'Content-Type: multipart/form-data' \
--form iconType=CHAT_BUBBLE \
--form 'iconSrc=<string>'
{
"success": true,
"message": "Updated the chatbot icon successfully",
"data": null
}