Skip to main content
Initialize the SDK once on app load. Pass mode: 'test' during development and mode: 'production' when you go live. The correct API key and vault endpoint are resolved automatically.
import VerifySDK from '@yourplatform/verify-sdk';

const sdk = new VerifySDK({
  apiKey: 'svp_test_xxxxxxxxxxxx',
  mode: 'test',
});
SDK mode determines which base URL, vault link, and email behavior is used. No other code changes are required between Test and Production.