Deeper Integration
Explore the API Reference for direct HTTP access or the SDK Reference for advanced usage.
Integrate notabotly into your application in less than 5 minutes using our official Node/TypeScript SDK.
First, you need to create an application in the dashboard to receive your credentials.
Add the official SDK to your project using your preferred package manager.
npm install notabotlypnpm add notabotlyyarn add notabotlyOn your backend server, generate a verification session whenever a user hits a protected route (e.g., login, checkout).
import { Notabotly } from 'notabotly';
// 1. Initialize once (or let it read NOTABOTLY_API_KEY from env)const nb = new Notabotly();
// 2. Create and wait in one go (Modern & Simple)const { session, status } = await nb.verify({ appId: 'app_your_app_id', redirectUrl: 'https://yoursite.com/after-verify'});
if (status === 'true') { console.log('User is human!');}If you prefer not to manage an instance, use the static helpers.
import { Notabotly } from 'notabotly';
// Make sure NOTABOTLY_API_KEY is set in your environmentconst { session, status } = await Notabotly.verify({ appId: 'app_abc123', redirectUrl: 'https://example.com'});Deeper Integration
Explore the API Reference for direct HTTP access or the SDK Reference for advanced usage.