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": "Student",
        "experience": "2 years",
        "endorsement": "Doubles/Triples (T)",
        "freight_experience": "Intermodal",
        "freight_preferences": "Hopper Bottom",
        "license_number": "s8f8o2r4l9c4f2i8o4j0",
        "license_state": "Kentucky",
        "preferred_assignments": "OTR",
        "preferred_regions": "Southwest",
        "has_team": "",
        "license_class": "Class A",
        "date_of_birth": "12/04/1979",
        "accidents": "10+",
        "moving_violations": "0",
        "last_license_suspension": 2013,
        "last_dui": 2014,
        "twic_card": "No",
        "interested_lease_purchase": "No",
        "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": 84223,
                "title": "Example Job Title",
                "reference": "EXAMPLE12356",
                "created_at": "1958-10-11T22:04:36+00:00"
            }
        ],
        "is_premium": false
    }
}