Get cars
const url = 'https://api-uat.flinkey.de/v3/cars';const options = { method: 'GET', headers: { 'Customer-ID': 'example', 'flinkey-API-Key': '<flinkey-API-Key>', Authorization: 'Bearer <token>' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api-uat.flinkey.de/v3/cars \ --header 'Authorization: Bearer <token>' \ --header 'Customer-ID: example' \ --header 'flinkey-API-Key: <flinkey-API-Key>'Purpose
Retrieve cars available in the selected customer context.
A car represents the vehicle access object used by the flinkey API.
For developer integrations, the flinkey BLE Box is abstracted behind the Car concept.
The returned car IDs can be used to create, update, inspect or assign access to cars.
When to use this operation
Use this operation when the partner backend needs to retrieve or search existing cars.
Typical situations:
- initial integration setup,
- checking whether a car already exists before creating a new one,
- validating the local mapping between partner vehicles and flinkey cars,
- troubleshooting assignment creation,
- reconciling partner vehicle records with flinkey car records.
In most integrations, the partner backend should persist a mapping between the partner vehicle ID and the flinkey carId.
Validation notes
PROD validation result:
GET /carswas successfully executed withflinkey-API-Key,Authorization: Bearer {{accessToken}}andCustomer-ID.- The response is an array.
idis returned as number.description,vin,licensePlate,brandandmodelcan contain empty strings, whitespace-only values, test/setup-specific values ornulldepending on the field and vehicle setup.$topis supported.$skipis supported.$filteris supported.$orderbyis supported.$selectis not supported; using$selectreturns no result.
Async behavior
Synchronous.
The cars are returned directly in the API response.
Webhook result
No.
This operation does not produce a webhook result.
Security notes
Never log:
flinkey-API-Key,- bearer token,
- full request headers.
Car identifiers are environment-specific.
Do not mix UAT and PROD car IDs.
Use placeholders in documentation, examples, screenshots and AI prompts.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Customer database ID
Responses
Section titled “Responses”Cars were retrieved successfully
object
Car database ID
Car name
Optional car description
Vehicle identification number
Vehicle license plate
Vehicle brand
Vehicle model
Example
[ { "id": 12345, "name": "VW Golf Fleet-01", "description": "White VW Golf, 2024", "vin": "WVWZZZ1KZXW000001", "licensePlate": "B-FL 1234", "brand": "Volkswagen", "model": "Golf" }]Invalid subscription key or missing / invalid access token
Recommended handling: Check flinkey-API-Key, bearer token and environment configuration
Server-side error
Recommended handling: Retry later if appropriate and escalate if persistent
