GuidesAPI ReferenceChangelogAPI StatusAPI PolicyGusto Security
Guides

Contractor Events

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

event_typedescription
contractor.createdContractor has been created
contractor.updatedContractor has been updated
contractor.onboardedContractor has been onboarded
contractor.deactivatedContractor dismissal has been created
contractor.deactivation_effectiveContractor has been deactivated. Emitted immediately if the dismissal's end_date is in the past (the contractor is already inactive). If the end_date is today or in the future, it is emitted the day after the end_date, once the contractor becomes inactive.
contractor.deactivation_cancelledPending contractor dismissal has been cancelled
contractor.reactivatedContractor rehire has been created
contractor.reactivation_effectiveContractor has been reactivated. 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 start_date.
contractor.reactivation_cancelledPending contractor rehire has been cancelled
contractor.deletedContractor has been deleted
contractor.self_onboarding_completedContractor has completed self onboarding
contractor.payment_method_type_updatedContractor's payment method type has been updated
contractor.payment_method.deletedContractor's payment method has been deleted
contractor.invited_to_partner_portalContractor has been invited to an external portal managed by a partner (only emitted for partners that support invitations via the Contractor Management Flow)

Example payload

{
  "uuid": "09c4e302-9841-46b3-a2de-fd77a4222ab1",  
  "event_type": "contractor.created",
  "resource_type": "Company",
  "resource_uuid": "5df911a0-e8e9-412d-8aaf-a46ad193dd96",
  "entity_type": "Contractor",
  "entity_uuid": "5df911a0-e8e9-412d-8aaf-a46ad193dd96",
  "timestamp": 1671058841
}

Did this page help you?