Mega icon

Mega

Work with Mega API

Custom Filter → Update

AI-generated

Summary

Update an existing custom filter by specifying its ID and modifying its name, query, and/or type fields.

Inputs

  • Custom Filter ID (required) — The unique numeric ID of the custom filter to update.
  • Update Fields — The fields of the custom filter to update including Name (string), Query (JSON object), and Type (one of 'contact', 'conversation', or 'report').

Output shape

A single updated custom filter record.

The operation requires the Custom Filter ID and accepts optional fields to update. The returned data reflects the updated state of the custom filter.

Links

Discussion