Developer Documentation
/ Vehicles
Vehicle Information
Basic Information
This is an object representing a vehicle on the Teslascope service. Note: Some information is accessible if a vehicle is public, while additional information if an authenticated request is made.
Detailed Information
This is an object representing detailed vehicle information.
Reminders
Returns a list of reminders for the vehicle.
Driving & Charging
Driving Sessions
This is a list of all driving sessions for a vehicle.
Driving Session
Returns details for a specific driving session.
Charging Sessions
Returns a list of all charging sessions for the vehicle.
Charging Session
Returns details for a specific charging session.
Trip Management
Trips
Returns a list of all trips for the vehicle.
Trip
Returns details for a specific trip.
Trip (Add Item)
This is an object representing adding a drive or charging session to a trip.
Trip (Remove Item)
Removes a drive or charging session from a trip.
Location Management
Vehicle Locations
Returns a list of saved locations for the vehicle.
Create Location
Creates a new saved location for the vehicle.
Required Parameters
name
(string) - Name of the locationlatitude
(float) - Latitude coordinatelongitude
(float) - Longitude coordinate
Optional Parameters
description
(string) - Description of the locationcategory
(string) - Category of the locationradius
(float) - Radius of the geofence in milesnotify_on_enter
(boolean) - Whether to notify on enternotify_on_leave
(boolean) - Whether to notify on leave
Update Location
Updates an existing saved location for the vehicle.
Required Parameters
locationId
(integer) - ID of the location to update
Optional Parameters
name
(string) - Updated name of the locationdescription
(string) - Updated descriptionlatitude
(float) - Updated latitude coordinatelongitude
(float) - Updated longitude coordinateradius
(float) - Updated radius in milesnotify_on_enter
(boolean) - Updated notify on enter settingnotify_on_leave
(boolean) - Updated notify on leave setting
Remove Location
Removes a saved location from the vehicle.
Required Parameters
locationId
(integer) - ID of the location to remove
Vehicle Management
Activate Vehicle
Activates a vehicle, enabling all vehicle interactions and data collection.
Deactivate Vehicle
Deactivates a vehicle, disabling all vehicle interactions and data collection.
Update Vehicle Name
Updates the name of a vehicle.
Required Parameters
name
(string) - New name for the vehicle