Documentation :: AllTruckJobs.com

AllTruckJobs API v2.0

Drivers

The drivers resource is used to manage application data submitted by drivers on AllTruckJobs.

List all drivers

GET https://www.alltruckjobs.com/api/v2.0/drivers.json GET https://www.alltruckjobs.com/api/v2.0/drivers.xml

URL Parameters


No parameters.

Query Parameters


certifications optional enum

Fetch only drivers with the specified endorsements.

Possible enum values:
  • Doubles/Triples (T)
  • HAZMAT (H)
  • Tank Vehicles (N)
  • Tanker + HAZMAT (X)


driver_type optional enum

Fetch only drivers with the specified driver type.

Possible enum values:
  • Owner Operator
  • Company Driver
  • Student


email optional email

Fetch only drivers with the specified email address.


end_date optional date-time

Fetch only drivers who submitted their application to your company before the specified date or date/time.


first_name optional string

Fetch only drivers with the specified first name.


has_job_apps optional boolean

Fetch only drivers who have (1) or have not (0) applied to one of your jobs.


job_title optional string

Fetch only drivers who applied to a job of the specified title.


last_name optional string

Fetch only drivers with the specified last name.


lives_within_radius optional integer

Fetch only drivers who live within the specified radius (in miles) of the location provided in lives_within_zip.


lives_within_zip optional string

Fetch only drivers who live within the radius (in miles) provided in lives_within_radius of the specified location.


max optional integer

Maximum number of drivers to return.


min_experience optional enum

Fetch only drivers with at least the specified minimum experience.

Possible enum values:
  • None
  • 1-5 months
  • 6-11 months
  • 1 year
  • 18 months
  • 2 years
  • 3 years
  • 4 or more years


phone optional phone

Fetch only drivers with the specified phone number.


sort optional enum

Sort by the specified field. Defaults to ascending order; for descending order, put a - (hyphen) in front of the field name.

For example: -sent would sort the drivers in descending order based on the date/time they submitted their application to your company.

Possible enum values:
  • id
  • name
  • state
  • driver_type
  • sent


start_date optional date-time

Fetch only drivers who submitted their application to your company after the specified date or date/time.


state optional enum

Fetch only drivers who reside in the specified state.

Possible enum values:
  • AL
  • AK
  • AZ
  • AR
  • CA
  • CO
  • CT
  • DE
  • FL
  • GA
  • HI
  • ID
  • IL
  • IN
  • IA
  • KS
  • KY
  • LA
  • ME
  • MD
  • MA
  • MI
  • MN
  • MS
  • MO
  • MT
  • NE
  • NV
  • NH
  • NJ
  • NM
  • NY
  • NC
  • ND
  • OH
  • OK
  • OR
  • PA
  • RI
  • SC
  • SD
  • TN
  • TX
  • UT
  • VT
  • VA
  • WA
  • DC
  • WV
  • WI
  • WY


Example Request

GET https://www.alltruckjobs.com/api/v2.0/drivers.json GET https://www.alltruckjobs.com/api/v2.0/drivers.xml

Example Response

[
    {
        "id": 12345,
        "first_name": "John",
        "last_name": "Doe",
        "address": "1234 Example Street",
        "address2": "Suite 5678",
        "city": "Louisville",
        "state": "KY",
        "zip": "40210",
        "email": "[email protected]",
        "phone": "1234567890",
        "driver_type": "Owner+Operator",
        "experience": "4 or more years",
        "sent": "2015-12-08T15:24:35-05:00",
        "has_job_apps": true
    },
    {
        "id": 67890,
        "first_name": "Jane",
        "last_name": "Smith",
        "address": "1234 Example Street",
        "address2": "Suite 5678",
        "city": "Lexington",
        "state": "KY",
        "zip": "40503",
        "email": "[email protected]",
        "phone": "1234657890",
        "driver_type": "Company+Driver",
        "experience": "6-11 months",
        "sent": "2015-12-08T15:24:35-05:00",
        "has_job_apps": false
    }
]
<?xml version="1.0"?>
<drivers>
  <driver>
    <id>12345</id>
    <first_name>John</first_name>
    <last_name>Doe</last_name>
    <address>1234 Example Street</address>
    <address2>Suite 5678</address2>
    <city>Louisville</city>
    <state>KY</state>
    <zip>40210</zip>
    <email>[email protected]</email>
    <phone>1234567890</phone>
    <driver_type>Student</driver_type>
    <experience>18 months</experience>
    <sent>2015-12-08T15:24:35-05:00</sent>
    <has_job_apps>1</has_job_apps>
  </driver>
  <driver>
    <id>67890</id>
    <first_name>Jane</first_name>
    <last_name>Smith</last_name>
    <address>1234 Example Street</address>
    <address2>Suite 5678</address2>
    <city>Lexington</city>
    <state>KY</state>
    <zip>40503</zip>
    <email>[email protected]</email>
    <phone>1234657890</phone>
    <driver_type>Company+Driver</driver_type>
    <experience>6-11 months</experience>
    <sent>2015-12-08T15:24:35-05:00</sent>
    <has_job_apps></has_job_apps>
  </driver>
