This guide walks you through creating a verification session, completing the capture flow in sandbox, and retrieving the result.
vk_sandbox_)You can find your API keys in the Verifa dashboard under Developers > API Keys.
Response:
Open the capture_url in your browser. In sandbox mode, the capture flow lets
you:
If you have a webhook endpoint configured, you’ll receive a session.approved
event:
No webhook configured yet? Skip to step 4 — you can always poll.
Check the status field. Once it’s completed, fetch the full result:
Webhooks are the best way to get notified when verifications complete. In the dashboard, go to Developers > Webhooks and add your endpoint URL.
You can also create webhooks via the API:
The response includes a secret for HMAC signature verification. Store it
securely.
You’ve created a session, completed verification, and retrieved the result. Here’s where to go from here:
Want a popup or modal instead of a full-page redirect? Use the verifa.js SDK. Your backend creates the session (keeping the API key secure), and the SDK handles the frontend capture experience.
See the full JavaScript SDK guide for framework examples, display modes, and error handling.