Workers
Create a new contractor. The worker will be created in draft status and must be invited separately via the invite endpoint. For business contractors, the businessName field is required.
post/v1/workers/contractor
Request body
Example request
{
"scopeOfWork": "Frontend development for the customer dashboard",
"startDate": "2000-01-01",
"email": "john@joinwarp.com",
"workEmail": "john@joinwarp.com",
"departmentId": "dpt_1234",
"managerId": "wrk_1234"
}Response
Success
Example response
{
"id": "wrk_1234",
"position": "Research Engineer",
"startDate": "2000-01-01",
"endDate": "2000-01-01",
"firstName": "Jonathan",
"lastName": "Galt",
"email": "john@joinwarp.com",
"workEmail": "john@joinwarp.com",
"preferredName": "John",
"displayName": "Jack Galt",
"timeZone": "America/New_York",
"department": {
"id": "dpt_1234",
"name": "Engineering"
}
}