Skip to content

API Keys ​

Manage your API credentials from Developer > API Keys in the IIMMPACT Dashboard. You can have up to 5 active API keys per account.

Only admin users can generate, rename, rotate, or revoke API keys. View-only members can inspect the key list, but receive 403 Forbidden on any create, rename, rotate, or revoke request.

API Keys page showing empty state with Generate Key button

Generate a Key ​

  1. Click + Generate Key.
  2. Enter a descriptive Key Name to help you identify this key (e.g., "Production Server", "Staging").
  3. Click Generate.

Generate New API Key dialog with key name input

Your API Key and Signing Secret (HMAC secret) are displayed once. Credentials are not copied to your clipboard automatically — use the Copy buttons to copy both values and store them securely before closing the dialog.

API Key Generated Successfully dialog showing API Key and Signing Secret

DANGER

The API key and signing secret are shown only once and are cleared when the dialog closes. If you lose them, you must rotate the key to generate new credentials.

Tick I have saved this key securely and click Done to close the dialog.

If another key creation is already running for the same account, wait a few seconds and try again.

Manage Keys ​

Each key card shows:

  • Status — Active (green dot)
  • Key Name — click the pencil icon to rename
  • Masked Key — only the last few characters are visible
  • Created Date and Last Used timestamp
  • Unused key warning — keys unused for an extended period show a warning suggesting you revoke them

API Keys page showing key management, security settings, and an active key card

Rotate a Key ​

Click the rotate icon and confirm to revoke the old credentials immediately and issue a new API key and signing secret with the same key name. The new credentials are displayed once and are not auto-copied — use the Copy buttons to save them before closing the dialog. Any active SDK sessions created with the rotated key end immediately.

Delete (Revoke) a Key ​

Click the X icon to permanently revoke a key. Any API requests using this key fail immediately, and active SDK sessions created with it end. Revoking a key that is already revoked succeeds without error (204 No Content) and keeps its original revocation timestamp.

Deactivated Accounts ​

If your account is deactivated, all of its API keys stop working and are rejected in the same way as revoked keys, including active SDK sessions.

Require API Key for Topup ​

Account owners can enforce API key-only authentication for topup (payment) requests. When enabled, topup requests authenticated with a JWT bearer token are blocked — only API key + HMAC signed requests are accepted.

To configure, toggle Require API Key for Topup under Security Settings on the API Keys page.

Security Settings section showing Require API Key for Topup toggle

When enabled:

  • API key requests — continue to work as normal
  • JWT bearer token requests to the topup endpoint — return 403 Forbidden

WARNING

Enabling this setting immediately blocks all JWT-authenticated topup requests. Ensure all your clients use API key + HMAC authentication before enabling.

TIP

Changes may take up to 5 minutes to take effect due to caching.

For full technical details on API key authentication and HMAC signing, see API Key Authentication.

Security Best Practices ​

  • Never share your API keys in publicly accessible areas (GitHub, forums, client-side code)
  • Rotate keys regularly (every 90 days recommended)
  • Revoke unused keys immediately
  • Use different keys for production and testing environments

IIMMPACT API Documentation