Send vehicle commands to a Tesla using the signed command protocol

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. Ensure your EC private key (P-256) is available in your application runtime; this is the key whose public counterpart was registered at your well-known endpoint
  2. Construct the command payload as a protobuf message using Tesla's published proto schema (VCSEC or CarServer domain depending on the command type)
  3. Sign the serialized protobuf payload using ECDSA with SHA-256 and include the signature in the signed command envelope along with an epoch-based nonce to prevent replay attacks
  4. POST the signed command to the Fleet API endpoint for the target vehicle, e.g. POST /api/1/vehicles/{id}/signed_command, with the binary protobuf body and appropriate Content-Type
  5. Inspect the response: a 200 with result true indicates success; handle response codes for timeout (vehicle asleep), rate limiting, or key not paired errors specifically

Known gotchas

Related routes

send signed vehicle charging commands (start, stop, set charge limit) to a Tesla vehicle via the Tesla Fleet API
developer.tesla.com · 6 steps · unrated
Run Tesla's open-source vehicle-command proxy so a fleet backend can send signed vehicle commands without the private key leaving local infrastructure
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