Tesla Energy · Authentication Profile

Tesla Energy Authentication

Authentication

Tesla Energy secures its APIs with oauth2 across 1 declared security scheme, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode flow(s).

EnergyClean EnergySolarBattery StoragePowerwallMegapackSolar RoofVirtual Power PlantIoTGrid ServicesHome EnergyUtility Scale
Methods: oauth2 Schemes: 1 OAuth flows: authorizationCode API key in:

Security Schemes

BearerAuth oauth2
· flows: authorizationCode

Source

Authentication Profile

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/tesla-energy-fleet-api-openapi.yml
summary:
  types:
  - oauth2
  oauth2_flows:
  - authorizationCode
schemes:
- name: BearerAuth
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://auth.tesla.com/oauth2/v3/authorize
    tokenUrl: https://auth.tesla.com/oauth2/v3/token
    scopes: 3
  description: Tesla Fleet API OAuth 2.0 with PKCE. Scopes energy_device_data (read) and energy_cmds
    (write) required for the energy_sites endpoints.
  sources:
  - openapi/tesla-energy-fleet-api-openapi.yml