Vehicle State

GET /api/1/vehicles/{id}/data_request/vehicle_state

Returns the vehicle's physical state, such as which doors are open.
For the trunk (rt) and frunk (ft) fields, you should interpret a zero (0) value as closed and a non-zero value as open (partially or fully).
Here are the currently known values for the center_display_state field:
State
Description
0
Off
2
On, standby or Camp Mode
3
On, charging screen
4
On
5
On, Big charging screen
6
On, Ready to unlock
7
Sentry Mode
8
Dog Mode
9
Media
Here are the descriptions for the shorthand fields:
Field
Description
df
driver front
dr
driver rear
pf
passenger front
pr
passenger rear
ft
front trunk
rt
rear trunk

Response

1
{
2
"response": {
3
"api_version": 10,
4
"autopark_state_v2": "standby",
5
"autopark_style": "standard",
6
"calendar_supported": true,
7
"car_version": "2020.36.16 3e9e4e8dd287",
8
"center_display_state": 0,
9
"df": 0,
10
"dr": 0,
11
"ft": 0,
12
"homelink_device_count": 2,
13
"homelink_nearby": true,
14
"is_user_present": false,
15
"last_autopark_error": "no_error",
16
"locked": false,
17
"media_state": { "remote_control_enabled": true },
18
"notifications_supported": true,
19
"odometer": 57509.856033,
20
"parsed_calendar_supported": true,
21
"pf": 0,
22
"pr": 0,
23
"remote_start": false,
24
"remote_start_enabled": true,
25
"remote_start_supported": true,
26
"rt": 0,
27
"sentry_mode": false,
28
"sentry_mode_available": true,
29
"smart_summon_available": true,
30
"software_update": {
31
"download_perc": 0,
32
"expected_duration_sec": 2700,
33
"install_perc": 1,
34
"status": "",
35
"version": ""
36
},
37
"speed_limit_mode": {
38
"active": false,
39
"current_limit_mph": 50.0,
40
"max_limit_mph": 90,
41
"min_limit_mph": 50,
42
"pin_code_set": true
43
},
44
"summon_standby_mode_enabled": false,
45
"sun_roof_percent_open": 0,
46
"sun_roof_state": "closed",
47
"timestamp": 1604977470379,
48
"valet_mode": false,
49
"valet_pin_needed": true,
50
"vehicle_name": "Nikola 2.0"
51
}
52
}
Copied!
Last modified 7mo ago