API Keys
Create and manage your API keys
Last updated:
Overview
API keys authenticate your SDKs and API requests with SessionSight. Each key pair includes:
- Public key (
sessionsight_pub_...): used in the browser by the Insights SDK - Secret key (
sessionsight_sec_...): used on your server by the Goals and Flags SDKs
Managing Keys
Create, view, and delete your API keys below:
Loading...
Best Practices
- Create separate keys for different environments (development, staging, production)
- Rotate keys periodically. Delete old keys and create new ones
- Never commit secret keys to version control. Use environment variables instead
- Name keys descriptively so you know which environment or service uses each key
Using Keys in Code
After selecting a key from the dropdown in the top nav, code examples throughout these docs will automatically fill in your real API key values.