Mega icon

Mega

Work with Mega API

Conversation → Filter

AI-generated

Summary

Filter conversations by providing a JSON array of filter rules to return only those that match the specified criteria.

Inputs

  • Filter Payload (required) — A JSON array containing the conversation filter rules that specify conditions to filter conversations.

Output shape

a list of conversation objects matching the filter criteria

The response returns conversations that satisfy the provided filter rules. The filter payload must be correctly formatted as a JSON array for successful filtering. No pagination details disclosed.

Examples

Example 1: Filter conversations to those with a specific participant or status

Provide a JSON array in the 'Filter Payload' input describing the desired filtering rules to retrieve matching conversations.

Links

Discussion