Quickstart
Create your first verification session in about five minutes.
This quickstart walks through running a full identity-proofing flow against a local development environment.
1. Sign up and get a test key
- Start the portal at
http://localhost:5173and create an account. - Verify your email (use the local MailDev inbox at
http://localhost:1080). - Copy the test API key from Portal → API Keys. Test keys look like
ak_test_...and work without billing.
2. Create a session from your server
Call POST /v1/sessions. Omit template_id to use your workspace's
default verification template (test mode falls back to the platform
scaffold when no default is set).
Pin a specific template by passing template_id (or template_slug).
The response includes a short-lived sdk_token, a session_id, and an
iframe_url your frontend will embed.
3. Embed the iframe
Load the returned iframe_url in an <iframe> and pass the session ID and
token through URL parameters:
Listen for postMessage events from the iframe origin — you'll get
kyc.ready, kyc.status_changed, and finally kyc.completed or kyc.error.
4. Receive the webhook
When the verification finishes, your webhook endpoint receives a signed
verification.completed event. Verify the signature using your endpoint
secret, then look up the verification by ID to pull the full result from the
API.
See Webhooks for the full event schema and signature format.