Pular para o conteúdo principal

platform_agent_bot_create_update_payload

namestring

The name of the agent bot

Example: My Agent Bot
descriptionstring

The description of the agent bot

Example: This is a sample agent bot
outgoing_urlstring

The webhook URL for the bot

Example: https://example.com/webhook
account_idinteger

The account ID to associate the agent bot with

Example: 1
avatarstring<binary>

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

avatar_urlstring

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

Example: https://example.com/avatar.png
platform_agent_bot_create_update_payload
{
"name": "My Agent Bot",
"description": "This is a sample agent bot",
"outgoing_url": "https://example.com/webhook",
"account_id": 1,
"avatar": "string",
"avatar_url": "https://example.com/avatar.png"
}