curl --location --request POST 'https://api.twenty.com/rest/viewFilters' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"fieldMetadataId": "4a2b938d-eab6-4929-90ba-f4580aabf65e",
"operand": "string",
"value": "string",
"displayValue": "string",
"viewFilterGroupId": "11537303-cd12-4d08-9754-e8fb868d5203",
"positionInViewFilterGroup": 0,
"viewId": "5aa272a5-73e4-4f9c-8123-4bac998fdb73"
}'{
"data": {
"createViewFilter": {
"fieldMetadataId": "4a2b938d-eab6-4929-90ba-f4580aabf65e",
"operand": "string",
"value": "string",
"displayValue": "string",
"viewFilterGroupId": "11537303-cd12-4d08-9754-e8fb868d5203",
"positionInViewFilterGroup": 0,
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z",
"viewId": "5aa272a5-73e4-4f9c-8123-4bac998fdb73",
"view": null
}
}
}