Arguments

input· AuthorizeConnectedVehicleInput

Fields

id· ID
Unique ID of the connected vehicle
vehicle_id· ID
Unique ID of the vehicle
status· ConnectedVehicleStatus
Status of the connected vehicle
pending_authorization

Vehicle was added to the Chargetrip Connect platform but not yet authorized

authorized

Vehicle was authorized. Chargetrip can retrieve data on behave of the user

pending_removal

Pending vehicle removal

removed

Vehicle was removed and access has been revoked

authorization_url· String
URL to connect the vehicle to the connectivity provider
provider· CarConnectivityProvider
Connectivity provider
Enode

scope· ConnectScope
Scope for accessing the vehicle
location

Vehicle location, applicable for: Enode

charge_state

Charge state, applicable for: Enode

odometer

Odometer reading, applicable for: Enode

label· String
Custom label for a connected vehicle that can be assigned by a user
vin· String
Vehicle identification number, unique identifier for a vehicle

Exceptions

Codes

auth_code_invalid
The provided auth code is not valid.
auth_token_expired
The token you provided is expired.
auth_token_invalid
The token you provided is invalid.
connect_provider_not_allowed
The Connect provider $PROVIDER is not configured for your client id. Please contact customer support to enable it!
connect_vehicle_not_supported
The provider you tried to use ($PROVIDER) cannot be used for this vehicle.
connected_vehicle_forbidden
The vehicle does not seem to be authorized yet. To complete this action, first complete the authorization flow.
connected_vehicle_no_pending_status
The connected vehicle you are trying to authorize does not have status pending_authorization.
connected_vehicle_not_found
The connected vehicle was not found.
operation_not_allowed
You are not allowed to execute this operation. Enable it for the current application in the dashboard or reach out to customer support.
rate_limit_exceeded
Rate limit exceeded.
  • Getting started

    Get started with the Chargetrip API.

  • API reference

    Browse our api and endpoints.

  • Examples

    Explore examples and start building.

How filter works

The filter argument lets you narrow down results by passing an input object with specific criteria. Each field within the filter is optional — only include the ones relevant to your query.