Upsert a person
Insert the person, or update it when a row with a conflicting unique key already exists. update is required and lists which columns to overwrite on conflict.
Authorizations
Organization-scoped API key. Create one in the BuildingSwell app under Organization settings, API keys.
Path Parameters
Record id.
Query Parameters
Columns to overwrite when the row already exists. Repeat the parameter for each column: a single comma-separated value is read as one column name and fails at the database. Without the parameter the request is rejected with 400.
Body
Only name is required. Every other field falls back to its default.
Display name.
Unique id. This is the value workerId refers to elsewhere.
Your own identifier for this person, for example an employee number. Defaults to an empty string.
Team the person belongs to.
Employment status.
active, inactive, terminated Archived people are hidden from list results unless you ask for them. They are never deleted, so historical ids still resolve. Set this to archive or restore the person.
true to leave the person out of assignment planning.
Labor or union classification code.
Stored as a plain string. It is not validated against the union code list, and renaming an entry in that list does not change this value.
QuickBase badge link, used by that integration.
When the record was created.
When the record last changed.
Response
The upserted person.
Your workforce roster. Use it to resolve the workerId values that appear on timesheets, assignments, and QC entries.