POST to your address:
data.screening is the full screening, as GET /v1/screenings/{id} returns it.
The event types are screening.completed and screening.failed.
Verify the signature
Each request has aVerify-Signature header:
- Take
tand the raw request body. - Compute the HMAC-SHA256 of
{t}.{body}with your signing secret, as hex. - Accept the request if any
v1value matches. While we rotate your secret, the header carries onev1for each valid secret. - Reject the request if
tis more than five minutes old.
Retries
Reply with any 2xx status to accept an event. Otherwise the API tries again after 30 seconds, doubling the wait each time up to an hour, for 24 hours. A retry sends the same eventid, so ignore an id you have already processed.
Polling always works too, which suits systems such as Salesforce that cannot
easily receive webhooks.