Workforce
Create employee
Call Outcome
Company Category
Contract Type
Custom Field
Delivery Method
Industry
Lead Source
Loss Reason
Market Sector
Project Stages
Task List
Tender Type
Webhook Message
Workforce
Create employee
POST
/
api
/
2023-01
/
workforce
/
employees
curl --request POST \
--url https://api.buildr.com/api/2023-01/workforce/employees \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"workforce_employee": {
"birthday": "2021-01-01",
"email": "anthony@example.com",
"last_name": "Edwards",
"legal_first_name": "Anthony",
"notes": "This is why you always leave a note",
"phone": "555-555-5555",
"preferred_first_name": "Tony",
"role_id": "734",
"manager_id": "140",
"start_date": "2021-01-01",
"address": {
"street_address": "123 Main St",
"street_address2": "Apt 1",
"city": "Los Angeles",
"state": "CA",
"zip": "90001",
"country": "US"
}
}
}'
{
"workforce_employee": {
"id": "140",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"birthday": "2021-01-01",
"last_name": "Edwards",
"legal_first_name": "Anthony",
"notes": "This is why you always leave a note",
"phone": "555-555-5555",
"preferred_first_name": "Tony",
"start_date": "2021-01-01",
"email": "anthony@example.com",
"address": {
"street_address": "123 Main St",
"street_address2": "Apt 1",
"city": "Los Angeles",
"state": "CA",
"zip": "90001",
"country": "US"
},
"role": {
"id": "734",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "Project Manager",
"abbreviation": "PM"
},
"manager": {
"id": "687",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"legal_first_name": "Markus",
"preferred_first_name": "Mookie",
"last_name": "Betts",
"email": "mookie@example.com",
"role": {
"id": "734",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "Project Manager",
"abbreviation": "PM"
}
}
}
}
Headers
Body
application/json
Response
201 - application/json
Created Response
The response is of type object
.
curl --request POST \
--url https://api.buildr.com/api/2023-01/workforce/employees \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"workforce_employee": {
"birthday": "2021-01-01",
"email": "anthony@example.com",
"last_name": "Edwards",
"legal_first_name": "Anthony",
"notes": "This is why you always leave a note",
"phone": "555-555-5555",
"preferred_first_name": "Tony",
"role_id": "734",
"manager_id": "140",
"start_date": "2021-01-01",
"address": {
"street_address": "123 Main St",
"street_address2": "Apt 1",
"city": "Los Angeles",
"state": "CA",
"zip": "90001",
"country": "US"
}
}
}'
{
"workforce_employee": {
"id": "140",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"birthday": "2021-01-01",
"last_name": "Edwards",
"legal_first_name": "Anthony",
"notes": "This is why you always leave a note",
"phone": "555-555-5555",
"preferred_first_name": "Tony",
"start_date": "2021-01-01",
"email": "anthony@example.com",
"address": {
"street_address": "123 Main St",
"street_address2": "Apt 1",
"city": "Los Angeles",
"state": "CA",
"zip": "90001",
"country": "US"
},
"role": {
"id": "734",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "Project Manager",
"abbreviation": "PM"
},
"manager": {
"id": "687",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"legal_first_name": "Markus",
"preferred_first_name": "Mookie",
"last_name": "Betts",
"email": "mookie@example.com",
"role": {
"id": "734",
"created_at": "2023-02-14T18:13:00Z",
"updated_at": "2023-04-03T20:16:30Z",
"name": "Project Manager",
"abbreviation": "PM"
}
}
}
}