Get Started

Environments

Understanding Production and Sandbox environments in Vetigen API.

Environments

Vetigen provides two environments for API integration: Production and Sandbox.

Base URLs

EnvironmentBase URL
Productionhttps://api.vetigen.com
Sandboxhttps://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:

ResourceTest Data
Patients50+ synthetic patients (cats, dogs, birds)
AppointmentsSample calendar events
SOAP recordsSample examination notes
Lab resultsSample Cortex diagnostic results

Switching Environments

To switch environments, update:

  1. The base URL in your API client configuration
  2. 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,
});

On this page