Guides

Testing

Before going live, use our testing framework to test your application.


Smartcar's test mode allows you to use our API on simulated vehicles.

You can test on Smartcar without access to a vehicle - at no cost!

In test mode, you can send API requests to simulated vehicles. Requests to our API will return randomized data.

  1. /odometer returns a random value between 10,000 and 300,000 km
  2. /location returns a random location boxed in Colorado
  3. /security always returns a success status

How To Use Test Mode

  1. When redirecting to the Smartcar authorization dialog, pass in the query parameter mode=test. If you are using an SDK, use the test_mode boolean when instantiating the Smartcar authentication client.
  2. Click on any vehicle brand.
  3. Use any email address (anything@anything.com) with any password to log into a simulated vehicle for the chosen brand.