Register a third-party application with the Tesla Fleet API and complete authentication

domain: developer.tesla.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create an account on developer.tesla.com and register a new application to receive a client ID; provide a public-key endpoint URL that Tesla will call to retrieve your application's public key
  2. Generate an EC key pair (Tesla requires the P-256 curve) and host the public key in JWK format at the URL you registered so Tesla can verify signed commands
  3. Direct vehicle owners through Tesla's OAuth 2.0 authorization flow at auth.tesla.com, requesting the required scopes (e.g., vehicle_device_data, vehicle_cmds, vehicle_charging_cmds)
  4. Exchange the authorization code for a Tesla access token and refresh token; access tokens are short-lived so implement silent refresh
  5. Call the Fleet API endpoint GET /api/1/vehicles to confirm the authenticated user's vehicles are visible before attempting commands

Known gotchas

Related routes

Register a Tesla Fleet API partner account, host the required public key, and complete domain verification
developer.tesla.com · 6 steps · unrated
Pair a Tesla Fleet API application's virtual key and OAuth scopes before it can send charging commands
developer.tesla.com · 5 steps · unrated
Pair a virtual key for Tesla Fleet API commands
developer.tesla.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans