Developer Documentation

Vehicle Ingestion API

Integrate your DMS directly with Auterio. Push vehicle data via a simple REST API and keep your inventory synchronized automatically.

1Quick Start

POST/api/vehicles/ingest

Authentication: Include your API key in the Authorization header.

Authorization: Bearer YOUR_API_KEY

Content-Type: application/json

Max vehicles per request: 1,000

2Example Request

cURL
curl -X POST https://auterio.net/api/vehicles/ingest \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "vehicles": [
    {
      "vin": "WVWZZZE1ZNP123456",
      "brand": "Volkswagen",
      "model": "Golf",
      "version": "GTI 2.0 TSI",
      "year": 2024,
      "color_ext": "Negro",
      "fuel_type": "gasolina",
      "gearbox": "automático",
      "mileage": 15000,
      "power_hp": 245,
      "cost_price": 28000,
      "sale_price": 34500,
      "status": "disponible"
    },
    {
      "vin": "WBA11AA00PCJ12345",
      "brand": "BMW",
      "model": "320d",
      "year": 2023,
      "mileage": 42000,
      "cost_price": 22000,
      "sale_price": 28900
    }
  ]
}'

Success Response

200 OK
{
  "success": true,
  "imported": 2,
  "skipped": 0,
  "source": "DMS Cliente XYZ"
}
401Unauthorized

Missing or invalid Authorization header

403Forbidden

API key is invalid or inactive

400Bad Request

Invalid payload or no valid vehicles

3Fields Reference

FieldTypeRequiredDescription
vinstringrequiredVehicle Identification Number
brandstringrequiredVehicle brand (e.g. Volkswagen, BMW)
modelstringrequiredVehicle model (e.g. Golf, 3 Series)
matriculastringoptionalLicense plate number
versionstringoptionalTrim / version (e.g. GTI 2.0 TSI)
yearintegeroptionalRegistration year
color_extstringoptionalExterior color
color_intstringoptionalInterior color
fuel_typestringoptionalFuel type (gasoline, diesel, electric, hybrid)
gearboxstringoptionalTransmission type (manual, automatic)
mileageintegeroptionalMileage in km
engine_ccintegeroptionalEngine displacement in cc
power_hpintegeroptionalPower in HP
doorsintegeroptionalNumber of doors
seatsintegeroptionalNumber of seats
cost_pricenumberoptionalCost price (excl. VAT)
sale_pricenumberoptionalSale price (retail)
statusstringoptionalStatus: disponible, reservado, vendido, transito, baja (default: disponible)
locationstringoptionalVehicle location
supplierstringoptionalSupplier
fecha_matriculadateoptionalFirst registration date (YYYY-MM-DD)
propiedadstringoptionalOwning company
categoriastringoptionalVehicle category
notesstringoptionalAdditional notes

Behavior

Upsert by VIN

If a vehicle with the same VIN already exists, it will be updated. Otherwise, a new vehicle is created.

Default Status

If no status is provided, vehicles default to "disponible".

Batch Processing

All vehicles in a single request are processed atomically. Up to 1,000 vehicles per request.

Error Handling

Invalid vehicles are skipped but the rest of the batch continues. Errors are returned in the response.

Need an API Key?

Contact us to get your unique API key and start integrating your DMS with Auterio.

Contact Us