Update bot template
Updates an existing bot template.
bots.templates:rwAuthorizations
Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.
Body
The bot template ID.
The Client ID that owns the bot template. Must be owned by your organization.
The display name.
The avatar URL.
The maximum incoming chats that can be routed to the bot.
x <= 500The default routing priority for a group without a defined priority.
first— The highest chat routing priority. bots get chats before others from the same group. Corresponds to the bot priority option in the Text app.normal— The medium chat routing priority. bots get chats beforelast-priority agents when nofirst-priority agents with free slots are available. Corresponds to the Primary priority option in the Text app.last— The lowest chat routing priority. bots get chats when no agents withfirstornormalpriority and free slots are available. Corresponds to the Secondary priority option in the Text app.supervisor— Bots with thesupervisorpriority will not get any chats assigned automatically.
first, normal, last, supervisor The bot's job title.
If set to true: bots based on this template will be updated on all licenses that have the given application installed.
Response
Bot template updated successfully.