verify(), the SDK creates a full-viewport overlay containing the widget. The widget guides users through employment verification and communicates results back to your application.
Your application never interacts with the widget DOM directly — all communication happens through the SDK’s event system and the verify() promise.
Verification Flow
Step-by-Step Detail
Session Creation
The SDK creates a secure session with the provided API key and verification parameters.
Widget Display
The SDK creates a full-viewport overlay and loads the verification widget inside it. Body scroll is locked while the widget is open.
Data Loading
The widget fetches user data and employment records. A loading spinner is displayed during this phase.
Interactive Review
The widget renders the user profile, work experience cards, and a progress bar. The user can click VERIFY on any job to open the verification options modal.
Verification
The user selects a verification method. The job is marked as verified in the widget UI and the progress bar updates.
Completion
The user clicks Continue. The SDK receives the verification results, cleans up the overlay (with a fade-out animation), restores body scroll, and resolves the
verify() promise with a VerificationResult.Events During the Lifecycle
You can subscribe to events emitted during the widget lifecycle using theon() method: