v1API ReferenceRealtime

Add an operator to the current shift

Assign an operator to the shift the machine is running at the moment of the call. Both fields are required: operatorId and start, the moment the assignment begins. Use it for clock-in at a terminal. This writes to the live shift and takes effect immediately.

Path Parameters

machine_id*Machine Id

The machine ID.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

Try it live
POST
/v1/realtime/{machine_id}/operator

This endpoint requires authentication — paste a token in the Authorization section below.

curl -X POST "https://example.com/v1/realtime/0/operator" \  -H "Content-Type: application/json" \  -d '{    "operatorId": 1,    "start": "2024-01-01T08:00:00"  }'
Empty