
Protect your account with API key management, two-factor authentication, IP whitelisting, and enterprise-grade security controls.
Your API key provides full access to your account’s API endpoints. Regenerate it from the Dashboard if you suspect it has been compromised.
# Your API key is available in Dashboard → Settings# Format: zlk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Regenerate your API key (invalidates the old one)curl -X POST https://api.zentislabs.com/api/v1/user/regenerate-api-key \ -H "Authorization: Bearer YOUR_JWT_TOKEN"
# Response{ "success": true, "apiKey": "zlk_live_new_key_here"}# Check your current account infocurl https://api.zentislabs.com/api/v1/account \ -H "X-API-Key: YOUR_API_KEY"Add an extra layer of security to your account with TOTP-based two-factor authentication.
Go to Dashboard → Settings → Security → Enable Two-Factor Authentication.
Scan the QR code with an authenticator app (Google Authenticator, Authy, 1Password).
Download and securely store your 8 recovery codes. Each can be used once if you lose your device.
Enter the 6-digit code from your authenticator app to complete setup.
Restrict API access to specific IP addresses or CIDR ranges. When enabled, requests from non-whitelisted IPs are immediately rejected with 403 Forbidden.
# IP whitelisting is configured via the Dashboard.# Go to Dashboard → Settings → Security → IP Whitelist# Add your server IPs or CIDR ranges to restrict API access.## When enabled, requests from non-whitelisted IPs# will receive 403 Forbidden.Track all security-relevant events in your account.