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": "None",
        "endorsement": "Tanker + HAZMAT (X)",
        "freight_experience": "Oversize Load",
        "freight_preferences": "Drop and Hook",
        "license_number": "g6z8a1p4z0h1l2m5f7q9",
        "license_state": "Florida",
        "preferred_assignments": "LTL",
        "preferred_regions": "Southeast",
        "has_team": "",
        "license_class": "Class A",
        "date_of_birth": "02/09/1971",
        "accidents": "7",
        "moving_violations": "9",
        "last_license_suspension": 2016,
        "last_dui": 2020,
        "interested_lease_purchase": "No",
        "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": 6382,
                "title": "Example Job Title",
                "reference": "EXAMPLE12356",
                "created_at": "1940-06-26T15:35:17+00:00"
            }
        ],
        "is_premium": false
    }
}