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
Status of the request.success or error
success
error
Message of the request.error message