ViaToVia Reference data API
The values your Fleet Webhook Endpoint has to answer with.
The values your Fleet Webhook Endpoint has to answer with.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/viatovia:viatovia-reference-data-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ViaToVia Fleet Reference data API
version: 1.0.0
description: 'Fleet API for taxi, limo, chauffeur and airport transfer companies that sell their rides on ViaToVia. Read the bookings ViaToVia dispatched to your fleet, assign drivers, request cancellations, and load the reference values your own endpoint answers with.
ViaToVia calls your server for prices and bookings. That contract is the Fleet Webhook Endpoint.
**Authentication:** send your fleet key as `Authorization: Bearer ` on every request. Create a sandbox key on the sandbox developer panel; the steps are in the guide.
**Rate limit:** 600 requests per minute per API key, reported in the `X-RateLimit-Limit` and `X-RateLimit-Remaining` headers, and 1200 per IP address.'
termsOfService: https://viatovia.com/terms-and-conditions
contact:
name: ViaToVia Developers
url: https://viatovia.com/developers
x-logo:
url: https://viatovia.com/android-chrome-512x512.png
altText: ViaToVia
servers:
- url: https://api-sandbox.viatovia.com/api/v1
description: Sandbox
- url: https://api.viatovia.com/api/v1
description: Live
security:
- http: []
tags:
- name: Reference data
description: The values your Fleet Webhook Endpoint has to answer with.
paths:
/fleet-api/reference/segments:
get:
operationId: fleetReference.segments
description: List the car segment names fleets can use when describing their vehicle inventory.
summary: List Vehicle Segments
tags:
- Reference data
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
examples:
- data:
- name: Economy
- name: Business
- name: First
- name: Van
- name: Minibus
properties:
data:
type: array
items:
type: object
properties:
name:
type: string
required:
- name
required:
- data
'401':
description: Missing or unknown API key
content:
application/json:
schema:
type: object
examples:
- status: Error
code: 2001
message: Unauthenticated.
properties:
status:
type: string
enum:
- Error
code:
type: integer
description: 'Machine-readable error code:
- `2001` — UNAUTHENTICATED'
enum:
- 2001
message:
type: string
required:
- status
- code
- message
'429':
description: Too many requests
content:
application/json:
schema:
type: object
examples:
- message: Too Many Attempts.
properties:
message:
type: string
required:
- message
headers:
Retry-After:
description: Seconds to wait before the next request.
schema:
type: integer
example: 42
X-RateLimit-Limit:
description: Requests allowed per minute.
schema:
type: integer
example: 600
X-RateLimit-Remaining:
description: Requests left in the current minute.
schema:
type: integer
example: 0
X-RateLimit-Reset:
description: Unix time at which the limit resets.
schema:
type: integer
example: 1796023260
/fleet-api/reference/vehicle-types:
get:
operationId: fleetReference.vehicleTypes
description: List the vehicle type names fleets can use when describing their vehicle inventory.
summary: List Vehicle Types
tags:
- Reference data
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
examples:
- data:
- name: Sedan
- name: Estate
- name: SUV
- name: Van
- name: Minibus
properties:
data:
type: array
items:
type: object
properties:
name:
type: string
required:
- name
required:
- data
'401':
description: Missing or unknown API key
content:
application/json:
schema:
type: object
examples:
- status: Error
code: 2001
message: Unauthenticated.
properties:
status:
type: string
enum:
- Error
code:
type: integer
description: 'Machine-readable error code:
- `2001` — UNAUTHENTICATED'
enum:
- 2001
message:
type: string
required:
- status
- code
- message
'429':
description: Too many requests
content:
application/json:
schema:
type: object
examples:
- message: Too Many Attempts.
properties:
message:
type: string
required:
- message
headers:
Retry-After:
description: Seconds to wait before the next request.
schema:
type: integer
example: 42
X-RateLimit-Limit:
description: Requests allowed per minute.
schema:
type: integer
example: 600
X-RateLimit-Remaining:
description: Requests left in the current minute.
schema:
type: integer
example: 0
X-RateLimit-Reset:
description: Unix time at which the limit resets.
schema:
type: integer
example: 1796023260
/fleet-api/reference/service-attributes:
get:
operationId: fleetReference.serviceAttributes
description: 'List the active extra service attributes a fleet can attach to a booking.
is_quantity_selectable indicates whether the attribute accepts a quantity greater than one.'
summary: List Service Attributes
tags:
- Reference data
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
examples:
- data:
- id: 5
title: Meet & Greet Service
description: The driver waits inside the arrivals hall holding a name sign.
is_quantity_selectable: false
- id: 13
title: Bicycle Car Rack
description: A rack fitted to the vehicle for carrying bicycles.
is_quantity_selectable: true
- id: 21
title: Child Booster Seat
description: A booster seat suitable for children aged 4 to 7.
is_quantity_selectable: true
properties:
data:
type: array
items:
type: object
properties:
id:
type: integer
title:
type: string
description:
type:
- string
- 'null'
is_quantity_selectable:
type: boolean
required:
- id
- title
- description
- is_quantity_selectable
required:
- data
'401':
description: Missing or unknown API key
content:
application/json:
schema:
type: object
examples:
- status: Error
code: 2001
message: Unauthenticated.
properties:
status:
type: string
enum:
- Error
code:
type: integer
description: 'Machine-readable error code:
- `2001` — UNAUTHENTICATED'
enum:
- 2001
message:
type: string
required:
- status
- code
- message
'429':
description: Too many requests
content:
application/json:
schema:
type: object
examples:
- message: Too Many Attempts.
properties:
message:
type: string
required:
- message
headers:
Retry-After:
description: Seconds to wait before the next request.
schema:
type: integer
example: 42
X-RateLimit-Limit:
description: Requests allowed per minute.
schema:
type: integer
example: 600
X-RateLimit-Remaining:
description: Requests left in the current minute.
schema:
type: integer
example: 0
X-RateLimit-Reset:
description: Unix time at which the limit resets.
schema:
type: integer
example: 1796023260
/fleet-api/reference/cancellation-reasons:
get:
operationId: fleetReference.cancellationReasons
description: List the active cancellation reasons available to fleets when cancelling a booking.
summary: List Cancellation Reasons
tags:
- Reference data
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
examples:
- data:
- id: 11
name: Vehicle breakdown
- id: 12
name: Driver unavailable
- id: 13
name: Customer no-show
- id: 14
name: Duplicate booking
properties:
data:
type: array
items:
type: object
properties:
id:
type: integer
name:
type: string
required:
- id
- name
required:
- data
'401':
description: Missing or unknown API key
content:
application/json:
schema:
type: object
examples:
- status: Error
code: 2001
message: Unauthenticated.
properties:
status:
type: string
enum:
- Error
code:
type: integer
description: 'Machine-readable error code:
- `2001` — UNAUTHENTICATED'
enum:
- 2001
message:
type: string
required:
- status
- code
- message
'429':
description: Too many requests
content:
application/json:
schema:
type: object
examples:
- message: Too Many Attempts.
properties:
message:
type: string
required:
- message
headers:
Retry-After:
description: Seconds to wait before the next request.
schema:
type: integer
example: 42
X-RateLimit-Limit:
description: Requests allowed per minute.
schema:
type: integer
example: 600
X-RateLimit-Remaining:
description: Requests left in the current minute.
schema:
type: integer
example: 0
X-RateLimit-Reset:
description: Unix time at which the limit resets.
schema:
type: integer
example: 1796023260
components:
securitySchemes:
http:
type: http
scheme: bearer