Web SDK Overview
The Dataspike Web SDK (DocVer Widget) enables you to embed document and identity verification directly into your web or mobile web applications.It provides a secure, customizable user interface that connects to your backend verification flows.
💡 Use case: Let your users complete KYC verification or document upload directly in your product — no redirects required.
Live Demo
You can preview the widget in action here:👉 Live Demo
Installation
Choose one of the following installation methods: Using NPMBasic Usgae
Basic Usage Render the widget by passing the verification URL ID from your backend:⚠️ Important: Never expose your API key in frontend code. Always create the verification session on your backend and return only the verificationUrlId to the client.
Backend Integration
Your backend is responsible for securely creating and managing verifications before rendering the widget on the client side.- Create a verification using your Dataspike API key for an existing applicant.
- Return only the
verificationUrlIdto the frontend — this short ID is safe to expose and required for initializing the widget. - Keep sensitive identifiers such as
applicantId,profileId, and API keys strictly on the server side.