Documentation :: AllTruckJobs.com

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": "Company+Driver",
        "experience": "18 months",
        "endorsement": "Tanker + HAZMAT (X)",
        "freight_experience": "Tanker",
        "freight_preferences": "Dry Bulk",
        "license_number": "o6u7m7x4a2b4a1d7u5k5",
        "license_state": "Texas",
        "preferred_assignments": "Local",
        "preferred_regions": "Southeast",
        "has_team": "",
        "license_class": "Class B",
        "date_of_birth": "12/25/1939",
        "twic_card": "No",
        "accidents": "3",
        "moving_violations": "0",
        "last_license_suspension": 2024,
        "last_dui": 2023,
        "interested_lease_purchase": "Yes",
        "teams": "Both",
        "trucks_owned": "",
        "employment_history": [
            {
                "company": "Example Company",
                "state": "PA",
                "phone": "1234567890",
                "start_date": "2021-01-1",
                "end_date": null
            }
        ],
        "job_applications": [
            {
                "job_id": 43307,
                "title": "Example Job Title",
                "reference": "EXAMPLE12356",
                "is_direct_app": true,
                "created_at": "1996-11-22T22:37:28+00:00"
            }
        ],
        "is_premium": false
    }
}