Tesla Fleet API

App · 20 actions

Read Tesla vehicles, charging sites, fleet configuration and energy history.

Actions

ActionWhat it does
Get cached vehicle dataGet cached vehicle data.
Get current userGet current user.
Get energy historyGet energy history.
Get energy live statusGet energy live status.
Get energy site infoGet energy site info.
Get fleet statusGet fleet status.
Get fleet telemetry configGet fleet telemetry config.
Get fleet telemetry errorsGet fleet telemetry errors.
Get mobile enabledGet mobile enabled.
Get nearby charging sitesGet nearby charging sites.
Get recent alertsGet recent alerts.
Get release notesGet release notes.
Get service dataGet service data.
Get user regionGet user region.
Get vehicleGet vehicle.
Get vehicle dataGet vehicle data.
List driversList drivers.
List invitationsList invitations.
List productsList products.
List vehiclesList vehicles.

Get cached vehicle data

Get cached vehicle data.

Inputs

VinvintextRequired
Vin.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get current user

Get current user.

Inputs

None.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get energy history

Get energy history.

Inputs

Energy siteenergy_site_idtextRequired
Energy site id.
Kindhistory_typetextRequired
Kind.One of: energy, backup.
Periodperiodtext
Period.One of: day, week, month, year, lifetime.
Start datestart_datedate and time
Start date.
End dateend_datedate and time
End date.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get energy live status

Get energy live status.

Inputs

Energy siteenergy_site_idtextRequired
Energy site id.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get energy site info

Get energy site info.

Inputs

Energy siteenergy_site_idtextRequired
Energy site id.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get fleet status

Get fleet status.

Inputs

VinsvinslistRequired
Vins.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get fleet telemetry config

Get fleet telemetry config.

Inputs

VinvintextRequired
Vin.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get fleet telemetry errors

Get fleet telemetry errors.

Inputs

VinvintextRequired
Vin.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get mobile enabled

Get mobile enabled.

Inputs

VinvintextRequired
Vin.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get nearby charging sites

Get nearby charging sites.

Inputs

VinvintextRequired
Vin.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get recent alerts

Get recent alerts.

Inputs

VinvintextRequired
Vin.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get release notes

Get release notes.

Inputs

VinvintextRequired
Vin.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get service data

Get service data.

Inputs

VinvintextRequired
Vin.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get user region

Get user region.

Inputs

None.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get vehicle

Get vehicle.

Inputs

VinvintextRequired
Vin.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

Get vehicle data

Get vehicle data.

Inputs

VinvintextRequired
Vin.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

List drivers

List drivers.

Inputs

VinvintextRequired
Vin.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

List invitations

List invitations.

Inputs

VinvintextRequired
Vin.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

List products

List products.

Inputs

None.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

List vehicles

List vehicles.

Inputs

Pagepagenumber
Page.At least 1.
Per pageper_pagenumber
Per page.From 1 to 100.

Outputs

Response.

dataobject
Data.
has_moretrue/false
Whether more records are available.
next_cursortext
Continuation token, if another page exists.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

On this page