When a terminated employee gets re-activated, this event gets triggered.
When?
When a terminated employee gets re-activated, this event gets triggered.
On the 3 dots dropdown button, click on Activate employee. After successful activation the webhook will get triggered.
How?
Example curl to subscribe.
curl --request POST \ --url https://api.factorialhr.com/api/v1/webhooks \ --header 'Accept: application/json' \ --header 'Authorization: Bearer TOKEN' \ --header 'Content-Type: application/json' \ --data ' { "type": "employee_unterminated", "target_url": "https://foo.com/webhooks/employee_unterminated" } '
What?
What does this webhooks send in the payload.
{ "id": 52, "first_name": "Bob", "last_name": "Macri", "email": "bob@company.com", "invited_on": "2021-10-22" }
Why?
Why would I subscribe to this event?
- Send an email from another platform to users that get re activated in Factorial.
- Create a Zapier.com automation with employees.
- Re enable a user in another platform or application.
- Create/activate access info for a user in an external access platform or device.