1. 7API
  2. Docs
  3. Account and key security

Account and key security

A 7API account has no email address or password. Your API key is your login. This means you can sign up in seconds without sharing personal details. It also means a lost key can't be recovered, and a leaked key can be used by anyone until you rotate it.

Store the key safely

  • Keep it in a password manager or an environment variable, not in source code.
  • Never commit it to git. Add .env to .gitignore.
  • If the dashboard offers to download the key at signup, keep that file somewhere private.

The dashboard remembers your key in this browser so you stay signed in. Signing out clears it from the browser.

If a key leaks

Open Overview → Rotate in the dashboard, or use the Telegram bot. You'll get a new key, and the old one stops working as soon as you confirm. Your balance and history stay with the account. Then update every tool that used the old key.

Limit the damage

  • Use a subkey with a small balance for each app, server or person, instead of sharing the main key. A leaked subkey can spend at most what's on it, and you can revoke it instantly.
  • Watch spending on the dashboard's Usage page or with GET /v1/usage.

Telegram accounts

Accounts created in the Telegram bot can also use the website. Sign in there with the key that /profile shows.

If you created your account on the website, open a private chat with @hqclaudebot and send /link <key> using your website API key. The bot shows both balances before you confirm. Once linked, /profile, /usage, /buy, /referral and /regenerate use your website account.

If your Telegram account already has funds, choose Link + transfer to move its current balance into the website account, or Link only to keep the balances separate. The bot shows both balances before confirmation. A transfer moves credit only; usage history and referral earnings stay with their original accounts. Finish active API requests before transferring.

Your original Telegram key keeps working. Use /unlink to return to that account; unlinking does not reverse a transfer. Your website key and remaining balance are always available on the site. You can link the website account again later. A website account can be linked to one Telegram account at a time.

Reporting a security issue

Send security reports to support on Telegram. Please don't test against other customers' accounts.