Update a bot
PATCH
/api/v1/bots/{bot_id}
const url = 'https://renotify.app/api/v1/bots/architecto';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"Welcome Bot","description":"Handles first-touch conversations.","mode":"ai","trigger_type":"keyword","trigger_value":"help","channel_ids":[16],"ai_instructions":"Answer politely and keep responses concise.","flow_definition":{"steps":[]},"settings":{"handoff_after":3}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://renotify.app/api/v1/bots/architecto \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Welcome Bot", "description": "Handles first-touch conversations.", "mode": "ai", "trigger_type": "keyword", "trigger_value": "help", "channel_ids": [ 16 ], "ai_instructions": "Answer politely and keep responses concise.", "flow_definition": { "steps": [] }, "settings": { "handoff_after": 3 } }'Update an existing bot definition.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”bot_id
required
string
The ID of the bot.
Example
architectoRequest Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
required
The bot name.
string
Example
Welcome Botdescription
A short description of the bot.
string
Example
Handles first-touch conversations.mode
required
The bot mode.
string
Example
aitrigger_type
required
The trigger type used to activate the bot.
string
Example
keywordtrigger_value
The trigger value when the trigger type requires one.
string
Example
helpchannel_ids
Must match an existing stored value.
Array<integer>
Example
[ 16]ai_instructions
Instructions to use when the bot runs in AI mode.
string
Example
Answer politely and keep responses concise.flow_definition
The flow definition used when the bot runs in flow mode.
object
Example
{ "steps": []}settings
Additional bot settings.
object
ai_reply_length
How long AI replies are: short, medium or detailed.
string
Example
shortai_style
How freely the AI phrases replies: factual, balanced or conversational.
string
Example
balancedai_knowledge_only
boolean
Example
falseai_tools
What the AI may do besides reply: lookup_contact, save_details, send_options, search_knowledge, call_systems.
Array<string>
Example
[ "lookup_contact", "send_options"]csat
object
enabled
boolean
Example
falsescale
string
Example
thumbsquestion
Must not be greater than 200 characters.
string
Example
nExample
nullkeyword_match
string
Example
containskeyword_typos
boolean
Example
falserestart_keywords
Must not be greater than 200 characters.
string
Example
gExample
{ "handoff_after": 3}