Update a bot
Update a bot. Callable by a company admin whose role includes the messaging update permission. A bot’s type cannot be changed. For a response bot, the webhook is updated to match. Returns 400 with the validation errors when the bot or its webhook is invalid.
Authorizations
Bearer token authentication
Path Parameters
Body
Response
The updated bot.
A messaging bot.
When the bot was archived, or null while it is active.
Background color shown behind the bot's avatar.
Emoji shown as the bot's avatar.
Your one-to-one conversation with the bot, or null when you have none.
Conversations the bot's recipient belongs to, such as the channels a broadcast bot posts into.
What the bot does.
The bot ID.
URL of the bot's avatar image.
The messaging recipient that represents the bot in conversations.
The bot's display name. Unique among your company's active bots.
ResponseBot (replies through a webhook in one-to-one conversations) or BroadcastBot (posts into channel conversations).
For a response bot, the URL its webhook delivers messages to; otherwise null.
For a response bot, the HTTP method its webhook uses (post, put, or get); otherwise null.