Webhooks
Receive real-time notifications for lead events.
Webhooks let you receive real-time HTTP notifications when events happen in LeadRoute.
Setting up webhooks
- Go to Settings → Webhooks
- Click Add Endpoint
- Enter your endpoint URL
- Select events to subscribe to
- Save the webhook
Available events
lead.created- New lead submittedlead.claimed- Lead was claimedlead.expired- Lead expired unclaimedmember.created- New member addedmember.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.