Webhooks
New Lead
This event is triggered when you receive a new lead.
- Only HTTP POST is supported for now
- Only JSON is supported for now
Sample POST Payload
{
"event": "new-lead",
"lead": {
"id": 12345,
"first_name": "John",
"last_name": "Doe",
"address": "1234 Example Street",
"address2": null,
"city": "Louisville",
"state": "KY",
"zip": "40210",
"sent": "2015-12-08T15:24:35-05:00",
"email": "[email protected]",
"phone": "1234567890",
"driver_type": "Owner+Operator",
"experience": "4 or more years",
"endorsement": "Tanker + HAZMAT (X)",
"freight_experience": "Oversize Load",
"freight_preferences": "Oil Field",
"license_number": "a3i3t9q0g5e2c6k7t6n9",
"license_state": "Arizona",
"preferred_assignments": "Local",
"preferred_regions": "Northeast",
"has_team": "",
"license_class": "Class B",
"date_of_birth": "04/07/1941",
"twic_card": "Yes",
"accidents": "6",
"moving_violations": "7",
"last_license_suspension": 2015,
"last_dui": 2016,
"interested_lease_purchase": "Yes",
"teams": "Team",
"trucks_owned": "",
"employment_history": [
{
"company": "Example Company",
"state": "PA",
"phone": "1234567890",
"start_date": "2021-01-1",
"end_date": null
}
],
"job_applications": [
{
"job_id": 80495,
"title": "Example Job Title",
"reference": "EXAMPLE12356",
"is_direct_app": false,
"created_at": "1975-04-11T20:14:40+00:00"
}
],
"is_premium": true
}
}