Coghub icon

Coghub

Interagir com a API do Coghub

Actions129

Custom Filters → Update A Custom Filter

AI-generated

Summary

Update an existing custom filter by specifying its name, type, and query conditions to modify its saved settings.

Inputs

  • Name (required) — The name of the custom filter to update.
  • Type (required) — The category of the custom filter, chosen from Conversation, Contact, or Report.
  • Query (required) — A JSON-formatted query representing the custom filter's conditions.

Output shape

a single updated custom filter record

The response contains the updated details of the custom filter. No pagination applies. Errors are returned if the specified filter does not exist or parameters are invalid.

Examples

Example 1: Update a conversation custom filter named 'My Custom Filter' with a new complex query.

Set 'Name' to 'My Custom Filter', 'Type' to 'Conversation', and provide the new JSON query in 'Query'.

Links

Discussion