# API keys

Make, use and turn off keys.

- A live key starts with `tm_live_`. A test key starts with `tm_test_`.
- Sales and events sent with a test key are saved as tests.
- A key shows once. We save only its hash, so we can't show it again.
- A key can have an end date.

> A key is a password. Keep it on your server. Never put it in a web page, an app or git.

If a key leaks, turn it off in Settings, then API and MCP, and make a new one. It stops working at once.
