Doors, windows and locks
Get window status
Endpoint used to get vehicle’s latest window status values.
get
https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/windows
Scopes
openid
conve:windows_status
Headers
All these header values are mandatory. They must exist in every request.
Response body
The response’s data node lists the vehicle’s latest window status values.
Examples
curl -X GET 'https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/windows' \
-H 'accept: application/json' \
-H 'authorization: Bearer <your-access-token>' \
-H 'vcc-api-key: <your-vcc-api-key>'
Get door and lock status
Vehicle’s door and lock status values.
get
https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/doors
Scopes
openid
conve:doors_status
conve:lock_status
Headers
All these header values are mandatory. They must exist in every request.
Response body
The response’s data node provides the details for the queried vehicle data.
Examples
curl -X GET 'https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/doors' \
-H 'accept: application/json' \
-H 'authorization: Bearer <your-access-token>' \
-H 'vcc-api-key: <your-vcc-api-key>'
Lock doors
Command used to lock the vehicle’s doors.
post
https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/commands/lock
Scopes
openid
conve:lock
Headers
All these header values are mandatory. They must exist in every request.
Request body
The request body data needed to perform the invocation command is NONE.
Response body
The response’s data node provides the details for the queried request.
Examples
curl -X POST 'https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/commands/lock' \
-H 'content-type: application/json' \
-H 'authorization: Bearer <your-access-token>' \
-H 'vcc-api-key: <your-vcc-api-key>'
Lock doors with reduced guard
Not available for classic cars. What we mean are cars without Android-based infotainment system. Google, Android, and other Google trademarks, are property of Google LLC.
Command used to lock the vehicle’s doors with reduced guard.
post
https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/commands/lock-reduced-guard
Scopes
openid
conve:lock
Headers
All these header values are mandatory. They must exist in every request.
Request body
The request body data needed to perform the invocation command is NONE.
Response body
The response’s data node provides the details for the queried request.
Examples
curl -X POST 'https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/commands/lock-reduced-guard' \
-H 'content-type: application/json' \
-H 'authorization: Bearer <your-access-token>' \
-H 'vcc-api-key: <your-vcc-api-key>'
Unlock doors
Command used to unlock the vehicle or the vehicle's trunk/boot doors. When opening a trunk/boot door in a certain unlock duration time the other doors will be opened as well.
post
https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/commands/unlock
Scopes
openid
conve:unlock
Headers
All these header values are mandatory. They must exist in every request.
Response body
The response’s data node provides the details for the queried request.
Examples
curl -X POST 'https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/commands/unlock' \
-H 'content-type: application/json' \
-H 'authorization: Bearer <your-access-token>' \
-H 'vcc-api-key: <your-vcc-api-key>'