Kill passwords with 3 lines of code
Drop in our SDK. Let your users authenticate with their face. No password databases. No reset flows. No breaches. Just authentication that works.
Up and running in 5 minutes
Install the SDK
npm install @facein/sdkAdd the provider and authenticate
import { FaceInProvider, useAuth } from '@facein/react';
function App() {
return (
<FaceInProvider apiKey="fi_live_...">
<LoginPage />
</FaceInProvider>
);
}
function LoginPage() {
const { authenticate, user, isLoading } = useAuth();
if (user) return <Dashboard user={user} />;
return (
<button onClick={() => authenticate()}>
Login with FaceIn
</button>
);
}Verify on your backend
// Verify a FaceIn authentication token
const response = await fetch('https://api.facein.id/v1/verify', {
method: 'POST',
headers: {
'Authorization': 'Bearer fi_live_...',
'Content-Type': 'application/json',
},
body: JSON.stringify({
token: authToken, // from client SDK
}),
});
const { verified, user_id, confidence } = await response.json();
// { verified: true, user_id: "usr_abc123", confidence: 0.999 }Everything you need to go passwordless
React / Next.js
First-class React hooks and components. Server-side session validation included.
React Native
Native face detection with camera access. iOS and Android support.
Swift / Kotlin
Native SDKs for iOS and Android. Deep OS integration for biometric APIs.
REST API
Language-agnostic HTTP API. Works with any backend — Node, Python, Go, Rust.
Webhooks
Real-time event notifications. Auth success, failures, user lifecycle events.
Admin Dashboard
Monitor auth events, manage users, configure security policies. Real-time analytics.
Webhooks for everything
Get notified the instant something happens. Auth events, user lifecycle changes, security alerts — all delivered to your endpoint in real-time.
- →auth.success — user authenticated
- →auth.failed — authentication attempt failed
- →user.enrolled — new user enrolled biometrics
- →user.deleted — user removed their account
- →security.anomaly — unusual pattern detected
// Configure webhook for auth events
// POST https://api.facein.id/v1/webhooks
{
"url": "https://yourapp.com/webhooks/facein",
"events": [
"auth.success",
"auth.failed",
"user.enrolled",
"user.deleted"
]
}REST API endpoints
Simple, RESTful API. JSON in, JSON out.
/v1/authenticate/v1/verify/v1/users/:id/v1/users/:id/v1/webhooks/v1/eventsStart free. Scale as you grow.
No credit card required. No hidden fees.
Starter
Perfect for prototyping and small projects.
- Up to 1,000 MAU
- All SDK features
- Community support
- Basic analytics
- Standard API rate limits
Growth
For production apps ready to scale.
- Unlimited MAU
- Priority support
- Advanced analytics
- Webhooks & events
- Custom branding
- 99.9% SLA
Enterprise
For organizations with advanced needs.
- Volume discounts
- Dedicated support engineer
- Custom SLA (99.99%)
- On-premise deployment
- SOC 2 Type II report
- Custom contracts
Build something passwordless
Get your API key in 30 seconds. Start authenticating users today.
Get API Key — Free Forever