Documentation
Developer Documentation
Everything you need to integrate AffirmID authentication into your applications.
Quick Start
Start in minutes
Our SDKs make it easy to integrate AffirmID authentication with just a few lines of code.
// Install the SDK
npm install @affirmid/node
// Initialize the client
import { AffirmID } from '@affirmid/node';
const affirmid = new AffirmID({
apiKey: process.env.AFFIRMID_API_KEY
});
// Create an authentication request
const authRequest = await affirmid.auth.create({
userId: 'user_123',
application: 'My App',
ipAddress: req.ip,
});
// Check the status
const status = await affirmid.auth.get(authRequest.id);
console.log(status.decision); // 'approved' | 'denied' | 'pending'Integration Guides
Step-by-step guides for implementing each authentication method.
Push Authentication
Implement one-tap approval for login requests using push notifications.
TOTP Integration
Add time-based one-time passwords as a backup authentication method.
Biometric Auth
Leverage Face ID, Touch ID, and fingerprint verification.
Device Attestation
Verify requests come from genuine, uncompromised devices.
Identity Verification
Request on-demand identity proofing for high-value transactions.
Mobile SDK
Integrate AffirmID into your iOS and Android applications.
Need help getting started?
Our developer success team is here to help you integrate AffirmID quickly and correctly.