Get Started
Automate email verification in your test workflows. Capture emails, extract OTP codes, and verify user signups programmatically.
1Get API Key
Create an API key from your server dashboard under the API section. Set it as an environment variable:
export SIGNINID_SECRET_KEY="sk_live_..."2Install SDK
Install the SDK for your language, or use the REST API directly.
npm install signinid3Wait for Email & Get OTP
Wait for a verification email and extract the OTP code automatically. The detected_otp field contains the parsed verification code.
import { SigninID } from 'signinid';
const client = new SigninID();
// Wait for a new verification email
const email = await client.inbox.waitForNew({
to: 'user@test.com'
});
if (email) {
console.log('OTP:', email.detected_otp);
}