Error code
unauthorized
Send a valid API credential. The request did not carry a valid API key, session, or internal credential.
What happened
A missing, revoked, malformed, or misplaced key produces 401 unauthorized. API keys are accepted in either x-api-key or Authorization: Bearer; creating an account or key is not an API operation.
Do this next
Create or copy a key at https://cardog.app/account/api, store it in CARDOG_API_KEY, and resend the original request with one accepted header.
Corrected request
bash
curl "https://api.cardog.app/v2/vin/1HGCM82633A123456" \
-H "x-api-key: $CARDOG_API_KEY"