Cachet Vehicle events API
Used to notify Cachet about vehicle events
Used to notify Cachet about vehicle events
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/cachet-vehicle-events-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. 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:
version: 1.0.0
title: Cachet Parking Vehicle events API
termsOfService: https://cachet.me/en/terms-conditions/terms-of-use/
contact:
name: Cachet OÜ
url: https://cachet.me
email: devs@cachet.me
license:
name: Copyright (C) Cachet OÜ - All Rights Reserved
url: https://cachet.me/en/terms-conditions/terms-of-use/
x-logo:
url: web/logo.png
description: "# Introduction\n\nCachet Parking API is meant for car-sharing companies who would like to make it easier to manage all the parking related topics for their fleets. Cachet offers a full parking solution where you just send us the coordinates of the events and Cachet will handle everything else. \n\n# Getting started\n\n1. Contact Cachet to get access to the API at kalle@cachet.me\n2. Use /vehicle-events endpoint to send different events to Cachet on which Cachet will take actions and manage your parking.\n\n# Authentication\n\nAuthentication is done via Security headers.\nEach request sent to the Cachet Platform API need to have headers `x-api-key`and `x-api-username` which are both provided by the Cachet IT Team.\n"
servers:
- url: https://platform-api.cachet.me
description: Production
- description: Development
url: https://dev-platorm-api.cachet.me
security:
- x-api-username: []
x-api-key: []
tags:
- name: Vehicle events
description: Used to notify Cachet about vehicle events
paths:
/vehicle-events:
post:
tags:
- Vehicle events
summary: /vehicle-events
operationId: post-vehicle-events
description: Based on the data sent to the endpoint Cachet will handle the event and do whatever needs to be done to manage the parking related topics for this event
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VehicleEvent'
description: Details of the event
responses:
'200':
$ref: '#/components/responses/VehicleEventResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/ValidationError'
components:
responses:
VehicleEventResponse:
description: Vehicle event response
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: true
required:
- success
Unauthorized:
description: Unauthorized
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: Unauthorized
required:
- message
ValidationError:
description: ValidationError
content:
application/json:
schema:
type: object
properties:
statusCode:
type: number
example: 500
error:
type: string
example: ValidationError
message:
type: string
example: '"lastName" is required'
required:
- statusCode
- error
- message
schemas:
VehicleEventData:
type: object
required:
- latitude
- longitude
properties:
latitude:
type: number
format: float
description: latitude of event location
example: 59.43671845969525
longitude:
type: number
format: float
description: longitude of event location
example: 24.739982267816057
isElectricVehicle:
type: boolean
description: set to true in case electrical vehicle to exclude free zones for EVs
example: true
VehicleEvent:
title: VehicleEvent
type: object
required:
- status
- time
- licenseNr
- data
description: Payload for the vehicle-events
properties:
type:
type: string
description: event type
enum:
- TRIP_START
- TRIP_END
- VEHICLE_ADDED
example: TRIP_END
licenseNr:
type: licenseNr
description: vehicle registration number
example: 123ABC
time:
type: string
description: event occuring time
example: '2021-03-02T11:10:05+02:00'
data:
$ref: '#/components/schemas/VehicleEventData'
securitySchemes:
x-api-username:
name: x-api-username
type: apiKey
in: header
description: Username provided by Cachet IT
x-api-key:
name: x-api-key
type: apiKey
in: header
description: API Key provided by Cachet IT
securityDefinitions:
APIKeyHeader:
type: apiKey
name: x-api-key
in: header
APIUsernameHeader:
type: apiKey
name: x-api-username
in: header