Getting Your API Key
- Log in to your Verilock Dashboard
- Navigate to Settings > API Keys
- Click “Create API Key”
- Give it a name (e.g., “Production Server”) and copy the generated key
The full API key is only shown once at creation time. Store it securely. If you lose it, you’ll need to create a new key.
Key Properties
| Property | Description |
|---|
name | Human-readable label for identification |
key | The API key string — use this in the X-API-Key header |
created_at | When the key was generated |
last_used_at | Last time the key was used for an API call |
Best Practices
- Use environment variables to store API keys — never hardcode them
- Create separate keys for development and production
- Rotate keys periodically and revoke unused ones
- Only make API calls from your backend server, never from client-side code