Skip to content

Update a bot

PATCH
/api/v1/bots/{bot_id}
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.

bot_id
required
string

The ID of the bot.

Example
architecto
Media typeapplication/json
object
name
required

The bot name.

string
Example
Welcome Bot
description

A short description of the bot.

string
nullable
Example
Handles first-touch conversations.
mode
required

The bot mode.

string
Example
ai
trigger_type
required

The trigger type used to activate the bot.

string
Example
keyword
trigger_value

The trigger value when the trigger type requires one.

string
nullable
Example
help
channel_ids

Must match an existing stored value.

Array<integer>
Example
[
16
]
ai_instructions

Instructions to use when the bot runs in AI mode.

string
nullable
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
nullable
Example
short
ai_style

How freely the AI phrases replies: factual, balanced or conversational.

string
nullable
Example
balanced
ai_knowledge_only
boolean
nullable
Example
false
ai_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
nullable
Example
false
scale
string
nullable
Allowed values: thumbs five
Example
thumbs
question

Must not be greater than 200 characters.

string
nullable
Example
n
Example
null
keyword_match
string
nullable
Allowed values: exact contains starts_with
Example
contains
keyword_typos
boolean
nullable
Example
false
restart_keywords

Must not be greater than 200 characters.

string
nullable
Example
g
Example
{
"handoff_after": 3
}