Tesla Energy · OAuth Scopes

Tesla Energy OAuth Scopes

OAuth 2.0 derived

Tesla Energy publishes 3 OAuth 2.0 scopes via the authorizationCode flow. Scopes are the fine-grained permissions an application requests at authorization time to act against the Tesla Energy API on a user’s behalf.

Tokens are issued from https://auth.tesla.com/oauth2/v3/token.

This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.

EnergyClean EnergySolarBattery StoragePowerwallMegapackSolar RoofVirtual Power PlantIoTGrid ServicesHome EnergyUtility Scale
Scopes: 3 Flows: authorizationCode Method: derived

OAuth endpoints

Authorization URL
https://auth.tesla.com/oauth2/v3/authorize
Token URL
https://auth.tesla.com/oauth2/v3/token
Flows
authorizationCode

Scopes (3)

ScopeDescriptionFlows
energy_cmds Send commands to energy sites authorizationCode
energy_device_data Read energy site data authorizationCode
offline_access Refresh tokens authorizationCode

Source

OAuth Scopes

tesla-energy-scopes.yml Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/tesla-energy-fleet-api-openapi.yml
schemes:
- name: BearerAuth
  source: openapi/tesla-energy-fleet-api-openapi.yml
  flows:
  - flow: authorizationCode
    authorizationUrl: https://auth.tesla.com/oauth2/v3/authorize
    tokenUrl: https://auth.tesla.com/oauth2/v3/token
  description: Tesla Fleet API OAuth 2.0 with PKCE. Scopes energy_device_data (read) and energy_cmds
    (write) required for the energy_sites endpoints.
scopes:
- scope: energy_cmds
  description: Send commands to energy sites
  flows:
  - authorizationCode
  sources:
  - openapi/tesla-energy-fleet-api-openapi.yml
- scope: energy_device_data
  description: Read energy site data
  flows:
  - authorizationCode
  sources:
  - openapi/tesla-energy-fleet-api-openapi.yml
- scope: offline_access
  description: Refresh tokens
  flows:
  - authorizationCode
  sources:
  - openapi/tesla-energy-fleet-api-openapi.yml