API Reference
//
Update an employee
Security
form_session or user_session or component_session or component_token or api_token
- Mock serverhttps://docs.onboarded.com/_mock/openapi/api/v1/employees/{employee_id}
- Onboarded Production Serverhttps://app.onboarded.com/api/v1/employees/{employee_id}
curl -i -X PATCH \
'https://docs.onboarded.com/_mock/openapi/api/v1/employees/{employee_id}' \
-H 'Authorization: Bearer <YOUR_Onboarded form session token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"first_name": "string",
"middle_name": "string",
"last_name": "string",
"email": "string",
"phone": "string",
"date_of_birth": "string",
"social_security_number": "string",
"has_middle_name": true,
"address": {
"street": "123 Main St",
"secondary": "Suite 100",
"city": "San Francisco",
"state": "CA",
"zip": "94102",
"country": "US",
"full_address": "123 Main St, San Francisco, CA 94102"
},
"custom_attributes": {
"property1": null,
"property2": null
},
"property1": null,
"property2": null
}'An employee with standard fields plus any system-defined custom attributes as top-level properties. System attributes are organization-specific fields (ScalarValue: string, number, boolean, or null) that extend the base employee schema.
Record of custom attribute values keyed by string path.
Response
{ "id": "ee_abc123def456", "first_name": "string", "middle_name": "string", "last_name": "string", "email": "string", "phone": "string", "date_of_birth": "string", "social_security_number": "string", "has_middle_name": true, "address": { "street": "123 Main St", "secondary": "Suite 100", "city": "San Francisco", "state": "CA", "zip": "94102", "country": "US", "full_address": "123 Main St, San Francisco, CA 94102" }, "custom_attributes": { "property1": null, "property2": null }, "created_at": "string", "updated_at": "string", "property1": null, "property2": null }