Contractors
Addresses
Counties
Jurisdictions
Zipcodes
States
List Contractor Employees
Returns a paginated list of employees for a specific contractor.
curl --request GET \
--url https://api.shovels.ai/v2/contractors/{id}/employees \
--header 'X-API-Key: <api-key>'
{
"items": [
{
"id": "aa145cd32c95f69b95e9233f6a957a32",
"contractor_id": "8wKHB2ZNf",
"name": "John Smith",
"street_no": "123",
"street": "Oak Avenue",
"city": "San Francisco",
"zip_code": "94105",
"zip_code_ext": "1234",
"state": "CA",
"phone": "(415) 555-0123",
"email": "john.smith@personal.com",
"business_email": "j.smith@company.com",
"linkedin_url": "https://linkedin.com/in/johnsmith",
"homeowner": "Y",
"gender": "M",
"age_range": "35-44",
"is_married": true,
"has_children": true,
"income_range": "$120,000 to $149,999",
"net_worth": "$150,000 to $249,999",
"job_title": "Senior Solar Installation Technician",
"seniority_level": "Senior",
"department": "Installation"
},
{
"id": "73744cd32c95f69b95e9233f6a957d90",
"contractor_id": "8wKHB2ZNf",
"name": "Sarah Johnson",
"street_no": "456",
"street": "Pine Street",
"city": "Oakland",
"zip_code": "94611",
"zip_code_ext": "5678",
"state": "CA",
"phone": "(510) 555-0456",
"email": "sarah.j@personal.com",
"business_email": "s.johnson@company.com",
"linkedin_url": "https://linkedin.com/in/sarahjohnson",
"homeowner": "N",
"gender": "F",
"age_range": "25-34",
"is_married": false,
"has_children": false,
"income_range": "$75,000 to $100,000",
"net_worth": "$150,000 to $249,999",
"job_title": "Project Manager",
"seniority_level": "Mid",
"department": "Operations"
}
],
"page": 1,
"size": 2
}
Authorizations
Path Parameters
Filter by the specified contractor ID.
Query Parameters
x >= 1
1 <= x <= 100
Response
The list of items returned in the response following given criteria.
Employees table.
Unique identifier for the person.
The contractor identifier this employee belongs to.
Full name of the employee.
Street number of employee's address.
Street name of employee's address.
City of employee's address.
ZIP code of employee's address.
ZIP code extension.
State of employee's address.
Employee's phone number.
Employee's personal email.
Employee's business email.
Employee's LinkedIn profile URL.
Homeowner status.
Gender of the employee.
Age range of the employee.
Marital status of the employee.
Whether the employee has children.
Income range of the employee.
Net worth range of the employee.
Current job title of the employee.
Seniority level in the organization.
Department the employee works in.
The page number of the response.
The number of items returned in the response.
The next page number of the response.
Was this page helpful?
curl --request GET \
--url https://api.shovels.ai/v2/contractors/{id}/employees \
--header 'X-API-Key: <api-key>'
{
"items": [
{
"id": "aa145cd32c95f69b95e9233f6a957a32",
"contractor_id": "8wKHB2ZNf",
"name": "John Smith",
"street_no": "123",
"street": "Oak Avenue",
"city": "San Francisco",
"zip_code": "94105",
"zip_code_ext": "1234",
"state": "CA",
"phone": "(415) 555-0123",
"email": "john.smith@personal.com",
"business_email": "j.smith@company.com",
"linkedin_url": "https://linkedin.com/in/johnsmith",
"homeowner": "Y",
"gender": "M",
"age_range": "35-44",
"is_married": true,
"has_children": true,
"income_range": "$120,000 to $149,999",
"net_worth": "$150,000 to $249,999",
"job_title": "Senior Solar Installation Technician",
"seniority_level": "Senior",
"department": "Installation"
},
{
"id": "73744cd32c95f69b95e9233f6a957d90",
"contractor_id": "8wKHB2ZNf",
"name": "Sarah Johnson",
"street_no": "456",
"street": "Pine Street",
"city": "Oakland",
"zip_code": "94611",
"zip_code_ext": "5678",
"state": "CA",
"phone": "(510) 555-0456",
"email": "sarah.j@personal.com",
"business_email": "s.johnson@company.com",
"linkedin_url": "https://linkedin.com/in/sarahjohnson",
"homeowner": "N",
"gender": "F",
"age_range": "25-34",
"is_married": false,
"has_children": false,
"income_range": "$75,000 to $100,000",
"net_worth": "$150,000 to $249,999",
"job_title": "Project Manager",
"seniority_level": "Mid",
"department": "Operations"
}
],
"page": 1,
"size": 2
}