Authorize a new connected vehicle
With a pending connected vehicle, the authorization process can be continued. Make sure to follow the provider-specific instructions in the first step before continuing. It's also recommend to create a subscription, as explained in the previous section.
To authorize a new connected vehicle provide the
id argument. Each provider requires an
options argument. Details can be found below.
After completing the make specific authorization flow initiated by
authorizeConnectedVehicle operation should be executed to validate that the vehicle is successfully authorized. The options argument can be an empty object.
Unique ID of the connected vehicle
Unique ID of the vehicle
Status of the connected vehicle
Show ConnectedVehicleStatus enum values
Show CarConnectivityProvider enum values
Scope for accessing the vehicle
Show ConnectScope enum values
Custom label for a connected vehicle that can be assigned by a user
Vehicle identification number, unique identifier for a vehicle
A response can either contain a
data or an
errors object. The response header will always return
200 as a status code.
When successful, a
data object will be returned with the
requested fields. If there are no fields present the
data object will return the operation name with the
appropriate return type. If the operation was a query, this output
will be an object of the schema’s query root type; if the operation
was a mutation, this output will be an object of the schema’s mutation
If unsuccessful, an
errors object will be returned with
more details in the
extensions object. The error object
can contain any of the following objects.
The provided auth code is not valid
The token you provided is expired
The token you provided is invalid
The Connect provider $PROVIDER is not configured for your client id. Please contact customer support to enable it!
The provider you tried to use ($PROVIDER) cannot be used for this vehicle
The vehicle does not seem to be authorized yet. To complete this action, first complete the authorization flow.
The connected vehicle you are trying to authorize does not have status pending_authorization
The connected vehicle was not found