Skip to main content
The Vehicles API v2.0 will be deprecated by Q4 of 2026. We recommend migrating to the latest version as soon as possible to ensure continued support and access to new features.

Permission

read_battery

Request

Path
id
string
required
The vehicle ID of the vehicle you are making a request to.

Response

availableCapacities
[capacities Object]
An array of capacities Objects.
capacity
Object | null
url
string | null
A URL that will launch the flow for a vehicle owner to specify the correct battery capacity for a vehicle. Please ensure you append a redirect URI for us to send a response to once the user exits the flow.Please see this article on how to handle the URL callback.

Case 1: Smartcar has determined the battery capacity

Single capacity

Case 2: Unable to determine the battery capacity

Multiple capacities

Case 3: User selected battery capacity

Smartcar will sometimes return an availableCapacities object along side a Connect URL you can use to prompt users to select the battery capacity of their vehicle. This can occur when an accurate match could not be found, or vehicle owners purchased extension packs, or software upgrades specific to their vehicle. When you redirect a vehicle owner to this Smartcar Connect url, they can select the battery capacity of their vehicle for cases where the battery capacity cannot be accurately determined.

Battery capacity user selection in Connect

When a user selects an option, Smartcar will return this value with USER_SELECTED as the source.
Multiple capacities