Documentation Index
Fetch the complete documentation index at: https://api-docs-dev.iclosed.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Contact Created webhook is triggered whenever a new contact is created in your iClosed.io account. This event provides comprehensive information about the newly created contact, including their personal details, event information, tracking data, and any associated calls.Event Details
- Event Type:
newContactCreated - Trigger: When a contact is created through any channel (form submission, manual creation, API, etc.)
- Payload: Complete contact object with all associated data
Webhook Payload
The webhook payload contains the full contact object with the following structure:Key Fields Explained
Basic Contact Information
id: Unique contact identifierfirstName,lastName: Contact’s nameemail: Primary email addressphoneNumber: Primary phone numbersecondary_email,secondary_phoneNumber: Additional contact methodsstatus: Contact qualification status (e.g., “QUALIFIED”)
Event Information
event: Details about the event the contact was created fromid: Event identifiername: Event namelinkPrefix: Event URL prefixcolor: Event color codeeventType: Type of event (e.g., “DISCOVERY_EVENT”)
Questions and Answers
questionsAndAnswers: All form responses from the contact- Contains both numbered format (
1_question,1_response) and direct key-value pairs - Includes all custom fields and form questions
- Contains both numbered format (
Tracking Data
tracking: UTM parameters and tracking informationutm_source,utm_medium,utm_campaign: Marketing attributionfirst_utm_*: Original UTM parametersutmKey_*,utmValue_*: Custom tracking parameters
Call Information
latestCall: Details about any scheduled callsdateTime: Scheduled call timeduration: Call duration in minutesuser: Call host information
Disqualification Logic
disqualifyingGroup: Any disqualifying conditions that apply- Contains logic statements that determine contact qualification
Use Cases
This webhook is useful for:- CRM Integration: Automatically create contacts in your CRM system
- Email Marketing: Add new contacts to email campaigns
- Analytics: Track contact creation sources and patterns
- Lead Scoring: Evaluate contact quality based on responses
- Workflow Automation: Trigger follow-up actions for new contacts
Response Requirements
Your webhook endpoint should:- Return a 2xx status code to acknowledge receipt
- Respond within 5 seconds to avoid retries
- Handle duplicate events (idempotency)
- Log the contact ID for debugging purposes