Updating AI Agent Interface
Request Address: /api/bot/interface
Request Method: PUT
Request Header 👇
Authorization
String
The API key created
Request Body Parameter 👇
botId
int
yes
botId
initialMessages
string
no
The initial message when open the agent
suggestedMessages
string
no
The suggested messages which often used
theme
string
no
The theme of agent
profilePicture
string
no
The profile picture of agent
displayName
string
no
The display name of agent
userMessageColor
string
no
The color of user message
chatIcon
string
no
The icon of agent
chatBubbleButtonColor
string
no
The color of agent bubble button
alignChatButton
string
no
The algin of agent button
initialMessagesAfter
int
no
The initial messages of agent
Response Parameter 👇
id
int
id
version
int
version
botId
int
The botId of agent
userId
string
The OORT AI user id
secretKey
string
The api key info
CreatedTime
string
The create time of agent interface
updatedTime
string
The update time of agent interface
deletedTime
string
The delete time of agent interface
initialMessages
string
The initial message when open the agent
suggestedMessages
string
The suggested messages which often used
theme
string
The theme of agent
profilePicture
string
The profile picture of agent
displayName
string
The display name of agent
userMessageColor
string
The color of user message
chatIcon
string
The icon of agent
chatBubbleButtonColor
string
The color of agent bubble button
alignChatButton
string
The algin of agent button
initialMessagesAfter
int
The initial messages of agent
Response Example 👇
Last updated