Mega icon

Mega

Work with Mega API

Inbox → Get Agent Bot

AI-generated

Summary

Retrieve the agent bot configuration for a specified inbox by its ID.

Inputs

  • Inbox ID (required) — The numeric ID of the inbox from which to get the agent bot settings.

Output shape

a single record containing the agent bot details for the specified inbox

The operation returns the current configuration or details of the agent bot associated with the given inbox ID. Errors occur if the ID is invalid or the inbox has no associated agent bot.

Examples

Example 1: Get agent bot for a given inbox

Set 'Inbox ID' to the target inbox's numeric identifier to retrieve its agent bot settings.

Links

Discussion