Developer Documentation
/ Vehicles
Information (Basic)
GET https://teslascope.com/api/vehicle/:public_id Authentication OptionalThis 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.
Information (Detailed)
GET https://teslascope.com/api/vehicle/:public_id/detailed Authentication RequiredThis is an object representing a vehicle on the Teslascope service and provides all latest data pertaining to the vehicle.
While this includes a majority of all attributes/variables returned by the raw Tesla API data response, not all attributes/variables are stored by our team for improved database efficiency and other implementation purposes.
Reminders
GET https://teslascope.com/api/vehicle/:public_id/reminders Authentication RequiredThis is list representing reminders made for this vehicle on our service.
Driving Sessions
GET https://teslascope.com/api/vehicle/:public_id/drives Authentication RequiredThis is a list representing the driving sessions of a vehicle, with twenty items (sessions) per response.
This utilizes a pagination system, so you can either navigate by appending ?page=#
to the end of this endpoint, or you can use
the first_page_url
, prev_page_url
, and next_page_url
attributes to navigate between pages.
Driving Session
GET https://teslascope.com/api/vehicle/:public_id/drive/:drive_id Authentication RequiredThis is an object representing a singular driving session of a vehicle.
This response is similar to the Driving Sessions response, however includes data points (progress).
Charging Sessions
GET https://teslascope.com/api/vehicle/:public_id/charges Authentication RequiredThis is a list representing the charging sessions of a vehicle, with twenty items (sessions) per response.
This utilizes a pagination system, so you can either navigate by appending ?page=#
to the end of this endpoint, or you can use
the first_page_url
, prev_page_url
, and next_page_url
attributes to navigate between pages.
Charging Session
GET https://teslascope.com/api/vehicle/:public_id/charge/:charge_id Authentication RequiredThis is an object representing a singular charging session of a vehicle.
This response is similar to the Charging Sessions response, however includes data points (progress).
Commands (Vehicle Controls)
GET https://teslascope.com/api/vehicle/:public_id/command/:command Authentication RequiredThis is an object representing a command sent to a vehicle.
A list of all valid values for command are: honkHorn, flashLights, enableSentryMode, disableSentryMode, startAC, stopAC, ventWindows, closeWindows, openTrunk, openFrunk, openChargeDoor, closeChargeDoor
State
GET https://teslascope.com/api/vehicle/:public_id/state Authentication RequiredThis is an object representing the current state (ie: online, asleep, offline) of a vehicle. This call will not wake the vehicle up.