curl --request POST \
--url https://api.allium.so/api/v1/streams/data-management/filters \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization_id": "<string>",
"filter": {}
}'
{
"message": "<string>",
"result_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Create a new filter by specifying the field, operator and type
curl --request POST \
--url https://api.allium.so/api/v1/streams/data-management/filters \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization_id": "<string>",
"filter": {}
}'
{
"message": "<string>",
"result_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Successful Response
The response is of type object
.