Skip to main content
This guide walks you through signing up, creating an API key, and making your first authenticated request.

1. Create an account

1

Sign up

Go to ai.autosnap.com and create an account. A personal workspace is created automatically.
2

Generate an API key

Open the dashboard and go to API Keys. Click Create key and give it a name (e.g. local-dev). Copy the key immediately — for security, we only show it once.
3

Store the key as an environment variable

2. Resolve a dealership

Look up a dealership by its website URL to get dealer info and check if it’s supported.
Response

3. Fetch inventory

Pull vehicle inventory for any active dealership. Supports pagination and condition filtering.
Response
The vehicles[] example above is truncated for readability. The actual response includes ~35 fields per vehicle (VIN, year, make, model, trim, full pricing breakdown, photos, features, dates, lifecycle flags, and more). See Concepts: Vehicles for the complete object shape.

4. Set up a new dealer

If setup_required is true in the resolve response, onboard the dealer with the setup endpoint. Setup is asynchronous: the POST returns HTTP 202 with a setup_id immediately, and detection runs in the background (typically about a minute).
Response (HTTP 202)
Poll for completion (every 5 seconds) until status is "completed" or "failed":
Response (completed)
See Get Setup Status for every status value. After setup completes, the first inventory scrape is triggered automatically — wait for inventory_status: "available" before fetching inventory.

Next steps

Authentication

How API keys work and how to secure them.

Concepts: Vehicles

The full shape of the vehicle object.

Webhooks

Get notified when inventory changes in real time.

Full API Reference

Every endpoint with request and response examples.