cURL
curl --request POST \ --url https://api.twitterapi.io/oapi/tweet_filter/add_rule \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "tag": "<string>", "value": "<string>", "interval_seconds": 123 }'
{ "rule_id": "<string>", "status": "success", "msg": "<string>" }
Add a tweet filter rule. Default rule is not activated.You must call update_rule to activate the rule.
Tweet filter rule add response
The response is of type object.
object