Skip to main content
Webhooks allow your application to receive real-time notifications when events occur in Winnerr CRM. Instead of continuously polling the API for changes, webhooks provide an efficient way to stay synchronized with your CRM data.

Webhook Overview

Real-time Events

Instant notifications for contacts, deals, properties, and communication events

Secure Delivery

HTTPS delivery with signature verification and retry mechanisms

Flexible Filtering

Subscribe to specific events and filter by conditions

Reliable Processing

Automatic retries with exponential backoff and dead letter queues

Supported Events

Contact Events

Deal Events

Property Events

Communication Events

System Events

Creating Webhooks

Using the API

Create webhooks programmatically using the Winnerr API:

Using the Dashboard

You can also create and manage webhooks through the Winnerr dashboard:
  1. Navigate to Settings > Integrations > Webhooks
  2. Click “Create New Webhook”
  3. Enter your endpoint URL
  4. Select the events you want to subscribe to
  5. Configure filtering options (optional)
  6. Set up authentication and security settings
  7. Test the webhook and save

Webhook Configuration

Endpoint Requirements

Your webhook endpoint must meet these requirements:
  • HTTPS Only: Webhooks are only delivered to HTTPS endpoints
  • Response Time: Respond within 30 seconds
  • Status Code: Return 2xx status code for successful processing
  • Content-Type: Accept application/json content type

Event Filtering

Filter webhooks based on specific conditions:

Webhook Headers

Each webhook request includes these headers:

Webhook Payload Format

Standard Payload Structure

All webhook payloads follow this consistent structure:

Event-Specific Payloads

Contact Created Event

Deal Stage Changed Event

Property Price Changed Event

Implementing Webhook Handlers

Basic Webhook Handler

Implement a basic webhook handler to process events:

Event-Specific Handlers

Implement specific handlers for different event types:

Advanced Webhook Features

Idempotency Handling

Handle duplicate webhook deliveries gracefully:

Webhook Retry Logic

Implement robust retry handling:

Webhook Filtering

Filter events on the server side:

Webhook Management

List Webhooks

Retrieve all configured webhooks:

Update Webhook

Modify webhook configuration:

Delete Webhook

Remove a webhook configuration:

Testing Webhooks

Webhook Testing Tool

Use the built-in testing tool to verify your webhook endpoint:

Local Development

Use tools like ngrok for local webhook testing:

Webhook Simulator

Create a webhook simulator for testing:

Monitoring & Debugging

Webhook Logs

Monitor webhook delivery attempts:

Error Handling

Implement comprehensive error logging:

Best Practices

1. Security

Implement proper security measures:

2. Performance

Optimize webhook processing:

3. Reliability

Ensure reliable webhook processing:

Webhooks are essential for building responsive real estate applications. Always implement proper security, error handling, and monitoring to ensure reliable webhook processing. Test thoroughly in the sandbox environment before deploying to production.