Sign in

Create Filtered Stream Rule

documented

Add a rule to the filtered stream.

POST /2/tweets/search/stream/rulesPostsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.x.com/2/tweets/search/stream/rules" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"add": [{"value": "{{$rule}}", "tag": "{{$tag}}"}]}'