Webhook event
A sourced candidate opted out
candidate.opted_outSent once when a person Alfa sourced for a linked job asks Alfa to stop contacting them, for example by replying to an outreach email. Alfa has already stopped its outreach to them. It carries every identifier Alfa holds, so you can mark the person as not to be contacted in your own systems.
Alfa sends this event to your webhook endpoint as a signed POST. How to verify and acknowledge webhooks
Headers
Alfa-Signaturestringrequired`t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>">`, keyed with the endpoint's signing secret. Reject a request whose signature does not match or whose timestamp is more than 5 minutes from your clock.
Payload
idstringrequiredThe event id. Deliveries can repeat; ignore an id you have already processed.
type"candidate.opted_out"requiredSent once when a person Alfa sourced for a linked job asks Alfa to stop contacting them, for example by replying to an outreach email. Alfa has already stopped its outreach to them. It carries every identifier Alfa holds, so you can mark the person as not to be contacted in your own systems.
apiVersion"v1"requiredThe API version the payload follows.
occurredAtstringrequiredWhen the event happened.
organizationIdstringrequiredThe company the event belongs to (its Company ID).
jobIdinteger | nullrequiredAlfa's id for the job.
externalJobIdstring | nullrequiredThe ATS job the Alfa job is linked to.
candidateobjectrequiredThe person who opted out, with every identifier Alfa holds.
Show fields
candidateIdstringrequiredAlfa's id for the sourced candidate.
firstNamestring | nullrequiredFirst name.
lastNamestring | nullrequiredLast name.
emailstring | nullrequiredThe email address they opted out from.
phonestring | nullrequiredPhone number, when known.
linkedinUrlstring | nullrequiredLinkedIn profile URL, when known.
optedOutAtstringrequiredWhen they opted out.
Responses
- 200Any 2xx status acknowledges the event. Anything else, a redirect or no answer within 10 seconds is retried with exponential backoff for 24 hours.