Authentication
TechSlayers products use either API keys (sent as headers) or bearer tokens (sent via theAuthorization header).
Never embed secrets in client-side code. Store them in your server environment (or a secret manager) and rotate them
regularly.
Product auth matrix
| Product | Type | How to send |
|---|---|---|
| DarkRecon | API key | X-API-Key: <key> |
| FileScanner | API key (optional) | X-API-Key: <key> and optionally X-Device-Name: <device> |
| RTSWPScan | API key | API-Key: <key> |
| Senthrex | Bearer token | Authorization: Bearer <token> |
| Legba | Bearer token | Authorization: Bearer <token> |
Recommended client pattern
- Keep the secret server-side only.
- Add a thin wrapper per product that:
- injects auth headers
- sets a sensible timeout
- logs request IDs (if present)
- retries only when safe (see
/platform/rate-limits)
