Overview
The Vepler API uses API key authentication for all requests. You must include your API key in thex-api-key header of every request.
Keep your API keys secure! Never expose them in client-side code or public repositories.
Obtaining API Keys
1
Create Account
Sign up at app.vepler.com
2
Navigate to API Keys
Go to Settings → API Keys in your dashboard
3
Generate New Key
Click “Create New Key” and give it a descriptive name
4
Copy & Secure
Copy your key immediately - it won’t be shown again
Making Authenticated Requests
Include your API key in thex-api-key header:
API Key Format
API keys use the prefixvpr_live_ followed by a unique identifier:
Security Best Practices
Environment Variables
Environment Variables
Never hardcode API keys. Use environment variables:
.env
Key Rotation
Key Rotation
Rotate your API keys regularly:
- Generate a new key in the dashboard
- Update your application with the new key
- Verify the new key works
- Delete the old key from the dashboard
Server-Side Only
Server-Side Only
Always make API calls from your server, never from client-side code. Your API key should never be exposed in browser JavaScript, mobile apps, or public repositories.
Error Handling
Handle authentication errors gracefully:Authentication Errors
Testing Authentication
Verify your setup with a health check endpoint:Next Steps
Quick Start
Build your first integration
API Reference
Explore all endpoints
TypeScript SDK
Use the official SDK
Error Handling
Handle errors effectively