Get Started
Environments
Understanding Production and Sandbox environments in Vetigen API.
Environments
Vetigen provides two environments for API integration: Production and Sandbox.
Base URLs
| Environment | Base URL |
|---|---|
| Production | https://api.vetigen.com |
| Sandbox | https://api-sandbox.vetigen.com |
Production
The production environment contains real clinic data. Use it for your live integration.
- Base URL:
https://api.vetigen.com - API Key prefix:
sk_live_ - Data: Real patient records, appointments, and medical data
curl https://api.vetigen.com/api/v1/patients \
-H "Authorization: Bearer sk_live_YOUR_KEY"Sandbox
The sandbox environment is isolated from production. Use it for development and testing.
- Base URL:
https://api-sandbox.vetigen.com - API Key prefix:
sk_test_ - Data: Synthetic test data — no real patient information
- Limitations: Some advanced features may be limited
curl https://api-sandbox.vetigen.com/api/v1/patients \
-H "Authorization: Bearer sk_test_YOUR_KEY"Sandbox Test Data
The sandbox environment is pre-populated with test data:
| Resource | Test Data |
|---|---|
| Patients | 50+ synthetic patients (cats, dogs, birds) |
| Appointments | Sample calendar events |
| SOAP records | Sample examination notes |
| Lab results | Sample Cortex diagnostic results |
Switching Environments
To switch environments, update:
- The base URL in your API client configuration
- The API key (use
sk_test_for sandbox,sk_live_for production)
// Development
const client = new VetigenClient({
baseUrl: 'https://api-sandbox.vetigen.com',
apiKey: process.env.VETIGEN_TEST_KEY,
});
// Production
const client = new VetigenClient({
baseUrl: 'https://api.vetigen.com',
apiKey: process.env.VETIGEN_LIVE_KEY,
});