Contractor Events
When subscribed to the Contractor webhooks you will receive the following events:
| event_type | description |
|---|---|
| contractor.created | Contractor has been created |
| contractor.updated | Contractor has been updated |
| contractor.onboarded | Contractor has been onboarded |
| contractor.deactivated | Contractor dismissal has been created |
| contractor.deactivation_effective | Contractor 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_cancelled | Pending contractor dismissal has been cancelled |
| contractor.reactivated | Contractor rehire has been created |
| contractor.reactivation_effective | Contractor 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_cancelled | Pending contractor rehire has been cancelled |
| contractor.deleted | Contractor has been deleted |
| contractor.self_onboarding_completed | Contractor has completed self onboarding |
| contractor.payment_method_type_updated | Contractor's payment method type has been updated |
| contractor.payment_method.deleted | Contractor's payment method has been deleted |
| contractor.invited_to_partner_portal | Contractor 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
}Updated 3 days ago
Did this page help you?