← Back to DivoCoverV3.1 SETUP

One Auto API vehicle lookup

DivoCover V3.1 uses a Netlify serverless function so your One Auto API key is not placed in the public browser code.

Netlify environment variable

  1. Open Netlify → your DivoCover project.
  2. Open Project configurationEnvironment variables.
  3. Add ONEAUTO_API_KEY.
  4. Paste your One Auto API key as its value.
  5. Save and redeploy the site.

The Find my car button calls the Netlify function, which then calls One Auto API's Experian Vehicle Identity endpoint using the secret server-side key.

Security

Do not paste your API key into app.js, HTML, or any other public frontend file.