Authenticate with the AutoLeap Partner API to obtain access tokens.
All other endpoints require a valid access token.
API reference
/- Archive vehicles (bulk) — sets vehicleStatus to Inactive
Create vehicle(s)
Get vehicles (list or filtered)
Update vehicles (bulk)
Get vehicle by id
Archive vehicles (bulk) —...
Overview
The AutoLeap API uses the REST standard, which means you interact with it by making requests over HTTP.
A request usually includes:
- An HTTP method (like
GETorPOST) - A path (the address of the resource)
- Optional headers and parameters (in the path, query string, or request body)
When you send a request, the API responds with:
- A status code (to indicate success or failure)
- Response headers
- Sometimes a response body with useful data
The API reference describes the method, path, and parameters for each endpoint, and includes sample requests and responses you can use as a guide.
Languages
Servers
Production
https://partnerapi.myautoleap.com/v2/
Bodyapplication/jsonrequired
Example: [{"customerId":"CUST001","year":2021,"make":"Honda","model":"Accord","vehicleName":"2021 Honda Accord LX","engine":"1.5L Turbo I4","color":"Blue","licensePlate":"XYZ-1234","state":"CA","vin":"1HGCV1F14MA123456","imgUrl":"","notes":"Regular maintenance required","tags":[{"name":"Sedan","color":"FFFF00"},{"name":"Economy","color":"FFFF00"}],"driveType":"FWD","transmission":"Automatic","mileage":15000,"mileageUnit":"Miles"}]
- Productionhttps://partnerapi.myautoleap.com/v2/vehicles
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://partnerapi.myautoleap.com/v2/vehicles \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"companyId": "SHOP5678",
"vehicles": [
{
"customerId": "CUST001",
"year": 2021,
"make": "Honda",
"model": "Accord",
"vehicleName": "2021 Honda Accord LX",
"engine": "1.5L Turbo I4",
"color": "Blue",
"licensePlate": "XYZ-1234",
"state": "CA",
"vin": "1HGCV1F14MA123456",
"imgUrl": "",
"notes": "Regular maintenance required",
"tags": [
{
"name": "Sedan",
"color": "FFFF00"
},
{
"name": "Economy",
"color": "FFFF00"
}
],
"driveType": "FWD",
"transmission": "Automatic",
"mileage": 15000,
"mileageUnit": "Miles"
}
]
}'Response
application/json
{ "success": true, "message": "Request completed successfully", "data": {} }
- Productionhttps://partnerapi.myautoleap.com/v2/vehicles
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://partnerapi.myautoleap.com/v2/vehicles?companyId=string&customerId=string&search=string&updatedDateStart=2019-08-24T14%3A15%3A22Z&updatedDateEnd=2019-08-24T14%3A15%3A22Z&sort=string&sortDirection=ASC&size=100&page=1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "message": "Vehicle fetched successfully", "results": { "content": [ … ], "pagination": { … } } }
Bodyapplication/jsonrequired
Example: [{"vehicleId":"125838","notes":"Customer requested routine maintenance and oil change reminder","mileageUnit":"KM"},{"vehicleId":"374849","transmission":"Manual"}]
- Productionhttps://partnerapi.myautoleap.com/v2/vehicles
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://partnerapi.myautoleap.com/v2/vehicles \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"companyId": "SHOP5678",
"vehicles": [
{
"vehicleId": "125838",
"notes": "Customer requested routine maintenance and oil change reminder",
"mileageUnit": "KM"
},
{
"vehicleId": "374849",
"transmission": "Manual"
}
]
}'Response
application/json
{ "success": true, "message": "Request completed successfully", "data": {} }
- Productionhttps://partnerapi.myautoleap.com/v2/vehicles
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://partnerapi.myautoleap.com/v2/vehicles \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"companyId": "string",
"vehicles": [
{
"vehicleId": "string",
"customerId": "string"
}
]
}'Response
application/json
{ "success": true, "message": "Request completed successfully", "data": {} }
- Productionhttps://partnerapi.myautoleap.com/v2/vehicles/{vehicleId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://partnerapi.myautoleap.com/v2/vehicles/{vehicleId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "message": "string", "results": { "content": [ … ], "pagination": { … } } }