Skip to main content

API Key Authentication

All server-side API calls use HTTP Basic Auth with your API Key and API Secret.
The Authorization header is: Basic base64(API_KEY:API_SECRET)

Get Your Keys

  1. Log in to iDenfy Dashboard
  2. Go to Settings → API Keys
  3. Select Generate
Detailed guide →

Two Types of Auth

The flow:
The authToken is short-lived and scoped to one verification. It’s safe to pass to the client.
Never expose your API Secret in client-side code — browser JavaScript, mobile apps, or public repos. Use it only on your server.