API Configuration

Generate API keys and configure IP whitelisting for secure API access.

Log in to your BlockFuze Dashboard and click on API Configuration in the sidebar.

Step 2: Generate API Keys

You have two API key slots available:

Main API Key

Your primary API key for production use

Backup API Key

Secondary key for key rotation or backup access

Click Generate to create a new key pair. You'll receive a Public Key and Private Key.

Step 3: Save Your Keys

After generating, a modal will display your keys. Copy and save them securely — the private key will not be shown again.

Important: Store your private key in a secure location. If lost, you'll need to regenerate a new key pair.

Step 4: Configure IP Whitelist

Once a key is active, you can restrict API access to specific IP addresses:

  • Enter an IP address in the input field
  • Click the + button to add it to the whitelist
  • Click the × on any IP to remove it

How IP Whitelisting Works:

  • No IPs configured: All IP addresses can access the API
  • 1+ IPs configured: Access is strictly enforced to only whitelisted IPs

This applies to both REST API endpoints and the SignalR hub.

Step 5: Regenerate Keys (Optional)

To rotate your API keys, click Regenerate. This will invalidate the old key immediately.

Tip: Use the backup key during rotation to avoid downtime. Update your application to use the backup key, regenerate the main key, then switch back.

Next Steps

Learn how to use your API keys to authenticate requests.

Authentication Guide