Update a bot flow
Changes the flow’s attributes — name, description, bot identity, trigger, priority, inbox.
This does not touch the graph and does not publish. A graph in the body is ignored, no version is created, and whatever is live stays live. Publishing is a separate, explicit call. Administrator only.
Authorizations
This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.
Path Parameters
The numeric ID of the bot flow.
1
Body
The flow to create or update.
Response
Success
The numeric ID of the flow.
The flow name.
Generated from the name when you do not send one. Unique within the account.
Internal description.
The name the bot uses when it speaks to a contact.
Avatar shown beside the bot's messages.
Opening line, if the flow uses one.
Only a published flow runs against live conversations.
draft, published, archived Higher wins when several flows match the same conversation.
The inbox the flow runs in.
When the flow fires, as {"op": "all", "conditions": [...]}. Required, and must be an object.
The version currently live. Null until the flow is published.
Present on the list response: the newest version, which is not necessarily the published one.
Present on single-flow responses: every version, newest first.
ISO-8601 timestamp.
ISO-8601 timestamp.