Skip to main content
POST
Create the worker row an account is assigned work through, and optionally put them in a team.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Create the worker row an account is assigned work through, and optionally put them in a team.

Requires workforce.worker.create and admin.user.edit. Name, email and phone come from the account. An empty worker number is assigned from the tenant's WRK sequence.

p_user_id
string<uuid>
required
p_worker_type_id
string<uuid>
required
p_primary_site_id
string<uuid>
p_team_id
string<uuid>
p_worker_number
string<text>

Response

200

OK