Skip to main content
This guide walks you through everything you need to go from zero to your first successful identity verification API call. You’ll create a LumiID account, grab your Sandbox API key, send a NIN verification request, and read the response — all in about five minutes. No credit card required.
Sandbox is free. Sandbox requests use simulated data and never touch real government databases or consume wallet credits. Switch to Production only after your integration is validated.
1

Create Your LumiID Account

Before making any API calls, you need a LumiID account. Registration is free and takes about two minutes — you get instant access to the Sandbox environment.
  1. Go to lumiid.com and click Get Started.
  2. Fill in your name, business email address, and a secure password. Check your inbox for the verification email and enter the OTP to activate your account.
  3. Complete your business profile — enter your company name, industry, and intended use case. This helps LumiID configure the right verification products and compliance settings for your account.
  4. You’ll land in Sandbox mode by default. Stay here while you’re developing and testing.
When you’re ready to go live, switch to Production in the dashboard and fund your wallet. Sandbox requests are always free; production requests consume wallet credits.
2

Get Your API Keys

LumiID uses Secret Keys (Bearer Tokens) to authenticate every request. Your Secret Key must be kept server-side — never expose it in frontend code.
  1. From the left sidebar, navigate to Settings → API Keys.
  2. You’ll see separate key pairs for Sandbox and Production. Copy your Sandbox Secret Key — you’ll use this for the next step.
  3. Store the key in an environment variable, not in your source code.
.env
Your Secret Key grants full access to your LumiID account. Never expose it in frontend code, public repositories, or client-side JavaScript. If it’s ever compromised, regenerate it immediately from Settings → API Keys → Regenerate.
3

Make Your First API Call

Let’s verify a Nigerian NIN (National Identification Number). This is the most common first call developers make — it confirms that a NIN exists and returns the official identity record from the NIMC government database.Send a POST request to https://api.lumiid.com/v1/ng/nin-basic/ with the NIN in the request body. In Sandbox, use the test NIN 89184072280 — it returns realistic dummy data every time.
4

Understand the Response

Every LumiID response follows the same predictable JSON envelope. A successful NIN verification returns a 200 OK with the verified identity record inside a data object.
200 OK — NIN Verified
Cross-reference first_name, last_name, and date_of_birth against what the user provided during signup. Then use the photo field as the reference image in a Face Match call to confirm the person is who they claim to be.

What’s Next

You’ve made your first LumiID API call. Here’s where to go from here:

NIN Verification

Full reference for all NIN endpoints, both Basic and Premium tiers, with all request parameters and response fields.

BVN Verification

Verify Bank Verification Numbers against CBN data with a single API call.

Biometric Checks

Add liveness detection and face matching to confirm a user is real, present, and matches their government ID photo.

AML Screening

Screen individuals and businesses against sanctions lists, PEP registers, and watchlists across 40+ sources.