Documentation

API Keys

Learn how to generate and manage your API keys

Getting Your API Key

API keys are used to authenticate requests to the AISA backend. Each key is unique and should be kept secure.

  1. Log in to your NextSet AI dashboard
  2. Navigate to Settings → API Keys
  3. Click "Generate New Key"
  4. Copy the key immediately (it won't be shown again)
  5. Store it securely in your configuration

Using Your API Key

Add your API key to the widget configuration:

window.AISA_CONFIG = {
  API_URL: "https://your-backend.azurewebsites.net/api/intake",
  API_KEY: "your_actual_api_key_here"
};

Security Best Practices

  • ✅ Never commit API keys to version control
  • ✅ Use environment variables in production
  • ✅ Rotate keys regularly
  • ✅ Use different keys for development and production
  • ✅ Revoke compromised keys immediately

Key Permissions

API keys have different permission levels:

Read Only

Can retrieve data but cannot send messages

Read & Write

Full access to send and receive messages

Admin

Full access including configuration changes