Send Destination

API

Route drivers to your business when it matters most

Get more customers to your business locations by sending a destination directly to a vehicle’s built-in navigation screen. With the Send Destination API, you can route customers at the right time based on specific vehicle triggers.

How businesses use send destination

Car sharing and rentals

Build a seamless car drop-off process by routing renters directly to a vehicle’s drop-off location.

Auto repair and maintenance

Increase shop visits and sales by sending customers to your nearest location. You can also use the Smartcar API to automatically detect maintenance events to route customers exactly when a car needs to be serviced.

EV charging

Boost the utilization and discoverability of EV charging stations by sending them the location of a nearby charger. Eliminate range anxiety and automatically send charger destinations after a driver’s battery range drops below a certain level.

An illustration of a connected vehicle on a winding road.

Send Destination

Send destination coordinates to the vehicle’s navigation system.

const smartcar = require('smartcar');

// Get all vehicles associated with this access token
const {vehicles} = await smartcar.getVehicles("<access-token>");

// Construct a new vehicle instance using the first vehicle's id
const vehicle = new smartcar.Vehicle(vehicles[0], "<access-token>");

// Send the destination to the vehicle
const sendDestination = await vehicle.sendDestination(51.5007, 0.1246);


// Example http response from Smartcar (set charge limit)
{
  "status": "success"
}

import smartcar

# Get all vehicles associated with this access token
response = smartcar.get_vehicles("<access-token>")

# Construct a new vehicle instance using the first vehicle's id
vehicle = smartcar.Vehicle(response.vehicles[0], "<access-token>")

# Send the destination to the vehicle
send_destination_response = vehicle.send_destination(51.5007, 0.1246)


// Example http response from Smartcar (set charge limit)
{
  "status": "success"
}

import com.smartcar.sdk.*;

// Get all vehicles associated with this access token
VehicleIds response = Smartcar.getVehicles("<access-token>");
String[] vehicleIds = response.getVehicleIds();

// Construct a new vehicle instance using the first vehicle's id
Vehicle vehicle = new Vehicle(vehicleIds[0], "<access-token>");

// Send the destination to the vehicle
SendDestinationResponse sendDestinationResponse = vehicle.sendDestination(51.5007, 0.1246);


// Example http response from Smartcar (set charge limit)
{
  "status": "success"
}


// Example http response from Smartcar (set charge limit)
{
  "status": "success"
}

require 'smartcar'

# Get all vehicles associated with this access token
all_vehicles =  Smartcar.get_vehicles(token: token)

# Construct a new vehicle instance using the first vehicle's id
vehicle = Smartcar::Vehicle.new(
  token: "<access-token>",
  id: all_vehicles.vehicles.first
)

# Send the destination to the vehicle
vehicle.send_destination(51.5007, 0.1246)


// Example http response from Smartcar (set charge limit)
{
  "status": "success"
}

See the API docs

Product features

  • Compatible with 36 car brands

    Compatible with 39 car brands

  • Friendly user consent flow

    Friendly user consent flow

  • Works on 2015 and newer vehicles

    Works on 2015 and newer vehicles

  • Trusted & secure

    Trusted & secure

  • Retrieve live data and trigger actions

    Access to live car data

  • SDKs for Go, Java, Node.js, Python, and Ruby

    SDKs for Go, Java, Node.js, Python, and Ruby

Learn more about Smartcar's APIs

Related industries

EV charging networks

Provide estimated charging times, automatic charging schedules, and EV trip planning in your app.

On-demand services

Invite customers to schedule a maintenance visit when their vehicle’s engine oil reaches the end of its recommended life span.