Workers
Create a new US employee. The worker will be created in draft status and must be invited separately via the invite endpoint. If hiring in a state without an existing tax registration, you must specify the stateRegistration field.
post/v1/workers/employee
Request body
Example request
{
"startDate": "2000-01-01",
"email": "john@joinwarp.com",
"workEmail": "john@joinwarp.com",
"departmentId": "dpt_1234",
"managerId": "wrk_1234",
"stockOptions": 10000,
"workLocation": {
"workplaceId": "wkp_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"
}
}