RefineFilter
Update Refine Filter
Update an existing RefineFilter. All fields are optional — only provided fields are updated. When criteria is supplied it replaces the entire criteria set (must contain at least one entry). 422 covers shape errors and safe-condition policy violations.
patch/refine_filters/{id}
Path parameters
idstring required
Public id of the RefineFilter to update.
Request body
Example request
{
"refine_filter": {
"conjunction": "and",
"criteria": [
{
"attribute": "tags.id",
"clause": "in",
"value": [
"tag-pub-id-1"
]
},
{
"attribute": "created_at",
"clause": "gte",
"value": "2026-01-01"
}
]
}
}Response
OK
Example response
{
"id": 42,
"public_id": "AbCdEf",
"workspace_id": 5,
"name": "VIP newsletter audience",
"filter_class": "ContactsFilter",
"conjunction": "and",
"criteria": [
{
"attribute": "tags.id",
"clause": "in",
"value": [
"tag-pub-id-1"
]
},
{
"attribute": "created_at",
"clause": "gte",
"value": "2026-01-01"
}
],
"created_at": "2026-04-01T12:00:00.000Z",
"updated_at": "2026-04-01T12:00:00.000Z"
}