Skip to content
  1. Getting started
  2. Authentication

Getting started

Authentication

Authenticate every request with your API key as a Bearer token in the Authorization header:

Authorization: Bearer 12|Ab3dEf…
Accept: application/json

A request with a missing, wrong or revoked key gets 401 Unauthorized.

Environments

The type of key decides which environment you talk to. The URL is always the same.

Key type Behaviour
Live Real orders, real vehicle lookups, real reports.
Sandbox Fixed dummy data. Nothing real is created or read. Safe to use freely.

Permissions

Each key carries permissions that limit what it can do:

Permission Allows
orders:read GET /brands, GET /orders/{number}
orders:create POST /orders

Calling an endpoint your key is not allowed to use returns 403 Forbidden. Ask us to issue keys with only the permissions each system needs, for example a read-only key for a dashboard.

Keeping keys safe

Important: An API key can create orders on your account. Treat it like a password.

  • Use keys only from your server. Never place one in a web page, a mobile app or a public repository.
  • Store keys in environment variables or a secrets manager.
  • Use a separate key per system and environment, so one can be revoked without stopping the others.
  • If a key may have leaked, tell us straight away. We revoke it immediately and issue a new one.
  • If your partner account is switched off, all its keys stop working at once.