GuidesAPI ReferenceChangelogAPI PolicyGusto Security
Guides

Employee Events

When subscribed to the Employee webhooks you will receive the following events:

event_type

description

employee.created

Employee has been created

employee.updated

Employee has been updated

employee.onboarded

Employee has been onboarded

employee.marked_for_self_onboarding

Employee will self onboard

employee.self_onboarding_completed

Employee has completed self onboarding

employee.terminated

Employee termination has been created

employee.termination_effective

Employee has been terminated. Emitted immediately if the effective date of the termination in the past.

If termination is today or in the future, it will be emitted when an employee's termination has been processed, which occurs the day after their last day at 12:00 AM PT in production or 1:00 AM PT in demo.

employee.termination_cancelled

Employee termination has been cancelled

employee.rehired

Employee rehire has been created

employee.rehire_effective

Employee has been rehired. Emitted immediately if the effective date of the rehire is today or in the past.

If rehire is in the future, it will be emitted on the rehire's effective date at 12:00 AM PT in production or 1:00 AM PT in demo.

employee.rehire_cancelled

Employee rehire has been cancelled

employee.deleted

Employee has been deleted

employee.payment_method_type_updated

Employee's payment method type has been updated

employee.payment_method.deleted

Employee's payment method has been deleted

Example payload

{
  "uuid": "03ffbf0c-48a9-4f1c-932a-546413a26ad1",
  "event_type": "employee.created",
  "resource_type": "Company",
  "resource_uuid": "5df911a0-e8e9-412d-8aaf-a46ad193dd96",
  "entity_type": "Employee",
  "entity_uuid": "bcfc9744-0ab3-4ef3-ab0d-e728255d659c",
  "timestamp": 1671058841
}