---
title: What Security Best Practices Should I Follow When Using API Keys on SMSGatewayCenter?
description: "**API keys** are critical for accessing **SMSGatewayCenter**’s Restful API, and following security best practices ensures your account remains secure. Here’s what to do: ## **Keep API Keys Confidential** - Share API keys only with authorized personnel who need access for…"
url: "https://www.smsgatewaycenter.com/blog/kb/api-key-security-best-practices/"
updated: "2025-05-17"
category: Users / API Key
---

# What Security Best Practices Should I Follow When Using API Keys on SMSGatewayCenter?

**API keys** are critical for accessing **SMSGatewayCenter**’s Restful API, and following security best practices ensures your account remains secure. Here’s what to do:

## **Keep API Keys Confidential**

- Share API keys only with authorized personnel who need access for API integrations.
- Avoid sharing keys via unsecured channels like email or public forums.

### **Secure Storage**

- Store API keys in a secure location, such as an encrypted environment variable or a secrets management tool.
- Avoid hardcoding API keys in your source code, as this increases the risk of exposure.

### **Regenerate If Compromised**

- If you suspect your API key has been compromised, regenerate it immediately (see FAQ on regenerating API keys).
- Update your integrations with the new key to maintain functionality.

### **Monitor Usage**

- Regularly check your API usage in your SMSGatewayCenter dashboard for any unusual activity.
- If you notice unexpected requests, regenerate the API key and investigate potential breaches.

#### **Best Practices**

- Use the reveal functionality in the *Generate API Key Settings* section sparingly to minimize exposure.
- Delete unused API keys to reduce the risk of unauthorized access.

Following these security practices helps protect your **SMSGatewayCenter** account and [API integrations](https://www.smsgatewaycenter.com/developer-api/). For assistance, contact our support team.

### More Related Articles

- [Why Don’t I Need a Password When Using an API Key on SMSGatewayCenter?](https://www.smsgatewaycenter.com/blog/kb/api-key-authentication-no-password/)
- [What Happens If I Regenerate My API Key on SMSGatewayCenter?](https://www.smsgatewaycenter.com/blog/kb/api-key-regeneration-impact/)
- [How Do I View and Manage My API Keys on SMSGatewayCenter?](https://www.smsgatewaycenter.com/blog/kb/view-manage-api-keys/)

Found this useful?[Add as Preferred Source on Google](https://www.google.com/preferences/source?q=smsgatewaycenter.com)
