- Departments — organizational units like “Engineering” or “Sales”
- Custom fields — arbitrary metadata like “T-shirt Size” or “Employee ID”
jobInfo.
Prerequisites
API key from Dashboard
Get your API key from the Cadana Dashboard. See Authentication for details.
Your business ID
You need a
businessId for these endpoints. Platform integrators receive this from the POST /v1/platform/businesses response when creating a business. Direct API users can find it in the Dashboard under Settings > Business.Departments
Create Departments
Create one or more departments in a single request. Pass an array of department names in thedata field.
Response:
Update a Department
Rename an existing department by its ID. Returns204 on success.
View Departments
Departments are returned as an array on the business object. UseGET /v1/businesses/{businessId} to retrieve them.
The response includes a departments array:
Custom Fields
Create Custom Fields
Create one or more custom fields in a single request. Pass an array of field names in thedata field.
Response:
Custom fields are created with an empty
value. Values are set per-person when you assign the field via jobInfo.Update a Custom Field
Rename an existing custom field by its ID. Returns204 on success.
View Custom Fields
Like departments, custom fields are returned on the business object viaGET /v1/businesses/{businessId}:
Assign to Workers
Once departments and custom fields exist on the business, assign them to individual workers viaPUT /v1/persons/{personId}/jobInfo.
department— pass the department name (string), not the IDcustomFields— pass an array of objects withnameandvalue
204 on success.
Next Steps
Onboard Workers
Create Person records and assign departments during onboarding
Pay Workers via Payroll
Run payroll for workers across departments
Business Setup
Platform overview and business creation