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",
    "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"
    }
  }
}

Headers

Authorization
string
required

Body

application/json
workforce_employee
object

Response

201 - application/json
workforce_employee
object
required