الويب هوك
الويب هوك allow you to receive real-time HTTP notifications when events occur in your FeedbackPulse tenant.
Setup
Via لوحة التحكم
- اذهب إلى الإعدادات > Integrations
- أدخل Webhook URL
- Select which events to subscribe to
- Optionally set a secret for HMAC signature verification
- Save
Via API
PUT /api/v2/webhooks/config
{
"url": "https://your-app.com/webhooks/feedbackpulse",
"events": ["submission.created", "submission.status_changed"],
"secret": "your_shared_secret"
}
Webhook Payload
When an event occurs, FeedbackPulse sends a POST request to your URL:
{
"event": "submission.created",
"timestamp": "2024-03-15T10:30:00Z",
"data": {
"id": 42,
"campaign_id": 1,
"star_rating": 5,
"text_feedback": "Love this product!",
"customer_name": "Jane Doe",
"status": "pending"
}
}