Setting up webhooks

  • Updated

The webhook feature allows you to be notified automatically when specific events occur during a consumer's verification process.

Below is a list of the available notifiers and use cases:

  • Eligible - when a verification is approved
    • Use - applying discounts to a logged-in consumer's user account and knowing when to prompt consumers to begin the verification process
  • Document Rejected - when a consumer's uploaded document has been rejected
    • Use - cases where metrics are collected to determine drop-off
  • Max Attempts - when a consumer has reached the maximum number of attempts to prove eligibility
    • Use - when there are benefits in noting a user's ineligibility to an account, like determining whether to prompt them for verification in the future
  • Reminder to complete verification - when a consumer needs to finish an incomplete request
    • Use - cases where more than a SheerID automated reminder email would benefit, such as a prompt or alert on the site that points out that the user has a verification in progress they haven't completed
  • Consolation - when a consumer is found to be ineligible, but is offered a consolation
    • Use - cases where there is an alternative offer available for users that don't require verification
  • Email Loop - when a consumer is sent an email to verify ownership of their email address
    • Use - cases where having a valid and current email address is paramount for users
  • Expiration - when a consumer's verification request has expired
    • Use - cases where metrics on user drop-off are strongly desired (as expirations only occur if a user has started a verification process but has not completed it after 7 days — note that enabling this webhook will result in a lot of noise, as every verificationId generated will expire and users can create a countless number of them)
  • Error - when an error occurs during the consumer's verification process
    • Use - taking action with users who encounter blockers when trying to verify and diagnosing potential issues

How to set up webhooks in MySheerID

  1. Login to your MySheerID account
  2. Select the Program you want to update
  3. Click the Settings buttonScreenshot 2024-10-08 at 9.29.28 AM.png
  4. Locate the Webhooks section and click +Add to open the dialog boxScreenshot 2024-10-08 at 9.30.25 AM.png
  5. To enable webhooks you'll need to toggle the switch from Off to On, then input your endpoint URL in the available fieldScreenshot 2024-10-08 at 9.31.57 AM.png
  6. Under the list of Verification events, toggle on any of the events that would be beneficial to you and your team
  7. Click Save to begin testing and using webhooks

Best practices for when webhooks should fire vary based on the use case desired:

  • If you are using webhooks for CRM integration (storing all zero party consumer data), webhooks should be fired upon success, max attempts, and expired verification.
  • If you are looking to simply link accounts to a successful verification (account linking reward methodology), webhooks should be fired on success only.
  • If you are hosting your own emails, then webhooks should be fired on all emailable events. For information on emailable events, see this article.

Deprecated Webhooks

Those using the older webhook feature will see that some webhook settings are labeled as Deprecated as seen below.Screenshot 2024-10-08 at 9.33.05 AM.png

While the deprecated webhook setting is still functional, it will no longer be updated and eventually be phased out of the platform. SheerID recommends disabling the deprecated webhook setting and transitioning to the new webhook feature as soon as possible.

Notes

  • The webhook will send a POST message in JSON format. Included in the payload is the verificationId. SheerID never sends consumer personally identifiable information (PII) in a webhook payload.

Example payload

Screenshot 2025-04-22 at 2.04.46 PM.png

  • You can use the verificationId to retrieve all user and program details about a verification from SheerID's REST APIs.
  • As a MySheerID Account Owner with the API Access permission, you can find your access tokens in the MySheerID portal. This includes your Secret Token, which can be used to validate the HMAC signature sent in the headers of the webhook payloads. This token is account-scoped, so it applies to all webhooks across every program in your account.

Screenshot 2025-05-09 at 1.53.22 PM.png

Was this article helpful?

/