Create bot template
Creates a bot template for the Client ID provided in the request.
One Client ID can register up to five bot templates. A bot based on a template will be automatically created on the license when the application is installed. Such a bot will have the same ID as the bot template. If the application is already installed on the license, the bot will be created only if affect_existing_installations is set to true.
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 display name.
The Client ID that will own the bot template. Must be owned by your organization.
The avatar URL.
The maximum number of 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: a bot based on this template will be created on all licenses that have the given application installed. If set to false: only new installations will trigger bot creation.