MEGA icon

MEGA

Manage conversations, contacts, WhatsApp, Kanban CRM and Captain AI in MEGA

Actions417

Inbox → Set Agent Bot

AI-generated

Summary

Assigns an agent bot to an inbox, or disconnects the current bot when the Agent Bot ID is 0.

Inputs

  • Account (required) — Choose an account from the list or enter its numeric ID.
  • Inbox (required) — Choose an inbox from the list or enter its numeric ID.
  • Agent Bot ID — Enter the agent bot ID to assign. Leave the default value of 0 to disconnect the current agent bot.

Output shape

A single API response item.

The source pack only shows the operation's function signatures, so the exact response fields are not specified.

Examples

Example 1: Assign agent bot

Choose account and inbox, specify a non-zero Agent Bot ID.

Links

Discussion