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
- Open Netlify → your DivoCover project.
- Open Project configuration → Environment variables.
- Add
ONEAUTO_API_KEY. - Paste your One Auto API key as its value.
- 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.