Subscribe to a connected vehicle
After creating a connected vehicle, it's advised to open a GraphQL subscription. Whenever making changes such as finishing the authorization or renaming the vehicle, updates are sent over this subscription.
The subscription service needs to be initiated with the
id of a connected vehicle. After the subscription is established, updates will be provided until the connection is closed.
Frequently used fields
Status of the connected vehicle
Custom label for a connected vehicle that can be assigned by a user
Unique ID of the connected vehicle
Unique ID of the vehicle
Scope for accessing the vehicle
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 token you provided is expired
The token you provided is invalid
The connected vehicle was not found