curl --request POST \
--url https://your-instance.example.com/api/filters.create \
--header 'Content-Type: application/json' \
--data '
{
"workspace_id": "<string>",
"name": "<string>",
"conditions": [
{
"field": "utm_source",
"operator": "equals",
"value": "<string>"
}
],
"operations": [
{
"dimension": "channel",
"action": "set_value",
"value": "<string>"
}
],
"priority": 500,
"tags": [
"<string>"
],
"enabled": true
}
'