MEGA icon

MEGA

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

Actions417

Conversation → Filter

AI-generated

Summary

Retrieve a filtered list of conversations from a specified Mega account and inbox using custom filter rules.

Inputs

  • accountId (required) — Select the Mega account to retrieve conversations from. This is required to identify the account context for the operation.
  • inboxId (required) — Select the Mega inbox associated with the conversations to filter. Required to specify the inbox scope.
  • filterPayload (required) — Provide an array of filter rules as JSON that follow the MEGA filtering format. Each rule includes attribute_key, filter_operator, values, and query_operator to define the filter conditions.
  • filterPage — Specify the page number for paginated results of the filtered conversations. Defaults to 1 if not provided.

Output shape

a paginated list of conversation objects matching the filter criteria

Results are paginated; the page number can be controlled via the 'filterPage' parameter. The output conforms to the API's response format for filtered conversations, including conversation details.

Links

Discussion