LeadLens LogoDeveloper Portal
Guide

Introduction to Webhooks

Webhooks enable you to receive real-time HTTP POST notifications whenever call logs are synchronized by your team. Instead of repeatedly polling our API for new logs, LeadLens pushes call data directly to your server as it happens.

How it works

  1. Your employee logs a call via the LeadLens Warrior Mobile App.
  2. Our backend records the log and checks for an active webhook configuration for your organization.
  3. LeadLens builds a JSON payload and signs it cryptographically using your LEADLENS_SECRET_TOKEN.
  4. Our webhook engine delivers the payload via HTTP POST to your pre-defined URL.

JSON Payload Structure

Every payload is sent as an HTTP POST request containing the following JSON body:

{
  "event": "call.synced",
  "timestamp": "2026-06-15T10:14:12Z",
  "org_id": "8f399f18-62ee-4d94-a4b7-874249a05b38",
  "data": {
    "system_id": "481092",
    "employee_id": "EMP-401",
    "phone_number": "+919999999999",
    "call_type": "outgoing",
    "duration_seconds": 45,
    "timestamp": "1718445252000",
    "system_call_id": "call_12345"
  }
}