Skip to main content
POST
Update bot template
Required scopes: bots.templates:rw

Authorizations

Authorization
string
header
required

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

application/json
id
string
required

The bot template ID.

owner_client_id
string
required

The Client ID that owns the bot template. Must be owned by your organization.

name
string

The display name.

avatar
string

The avatar URL.

max_chats_count
integer

The maximum incoming chats that can be routed to the bot.

Required range: x <= 500
default_group_priority
enum<string>

The 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 before last-priority agents when no first-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 with first or normal priority and free slots are available. Corresponds to the Secondary priority option in the Text app.
  • supervisor — Bots with the supervisor priority will not get any chats assigned automatically.
Available options:
first,
normal,
last,
supervisor
job_title
string

The bot's job title.

affect_existing_installations
boolean

If set to true: bots based on this template will be updated on all licenses that have the given application installed.

Response

200

Bot template updated successfully.