Quick Start
Step 1: Install the SDK
npm install @dotpassport/sdkStep 2: Get Your API Key
Step 3: Initialize the Client
import { DotPassportClient } from '@dotpassport/sdk';
const client = new DotPassportClient({
apiKey: process.env.DOTPASSPORT_API_KEY
});Step 4: Fetch User Data
Step 5: Add a Widget (Optional)
Next Steps
Complete Example
Common Issues
API Key Not Working
User Not Found (404 Error)
Rate Limit Exceeded (429 Error)
Last updated
