Errors

unauthorized

Last updated:

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/login?next=/account/api, store it in CARDOG_API_KEY, and resend the original request with one accepted header.

Corrected request


curl "https://api.cardog.app/v2/vin/2T3R1RFV7MW180266" \
  -H "x-api-key: $CARDOG_API_KEY"

Was this helpful?