Webhooks

Receive real-time notifications for lead events.

Webhooks let you receive real-time HTTP notifications when events happen in LeadRoute.

Setting up webhooks

  1. Go to Settings → Webhooks
  2. Click Add Endpoint
  3. Enter your endpoint URL
  4. Select events to subscribe to
  5. Save the webhook

Available events

  • lead.created - New lead submitted
  • lead.claimed - Lead was claimed
  • lead.expired - Lead expired unclaimed
  • member.created - New member added
  • member.activated - Member activated

Webhook payload

{
  "event": "lead.created",
  "timestamp": "2024-01-15T10:30:00Z",
  "data": {
    "id": "lead_abc123",
    "email": "customer@example.com",
    "service": "plumbing",
    "location": "Los Angeles"
  }
}

Verifying webhooks

Verify webhook signatures to ensure requests come from LeadRoute. Check the X-LeadRoute-Signature header.