X-API-Key request header. There are no session tokens, OAuth flows, or cookies — just a single header on every call.
Getting your API key
1
Log in to Bugsmash
Go to tools.bugsmash.io and sign in to your account.
2
Open account settings
Click your profile avatar or name in the top-right corner and select Settings.
3
Copy your API key
Find the API Key section and copy your key. Treat this key like a password — do not commit it to source control or expose it in client-side code.
Using your API key
Pass your API key in theX-API-Key header on every request:
Authentication errors
If your API key is missing or invalid, the API returns an HTTP401 Unauthorized response:
- The
X-API-Keyheader is present on the request - The value matches exactly what is shown in your account settings
- The key has not been regenerated since you last copied it
Content-Type header
Most endpoints also require aContent-Type header alongside X-API-Key:
- Use
application/jsonfor JSON request bodies - Use
multipart/form-datafor file upload endpoints (theboundaryis set automatically by your HTTP client)