Components APIs
curl -i -X GET \
'https://docs.onboarded.com/_mock/openapi/api/v1/employees?custom_attributes=string&page=1&per_page=20' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
curl -i -X POST \
https://docs.onboarded.com/_mock/openapi/api/v1/employees \
-H 'Authorization: Bearer <YOUR_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": "string",
"secondary": "string",
"city": "string",
"state": "string",
"zip": "string",
"country": "str"
},
"custom_attributes": {}
}'
{ "id": "string", "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": "string", "secondary": "string", "city": "string", "state": "string", "zip": "string", "country": "str" }, "custom_attributes": {}, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
curl -i -X GET \
'https://docs.onboarded.com/_mock/openapi/api/v1/employees/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "id": "string", "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": "string", "secondary": "string", "city": "string", "state": "string", "zip": "string", "country": "str" }, "custom_attributes": {}, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
curl -i -X PATCH \
'https://docs.onboarded.com/_mock/openapi/api/v1/employees/{id}' \
-H 'Authorization: Bearer <YOUR_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": "string",
"secondary": "string",
"city": "string",
"state": "string",
"zip": "string",
"country": "str"
},
"custom_attributes": {}
}'
{ "id": "string", "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": "string", "secondary": "string", "city": "string", "state": "string", "zip": "string", "country": "str" }, "custom_attributes": {}, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
curl -i -X DELETE \
'https://docs.onboarded.com/_mock/openapi/api/v1/employees/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "id": "string", "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": "string", "secondary": "string", "city": "string", "state": "string", "zip": "string", "country": "str" }, "custom_attributes": {}, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
curl -i -X GET \
'https://docs.onboarded.com/_mock/openapi/api/v1/employees/{id}/onboarding?active_theme_id=string&assignee_type=employee&locale=en&redirect_to=http%3A%2F%2Fexample.com&task_ids=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'