Get contractors of a company
GET {{baseUrl}}/v1/companies/:company_id/contractors?page=<number>&per=<number>&search_term=<string>
Get all contractors, active and inactive, individual and business, for a company.
scope: contractors:read
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
page | string | The page that is requested. When unspecified, will load all objects unless endpoint forces pagination. | |
per | string | Number of objects per page. For majority of endpoints will default to 25 | |
search_term | string | A string to search for in the object's names |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Gusto-API-Version | string | Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used. | |
Accept | string |
RESPONSES
status: OK
[{"uuid":"c9fc1ad3-c107-4e7b-aa21-2dd4b00a7a07","company_uuid":"b7457fec-3b76-43bb-9c6e-69cca4688942","wage_type":"Fixed","is_active":false,"version":"63859768485e218ccf8a449bb60f14ed","type":"Individual","first_name":"Kory","last_name":"Gottlieb","middle_initial":"P","business_name":null,"ein":null,"has_ein":false,"has_ssn":true,"department":"Backup Dancer","department_uuid":"1802465d-4f68-4865-920c-1307ab095f12","email":"keira.west@mckenzie.org","start_date":"2022-01-01","file_new_hire_report":false,"work_state":null,"onboarded":true,"onboarding_status":"onboarding_completed","address":{"street_1":"621 Jast Row","street_2":"Apt. 281","city":"Coral Springs","state":"FL","zip":"33065","country":"USA"},"hourly_rate":"0.00"},{"uuid":"183a86f4-a803-4b38-9357-cd9b78e2560c","company_uuid":"afdd5d98-581b-4fc0-b988-706b7d23b2a5","wage_type":"Fixed","is_active":true,"version":"8aab307f1e8ed788697f8986346af559","type":"Business","first_name":null,"last_name":null,"middle_initial":null,"business_name":"Labadie-Stroman","ein":"XX-XXX0001","has_ein":true,"has_ssn":false,"email":"jonatan@kerluke.info","start_date":"2022-01-01","onboarded":true,"onboarding_status":"onboarding_completed","address":{"street_1":"1625 Bednar Center","street_2":"Apt. 480","city":"Port Charlotte","state":"FL","zip":"33954","country":"USA"},"hourly_rate":"0.00","file_new_hire_report":false,"work_state":null},{"uuid":"ea1c2d65-b622-4899-bcb7-5cd0fe0232aa","id":7757515807623484,"company_uuid":"281c763d-a2ba-4f51-b9e8-b1ed61576d62","company_id":7757616923763477,"wage_type":"Fixed","is_active":true,"version":"b48c46abfed1487b873b442334b3c4ff","type":"Individual","first_name":"Chanel","last_name":"Boyle","middle_initial":"X","business_name":null,"ein":null,"has_ein":false,"has_ssn":true,"email":"loyal@hettinger.biz","file_new_hire_report":true,"work_state":"TX","onboarded":true,"onboarding_status":"onboarding_completed","address":{"street_1":"35913 Darrick Run","street_2":"Apt. 913","city":"Cypress","state":"TX","zip":"77433","country":"USA"},"hourly_rate":"0.00"}]