Webhooks Overview
Webhooks allow your applications to receive real-time notifications when specific events occur in Pollarix. Instead of polling the API for changes, webhooks push data to your server automatically.
How Webhooks Work
Why Use Webhooks?
⚡
Real-time Updates
Instant notifications without constant API polling
🔗
Easy Integration
Connect Pollarix to any system that accepts HTTP requests
🔄
Automation Ready
Trigger workflows in Zapier, n8n, or your custom backend
📊
Data Sync
Keep your databases synchronized with Pollarix in real-time
Supported Events
| Event | Trigger | Use Case |
|---|---|---|
SURVEY_COMPLETED | Respondent submits survey | Sync to CRM, send alerts |
SURVEY_STATUS_CHANGED | Survey activated/closed | Update dashboards |
COUPON_REDEEMED | Coupon distributed | Track rewards |
Common Use Cases
| Use Case | Description |
|---|---|
| CRM Integration | Automatically create or update customer records when surveys are completed |
| Alerting | Send Slack/Teams notifications when specific survey responses arrive |
| Data Pipelines | Push survey data to your data warehouse in real-time |
| Reward Systems | Trigger coupon delivery or loyalty points when customers complete surveys |
| Analytics | Feed response data into your analytics platform instantly |
Quick Start
- Via Dashboard
- Via API
- Navigate to Settings → Webhooks
- Click New Webhook
- Enter your endpoint URL
- Select events to subscribe
- Click Save
Create webhook via API
curl -X POST 'https://api.pollarix.com/department/{id}/webhook/' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-d '{
"name": "My Webhook",
"url": "https://your-server.com/webhook",
"events": ["SURVEY_COMPLETED"],
"isActive": true
}'
Pro Tip
Use webhook.site to test webhooks during development without setting up a server.
Next Steps
- Configuration Guide - Detailed setup instructions
- Events Reference - Full payload documentation
- API Reference - Webhook management API
- Security Best Practices - Protect your endpoints
Was this page helpful?