Guides

Appointments

How to retrieve calendar events via the Vetigen API.

Appointments Guide

Read calendar events for a clinic. Calendar endpoints require the clinic.calendar.view permission.

List Calendar Events

Retrieve appointments within a date range.

curl "https://api.vetigen.com/api/v1/calendar/events?start_date=2026-04-01T00:00:00Z&end_date=2026-04-30T23:59:59Z" \
  -H "X-API-Key: sk_live_YOUR_KEY"

Query Parameters

ParameterTypeDescription
start_dateISO 8601Filter events starting from this date
end_dateISO 8601Filter events ending before this date
typestringFilter by event type
statusstringFilter by event status

Response

[
  {
    "fp": "calevt_01JQMKXXXXX",
    "title": "Annual Checkup — Luna",
    "type": "CHECKUP",
    "status": "SCHEDULED",
    "start_at": "2026-04-15T07:00:00.000Z",
    "end_at": "2026-04-15T07:30:00.000Z",
    "patient_fp": "patient_01JQMKXXXXX",
    "assigned_user_fp": "user_01JQMKXXXXX"
  }
]

Event Types

TypeDescription
APPOINTMENTStandard veterinary appointment
SURGERYSurgical procedure
VACCINATIONVaccination session
CHECKUPRoutine checkup
EMERGENCYEmergency visit
SALEProduct/service sale

Event Statuses

StatusDescription
SCHEDULEDAppointment is confirmed
CHECKED_INPatient has arrived
IN_PROGRESSExamination in progress
PENDING_CHECKOUTAwaiting payment/discharge
CLOSEDVisit completed
CANCELLEDAppointment was cancelled

On this page