Tesla Media Control API

The Media Control API from Tesla — 8 operation(s) for media control.

GitHub OpenAPI

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/1/vehicles/{vehicle_id}/command/media_toggle_playback Pause or play media · Tesla Pause/Play Media #
Ask an LLM
“How do I pause or resume the music in my Tesla?”
“Can I toggle playback on the car's media player?”
Tell an agent
Toggle media playback on vehicle {vehicle_id}.
Pause or resume the car's music for {vehicle_id}.
POST /api/1/vehicles/{vehicle_id}/command/media_next_track Skip to the next track · Tesla Next Track #
Ask an LLM
“How do I skip to the next song in the car?”
“Can I move to the next track without stopping playback?”
Tell an agent
Skip to the next track on vehicle {vehicle_id}.
Play the next song in the car's media player for {vehicle_id}.
POST /api/1/vehicles/{vehicle_id}/command/media_prev_track Go back to the previous track · Tesla Previous Track #
Ask an LLM
“How do I go back to the previous song in the car?”
“Can I rewind to the last track?”
Tell an agent
Go back to the previous track on vehicle {vehicle_id}.
Rewind the car's media player to the last song for {vehicle_id}.
POST /api/1/vehicles/{vehicle_id}/command/media_next_fav Play the next favorite · Tesla Next Favorite #
Ask an LLM
“How do I play the next saved favorite in the car?”
“Can I skip to the next favorite playlist?”
Tell an agent
Play the next favorite on vehicle {vehicle_id}.
Skip to the next saved favorite in the car's media player for {vehicle_id}.
POST /api/1/vehicles/{vehicle_id}/command/media_prev_fav Play the previous favorite · Tesla Previous Favorite #
Ask an LLM
“How do I play the previous saved favorite in the car?”
“Can I go back to the last favorite playlist?”
Tell an agent
Play the previous favorite on vehicle {vehicle_id}.
Rewind to the last saved favorite in the car's media player for {vehicle_id}.
POST /api/1/vehicles/{vehicle_id}/command/media_volume_up Turn up the car's volume · Tesla Volume Up #
Ask an LLM
“How do I increase the volume in my Tesla?”
“Can I turn up the car's media volume by one level?”
Tell an agent
Turn up the volume on vehicle {vehicle_id}.
Increase the car's media volume for {vehicle_id}.
POST /api/1/vehicles/{vehicle_id}/command/media_volume_down Turn down the car's volume · Tesla Volume Down #
Ask an LLM
“How do I lower the volume in my Tesla?”
“Can I turn down the car's media volume by one level?”
Tell an agent
Turn down the volume on vehicle {vehicle_id}.
Decrease the car's media volume for {vehicle_id}.
POST /api/1/vehicles/{vehicle_id}/command/adjust_volume Set the car's volume level · Tesla Adjust Volume #
Ask an LLM
“How do I set the car's media volume to a specific level?”
“Can I set the volume between 0 and 11?”
Tell an agent
Set the volume on vehicle {vehicle_id} to {volume}.
Adjust the car's media volume for {vehicle_id} to {volume}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/tesla:tesla-media-control-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

tesla-media-control-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tesla Media Control API
  description: API for controlling Tesla vehicles
  version: '1.0'
servers:
- url: https://owner-api.teslamotors.com/
tags:
- name: Media Control
paths:
  /api/1/vehicles/{vehicle_id}/command/media_toggle_playback:
    post:
      tags:
      - Media Control
      summary: Tesla Pause/Play Media
      description: Pause/Play Media
      operationId: MediaTogglePlayback
      parameters:
      - name: vehicle_id
        in: path
        description: The id of the Vehicle.
        required: true
        schema:
          type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /api/1/vehicles/{vehicle_id}/command/media_next_track:
    post:
      tags:
      - Media Control
      summary: Tesla Next Track
      description: Next Track
      operationId: MediaNextTrack
      parameters:
      - name: vehicle_id
        in: path
        description: The id of the Vehicle.
        required: true
        schema:
          type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /api/1/vehicles/{vehicle_id}/command/media_prev_track:
    post:
      tags:
      - Media Control
      summary: Tesla Previous Track
      description: Previous Track
      operationId: MediaPrevTrack
      parameters:
      - name: vehicle_id
        in: path
        description: The id of the Vehicle.
        required: true
        schema:
          type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /api/1/vehicles/{vehicle_id}/command/media_next_fav:
    post:
      tags:
      - Media Control
      summary: Tesla Next Favorite
      description: Next Favorite
      operationId: MediaNextFavorite
      parameters:
      - name: vehicle_id
        in: path
        description: The id of the Vehicle.
        required: true
        schema:
          type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /api/1/vehicles/{vehicle_id}/command/media_prev_fav:
    post:
      tags:
      - Media Control
      summary: Tesla Previous Favorite
      description: Previous Favorite
      operationId: MediaPrevFavorite
      parameters:
      - name: vehicle_id
        in: path
        description: The id of the Vehicle.
        required: true
        schema:
          type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /api/1/vehicles/{vehicle_id}/command/media_volume_up:
    post:
      tags:
      - Media Control
      summary: Tesla Volume Up
      description: Volume Up
      operationId: MediaVolumeUp
      parameters:
      - name: vehicle_id
        in: path
        description: The id of the Vehicle.
        required: true
        schema:
          type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /api/1/vehicles/{vehicle_id}/command/media_volume_down:
    post:
      tags:
      - Media Control
      summary: Tesla Volume Down
      description: Volume Down
      operationId: MediaVolumeDown
      parameters:
      - name: vehicle_id
        in: path
        description: The id of the Vehicle.
        required: true
        schema:
          type: string
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResponse'
  /api/1/vehicles/{vehicle_id}/command/adjust_volume:
    post:
      tags:
      - Media Control
      summary: Tesla Adjust Volume
      description: Adjust Volume
      operationId: MediaAdjustVolume
      parameters:
      - name: vehicle_id
        in: path
        description: The id of the Vehicle.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdjustVolumeRequest'
        required: true
      responses:
        200:
          description: ''
          content:
            application/josn:
              schema:
                $ref: '#/components/schemas/CommandResponse'
      x-codegen-request-body-name: body
components:
  schemas:
    AdjustVolumeRequest:
      title: Adjust Volume request
      type: object
      properties:
        volume:
          type: number
          description: Volume level, from 0-11
          format: int32
          example: 1
    CommandResponse:
      title: CommandResponse
      required:
      - response
      type: object
      properties:
        response:
          type: object
          properties:
            result:
              type: boolean
            reason:
              type: string
          description: ''