Hello, I have an application that is creating new candidates in Deel. We are potentially adding a termination flow to terminate employees back in our system triggered from Deel.
When we create a candidate in Deel, we send the ID field. However, we are not finding that ID when a webhook event from Deel is triggered back.
Image 1: Create candidate with ID specified.
Image 2: Webhook Reponse from Deel without our system’s ID.
My question is, where is our identifier as we need this ID to find the profile?
Hi,
Just want to confirm a couple of things to better assist you. The webhook you mentioned seems to be a contract.created
event, correct?
After using the POST /candidates endpoint, how are creating a contract for this candidate? Using the API or via UI?
Hi,
We found an issue that we’re not persisting the ID from candidates to the worker when contract is created in UI and we’re working on a fix for it, sorry about the inconvenience. I’ll let you know once it’s released.
Until the fix is out, you can use the External Worker ID during UI flow as it’s being returned in Webhook.