# API keys

https://docs.sendsms.to/en/guides/api-keys/

Grant integrations only the access they need.

## Steps

1. Open API Keys and create a separately named key for each project or integration.
2. List the allowed IP addresses of the servers that will call the API: without them the key does not work (see IP address allowlist).
3. Select required scopes, such as balance.read for balances or messages.send for sending.
4. Store the secret in your server’s protected secret store. It is shown at creation; never place it in browser code or URLs.
5. To rotate a key, create a replacement, update the integration, then revoke the old key and verify it no longer works.

## Keep in mind

A key is bound to its account.
