developer documentation

Notifications Webhook

The Webhook Notifications API provides real-time updates about verification events, eliminating the need for frequent polling of the status endpoint.

Webhooks are delivered instantly when verification events occur, ensuring you never miss critical updates during the verification process.

The system offers three configurable notification levels to meet different business needs:

  • Minimal (default): Notifies you when a verification status changes
  • Method-exhausted: Notifies you when all attempts for a method are exhausted and of status changes
  • Detailed: Notifies you of all verification attempts, when all attempts for a method are exhausted and of status changes


Webhooks are configured when starting verifications.
Add the webhook parameter to your POST /api/v3/verifications request.

Background checks run while your POST /api/v3/verifications request is being processed, so their result is always in the response.

When a webhook is configured and a background check approves the user, a verification_status_changed notification is also sent with status: approved and the approving approval_method.

A failed background check does not generate an attempt_failed event; the session simply starts with the age-gate methods available.

⚠️ NOTE

Webhook notifications do not fully replace the need for a callback to be available

Make sure to set up the callback or a similar mechanism to keep polling the results from the status endpoint, as webhooks can fail or delay and leave end users at a dead end

Setup and Configuration

When creating verifications, add the optional webhook parameter and set the notification level:

				
					POST /api/v3/verifications
{
  "country": "gb",
  "redirect_url": "https://your-app.com/complete",
  "business_settings_id": "your-settings-id",
  "webhook": "https://your-server.com/webhook",
  "webhook_notification_level": "minimal" | "method-exhausted" | "detailed"
}
				
			

Your webhook URL will then receive POST requests with automatic verification updates.

Accepted values:

  • minimal – Status changes only (default)
  • method-exhausted – Methods exhausted + status changes
  • detailed – All attempts + methods exhausted + status changes

The default notification level is minimal. Configuration changes take effect immediately for new verification sessions.

Notification Levels

Minimal (default):

Webhooks are only sent when the verification status changes.

Trigger Events:

				
					trigger_event: "verification_status_changed"
				
			

Use cases:

  • Basic verification monitoring
  • Reduced webhook volume
  • Tracking key status changes in the verification process and final outcomes only

Method-Exhausted:

Webhooks are sent when all attempts for a verification method are completely exhausted and the method is unavailable for use again within the current verification session and when the verification status changes.

Trigger Events:

				
					trigger_event: "method_exhausted:email" (when email remaining_attempts reaches 0)
				
			
				
					trigger_event: "method_exhausted:fae" (when FAE remaining_attempts reaches 0)

				
			
				
					trigger_event: "method_exhausted:{method_name}" (for any method)

				
			
				
					trigger_event: "verification_status_changed"


				
			

Use cases:

  • Tracking when specific methods fail completely and are no longer available for the user to try again
  • Triggering alternative flows
  • Support interventions when methods are exhausted

Detailed:

Webhooks sent after every individual verification attempt, regardless of outcome.

Trigger Events:

				
					trigger_event: "attempt_failed:email" (when an email attempt fails)

				
			
				
					trigger_event: "attempt_failed:fae" (when a FAE attempt fails)

				
			
				
					trigger_event: "attempt_failed:{method_name}" (for any method)

				
			
				
					trigger_event: "method_exhausted:{method_name}" (when remaining_attempts reaches 0)

				
			
				
					trigger_event: "verification_status_changed"


				
			

Use cases:

  • Complete funnel analysis
  • Understanding user behaviour patterns
  • Conversion rate optimisation
  • Detailed analytics

Payload Structure

Regardless of notification level, all webhooks use the same standardised structure:

				
					{
  "id": "688a2a7b3d5347887ed735f7",
  "user_id": "your_user_123",
  "approval_method": "Email",
  "status": "approved | pending | failed",
  "threshold": 18,
  "trigger_event": "verification_status_changed",
  "created_at": "2025-07-23T10:30:00Z",
  "expires_at": "2025-07-23T16:30:00Z",
  "updated_at": "2025-07-23T11:45:00Z",
  "background_check": "email",
  "age_gate": {
    "login": {
      "enabled": true,
      "max_attempts": 3,
      "remaining_attempts": 3
    },
    "fae": {
      "enabled": true,
      "max_attempts": 3,
      "remaining_attempts": 2
    },
    "email": {
      "enabled": true,
      "max_attempts": 3,
      "remaining_attempts": 3
    },
    "idscan": {
      "enabled": true,
      "max_attempts": 3,
      "remaining_attempts": 3
    },
    "idscan_plus_facematch": {
      "enabled": false,
      "max_attempts": 0,
      "remaining_attempts": 0
    },
    "mobile": {
      "enabled": true,
      "max_attempts": 3,
      "remaining_attempts": 0
    },
    "double_blind": {
      "enabled": false,
      "max_attempts": 0,
      "remaining_attempts": 0
    },
    "credit_card": {
      "enabled": false,
      "max_attempts": 0,
      "remaining_attempts": 0
    }
  }
}
				
			

Troubleshooting

Webhook Not Receiving Events

  1. Verify the webhook URL is accessible via HTTPS
  2. Check that your endpoint returns 2xx status codes
  3. Ensure response time is under 30 seconds
  4. Verify HMAC signature validation is working correctly

When verification completes, we redirect the user back to your redirect_url with the result:

on this page