Mega Platform icon

Mega Platform

Work with Mega Platform API

Actions17

Agent Bot → Create

AI-generated

Summary

Create an agent bot in the Mega Platform by specifying its name, outgoing webhook URL, and the owning account ID, with optional description and avatar URL.

Inputs

  • Name (required) — Name of the agent bot
  • Description — Description of the agent bot
  • Outgoing URL (required) — Outgoing webhook URL of the agent bot
  • Account ID (required) — Account ID that owns the agent bot
  • Avatar URL — URL of the agent bot avatar image

Output shape

a single JSON object representing the created agent bot

Returns the created agent bot's details including ID and supplied properties upon success.

Examples

Example 1: Create a new agent bot named "Support Bot" with an outgoing webhook URL and assign it to a specific account ID

Provide required parameters: platformAgentBotName, platformAgentBotOutgoingUrl, and platformAgentBotAccountId; optionally include description and avatar URL.

Links

Discussion