Activate chatbot
POST
https://api.flownally.com/v1/chatbots/{id}:activateMakes the latest published version active, so the chatbot serves its teams, or the whole workspace when it has no teams. On an active chatbot, the latest version replaces the active one.
- Fails with
422and codemessaging_chatbot_route_conflictwhile another active chatbot already serves one of its teams or, for a chatbot without teams, the whole workspace. Pause that chatbot first. - Fails with
422and codemessaging_chatbot_no_published_versionuntil the chatbot is published. - Fails with
422and codemessaging_chatbot_block_not_enabledwhen the version has a Meta AI block (hand_over_to_meta_ai) that is not enabled for the workspace.
Authorization
Required scopes
- journey:activate
Allowed roles
- owner
- admin
- agent
Activate a chatbot.
Parameters
- Name
id- Type
- path · string
- required
Chatbot ID.
Responses
- 200Chatbot activatedapplication/json
- defaultErrorapplication/json
Related schemas
Generated from the API spec.