API Documentation
Complete API reference for developers integrating with Vetzy.
Introduction
The Vetzy API allows developers to integrate Vetzy's functionality into their own applications. Our RESTful API provides access to appointments, users, pets, and more.
Authentication
All API requests require authentication using API keys or OAuth 2.0 tokens.
API Keys
Generate API keys from your account settings. Include the key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
OAuth 2.0
For user-specific data, use OAuth 2.0 to obtain access tokens on behalf of users.
Base URL
All API requests should be made to:
https://api.vetzy.eu/v1
Endpoints
The API provides endpoints for:
- Appointments: Create, read, update, and cancel appointments
- Users: Manage user accounts and profiles
- Pets: Manage pet profiles and medical records
- Veterinarians: Access veterinarian information and availability
- Services: Retrieve available services and pricing
Rate Limiting
API requests are rate-limited to ensure fair usage. The current limits are:
- 1000 requests per hour for authenticated requests
- 100 requests per hour for unauthenticated requests
Code Examples
Example API request using cURL:
curl -X GET \
https://api.vetzy.eu/v1/appointments \
-H 'Authorization: Bearer YOUR_API_KEY'
Error Handling
The API uses standard HTTP status codes. Errors are returned in JSON format with details about what went wrong.
Support
For API support, contact api@vetzy.eu or visit our Support Center.