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

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

Work with this as data

Every scope set here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for oauth scopes

4 MCP tools reach this
  • find_scopesBrowse and filter every scope set in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This scope set
curl "https://apis.io/api/v1/scopes/tesla-energy-scopes"
All oauth scopes
curl "https://apis.io/api/v1/scopes?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.