This version is deprecated and will be removed on April 30, 2024. Explore the latest version .

APIs/Connected Vehicle API
APIs/Connected Vehicle API

Commands

Get accessibility status

Provides information if the vehicle is accessible to receive and process invocation commands together with a timestamp when it is or was accessible. If the accessible field is false, the vehicle needs to be started manually.

get

https://api.volvocars.com/connected-vehicle/v1/vehicles/{vin}/command-accessibility

Scopes

  • openid

  • conve:command_accessibility

Headers

KeyDescription

Key

accept

Description

The mediatype of what should be returned. The valid values are: application/vnd.volvocars.api.connected-vehicle.commands.accessibility.v1+json

Key

authorization

Description

The access token issued by Volvo ID identity system.

Key

vcc-api-key

Description

Your application’s VCC API Key.

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.

FieldDescription

Field

accessible

Description

Status if the vehicle is accessible. Possible values: true, false.

Field

accessibleUntil

Description

The timestamp in ISO-8601 format that the vehicle is accessible until it goes offline.

Examples

curl -X GET 'https://api.volvocars.com/connected-vehicle/v1/vehicles/{vin}/command-accessibility' \
  -H 'accept: application/vnd.volvocars.api.connected-vehicle.commands.accessibility.v1+json' \
  -H 'authorization: Bearer <your-access-token>' \
  -H 'vcc-api-key: <your-vcc-api-key>'

List commands

Used to list the commands which can be sent to the vehicle. Each command can then be used in the respective endpoint. See below example response with list of commands.

get

https://api.volvocars.com/connected-vehicle/v1/vehicles/{vin}/commands

Scopes

  • openid

  • conve:commands

Headers

KeyDescription

Key

accept

Description

The mediatype of what should be returned. The valid values are: application/vnd.volvocars.api.connected-vehicle.commandlist.v1+json

Key

authorization

Description

The access token issued by Volvo ID identity system.

Key

vcc-api-key

Description

Your application’s VCC API Key.

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.

FieldDescription

Field

command

Description

Name of the commands available for a vehicle.

Field

href

Description

URL of the specific command for a vehicle.

Examples

curl -X GET 'https://api.volvocars.com/connected-vehicle/v1/vehicles/{vin}/commands' \
  -H 'accept: application/vnd.volvocars.api.connected-vehicle.commandlist.v1+json' \
  -H 'authorization: Bearer <your-access-token>' \
  -H 'vcc-api-key: <your-vcc-api-key>'