Get Fleet Vehicle
curl --request GET \
--url https://api.getswitch.io/integrations/vehicles/{vehicle_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.getswitch.io/integrations/vehicles/{vehicle_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getswitch.io/integrations/vehicles/{vehicle_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getswitch.io/integrations/vehicles/{vehicle_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"batteries": [
{
"level": 18,
"name": "main"
}
],
"battery_level": 18,
"extra_params": {},
"id": "veh-1042",
"labels": [
"centro"
],
"last_moved": "2026-11-30T07:41:00Z",
"last_seen": "2026-11-30T08:12:00Z",
"lat": 45.4642,
"licence_plate": "AB123CD",
"lon": 9.19,
"propulsion_types": [
"electric"
],
"provider": "acme-mobility",
"status": "available",
"vehicle_model": "E-Moped 45",
"vehicle_type": "moped"
}Integrations
Get Fleet Vehicle
One vehicle of your fleet, read live from your fleet platform (not cached).
Integrations talk to the fleet platform your company is linked to (for example Wunder, ATOM or an MDS feed) and return its data in one common format, whatever the platform. They need a fleet integration configured for your company; GET /integrations/availability shows which kinds of data and operations your platform supports.
Failure Modes:
- 401: Token is missing or invalid
- 403:
access_deniedwhen your role or API key lacks the permission below - 404:
no_data_binding(kind: fleet) when no fleet integration is configured for your company - 404:
Vehicle not foundwhen the platform has no vehicle with this id - 422: Invalid parameters, or your fleet platform does not support this (
Unknown provider: ...) - 502: The fleet platform returned an error (
Upstream provider error: ...)
Required Auth Scopes:
integrations:vehicles:read
GET
/
integrations
/
vehicles
/
{vehicle_id}
Get Fleet Vehicle
curl --request GET \
--url https://api.getswitch.io/integrations/vehicles/{vehicle_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.getswitch.io/integrations/vehicles/{vehicle_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getswitch.io/integrations/vehicles/{vehicle_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getswitch.io/integrations/vehicles/{vehicle_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"batteries": [
{
"level": 18,
"name": "main"
}
],
"battery_level": 18,
"extra_params": {},
"id": "veh-1042",
"labels": [
"centro"
],
"last_moved": "2026-11-30T07:41:00Z",
"last_seen": "2026-11-30T08:12:00Z",
"lat": 45.4642,
"licence_plate": "AB123CD",
"lon": 9.19,
"propulsion_types": [
"electric"
],
"provider": "acme-mobility",
"status": "available",
"vehicle_model": "E-Moped 45",
"vehicle_type": "moped"
}Authorizations
HTTPBearerHTTPBearer
Path Parameters
Query Parameters
Response
Vehicle retrieved.
Normalized vehicle from any upstream provider.
