Webhooks
Set up webhooks to receive change notifications
Webhooks
Configure webhooks to receive real-time notifications about detected changes.
Setting Up Webhooks
- Go to Settings → Notifications
- Scroll to Webhooks section
- Enter your webhook URL
- Optionally configure a webhook secret for HMAC verification
- Save your settings
Webhook Payload
When a change is detected, Competitor Watch sends a POST request to your webhook URL with a JSON payload:
{
"event": "change.detected",
"timestamp": "2024-01-15T10:30:00Z",
"change": {
"id": "change_id",
"siteId": "site_id",
"siteName": "Competitor Name",
"changeType": "PRICING",
"significance": "HIGH",
"summary": "AI-generated summary of the change",
"url": "https://competitor.com/changed-page"
}
}
Webhook Security
If you configure a webhook secret, Competitor Watch signs each webhook payload with HMAC-SHA256. Verify the signature to ensure the request is authentic.
Testing Webhooks
Use a service like webhook.site to test your webhook configuration before using it in production.