Components APIs
curl -i -X GET \
'https://docs.onboarded.com/_mock/openapi/api/v1/employers?page=1&per_page=20' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "data": [ { … } ], "total": 0 }
Body
curl -i -X POST \
https://docs.onboarded.com/_mock/openapi/api/v1/employers \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"ein": "string",
"dba_name": "string",
"phone": "string",
"employee_count": 0,
"entity_structure": "sole_proprietorship",
"naics_code": "string",
"address": {
"street": "string",
"secondary": "string",
"city": "string",
"state": "string",
"zip": "string",
"country": "str"
},
"custom_attributes": {},
"active_theme_id": "string"
}'
{ "id": "string", "name": "string", "ein": "string", "dba_name": "string", "phone": "string", "employee_count": 0, "entity_structure": "sole_proprietorship", "naics_code": "string", "address": { "street": "string", "secondary": "string", "city": "string", "state": "string", "zip": "string", "country": "str" }, "custom_attributes": {}, "active_theme_id": "string", "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/employers/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "id": "string", "name": "string", "ein": "string", "dba_name": "string", "phone": "string", "employee_count": 0, "entity_structure": "sole_proprietorship", "naics_code": "string", "address": { "street": "string", "secondary": "string", "city": "string", "state": "string", "zip": "string", "country": "str" }, "custom_attributes": {}, "active_theme_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
Body
curl -i -X PATCH \
'https://docs.onboarded.com/_mock/openapi/api/v1/employers/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"ein": "string",
"dba_name": "string",
"phone": "string",
"employee_count": 0,
"entity_structure": "sole_proprietorship",
"naics_code": "string",
"address": {
"street": "string",
"secondary": "string",
"city": "string",
"state": "string",
"zip": "string",
"country": "str"
},
"custom_attributes": {},
"active_theme_id": "string"
}'
{ "id": "string", "name": "string", "ein": "string", "dba_name": "string", "phone": "string", "employee_count": 0, "entity_structure": "sole_proprietorship", "naics_code": "string", "address": { "street": "string", "secondary": "string", "city": "string", "state": "string", "zip": "string", "country": "str" }, "custom_attributes": {}, "active_theme_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }