Please make sure to provide the needed API_KEY and AUTH_TOKEN. A token can be generated using our jwt generator: https://getstream.io/chat/docs/react/token_generator/
curl --location '<https://chat-edge-oregon-ce3.stream-io-api.com/automod/v1/tasks>' \\
--header 'Stream-Auth-Type: jwt' \\
--header 'Authorization: AUTH_TOKEN' \\
--header 'Content-Type: application/json' \\
--header 'api_key: API_KEY' \\
--data '{
"content_type": "text",
"payload": {
"text": "please send me an email"
},
"evaluations": [
{"type":"semantic_filter", "phrases": [
"discuss only on e mail"
]},
{"type":"semantic_filter", "phrases": [
"drop me a msg on e mail"
]},
{"type":"semantic_filter", "phrases": [
"enter your gmail hotmail"
]}
]
}'