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
  • Data: Real patient records, appointments, and inventory data
curl https://api.vetigen.com/api/v1/patients \
  -H "X-API-Key: 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
  • Data: Synthetic test data — no real patient information
  • Key format: API keys are environment-specific; do not infer the environment from the key prefix
curl https://api-sandbox.vetigen.com/api/v1/patients \
  -H "X-API-Key: sk_live_SANDBOX_KEY"

Sandbox Test Data

The sandbox environment is pre-populated with test data:

ResourceTest Data
PatientsSynthetic patients
AppointmentsSample calendar events
InventorySample inventory records

Switching Environments

To switch environments, update:

  1. The base URL in your API client configuration
  2. The API key issued for that environment
const client = new VetigenClient({
  baseUrl: process.env.VETIGEN_BASE_URL,
  apiKey: process.env.VETIGEN_API_KEY,
});

On this page