Clock-in

Clocks the user into work.

This endpoint requires the Agent Impersonator role.

URL

POST: https://[base-url]/{applicationId}/agents/{userId}/actions/clockIn

Headers

Authorization: Bearer <accessToken>

Request Body

  • unitId (GUID, required): The current unit the user is in.

Response

Success -> 200

Invalid access token --> 401

The "Track Agents Status" feature is disabled -> 403

The user status is not "Away" -> 409, 3301

The unit is not in the current organization, or the user is not allowed to access the selected unit --> 403

Last updated