Overview
The Scanova API uses API key authentication to secure all endpoints.You must include your API key in every request to successfully access the API.
Each request without valid authentication will be rejected with a
401 Unauthorized error.
API Key Authentication
All requests must include your API key in theAuthorization header — without any prefix.
Header Format
All API endpoints require authentication using an API key. The API key must be passed directly in the
Authorization header without any prefix.Example Request
Obtaining Your API Key
Step 1: Log in to Scanova
- Visit https://scanova.io
- Log in to your account
Step 2: Navigate to API Settings
- Go to your dashboard
- Go to Settings and click on the API tab
Step 3: Create an API Key
- Click Create New API Key
- Select a key type:
- Live API Key: For production use
- Sandbox API Key: For testing and development
- Give your key a descriptive name
- Click Generate Key
Step 4: Copy and Store Your Key
Best practices:- Store keys as environment variables
- Never commit API keys to source control
- Use a secure secrets manager (like AWS Secrets Manager or Vault)
API Key Limits
| Plan | Live API Keys | Sandbox API Keys |
|---|---|---|
| Enterprise | 2 | 2 |
Environment Variables
Use environment variables to securely manage API keys in your project Example.env File
Node.js Example
Python Example
Base URLs
Use the correct base URL depending on your environment:- Production:
https://management.scanova.io - Sandbox:
https://sandbox-management.scanova.io
Error Responses
Invalid API Key
401 Unauthorized
Missing API Key
401 Unauthorized
Rate Limit Exceeded
429 Too Many Requests
Security Best Practices
Follow these guidelines to keep your API keys and data secure.
1. Keep Your API Keys Safe
- Never expose keys in frontend code
- Avoid committing keys to Git or public repos
- Store them in environment variables or secure storage
- Rotate keys regularly
2. Always Use HTTPS
The Scanova API only supports secure connections. Avoid plain HTTP3. Validate Input
- Validate and sanitize all input before making requests
- Prevent injection attacks by enforcing proper data formats
4. Handle Errors Gracefully
- Log errors safely (avoid exposing keys)
- Show meaningful messages to end users
5. Monitor Usage
- Track API usage and costs
- Set alerts for abnormal behavior
- Review and revoke unused keys
Testing Your Authentication
You can test your API key authentication using the following endpoint:Need Help?
If you’re having trouble with authentication:- Check your API key: Ensure it’s correctly copied
- Verify header format: Make sure you’re using
Authorization: YOUR_API_KEY(without any prefix) - Check your plan: Ensure your account include API access
- Contact support: Scanova Support Center or email support@scanova.io