</drivers>

Retrieve a Driver

GET https://www.alltruckjobs.com/api/v2.0/drivers.json/:id GET https://www.alltruckjobs.com/api/v2.0/drivers.xml/:id

URL Parameters


id REQUIRED integer

The ID number of the driver you want to fetch.


Query Parameters


No parameters.

Example Request

GET https://www.alltruckjobs.com/api/v2.0/drivers.json/12345 GET https://www.alltruckjobs.com/api/v2.0/drivers.xml/12345

Example Response

{
    "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": "1-5 months",
    "endorsement": "Doubles/Triples (T)",
    "freight_experience": "Flatbed",
    "freight_preferences": "Dry Bulk",
    "license_number": "o8t9f0r0x1l4m4o0l4l8",
    "license_state": "California",
    "preferred_assignments": "Local",
    "preferred_regions": "Southwest",
    "has_team": "",
    "license_class": "Class C",
    "date_of_birth": "03/23/2006",
    "twic_card": "Yes",
    "accidents": "4",
    "moving_violations": "10+",
    "last_license_suspension": 2024,
    "last_dui": 2015,
    "interested_lease_purchase": "Yes",
    "teams": "Solo",
    "trucks_owned": "",
    "employment_history": [
        {
            "company": "Example Company",
            "state": "PA",
            "phone": "1234567890",
            "start_date": "2021-01-1",
            "end_date": null
        }
    ],
    "job_applications": [
        {
            "job_id": 48608,
            "title": "Example Job Title",
            "reference": "EXAMPLE12356",
            "is_direct_app": true,
            "created_at": "1937-08-09T17:37:14+00:00"
        }
    ],
    "is_premium": false
}
<?xml version="1.0"?>
<drivers>
  <driver>
    <id>12345</id>
    <first_name>John</first_name>
    <last_name>Doe</last_name>
    <address>1234 Example Street</address>
    <address2></address2>
    <city>Louisville</city>
    <state>KY</state>
    <zip>40210</zip>
    <sent>2015-12-08T15:24:35-05:00</sent>
    <email>[email protected]</email>
    <phone>1234567890</phone>
    <driver_type>Student</driver_type>
    <experience>1-5 months</experience>
    <endorsement>Tanker + HAZMAT (X)</endorsement>
    <freight_experience>Flatbed</freight_experience>
    <freight_preferences>Dry Van</freight_preferences>
    <license_number>w3k5n8c8u3h9h2c5f6t6</license_number>
    <license_state>Massachusetts</license_state>
    <preferred_assignments>OTR</preferred_assignments>
    <preferred_regions>Midwest</preferred_regions>
    <has_team></has_team>
    <license_class>Class A</license_class>
    <date_of_birth>02/20/1944</date_of_birth>
    <twic_card>Yes</twic_card>
    <accidents>9</accidents>
    <moving_violations>4</moving_violations>
    <last_license_suspension>2021</last_license_suspension>
    <last_dui>2017</last_dui>
    <interested_lease_purchase>Yes</interested_lease_purchase>
    <teams>Team</teams>
    <trucks_owned></trucks_owned>
    <employment_history>
      <company>Example Company</company>
      <state>PA</state>
      <phone>1234567890</phone>
      <start_date>2021-01-1</start_date>
      <end_date></end_date>
    </employment_history>
    <job_applications>
      <job_id>49029</job_id>
      <title>Example Job Title</title>
      <reference>EXAMPLE12356</reference>
      <is_direct_app>1</is_direct_app>
      <created_at>1974-09-05T06:14:02+00:00</created_at>
    </job_applications>
    <is_premium></is_premium>
  </driver>
</drivers>