Chatbot entities
Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired
The ID of the chatbot.
entityIdstringRequired
The ID of the entity to retrieve.
Responses
200
Details of the entity.
application/json
errorstringOptional
Optional error message.
403
Insufficient permissions.
get
/v1/chatbots/{chatbotId}/entities/{entityId}Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired
The ID of the chatbot.
entityIdstringRequired
The ID of the entity to delete.
Responses
200
Result of the deletion process.
application/json
deletedbooleanRequiredExample:
Indicates whether the deletion operation was successful.
trueerrorstringOptional
Optional error message.
403
Insufficient permissions.
delete
/v1/chatbots/{chatbotId}/entities/{entityId}Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired
The ID of the chatbot.
entityIdstringRequired
The ID of the entity to update.
Body
Responses
200
Entity updated successfully.
application/json
errorstringOptional
Optional error message.
400
Invalid input data.
403
Insufficient permissions.
patch
/v1/chatbots/{chatbotId}/entities/{entityId}Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired
The ID of the chatbot.
entityIdstringRequired
The ID of the entity.
Body
enabledbooleanRequiredExample:
Sets the entity to enabled (true) or disabled (false).
trueResponses
200
Status changed successfully.
application/json
errorstringOptional
Optional error message.
400
Invalid input data.
403
Insufficient permissions.
patch
/v1/chatbots/{chatbotId}/entities/{entityId}/stateLast updated