Developer Documentation

/ Vehicles

Information (Basic)

GET https://teslascope.com/api/vehicle/:public_id Authentication Optional

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.

Response

Information (Detailed)

GET https://teslascope.com/api/vehicle/:public_id/detailed Authentication Required

This 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.

Response

Reminders

GET https://teslascope.com/api/vehicle/:public_id/reminders Authentication Required

This is list representing reminders made for this vehicle on our service.

Response

Driving Sessions

GET https://teslascope.com/api/vehicle/:public_id/drives Authentication Required

This 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.

Response

Driving Session

GET https://teslascope.com/api/vehicle/:public_id/drive/:drive_id Authentication Required

This 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).

Response

Charging Sessions

GET https://teslascope.com/api/vehicle/:public_id/charges Authentication Required

This 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.

Response

Charging Session

GET https://teslascope.com/api/vehicle/:public_id/charge/:charge_id Authentication Required

This 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).

Response

Commands (Vehicle Controls)

GET https://teslascope.com/api/vehicle/:public_id/command/:command Authentication Required

This 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

Response

State

GET https://teslascope.com/api/vehicle/:public_id/state Authentication Required

This is an object representing the current state (ie: online, asleep, offline) of a vehicle. This call will not wake the vehicle up.

Response