Create bot
Creates a new bot. To make the bot available for receiving chats or webhooks, use the Set Routing Status method. Can be sent in batch.
agents-bot--my: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 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.
Groups the bot belongs to.
A custom value to categorize or identify the bot.
The work scheduler options to set for the new bot.
The Client ID that will own the bot. Required only when authorizing via Personal Access Tokens. When provided with a Bearer Token, the client_id associated with the Bearer Token will be ignored.