Open API 1.0 Overview
Open API 1.0 uses a polling-based architecture where you fetch service request data from VectorCare endpoints and receive notifications via webhooks.
Key Differences from 2.0
Section titled “Key Differences from 2.0”| Feature | v1.0 | v2.0 |
|---|---|---|
| Data retrieval | Polling (GET endpoints) | Webhooks only |
| Data structure | Dynamic (configurable fields) | Static (fixed fields) |
| Endpoints | Multiple read endpoints | Webhook + update endpoints |
| Standing orders | Bulk webhook | Individual webhooks per request |
Requirements
Section titled “Requirements”- VectorCare account with API feature enabled
- Admin group with these permissions:
Can access Open APICan configure Open API Client CredentialsCan configure Open API for accountCan configure Webhooks
See About Group Permissions for configuration details.
Available Endpoints
Section titled “Available Endpoints”Read Operations
Section titled “Read Operations”- Request List (Partial) - Get list of request IDs and basic info
- Request List (Full) - Get paginated list with full details
- Request Detail - Get complete details for a single request
Update Operations
Section titled “Update Operations”- State Update - Post trip state changes
- Location Update - Post GPS coordinates
Create Operations
Section titled “Create Operations”- Create Request - Create new service requests
Account Operations
Section titled “Account Operations”- Account Details - Get account information
Webhooks
Section titled “Webhooks”- Webhook Messages - Receive real-time notifications
Getting Started
Section titled “Getting Started”- Set up authentication to obtain access tokens
- Use the Request List endpoint to discover available requests
- Fetch full details with Request Detail
- Send updates via State Update and Location Update
- Configure webhooks to receive real-time notifications