Commands let your application take action on a vehicle. Unlike signals, which read vehicle state, commands write to it β they alter the data or state of the vehicle.Documentation Index
Fetch the complete documentation index at: https://smartcar.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Available Commands
- Charge β Start charging, stop charging, set charge limit
- Security β Lock and unlock vehicle doors
- Navigation β Set a destination in the vehicleβs navigation system
- Charge Schedules β Configure daily, weekly, or workweek charging windows, or delete a schedule
Charge Schedules
The following makes currently support charge schedules. More brands will be added over time.| Make | Supported Schedules | Notes |
|---|---|---|
| Tesla | Daily, Weekly, Workweek | β |
| Volvo | Daily only | Brand quirks apply β review before integrating |
VEHICLE_NOT_CAPABLE compatibility error:
ChargeTimers signal. Timers with "type": "LOCATION" include a scheduleType and scheduleId β use the scheduleId to issue DELETE requests. The signal reflects all schedules on the vehicle, including any set outside of the API.
Data State Changes
Commands do not return updated vehicle state. After issuing a command, confirm or monitor its effect by reading the corresponding signal β via the Vehicle Data API or a Webhooks. Signal updates may be delayed as the change propagates to the vehicle.Key Concepts
sc-user-id Header
All command endpoints require thesc-user-id header. Your bearer token is application-level and does not carry per-user context, so this header must be provided on every request to identify which userβs vehicle to act on.
202 Response
A202 means the command is in process but is long-running. Always read the response body to determine success or failure of the actual command.
