Skip to main content

Create Worker

POST 

/v1/api/productivity/workers

Creates a new worker.

Auth Required

Required Permissions:

  • productivity.settings:write ("Productivity Settings Write") OR
  • productivity.workers:write ("Productivity Workers Write")

Note: This endpoint enforces requireLocalSite. If site_id is provided in the request body, it must match the device's DEVICE_SITE_ID — requests targeting a remote site will be rejected.

Request

Responses

Worker created successfully