Skip to main content
Glama
add_webhook_rule.md782 B
# Add Webhook Rule Source: https://docs.twitterapi.io/api-reference/endpoint/add_webhook_rule ## Endpoint - Method: `POST` - Path: `/oapi/tweet_filter/add_rule` - API URL: `https://api.twitterapi.io/oapi/tweet_filter/add_rule` ## Description Add a tweet filter rule. Default rule is not activated. You must call update_rule to activate the rule. ## Example (curl) ```bash 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 } ' ``` ## Example Response ```json { "rule_id": "<string>", "status": "success", "msg": "<string>" } ``` _Scraped at: 2025-12-18T10:06:12.862Z_

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dorukardahan/twitterapi-io-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server