Documentation Index
Fetch the complete documentation index at: https://docs.fingerprint.com/llms.txt
Use this file to discover all available pages before exploring further.
How to install
Add @fingerprint/node-sdk as a dependency to your application via npm or yarn.
npm install @fingerprint/node-sdk
yarn add @fingerprint/node-sdk
Initialize the client instance and use it to make API requests. You need to specify your secret API key and region.
import { FingerprintServerApiClient, Region } from "@fingerprint/node-sdk";
const client = new FingerprintServerApiClient({
apiKey: "SECRET_API_KEY",
region: Region.Global,
});
// Search events for a specific visitor
client.searchEvents({ visitor_id: "VISITOR_ID" }).then((events) => {
console.log(events);
});
// Get a specific identification event
client.getEvent("EVENT_ID").then((event) => {
console.log(event);
});
Documentation
You can find the full documentation in the official GitHub repository.