Back to Home

Documentation

Complete guide to integrating IdentiStride

Getting Started

⚡ 15-Minute Integration: Get up and running with IdentiStride in less than 15 minutes.

Step 1: Create an Account

Sign up at IdentiStride Dashboard and complete the onboarding flow. You'll receive 10 free welcome credits to test the service.

Step 2: Get Your API Key

Navigate to your dashboard and generate an API key. Keep this secure - it's shown only once!

API Key Format: idst_live_xxxxxxxxxxxxxxxxxxxxxxxx

Important: Never expose your API key in client-side code!

Always create verification sessions from your backend to keep your API key secure.

Step 3: Install the SDK

Install our verification component via npm:

npm install @identistride/verify

Step 4: Create a Backend Endpoint

Create an API route in your backend to generate verification sessions:

// Backend API route (e.g., /api/create-session)
// ⚠️ NEVER expose your secret key in client code!

const response = await fetch("https://api.identistride.com/v1/sessions", {
  method: "POST",
  headers: {
    "X-Api-Key": process.env.IDENTISTRIDE_SECRET_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    externalId: "user_123", // Your user's ID
  }),
});

const session = await response.json();
return session;

Step 5: Use the Component

Pass the session to the verification component in your frontend:

import { VerificationFlow } from "@identistride/verify";
import { useState, useEffect } from "react";

function VerifyPage() {
  const [session, setSession] = useState(null);

  // Create session on mount
  useEffect(() => {
    fetch("/api/create-session", { method: "POST" })
      .then((res) => res.json())
      .then(setSession);
  }, []);

  return (
    <VerificationFlow
      session={session}
      onComplete={(result) => {
        if (result.outcome === 'approved') {
          console.log("User verified successfully!");
          // Redirect to success page or update UI
        }
      }}
      onError={(error) => {
        console.error("Verification error:", error);
        // Handle error
      }}
    />
  );
}

That's it!

Your users can now verify their identity using biometric gait authentication and document verification.

API Reference

Base URL

https://api.identistride.com

Authentication

All API requests require your secret API key in the X-Api-Key header:

X-Api-Key: idst_live_your_secret_key

Create Verification Session

Creates a new verification session for a user.

POST /v1/sessions

Request Body

{
  "externalId": "user_123"  // Your user's unique ID
}

Response

{
  "sessionId": "sess_abc123...",
  "verificationId": "ver_xyz789...",
  "externalId": "user_123",
  "status": "pending_upload",
  "uploadUrls": {
    "documentFront": "https://...",
    "documentBack": "https://..."
  },
  "message": "Session created successfully"
}

Get Verification Result

Retrieve the status and result of a verification session.

GET /v1/sessions/:sessionId

Response

{
  "sessionId": "sess_abc123...",
  "verificationId": "ver_xyz789...",
  "externalId": "user_123",
  "status": "completed",
  "result": {
    "outcome": "approved",  // approved | rejected | needs_review
    "fraudScore": 12,
    "riskLevel": "LOW",     // VERY_LOW | LOW | MEDIUM | HIGH
    "documentQuality": 95,
    "validations": {
      "hasExpiration": true,
      "isNotExpired": true,
      "isAdult": true,
      "highConfidence": true
    }
  },
  "completedAt": 1697654321000
}

React Component Props

The VerificationFlow component accepts the following props:

PropTypeRequiredDescription
sessionSession | nullSession object from backend
onComplete(result) => void-Called when verification completes
onError(error) => void-Called when an error occurs
classNamestring-Additional CSS classes

Verification Outcomes

approved

User successfully verified. Low fraud risk, all checks passed.

rejected

Verification failed. High fraud risk or failed validation checks.

needs_review

Manual review required. Medium risk or inconclusive results.

Security & Compliance

Zero PII Storage Policy

IdentiStride does not store biometric data, identity documents, or personally identifiable information.

Data Processing

  • All verification data is processed in real-time and immediately discarded
  • Biometric templates are never written to disk
  • Document images are deleted after extraction
  • Only anonymized verification results are retained (90 days)

Encryption

  • All data in transit is encrypted with TLS 1.3
  • API keys are hashed and stored securely
  • Upload URLs use pre-signed S3 URLs with 15-minute expiration

Compliance

  • GDPR Compliant: Full data subject rights support
  • CCPA Compliant: California privacy law adherence
  • PIPEDA Compliant: Canadian privacy standards
  • SOC 2 Type II: (In progress)

Best Practices

  • Never expose your API key in client-side code
  • Always create sessions from your backend
  • Use environment variables for API keys
  • Implement rate limiting on your session creation endpoint
  • Monitor your API usage in the dashboard
  • Rotate API keys periodically

Support

Need Help?

Our support team is here to help you integrate IdentiStride successfully.

📧 Email Support

support@identistride.com

Response time: 24-48 hours