Get Started

Quickstart

Make your first Vetigen API call in 5 minutes.

Quickstart

Get up and running with the Vetigen API in 5 minutes.

Prerequisites

  • A Vetigen clinic account
  • An integration API key (see Authentication)

Step 1 — Get your API key

Log in to the Vetigen clinic dashboard and navigate to Settings → Developer → API Keys. Create an integration key and save it securely — it won't be shown again.

Step 2 — Make your first request

Replace sk_live_YOUR_KEY with your actual API key:

curl https://api.vetigen.com/api/v1/patients \
  -H "X-API-Key: sk_live_YOUR_KEY"

Step 3 — Read the response

A successful response looks like this:

{
  "success": true,
  "data": {
    "items": [
      {
        "fp": "patient_01JQMKXXXXX",
        "name": "Luna",
        "species": "cat",
        "breed": "British Shorthair",
        "sex": "female",
        "date_of_birth": "2021-03-15",
        "owner_customer_fp": "customer_01JQMKXXXXX",
        "created_at": "2024-01-15T10:30:00Z",
        "updated_at": "2026-03-20T14:22:00Z"
      }
    ],
    "total": 42,
    "page": 1,
    "page_size": 20,
    "has_more": true
  },
  "message": "OK"
}

Response Format

Vetigen endpoints return JSON. List endpoints usually return paginated data with items, total, page, page_size, and has_more. Error responses use a structured error.code field such as PATIENT.NOT_FOUND.

Next steps

On this page