Skip to main content
CSVbox requires two authentication headers, x-csvbox-api-key and x-csvbox-secret-api-key, for all protected API requests.
  • Always send requests over HTTPS.
  • Never include keys in query parameters or expose them in browser-side code.
  • Store keys securely in your server environment.

Finding your keys

1

Log in to the dashboard

Log in to the CSVbox Dashboard.
2

Open the API Keys tab

Click your profile name → Profile → API Keys tab.
3

Copy your keys

Copy your API and Secret keys.
4

Regenerate keys if needed

If keys are missing or compromised, click Regenerate Key.

Authentication flow

  1. The client sends a request to a protected endpoint with both headers.
  2. CSVbox validates that:
    • The API key exists and is active.
    • The Secret key matches the same account.
  3. If valid, CSVbox returns 200 OK and the requested data.
  4. If invalid, CSVbox returns an appropriate error code.

Verify credentials API

Verify your credentials with this endpoint.

Headers

Body

Response

200 OK
200 OK

Error responses

Example requests

Never expose your secret keys in browser-side code.

Security best practices

  • Use HTTPS (TLS) exclusively.
  • Send keys in headers, never in URLs.
  • Mask secret fields in your UI (type="password").
  • Don’t log raw keys. Mask them (for example, ****abcd).
  • Rotate and revoke keys regularly from the dashboard.
  • Store credentials as environment variables:
  • For browser apps, always proxy API requests through your backend.

FAQ

No. Both headers are required for authentication.
No. Query-based authentication is disabled for security reasons.
Store them server-side in environment variables or a secrets manager.
Regenerate it from the API Keys page.

Troubleshooting & support

If authentication fails:
  1. Verify the exact header names (x-csvbox-api-key, x-csvbox-secret-api-key).
  2. Make sure your account and keys are active.
  3. Confirm you’re using HTTPS.
  4. If it still fails, contact support with your request ID or timestamp.

Summary

Use this endpoint to verify your integration before making any other CSVbox API calls.