Update chatbot
PATCH
https://api.flownally.com/v1/chatbots/{id}Updates a chatbot's name, teams or draft. A new name or teamIds applies at once.
Changes to draft reach conversations only after you publish and activate the chatbot
again.Changing the teams of an active chatbot fails with 422 and code
messaging_chatbot_route_conflict when another active chatbot already serves one of the
new teams, or, when no teams remain, the whole workspace.
Authorization
Required scopes
- journey:update
Allowed roles
- owner
- admin
- agent
Update a chatbot in the workspace.
Parameters
- Name
id- Type
- path · string
- required
Chatbot ID.
Body parameters
Send a application/json body. The body is required.
- Name
name- Type
- string
- Name
teamIds- Type
- array<string>
Replaces all of the chatbot's teams. Omit to keep them; pass an empty array to make it the workspace-wide chatbot.- Name
draft- Type
- ChatbotWorkflowDefinition
Responses
- 200Chatbot updatedapplication/json
- defaultErrorapplication/json
Related schemas
Generated from the API spec.