Pular para o conteúdo principal
PUT
Update an agent bot

Autorizações

api_access_token
string
header
obrigatório

Token de um Platform App, gerado pelo super admin. Usado para provisionar contas, usuários, papéis e bots.

Parâmetros de caminho

id
string
obrigatório

The ID of the agentbot to be updated

Corpo

application/json
name
string

The name of the agent bot

Exemplo:

"My Agent Bot"

description
string

The description of the agent bot

Exemplo:

"This is a sample agent bot"

outgoing_url
string

The webhook URL for the bot

Exemplo:

"https://example.com/webhook"

account_id
integer

The account ID to associate the agent bot with

Exemplo:

1

avatar
file

Send the form data with the avatar image binary or use the avatar_url

avatar_url
string

The url to a jpeg, png file for the agent bot avatar

Exemplo:

"https://example.com/avatar.png"

Resposta

Success

id
number

ID of the agent bot

name
string

The name of the agent bot

description
string

The description about the agent bot

thumbnail
string

The thumbnail of the agent bot

outgoing_url
string

The webhook URL for the bot

bot_type
string

The type of the bot

bot_config
object

The configuration of the bot

account_id
number

Account ID if it's an account specific bot

access_token
string

The access token for the bot

system_bot
boolean

Whether the bot is a system bot