# Quickstart

Make your first verification in under five minutes, using the sandbox.

## 1. Create a test key

Sign in to the Nilinde dashboard and open **API keys**. Choose **Create test key** and copy the key. It starts with `sk_test_` and is shown only once.

## 2. Verify a national ID

```bash
curl https://restapi.nilinde.com/v1/verifications/identity.national-id \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 6f1c2a90-order-1042" \
  -d '{ "idType": "NATIONAL_ID", "idNumber": "12345678" }'
```

## 3. Read the answer

```json
{
  "id": "cmhd2k7q80001s60h3x9f2a1b",
  "api": "identity.national-id",
  "status": "COMPLETED",
  "environment": "TEST",
  "result": {
    "found": true,
    "idType": "NATIONAL_ID",
    "person": { "idNumber": "12345678", "firstName": "JANE", "lastName": "DOE", "dateOfBirth": "1990-01-15", "...": "..." }
  },
  "error": null,
  "cost": "0",
  "latencyMs": 412,
  "createdAt": "2026-10-30T09:15:02.118Z",
  "completedAt": "2026-10-30T09:15:02.530Z"
}
```

`result.found` tells you whether the source holds a record; when it does, the record's details are returned.

## 4. Try the other outcomes

The sandbox has fixed inputs that return "not found" or simulate an outage. See [Sandbox and test data](/sandbox). Every API in the [API reference](/api) has these scenarios as examples: press **Test** on its request panel, choose **ApiKey** and paste your test key, then **Use Example** to pick a scenario.

## 5. Go live

Once your organization is activated, an administrator issues your live key (`sk_live_…`). Top up your wallet, then swap the key. Nothing else changes.
