- API v2.0
- Job Feed
- Webhooks
LocumJobsOnline API v2.0
Leads
The leads resource is used to manage application data submitted by leads on LocumJobsOnline.
List all leads
URL Parameters
No parameters.
Query Parameters
optional
email
Fetch only leads with the specified email address.
optional
enum
Fetch only leads with the specified employment type.
Possible enum values:Locum TenensPermanent
optional
date-time
Fetch only leads who submitted their application to your company or were unlocked before the specified date or date/time.
optional
date-time
Fetch only leads who were unlocked by your employer on or before the specified date or date/time.
optional
string
Fetch only leads with the specified first name.
optional
boolean
Fetch only leads who have (1) or have not (0) applied to one of your jobs.
optional
string
Fetch only leads who applied to a job of the specified title.
optional
string
Fetch only leads with the specified last name.
optional
enum
Fetch only leads with the specified license.
Possible enum values:Doctor of Medicine (MD)Doctor of Osteopathic Medicine (DO)Physician Assistant (PA)Nurse Practitioner (NP)Certified Registered Nurse Anesthetist (CRNA)Doctor of Dental Medicine (DMD)Doctor of Dental Surgery (DDS)Doctor of Podiatric Medicine (DPM)Doctor of Optometry (OD)Certified Anesthesiologist Assistant (CAA)
optional
enum
Fetch only leads who are licensed in the specified state(s).
Possible enum values:ALAKAZARCACOCTDEFLGAHIIDILINIAKSKYLAMEMDMAMI
MNMSMOMTNENVNHNJNMNYNCNDOHOKORPARISCSDTNTXUT
VTVAWADCWVWIWYCompact
optional
integer
Fetch only leads who live within the specified radius (in miles) of the location provided in lives_within_zip.
optional
string
Fetch only leads who live within the radius (in miles) provided in lives_within_radius of the specified location.
optional
integer
Maximum number of leads to return.
optional
enum
Fetch only leads with at least the specified minimum experience.
Possible enum values:0123456789101112131415161718192021
22232425262728293031323334353637383940414243
44454647484950515253545556575859606162636465
66676869707172737475767778798081828384858687
888990919293949596979899
optional
boolean
Fetch only leads who have not been unlocked by your employer.
optional
phone
Fetch only leads with the specified phone number.
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 leads in descending order based on the date/time they submitted their application to your employer.
idnamestatelicensesent
optional
date-time
Fetch only leads who submitted their application to your company or were unlocked after the specified date or date/time.
optional
date-time
Fetch only leads who were unlocked by your employer on or after the specified date or date/time.
optional
enum
Fetch only leads who reside in the specified state.
Possible enum values:ALAKAZARCACOCTDEFLGAHIIDILINIAKSKYLAMEMDMAMI
MNMSMOMTNENVNHNJNMNYNCNDOHOKORPARISCSDTNTXUT
VTVAWADCWVWIWY
optional
email
Fetch only leads who were unlocked by the specified user.
Example Request
Example Response
[
{
"id": 12345,
"first_name": "John",
"last_name": "Doe",
"address": "1234 Example Street",
"address2": "Suite 5678",
"city": "Louisville",
"state": "KY",
"zip": "40210",
"email": "johndoe@test.com",
"phone": "1234567890",
"license": "DPM",
"experience": "41",
"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": "janesmith@test.com",
"phone": "1234657890",
"license": "PA",
"experience": "55",
"sent": "2015-12-08T15:24:35-05:00",
"has_job_apps": false
}
]
<?xml version="1.0"?>
<leads>
<lead>
<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>johndoe@test.com</email>
<phone>1234567890</phone>
<license>DMD</license>
<experience>80</experience>
<sent>2015-12-08T15:24:35-05:00</sent>
<has_job_apps>1</has_job_apps>
</lead>
<lead>
<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>janesmith@test.com</email>
<phone>1234657890</phone>
<license>OD</license>
<experience>86</experience>
<sent>2015-12-08T15:24:35-05:00</sent>
<has_job_apps></has_job_apps>
</lead>
</leads>
Retrieve a Lead
URL Parameters
REQUIRED
integer
The ID number of the lead you want to fetch.
Query Parameters
No parameters.
Example Request
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": "johndoe@test.com",
"phone": "+1234567890",
"license": "DO",
"experience": "14",
"employmentType": "Locum Tenens",
"specialties": "Neurosurgery",
"contact_time": "Morning",
"preferred_destinations": "Tennessee",
"licensed_states": "Washington",
"preferred_cities": "Nihil est voluptatum cumque ullam sed illum laborum. Commodi molestias dolor facere voluptatum. Voluptas quidem voluptas iusto iure.",
"license_state": "Tennessee",
"license_date_issued": "09/01/1957",
"license_date_expires": "01/12/2001",
"license_investigated": "Yes",
"license_investigation_details": "",
"employment_history": [
{
"company": "Example Company",
"state": "PA",
"phone": "1234567890",
"start_date": "2021-01-01",
"end_date": null
}
],
"job_applications": [
{
"job_id": 4749,
"title": "Example Job Title",
"reference": "EXAMPLE12356",
"is_direct_app": false,
"created_at": "1983-01-22T00:57:39+00:00"
}
],
"unlocked_by": "Smith, John"
}
<?xml version="1.0"?>
<leads>
<lead>
<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>johndoe@test.com</email>
<phone>+1234567890</phone>
<license>DO</license>
<experience>72</experience>
<employmentType>Locum Tenens</employmentType>
<specialties>Peds - Critical Care</specialties>
<contact_time>Afternoon</contact_time>
<preferred_destinations>New Mexico</preferred_destinations>
<licensed_states>Ohio</licensed_states>
<preferred_cities>In voluptatem quia libero nostrum adipisci aut dolores quam. Sit ipsam deleniti aperiam doloribus. Et nihil at consequatur assumenda itaque maxime. Sit similique facilis ipsa sunt.</preferred_cities>
<license_state>North Dakota</license_state>
<license_date_issued>01/24/1965</license_date_issued>
<license_date_expires>07/12/1973</license_date_expires>
<license_investigated>No</license_investigated>
<license_investigation_details></license_investigation_details>
<employment_history>
<company>Example Company</company>
<state>PA</state>
<phone>1234567890</phone>
<start_date>2021-01-01</start_date>
<end_date></end_date>
</employment_history>
<job_applications>
<job_id>73779</job_id>
<title>Example Job Title</title>
<reference>EXAMPLE12356</reference>
<is_direct_app>1</is_direct_app>
<created_at>1978-06-04T00:28:24+00:00</created_at>
</job_applications>
<unlocked_by>Smith, John</unlocked_by>
</lead>
</leads>