Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.getomni.ai/llms.txt

Use this file to discover all available pages before exploring further.

Triggered when a lead is created.

Event Type

lead.created

Description

This event is fired whenever a new lead is created in your workspace, whether via API, email, SMS, WhatsApp, or portal. Use this event to sync new leads to your CRM or trigger onboarding workflows.

Payload Structure

event
string
required
The event type: lead.created
data
object
required
The lead data
{
  "event": "lead.created",
  "data": {
    "leadId": "50713355-df73-4077-9d84-dcda6da5729c",
    "externalId": "ext-lead-001",
    "firstName": "John",
    "middleName": null,
    "lastName": "Doe",
    "phoneNumber": "+15551234567",
    "email": "john@example.com",
    "businessName": "Acme Inc",
    "website": "https://acme.com",
    "source": "inbound-email"
  }
}