Twitter Webhook Integration for Account Monitors
X does not ship a public webhook for new tweets. XFlux monitors accounts on a schedule and delivers signed HTTP webhooks to your server when new posts appear — no polling code required.
Real-time alerts
Webhook fires within your plan poll interval.
Signed payloads
Verify HMAC-SHA256 before trusting any event.
No official API tier
Skip expensive X API tiers for read + notify use cases.
How the integration works
- 1
Add a monitor
Pick any public @username in the XFlux Dashboard. Optional keyword filters included.
- 2
Set your webhook URL
Paste an HTTPS endpoint. Copy the signing secret once — we POST on every new hit.
- 3
Handle events
Verify X-XFlux-Signature, parse JSON, trigger alerts, trading bots, or workflows.
Example webhook payload
Each monitor.hit event includes tweet text, author, and monitor metadata. See full webhook documentation for headers and signature verification.
POST https://your-server.com/webhooks/xflux
Content-Type: application/json
X-XFlux-Event: monitor.hit
X-XFlux-Signature: sha256=...
{
"event": "monitor.hit",
"monitor": { "targetUsername": "elonmusk" },
"tweet": {
"id": "1234567890",
"text": "Hello world",
"authorUsername": "elonmusk"
},
"detectedAt": "2026-07-31T12:00:05.000Z"
}Build it yourself vs XFlux
| DIY polling | XFlux webhooks | |
|---|---|---|
| Background polling | You build & host cron | Included |
| Twitter webhook delivery | Not available from X API | Signed HTTP POST |
| Signature verification | Roll your own | HMAC-SHA256 built-in |
| Time to first alert | Days of engineering | Minutes |
Pricing
Ready to integrate Twitter webhooks?
Create a free account, add a monitor, and upgrade to Starter when you need webhook delivery to your backend.
- 1,000 free API calls/mo
- No credit card
- Docs + test webhook