Worker Updated

Overview

The worker updated event is sent after an existing worker has been edited in WorkN.

Event Parameters

For detailed information on the parameters that are common across all events, please refer to Parameters for All Events. The parameters listed here are specific to this event.

Parameter

Condition

Data Type

Description

Expected value

event_type

Integer

The ID representing the type of event.

5

provider_id

Integer

The unique ID of the WorkN Worker.

ext_employee_id

String

The ATS ID of the WorkN Worker.

is_available

Any of:

  • Logging in via app or smartlink
  • Logging out
  • When availability status is being set
  • Worker sync with Erecruit

Boolean

Available for On-Demand Jobs Flag.

logged_in

Any of:

  • Logging in via app or smartlink
  • Logging out
  • When availability status is being set
  • Worker sync with Erecruit

Boolean

Indicates if the worker is logged in or not.


Sample Event

{
  "mkt_id": 123,
  "event_datetime": "2025-04-04T14:30:00",
  "msg_id": "evt_12345abcde",
  "ext_customer_id": "cust_789",
  "ent_id": 456,
  "ext_branch_id": "branch_101",
  "branch_id": 202,
  "event_type": 5,
  "provider_id": 9876,
  "ext_employee_id": "emp_5432",
  "is_available": true,
  "logged_in": true
}

Associated Endpoint

For details about the Worker activity, check out the documentation on the Worker Endpoints.