---
title: "Set charging ammeter time for a Tesla."
method: POST
path: "/vehicles/{vehicle_id}/tesla/charge/ammeter"
tags: ["Tesla"]
---

# Set charging ammeter time for a Tesla.

`POST /vehicles/{vehicle_id}/tesla/charge/ammeter`

## Request

- Base URL: `https://vehicle.api.smartcar.com/v3`
- URL: `https://vehicle.api.smartcar.com/v3/vehicles/{vehicle_id}/tesla/charge/ammeter`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/smartcar/apis/smartcar-api/docs/vehicles/:vehicle_id/tesla/charge/ammeter/post.ts> (a function with typed inputs; its response is checked against the schema)

__Description__

When the vehicle is plugged in, this endpoint sets the amperage of the charger measured by the vehicle. When the vehicle is not plugged in, this endpoint results in a vehicle state error.

## Request body

- ChargeAmmeter
  - `amperage` number, float: The amperage of the charger measured by the vehicle.

## Response `200`

returns the amperage of the charger measured by the vehicle.

- SuccessResponse
  - `status` 'SUCCESS' | 'FAILED'
  - `message` string, nullable

---

[API](https://skmtc.dev/smartcar/apis/smartcar-api.md) - [All operations](https://skmtc.dev/smartcar/apis/smartcar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartcar/apis/smartcar-api/revisions/2101455240dc?raw)
