Documentation :: AlliedTravelCareers.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": {
        "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",
        "license": "RRT",
        "experience": "26 - 30",
        "contact_time": "Morning",
        "work_eligible": "No",
        "licensed_states": "Missouri",
        "preferred_destinations": "Delaware",
        "license_number": "f2w4u7c3h8f3t7c5g0k3",
        "license_state": "Alabama",
        "license_date_issued": "12/28/1944",
        "license_date_expires": "06/12/1967",
        "license_investigated": "No",
        "license_investigation_details": "",
        "travel_status": "None",
        "employment_history": [
            {
                "company": "Example Company",
                "state": "PA",
                "phone": "1234567890",
                "start_date": "2021-01-1",
                "end_date": null
            }
        ],
        "job_applications": [
            {
                "job_id": 88859,
                "title": "Example Job Title",
                "reference": "EXAMPLE12356",
                "created_at": "2003-04-05T08:47:37+00:00"
            }
        ],
        "unlocked_by": "Smith, John"
    }
}