cURL
curl --request GET \ --url https://api.twitterapi.io/oapi/tweet_filter/get_rules \ --header 'X-API-Key: <api-key>'
{ "rules": [ { "rule_id": "<string>", "tag": "<string>", "value": "<string>", "interval_seconds": 123 } ], "status": "success", "msg": "<string>" }
Get all tweet filter rules.Rule can be used in webhook and websocket.You can also modify the rule in our web page.
Tweet filter rules response
Array of tweet filter rules
Show child attributes
ID of the rule
Custom tag to identify the rule.Max length is 255
Rule to filter tweets.eg "from:elonmusk OR from:kaitoeasyapi".Max length is 255
Interval to check tweets.Min value is 100.Max value is 86400
Status of the request.success or error
success
error
Message of the request.error message