Skip to content
  1. Getting started
  2. Getting started

Getting started

Getting started

  1. Get an API key. Ask us to add your company as a partner. We will generate a sandbox key first and a live key when you are ready. A key is shown only once, so store it safely.
  2. Make your first call. Put your key in an environment variable called VINHISTORY_KEY, which every example in these docs reads, then list the brands:
curl https://vinservicehistory.com/api/v1/brands \
  -H "Authorization: Bearer $VINHISTORY_KEY" \
  -H "Accept: application/json"
  1. Build against the sandbox. Order a few test reports and handle every outcome (see Sandbox).
  2. Go live. Swap in your live key and use real brand slugs (see Going live checklist).

Tip: Always send Accept: application/json. Without it, errors may come back as web pages instead of JSON.