Update Bot
Update an automation bot.
Required Scopes: automation:update
Update bot configuration. Only provided fields will be updated. Changing a non-keyword bot's bot_type to keyword returns 422 keyword_bots_retired; existing keyword bots stay fully editable.
Request
- Base URL: https://api.sendseven.com
- URL: https://api.sendseven.com/api/v1/automation/bots/{bot_id}
- Auth: HTTP bearer
Path parameters
Request body
Type of automation bot.
'assistant' is the preferred value for new bots (Phase 2 consolidation). All legacy values remain valid for backwards compatibility.
Bot priority
When a bot is allowed to perform a live web search (Beta).
- off (default / NULL): today's behaviour — KB-only, never searches the web.
- kb_fallback: only search the web after the KB returns [NO_ANSWER].
- always: run the on-topic gate then search the web for every message.
Beta: plain domains for site:-restricted web search. Empty list = no restriction. Omit to keep current.
Beta: keywords appended to every web-search query. Omit to keep current.
Beta: per-conversation web-search cap (>=0). Omit to keep current.
How this bot resolves the language (see AutomationBotCreate). 'cascade' | 'fixed'. Omit on PATCH to preserve the current value; any other value is rejected 422. Because NULL means 'cascade', this cannot be reset to NULL via PATCH -- send 'cascade' to restore the default behaviour.
What to do when escalation triggers but no agents are online (live chat)
"Assignment on handoff" for a bot escalation (field value null = keep the conversation unassigned).
By tag (escalation_tag_id REQUIRED, RoutingService.route_to_tag): notify_only tags the conversation and alerts the tag holders; round_robin / least_busy also auto-assign an UNASSIGNED conversation to an eligible tag holder. All members (NO tag — a stored tag is cleared, RoutingService.route_to_all): round_robin_all / least_busy_all. Never reassigns. Values are a frozen cross-agent contract.
Caption for the 'Talk to Human' button. Omit to keep current value; NULL = localized default.
Caption for the 'Ask the bot' button. Omit to keep current value; NULL = localized default.
Acknowledgement message sent after tapping 'Ask the bot'. Omit to keep current value; NULL = localized default.
Which sources to list: 'urls_only' or 'urls_and_kb'. Omit to keep current value.
Per-channel query params appended to source links, keyed by channel_type with an optional 'default' key. Shape: {channel_type: {param_name: template_string}}. Omit to keep current value.
KB live-refresh mode: 'off' | 'always_live' | 'cached_ttl' | 'live_once'. Omit to keep current value.
Cache TTL in seconds, only meaningful when kb_live_refresh_mode == 'cached_ttl'. Omit to keep current value.
Response
Successful Response
Type of automation bot.
'assistant' is the preferred value for new bots (Phase 2 consolidation). All legacy values remain valid for backwards compatibility.
What to do when escalation triggers but no agents are online (live chat)
Changes
No recorded changes to this operation across all 3 revisions of this API.