MEGA icon

MEGA

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

Actions417

Portal → Get Many

AI-generated

Summary

Retrieve a list of Portals associated with a specified MEGA account, optionally filtering the results using custom query parameters expressed as JSON.

Inputs

  • Account (required) — Select the MEGA account to retrieve Portals from. This can be chosen from a list of accounts or specified directly by numeric ID.
  • Query (JSON) — Provide optional query parameters in JSON format to filter or customize the list of Portals returned.

Output shape

a list of Portal records matching the optional query criteria, each containing properties as defined by the MEGA Portal API

The response contains multiple Portal entries linked to the given account. The exact returned fields depend on the MEGA API and the query parameters used. Pagination is not explicitly detailed in the available source, so large result sets should be handled according to the API's default behavior.

Examples

Example 1: Fetch all portals for a given account without filters

Set the Account parameter to the desired MEGA account; leave Query empty or as an empty JSON object {}.

Example 2: Fetch portals matching specific criteria

Set Account to the desired MEGA account; set Query to a JSON object with the desired filtering criteria according to the MEGA API.

Links

Discussion