Passing Your API Key
Every API request requires your secret API key passed via the X-API-Key header:
http
BounceLayer also supports standard RFC 6750 Bearer authentication:
http
Security Best Practices
- Never Expose Keys in Client-Side Code: Never embed
bl_live_...keys in frontend React, Vue, Next.js client bundles, or mobile applications. Always proxy verification requests through your backend API route. - Key Rotation: You can generate multiple API keys in your dashboard. When rotating credentials, create a new key, update your production environment variables, test connectivity, and then revoke the deprecated key.
- Automated Scanners: If a secret key is accidentally committed to a public GitHub repository, our automated credential leak sentinel will automatically suspend the key and alert your account email.