Introduction
Welcome to the Autoviza® Partner API.
This API is the exclusive property of New General Company, holder of the Autoviza® brand; all rights reserved.
The use of this API requires the prior signing of a license agreement with New General Company. You can contact New General Company at: [email protected].
Once this contract is signed, and depending on the rights that have been granted to you, you will be able to use this API to generate different types of complete or partial Autoviza® reports.
Our examples are written in Shell language. Code examples are displayed in the dark area on the right.
Happy discovery.
PS: Our examples are written in Shell language. Code examples are displayed in the dark area on the right.
Environment
Autoviza provides two environments:
| Environment | Domain |
|---|---|
| test | preprod.autoviza.fr |
| Production | autoviza.fr |
Authentication
To be authenticated, use this header:
# With shell, you can just pass the correct header with each request
curl "api_endpoint_here"
-H "Authorization: token yourCustomToken"
You must replace
yourCustomTokenwith your personal token.
The Autoviza-Partner API uses token authentication. To get your token, please request it via the contact form.
The authentication token must be included in the header of each request to the server, as in the example:
Authorization: token <yourCustomToken>
Report : Announcement
Report lifetime: 70 days (10 weeks) renewable
This is an HTML report, attached to a Partner site announcement with the prior agreement of the Registration Certificate holder or their successor. It is freely consultable by the visitor because it is prepaid by the Partner. In return for the announcement data, the Partner gets two links (seller & buyer) to the Autoviza HTML report. The Seller link is reserved for the vehicle owner. It allows them to report any anomaly. The Buyer link is the one that should appear on the site.
An announcement report can be extended by 10 weeks as long as it has not exceeded 70 days.
The announcement API allows you to send announcements and request an Autoviza report in exchange.
About report expiration
Autoviza reports are valid for 10 weeks. At the end of this period, and during the following 2 weeks, a "Refresh report" button appears on the user side, allowing them to renew the report validity for an additional 10 weeks free of charge. The expiration scheme is therefore as follows:
- 1. Report establishment: the report remains accessible for a period of 10 weeks.
- 2. Report obsolescence phase: for a period of 2 weeks, a "Refresh report" button appears.
- 3. Updated report: if someone chooses to click on "Refresh report", it becomes accessible again for an additional period of 10 weeks.
- 4. Report deletion.
POST - Post an announcement
curl "https://autoviza.fr/partner-api/report/announcement/"
-d '{
"source": "EDI",
"reference": "E100983098",
"customerId": "123-432-234",
"customerType": "PRO",
"zipCode": "75008",
"siren": "330117821",
"status": "BLOCKED",
"mileageEntryDate": "2017-08-13",
"publicationEndDate": "2017-08-22",
"generateReport": true,
"mileage": 20000,
"urlPhoto": "https://domain.tld/photo/path/name.jpg",
"vehicle": {
"category": "ROUTIERE",
"make": "AUDI",
"model": "A4",
"commercialName": "A4 (5E GENERATION) ",
"version": "V (3) 35 TFSI 150 AVUS",
"firstCirculationDate": "2016-12-14",
"year": 2016,
"energy": "DIESEL",
"registerNumber": "EH514NC",
"lastVinNumbers": "123",
"externalColor": "Gris",
"equipmentsOrOptions": [
{ "family": "Extérieur et châssis",
"options": ["aide parking",
"jantes alu",
"rétroviseurs rabattables"]},
{ "family": "Intérieur",
"options": ["climatisation automatique",
"Bluetooth",
"écran tactile"]},
],
"repairs": [ "transmission",
"batterie démarreur freins pneus"
],
"price": 22000,
}
}'
-H "Authorization: token yourCustomToken"
The above command returns a list of JSON objects structured as follows:
{
"registration": "EH514NC",
"reference": "E100983098",
"campaign": 1,
"partner_report": {
"id": 47,
"public_url": "https://autoviza.fr/partner/r/31b383f5-1ecc-48e5-91ea-7532b0494ad3/",
"private_url": "https://autoviza.fr/partner/r/31b383f5-1ecc-48e5-91ea-7532b0494ad3/tkH8U2LQlF/",
"status": "STARTED",
"create_date": "2022-11-05T10:50:57.830425",
"expiration_date": "2023-01-14T10:50:57.830425",
}
}
Example of posting an announcement without requesting a report:
curl "https://autoviza.fr/partner-api/report/announcement/"
-d '{
"source": "EDI",
"reference": "E100983098",
"customerId": "123-432-234",
"customerType": "PRO",
"zipCode": "75008",
"siren": "330117821",
"status": "BLOCKED",
"mileageEntryDate": "2017-08-13",
"publicationEndDate": "2017-08-22",
"generateReport": false,
"mileage": 20000,
"urlPhoto": "https://domain.tld/photo/path/name.jpg"
"vehicle": {
"category": "ROUTIERE",
"make": "AUDI",
"model": "A4",
"commercialName": "A4 (5E GENERATION) ",
"version": "V (3) 35 TFSI 150 AVUS",
"firstCirculationDate": "2016-12-14",
"year": 2016,
"energy": "DIESEL",
"registerNumber": "EH514NC",
"lastVinNumbers": "123",
"externalColor": "Gris",
"equipmentsOrOptions": [
{ "family": "Extérieur et châssis",
"options": ["aide parking",
"jantes alu",
"rétroviseurs rabattables"]},
{ "family": "Intérieur",
"options": ["climatisation automatique",
"Bluetooth",
"écran tactile"]},
],
"repairs": [ "transmission",
"batterie démarreur freins pneus"
],
"price": 22000,
}
}'
-H "Authorization: token yourCustomToken"
The above command returns a list of JSON objects structured as follows:
{
"registration": "EH514NC",
"reference": "E100983098",
"campaign": 1
}
To obtain a report you must post the announcement data. If you simply want to post the announcement data, remember to set the generateReport value to false.
HTTP Request
POST https://autoviza.fr/partner-api/report/announcement/
Parameters
| Parameter | Required | format | Description |
|---|---|---|---|
source |
false | string | Source EDI or WEB |
reference |
true | string | Unique internal reference type slug (no spaces) |
customerId |
false | string | Unique user identifier (for relationship between announcements) |
customerType |
false | string | Client type PRO or PART |
zipCode |
false | integer | Zip code |
siren |
false | string | SIREN if PRO |
status |
false | string | Your internal status |
mileage |
true | integer | Vehicle mileage |
mileageEntryDate |
false | date YYYY-MM-DD |
Announcement publication date |
publicationEndDate |
false | date YYYY-MM-DD |
Announcement end publication date |
generateReport |
true | boolean | Report generation |
vehicle |
true | object | See below |
vinCode |
option | string | Last 3 digits of the VIN number |
urlPhoto |
false | url | Link to photo |
Vehicle
| Parameter | Required | format | Description |
|---|---|---|---|
category |
false | string | Vehicle category |
make |
false | string | Vehicle manufacturer |
model |
false | string | Vehicle model |
commercialName |
false | string | Commercial name |
version |
false | string | Vehicle version |
firstCirculationDate |
false | date YYYY-MM-DD |
First registration date |
year |
false | integer | Vehicle release year |
energy |
false | string | Energy type |
registerNumber |
true | string | Vehicle registration number |
lastVinNumbers |
true | string | Last 3 VIN numbers |
externalColor |
false | string | External color |
equipmentsOrOptions |
false | list | See below |
repairs |
false | list | Repairs list |
price |
false | integer | Sale price |
equipmentsOrOptions
| Parameter | Required | format | Description |
|---|---|---|---|
family |
true | string | Option family |
options |
true | list | List of options |
GET - Retrieve an announcement
curl "https://autoviza.fr/partner-api/report/announcement/E100983098/"
-H "Authorization: token yourCustomToken"
The above command returns a list of JSON objects structured as follows:
{
"registration": "EH514NC",
"reference": "E100983098",
"campaign": 1,
"partner_report": {
"id": 47,
"public_url": "https://autoviza.fr/partner/r/31b383f5-1ecc-48e5-91ea-7532b0494ad3/",
"private_url": "https://autoviza.fr/partner/r/31b383f5-1ecc-48e5-91ea-7532b0494ad3/tkH8U2LQlF/",
"status": "SUCCESS",
"create_date": "2022-11-05T10:50:57.830425",
"expiration_date": "2023-01-14T10:50:57.830425",
}
}
You can retrieve announcement data from its unique reference.
HTTP Request
GET https://autoviza.fr/partner-api/report/announcement/{reference}/
URL Parameter
| Parameter | Description |
|---|---|
reference |
Your announcement reference |
Description
| Parametre | format | Description |
|---|---|---|
registration |
string | Vehicle registration number |
reference |
string | Announcement reference |
partner_report |
object | Report information (if requested) |
partner_report
| Parametre | format | Description |
|---|---|---|
id |
string | Report ID |
public_url |
string | Buyer link |
private_url |
integer | Seller link |
status |
string | Report status |
create_date |
datetime | Report request date |
PUT - Update an announcement
curl "https://autoviza.fr/partner-api/report/announcement/E100983098/"
-X PUT
-d '{
"source": "EDI",
"customerId": "123-432-234",
"customerType": "PRO",
"zipCode": "75008",
"siren": "330117821",
"status": "BLOCKED",
"mileageEntryDate": "2017-08-13",
"publicationEndDate": "2017-08-22",
"urlPhoto": "https://domain.tld/photo/path/name.jpg",
"vehicle": {
"category": "ROUTIERE",
"make": "AUDI",
"model": "A4",
"commercialName": "A4 (5E GENERATION) ",
"version": "V (3) 35 TFSI 150 AVUS",
"firstCirculationDate": "2016-12-14",
"year": 2016,
"energy": "DIESEL",
"mileage": 20000,
"externalColor": "Gris",
"equipmentsOrOptions": [
{ "family": "Extérieur et châssis",
"options": ["aide parking",
"jantes alu",
"rétroviseurs rabattables"]},
{ "family": "Intérieur",
"options": ["climatisation automatique",
"Bluetooth",
"écran tactile"]},
],
"repairs": [ "transmission",
"batterie démarreur freins pneus"
],
"price": 22000,
}
}'
-H "Authorization: token yourCustomToken"
The above command returns a list of JSON objects structured as follows:
{
"registration": "EH514NC",
"reference": "E100983098",
"campaign": 1,
"partner_report": {
"id": 47,
"public_url": "https://autoviza.fr/partner/r/31b383f5-1ecc-48e5-91ea-7532b0494ad3/",
"private_url": "https://autoviza.fr/partner/r/31b383f5-1ecc-48e5-91ea-7532b0494ad3/tkH8U2LQlF/",
"status": "SUCCESS",
"create_date": "2022-11-05T10:50:57.830425",
"expiration_date": "2023-01-14T10:50:57.830425",
}
}
You can update all announcement data except the registration number.
HTTP Request
PUT https://autoviza.fr/partner-api/report/announcement/{reference}/
URL Parameter
| Parameter | Description |
|---|---|
reference |
Your announcement reference |
DELETE - Delete an announcement
curl "https://autoviza.fr/partner-api/report/announcement/E100983098/"
-X DELETE
-H "Authorization: token yourCustomToken"
When the announcement is closed on your side, you have the possibility to deactivate the report links.
HTTP Request
DELETE https://autoviza.fr/partner-api/report/announcement/{reference}/
The above command returns an HTTP 204 response that confirms the proper closure of the announcement.
URL Parameter
| Parameter | Description |
|---|---|
reference |
Your announcement reference |
POST - Extend an announcement
curl "https://autoviza.fr/partner-api/report/announcement/renew-expiration-date/"
-X POST
-d '{ "reference": "REF12345" }'
-H "Authorization: token yourCustomToken"
The above command returns a list of JSON objects structured as follows:
{
"reference": "REF12345",
"public_url": "http://local.autoviza.fr/partner/report/f429d382-cf46-430c-8a5d-8a91cb3249dc/",
"private_url": "http://local.autoviza.fr/partner/report/07fdfdbc-0cd1-40bf-9ec7-4241913e3ce5/wkW1gApMpN/",
"status": "PENDING",
"create_date": "2022-11-05T10:50:57.830425",
"expiration_date": "2023-03-24T10:50:57.830425",
}
This service allows you to extend a report when an announcement is updated or when it is about to exceed 70 days of online presence.
Note: the report links remain unchanged however the report is re-produced.
HTTP Request
POST https://autoviza.fr/partner-api/report/announcement/renew-expiration-date/
The above command returns an HTTP 200 response that confirms the report extension.
Parameters POST
| Parametre | Description |
|---|---|
reference |
Your announcement reference |
POST - Modify a report URL
This service allows you to change the UUID in a report URL to make the previous URL invalid. It then allows you to deactivate the report on the original URL while keeping the report active on a new URL.
To do this, you must retrieve the UUID from the report URL and then post it as in the following example:
curl "https://autoviza.fr/partner-api/report/announcement/url/"
-X POST
-d '{ "token": "f429d382-cf46-430c-8a5d-8a91cb3249dc" }'
-H "Authorization: token yourCustomToken"
The above command returns a list of JSON objects structured as follows:
{
"id": 1,
"public_url": "http://local.autoviza.fr/partner/report/f429d382-cf46-430c-8a5d-8a91cb3249dc/",
"private_url": "http://local.autoviza.fr/partner/report/07fdfdbc-0cd1-40bf-9ec7-4241913e3ce5/wkW1gApMpN/"
}
GET - Autoviza Detect
Autoviza-Detect allows you to monitor your vehicles for sale and know when they have been sold. Two advantages:
- Update your site daily by eliminating obsolete announcements
- Analyze sales time by vehicle type or seller type.
This service is an option of the Autoviza Announcements API, to benefit from it please contact the Autoviza® commercial team.
curl "https://autoviza.fr/partner-api/detect/"
-H "Authorization: token yourCustomToken"
The above command returns a list of JSON objects structured as follows:
{
"count":16394,
"next":"https://autoviza.fr/partner-api/detect/?end_date=2024-04-07&page=4&start_date=2024-04-01",
"previous":"https://autoviza.fr/partner-api/detect/?end_date=2024-04-07&page=2&start_date=2024-04-01",
"results":[
{"reference":"TEST960918","immatriculation":"GB470XX","transaction_date":null,"closure_date":"2024-04-03","status":"P"},
{"reference":"TEST960100","immatriculation":"GB470YY","transaction_date":null,"closure_date":"2024-04-03","status":"M"},
...
]
}
You can retrieve announcement data from its unique reference.
HTTP Request
GET https://autoviza.fr/partner-api/detect/
URL Parameters
| Parameter | Description |
|---|---|
start_date |
Start date for searching moved announcements (optional, defaults to today's date) |
end_date |
End date for searching moved announcements (optional, defaults to today's date) |
page |
Pagination |
Notes :
- The range between start_date and end_date cannot be greater than 7 days.
- Pagination limits to 100 items displayed per page.
- Data is updated once a day at 8:00 AM, French time.
Response
| Parameter | format | Description |
|---|---|---|
count |
int | Number of announcements that have been moved |
next |
string | URL of the next page |
previous |
string | URL of the previous page |
results |
dict | List of announcements |
results
| Parameter | format | Description |
|---|---|---|
reference |
string | Your internal announcement reference |
immatriculation |
string | Vehicle registration number |
transaction_date |
date | Movement date |
closure_date |
date | Surveillance closure date |
status |
string | "P" = expired, "M" = movement |
Status P corresponds to expired, meaning the announcement is no longer tracked. The maximum tracking duration is currently set to 6 months and 1 day.
Status M corresponds to a movement, meaning a sale transaction has been detected, in which case the transaction date will be filled.
Error
{
"error": "The limitation is set at 7 days maximum between the start date and the end date"
}
In case of error, HTTP code 400 is returned with an error message
Report : Trade-in
POST - Create a report de reprise
curl "https://autoviza.fr/partner-api/report/tradein/"
-d '{
"registration": "ET123QV",
"last_vin_number": "123",
"mileage": 210000,
"vat_number" : "FR81522860000"
}'
-H "Authorization: token yourCustomToken"
The above command returns a JSON object structured as follows:
{
"id": 12516754,
"public_url": "https://autoviza.fr/report/report?uid=d7c18fe7-583a-4f67-bb6a-x4a490b2181a",
"private_url": "https://autoviza.fr/report/report?uid=d7c18fe7-583a-4f67-bb6a-x4a490b2181a&key=0f333422-a",
"status": "STARTED",
"create_date": "2025-03-17T11:02:03.049269",
"expiration_date": "2025-05-26T12:02:03.235662+02:00"
}
Create a trade-in report with the provided information.
HTTP Request
POST https://autoviza.fr/partner-api/report/tradein/
Parameters
| Parameter | Required | Type / format | Description |
|---|---|---|---|
registration |
true | string | Vehicle registration number |
last_vin_number |
true | string | Last 3 digits of the vehicle VIN number |
mileage |
true | integer | Vehicle mileage |
vat_number |
true | string | VAT number |
Response
| Parameter | Type / format | Description |
|---|---|---|
id |
string | Report ID |
private_url |
url | "Seller" report |
public_url |
url | "Public" report |
status |
string | Report processing status |
create_date |
datetime | Request datetime |
expiration_date |
datetime | Date when the report will expire |
GET - Retrieve a trade-in report
curl "https://autoviza.fr/partner-api/report/tradein/52"
-H "Authorization: token yourCustomToken"
The above command returns a JSON object structured as follows:
{
"id": 12516754,
"public_url": "https://autoviza.fr/report/report?uid=d7c18fe7-583a-4f67-bb6a-x4a490b2181a",
"private_url": "https://autoviza.fr/report/report?uid=d7c18fe7-583a-4f67-bb6a-x4a490b2181a&key=0f333422-a",
"status": "STARTED",
"create_date": "2025-03-17T11:02:03.049269",
"expiration_date": "2025-05-26T12:02:03.235662+02:00"
}
This request retrieves a trade-in report from its ID.
HTTP Request
GET https://autoviza.fr/partner-api/report/tradein/{id}
URL Parameter
| Parameter | Description |
|---|---|
ID |
ID of the trade-in report to retrieve |
Report : Teaser
POST - Create a report flash
curl "https://autoviza.fr/partner-api/report/teaser/"
-d '{
"registration": "EX198QF",
"last_vin_number": "261",
"mileage": 97449,
"mileage_date": "2024-03-26",
"version": "ATTENTIONS",
"announce": {
"reference": "test_teaser_5",
"customer_type": "PRO",
"customer_id": "1234",
"zip_code": "84000",
"siren": "490577129",
"photo_url": "https://image.lacentrale.fr/260x195/E112049879_STANDARD_0.jpg?version=1679627733459",
"price": 15890,
"vehicle": {
"category": "COMPACT",
"make": "PEUGEOT",
"model": "308",
"commercial_name": "308 (2E GENERATION)",
"version": "12345656VA",
"mec_date": "2018-05-28",
"year": "2018",
"energy": "ESSENCE",
"external_color": "gris foncé",
"kind": "foo",
"repairs": ["batterie"],
"equipments_or_options": [
{
"family": "exterieur et chassis",
"options": [
"aide parking",
"aide parking av/ar",
"frein de parking automatique",
"jantes alu",
"pack visibilité",
"peinture opaque",
"rétroviseurs électriques et dégivrants"
]
}
]
}
}
}'
-H "Authorization: token yourCustomToken"
The above command returns a JSON object structured as follows:
{
"id": 25,
"create_date": "2025-03-26T17:02:11.033852",
"registration": "EX198QF",
"version": "ATTENTIONS",
"critair": 1,
"owners": 2,
"has_attention_point": false,
"report": {
"public_url": "https://autoviza.fr/report/report?uid=10c76ddb-3d51-46ab-ab7d-1c1b550224d4",
"private_url": "https://autoviza.fr/report/report?uid=10c76ddb-3d51-46ab-ab7d-1c1b550224d4&key=0b634c1a-1",
"status": "STARTED",
"create_date": "2025-03-26T17:02:13.167287",
"expiration_date": "2025-06-04T18:02:13.389388+02:00",
"pre_cta_text": "D'autres informations importantes figurent sur Autoviza® Light.",
"cta_text": "Consulter Autoviza® Light"
}
}
Version DETAILLED :
curl "https://autoviza.fr/partner-api/report/teaser/"
-d '{
"registration": "EX198QF",
"last_vin_number": "261",
"mileage": 97449,
"mileage_date": "2024-03-26",
"version": "DETAILLED",
"announce": {
"reference": "test_teaser_5",
"customer_type": "PRO",
"customer_id": "1234",
"zip_code": "84000",
"siren": "490577129",
"photo_url": "https://image.lacentrale.fr/260x195/E112049879_STANDARD_0.jpg?version=1679627733459",
"price": 15890,
"vehicle": {
"category": "COMPACT",
"make": "PEUGEOT",
"model": "308",
"commercial_name": "308 (2E GENERATION)",
"version": "12345656VA",
"mec_date": "2018-05-28",
"year": "2018",
"energy": "ESSENCE",
"external_color": "gris foncé",
"kind": "foo",
"repairs": ["batterie"],
"equipments_or_options": [
{
"family": "exterieur et chassis",
"options": [
"aide parking",
"aide parking av/ar",
"frein de parking automatique",
"jantes alu",
"pack visibilité",
"peinture opaque",
"rétroviseurs électriques et dégivrants"
]
}
]
}
}
}'
-H "Authorization: token yourCustomToken"
The above command returns a JSON object structured as follows:
{
"id": 25,
"create_date": "2025-03-26T17:02:11.033852",
"registration": "EX198QF",
"version": "DETAILLED",
"critair": 1,
"owners": 2,
"expertises": false,
"special_uses": false,
"atypical_operations": false,
"importation": false,
"report": {
"public_url": "https://autoviza.fr/report/report?uid=10c76ddb-3d51-46ab-ab7d-1c1b550224d4",
"private_url": "https://autoviza.fr/report/report?uid=10c76ddb-3d51-46ab-ab7d-1c1b550224d4&key=0b634c1a-1",
"status": "STARTED",
"create_date": "2025-03-26T17:02:13.167287",
"expiration_date": "2025-06-04T18:02:13.389388+02:00",
"pre_cta_text": "D'autres informations importantes figurent sur Autoviza® Light.",
"cta_text": "Consulter Autoviza® Light"
}
}
Create a report teaser with the provided information.
HTTP Request
POST https://autoviza.fr/partner-api/report/teaser/
Parameters
| Parameter | Required | Type / format | Description |
|---|---|---|---|
registration |
true | string | Vehicle registration number |
last_vin_number |
true | string | Last 3 digits of the vehicle VIN number |
mileage |
true | integer | Vehicle mileage |
mileage_date |
true | date (YYYY-MM-DD) | Mileage date |
version |
true | string | Report version ("ATTENTIONS" or "DETAILLED") |
announce |
false | object | Announcement information |
announce.reference |
false | string | Announcement reference |
announce.customer_type |
false | string | Customer type ("PRO", "PART") |
announce.customer_id |
false | string | identifiant du client |
announce.zip_code |
false | string | Zip code |
announce.siren |
false | string | SIREN number |
announce.photo_url |
false | string | Vehicle photo URL |
announce.price |
false | integer | Vehicle price |
announce.vehicle |
false | object | Vehicle information |
announce.vehicle.category |
false | string | Vehicle category |
announce.vehicle.make |
false | string | Vehicle make |
announce.vehicle.model |
false | string | Vehicle model |
announce.vehicle.commercial_name |
false | string | Vehicle commercial name |
announce.vehicle.version |
false | string | Vehicle version |
announce.vehicle.mec_date |
false | date (YYYY-MM-DD) | First registration date |
announce.vehicle.year |
false | string | Vehicle year |
announce.vehicle.energy |
false | string | Energy type |
announce.vehicle.external_color |
false | string | External color |
announce.vehicle.kind |
false | string | Vehicle type |
announce.vehicle.repairs |
false | array | Repairs list |
announce.vehicle.equipments_or_options |
false | array | Equipment and options list |
Response
For the DETAILLED version:
| Parameter | Type / format | Description |
|---|---|---|
id |
string | Report ID |
create_date |
datetime | Report creation date |
registration |
string | Vehicle registration number |
version |
string | Teaser version |
critair |
integer | Vehicle critair |
owners |
integer | Number of owners |
expertises |
boolean | the report contains expertises |
special_uses |
boolean | the report contains special uses |
atypical_operations |
boolean | the report contains atypical operations |
importation |
boolean | le véhicule a été importé |
report |
object | Report information |
report.public_url |
string | Public report URL |
report.private_url |
string | Private report URL |
report.status |
string | Report status |
report.create_date |
datetime | Report creation date |
report.expiration_date |
datetime | Report expiration date |
report.pre_cta_text |
string | texte à placer avant le CTA |
report.cta_text |
string | texte du CTA |
For the ATTENTIONS version:
| Parameter | Type / format | Description |
|---|---|---|
id |
string | Report ID |
create_date |
datetime | Report creation date |
registration |
string | Vehicle registration number |
version |
string | Teaser version |
critair |
integer | Vehicle critair |
owners |
integer | Number of owners |
has_attention_point |
boolean | the report contains attention points |
report |
object | Report information |
report.public_url |
string | Public report URL |
report.private_url |
string | Private report URL |
report.status |
string | Report status |
report.create_date |
datetime | Report creation date |
report.expiration_date |
datetime | Report expiration date |
report.pre_cta_text |
string | texte à placer avant le CTA |
report.cta_text |
string | texte du CTA |
GET - Retrieve a report Flash
curl "https://autoviza.fr/partner-api/report/teaser/{id}/"
-H "Authorization: token yourCustomToken"
The above command returns a JSON object structured as follows:
{
"id": 25,
"create_date": "2025-03-26T17:02:11.033852",
"registration": "EX198QF",
"version": "DETAILLED",
"critair": 1,
"owners": 2,
"expertises": false,
"special_uses": false,
"atypical_operations": false,
"importation": false,
"report": {
"public_url": "https://autoviza.fr/report/report?uid=10c76ddb-3d51-46ab-ab7d-1c1b550224d4",
"private_url": "https://autoviza.fr/report/report?uid=10c76ddb-3d51-46ab-ab7d-1c1b550224d4&key=0b634c1a-1",
"status": "STARTED",
"create_date": "2025-03-26T17:02:13.167287",
"expiration_date": "2025-06-04T18:02:13.389388+02:00",
"pre_cta_text": "D'autres informations importantes figurent sur Autoviza® Light.",
"cta_text": "Consulter Autoviza® Light"
}
}
This request retrieves a trade-in report from its ID.
HTTP Request
GET https://autoviza.fr/partner-api/report/teaser/{id}
Parametre d'URL
| Parametre | Description |
|---|---|
ID |
ID of the Flash report to retrieve |
PUT - Update an announcement
curl "https://autoviza.fr/partner-api/report/teaser/{id}/"
-d '{
"mileage": 97449,
"mileage_date": "2024-03-26",
"announce": {
"customer_type": "PRO",
"customer_id": "1234",
"zip_code": "84000",
"siren": "490577129",
"photo_url": "https://image.domne.fr/260x195/E112049879_STANDARD_0.jpg?version=1679627733459",
"price": 15890,
"vehicle": {
"category": "COMPACT",
"make": "PEUGEOT",
"model": "308",
"commercial_name": "308 (2E GENERATION)",
"version": "12345656VA",
"mec_date": "2018-05-28",
"year": "2018",
"energy": "ESSENCE",
"external_color": "gris foncé",
"kind": "foo",
"repairs": ["batterie"],
"equipments_or_options": [
{
"family": "exterieur et chassis",
"options": [
"aide parking",
"aide parking av/ar",
"frein de parking automatique",
"jantes alu",
"pack visibilité",
"peinture opaque",
"rétroviseurs électriques et dégivrants"
]
}
]
}
}
}'
-H "Authorization: token yourCustomToken"
La commande ci-dessus renvoie une liste d'objets JSON structuré comme ceçi:
{
"id": 25,
"create_date": "2025-03-26T17:02:11.033852",
"registration": "EX198QF",
"version": "ATTENTIONS",
"critair": 1,
"owners": 2,
"has_attention_point": false,
"report": {
"public_url": "https://autoviza.fr/report/report?uid=10c76ddb-3d51-46ab-ab7d-1c1b550224d4",
"private_url": "https://autoviza.fr/report/report?uid=10c76ddb-3d51-46ab-ab7d-1c1b550224d4&key=0b634c1a-1",
"status": "STARTED",
"create_date": "2025-03-26T17:02:13.167287",
"expiration_date": "2025-06-04T18:02:13.389388+02:00",
"pre_cta_text": "D'autres informations importantes figurent sur Autoviza® Light.",
"cta_text": "Consulter Autoviza® Light"
}
}
You can update all announcement data except the registration and reference.
HTTP Request
PUT https://autoviza.fr/partner-api/report/announcement/{id}/
Parametre d'URL
| Parametre | Description |
|---|---|
ID |
ID of the Flash report to retrieve |
DELETE - Delete an announcement
curl "https://autoviza.fr/partner-api/report/teaser/{id}/"
-X DELETE
-H "Authorization: token yourCustomToken"
When the announcement is closed on your side, you have the possibility to deactivate the report links.
HTTP Request
DELETE https://autoviza.fr/partner-api/report/teaser/{id}/
The above command returns an HTTP 204 response that confirms the proper closure of the announcement.
Parametre d'URL
| Parametre | Description |
|---|---|
ID |
ID of the Flash report to retrieve |
Report : Standard
POST - Create a report standard
curl "https://autoviza.fr/partner-api/report/standard/"
-d '{
"vin": "YS3FH46YX41008266"
}'
-H "Authorization: token yourCustomToken"
The above command returns a JSON object structured as follows:
{
"id": 57,
"registration": "502DWR77",
"campaign": 1,
"report": "https://autoviza.fr/partner/report/f338b006-a31a-4a7f-ab26-ff17f3a1500b/",
"status": "STARTED",
"create_date": "2023-02-25T16:21:23.678576",
"expiration_date": "2023-05-05T16:21:23.678576",
}
Create a standard report. It returns the report URL and the status of the generated report. Report generation is placed in a queue.
HTTP Request
POST https://autoviza.fr/partner-api/report/standard/
Parameters
| Parameter | Required | Type / format | Description |
|---|---|---|---|
vin |
true | string | Vehicle Identification Number (VIN) |
GET - Retrieve a report standard
curl "https://autoviza.fr/partner-api/report/standard/57"
-H "Authorization: token yourCustomToken"
The above command returns a JSON object structured as follows:
{
"id": 57,
"registration": "502DWR77",
"campaign": 1,
"report": "https://autoviza.fr/partner/report/f338b006-a31a-4a7f-ab26-ff17f3a1500b/4IIg6SgCdH/",
"status": "SUCCESS",
"create_date": "2023-02-25T16:21:23.678576",
"expiration_date": "2023-05-05T16:21:23.678576",
}
This request retrieves a standard report based on its ID.
The status of the report generation is updated during the request.
To have a list of the different status see STATUS.
HTTP Request
GET https://autoviza.fr/partner-api/report/standard/{id}
URL Parameters
| Parameter | Description |
|---|---|
ID |
ID of the standard report to be returned |
Service : Mileage Check
Mileage fraud detection service to identify odometer rollback risks
POST - Create a Mileage Check
curl -X "POST" "https://autoviza.fr/partner-api/service/mileage-check/" \
-H 'Content-Type: application/json' \
-H 'Authorization: Token yourCustomToken' \
-d '{
"mileage": 92500,
"mileage_date": "2019-12-01",
"identifier": "VF1RFB00364008627"
}'
The above command returns a JSON object structured as follows:
{
"vin": "VF1RFB00364008627",
"risk": "NO"
}
This request analyzes the mileage fraud risk (odometer rollback) of a vehicle.
HTTP Request
POST https://autoviza.fr/partner-api/service/mileage-check/
Parameters
| Parameter | Required | Type / format | Description |
|---|---|---|---|
identifier |
true | string | VIN or vehicle registration number |
mileage |
false | integer | Vehicle mileage |
mileage_date |
false | date (YYYY-MM-DD) | Mileage date |
Validation rules
- If
mileageis provided,mileage_datebecomes required - The
identifiercan be either a VIN or a registration number
Response
| Parameter | Type / format | Description |
|---|---|---|
vin |
string | VIN of the analyzed vehicle |
risk |
string | Mileage fraud risk level |
Mileage fraud risk levels
| Value | Description |
|---|---|
NO |
No mileage fraud risk detected |
YES |
Mileage fraud risk confirmed |
UNCERTAINTY |
Numerous mileage entries flagged as possible errors, but not enough to confirm fraud |
UNKNOWN |
Not enough mileage data for this vehicle |
Service : Mileage Input
The mileage Input API allows you to post mileage data
POST - Post mileage
curl "https://autoviza.fr/partner-api/kilometer/"
-d '{
"registerNumber": "EH514NC",
"mileage": 20000,
"km_type": "COTE",
"km_date": "2000-01-01"
}'
-H "Authorization: token yourCustomToken"
The above command returns a JSON object structured as follows:
{
"registerNumber": "EH514NC",
"mileage": 20000,
"km_type": "COTE",
"km_date": "2000-01-01"
}
HTTP Request
POST https://autoviza.fr/partner-api/kilometer/
Parameters
| Parameter | Required | format | Description |
|---|---|---|---|
registerNumber |
true | string | Vehicle registration number |
mileage |
true | string | Vehicle mileage |
km_type |
true | string | Mileage type |
km_date |
false | string | Mileage date |
Mileage types
| Status | Description |
|---|---|
EXPERTISE |
The mileage comes from an expertise performed on the vehicle |
CT |
The mileage comes from a technical inspection performed on the vehicle |
COTE |
The mileage comes from a valuation request from the vehicle owner |
ANNONCE |
The mileage comes from a vehicle sale announcement |
REPRISE PRO |
The mileage comes from a trade-in by an automotive professional |
CERFA CESSION |
The mileage comes from a change of ownership declaration on the registration certificate |
Service : Announcements
POST - Create an announcement without report
curl "https://autoviza.fr/partner-api/service/announce/"
-d '{
"registration": "EX198QF",
"reference": "test_teaser_10",
"mileage": 97459,
"mileage_date": "2024-03-26",
"customer_type": "PRO",
"zip_code": "84000",
"siren": "490577129",
"photo_url": "https://image.lacentrale.fr/260x195/E112049879_STANDARD_0.jpg?version=1679627733459",
"price": 15000,
"vehicle": {
"category": "COMPACT",
"make": "PEUGEOT",
"model": "3008",
"commercial_name": "308 (2E GENERATION)",
"version": "12345656VA",
"mec_date": "2018-05-28",
"year": "2018",
"energy": "ESSENCE",
"external_color": "gris foncé",
"repairs": ["batterie"],
"equipments_or_options": [
{
"family": "exterieur et chassis",
"options": [
"aide parking",
"aide parking av/ar",
"frein de parking automatique",
"jantes alu",
"pack visibilité",
"peinture opaque",
"rétroviseurs électriques et dégivrants"
]
}
]
}
}'
-H "Authorization: token yourCustomToken"
The above command returns a JSON object structured as follows:
{
"customer_type": "PRO",
"customer_id": null,
"zip_code": "84000",
"siren": "490577129",
"photo_url": "https://image.lacentrale.fr/260x195/E112049879_STANDARD_0.jpg?version=1679627733459",
"price": "15000",
"vehicle": {
"category": "COMPACT",
"make": "PEUGEOT",
"model": "3008",
"commercial_name": "308 (2E GENERATION)",
"version": "12345656VA",
"mec_date": "2018-05-28",
"year": 2018,
"energy": "ESSENCE",
"external_color": "gris foncé",
"equipments_or_options": [
{
"family": "exterieur et chassis",
"options": [
"aide parking",
"aide parking av/ar",
"frein de parking automatique",
"jantes alu",
"pack visibilité",
"peinture opaque",
"rétroviseurs électriques et dégivrants"
]
}
],
"repairs": [
"batterie"
],
"kind": null
}
}
Create a new announcement.
HTTP Request
POST https://autoviza.fr/partner-api/service/announce/
Parameters
| Parameter | Required | Type / format | Description |
|---|---|---|---|
registration |
true | string | Vehicle registration number |
reference |
true | string | Unique announcement reference |
mileage |
true | integer | Vehicle mileage |
mileage_date |
true | date (YYYY-MM-DD) | Mileage date |
customer_type |
false | string | Customer type ("PRO", "PART") |
zip_code |
false | string | Zip code |
siren |
false | string | SIREN number |
photo_url |
false | string | Vehicle photo URL |
price |
false | integer | Vehicle price |
vehicle |
false | object | Vehicle information |
vehicle.category |
false | string | Vehicle category |
vehicle.make |
false | string | Vehicle make |
vehicle.model |
false | string | Vehicle model |
vehicle.commercial_name |
false | string | Vehicle commercial name |
vehicle.version |
false | string | Vehicle version |
vehicle.mec_date |
false | date (YYYY-MM-DD) | First registration date |
vehicle.year |
false | string | Vehicle year |
vehicle.energy |
false | string | Energy type |
vehicle.external_color |
false | string | External color |
vehicle.repairs |
false | array | Repairs list |
vehicle.equipments_or_options |
false | array | Equipment and options list |
Response
| Parameter | Type / format | Description |
|---|---|---|
customer_type |
string | Customer type |
customer_id |
string | Customer ID (can be null) |
zip_code |
string | Zip code |
siren |
string | SIREN number |
photo_url |
string | Vehicle photo URL |
price |
string | Vehicle price |
vehicle |
object | Vehicle information |
vehicle.category |
string | Vehicle category |
vehicle.make |
string | Vehicle make |
vehicle.model |
string | Vehicle model |
vehicle.commercial_name |
string | Vehicle commercial name |
vehicle.version |
string | Vehicle version |
vehicle.mec_date |
date | First registration date |
vehicle.year |
integer | Vehicle year |
vehicle.energy |
string | Energy type |
vehicle.external_color |
string | External color |
vehicle.equipments_or_options |
array | Equipment and options list |
vehicle.repairs |
array | Repairs list |
vehicle.kind |
string | Vehicle type (can be null) |
PATCH - Update an announcement
curl "https://autoviza.fr/partner-api/service/announce/test_teaser_10/"
-d '{
"mileage": 97459,
"mileage_date": "2024-03-26",
"customer_type": "PRO",
"zip_code": "84000",
"siren": "490577129",
"photo_url": "https://image.lacentrale.fr/260x195/E112049879_STANDARD_0.jpg?version=1679627733459",
"price": 15000,
"vehicle": {
"category": "COMPACT",
"make": "PEUGEOT",
"model": "3008",
"commercial_name": "308 (2E GENERATION)",
"version": "12345656VA",
"mec_date": "2018-05-28",
"year": "2018",
"energy": "ESSENCE",
"external_color": "gris foncé",
"repairs": ["batterie"],
"equipments_or_options": [
{
"family": "exterieur et chassis",
"options": [
"aide parking",
"aide parking av/ar",
"frein de parking automatique",
"jantes alu",
"pack visibilité",
"peinture opaque",
"rétroviseurs électriques et dégivrants"
]
}
]
}
}'
-H "Authorization: token yourCustomToken"
The above command returns a JSON object structured as follows:
{
"customer_type": "PRO",
"customer_id": null,
"zip_code": "84000",
"siren": "490577129",
"photo_url": "https://image.lacentrale.fr/260x195/E112049879_STANDARD_0.jpg?version=1679627733459",
"price": 15000,
"vehicle": {
"category": "COMPACT",
"make": "PEUGEOT",
"model": "3008",
"commercial_name": "308 (2E GENERATION)",
"version": "12345656VA",
"mec_date": "2018-05-28",
"year": 2018,
"energy": "ESSENCE",
"external_color": "gris foncé",
"equipments_or_options": [
{
"family": "exterieur et chassis",
"options": [
"jantes alu",
"aide parking av/ar",
"aide parking",
"frein de parking automatique",
"rétroviseurs électriques et dégivrants",
"pack visibilité",
"peinture opaque"
]
}
],
"repairs": [
"batterie"
],
"kind": null
}
}
This request updates an existing announcement.
HTTP Request
PATCH https://autoviza.fr/partner-api/service/announce/{reference}/
URL Parameter
| Parameter | Description |
|---|---|
reference |
Reference of the announcement to update |
Parameters
| Parameter | Required | Type / format | Description |
|---|---|---|---|
mileage |
true | integer | Vehicle mileage |
mileage_date |
true | date (YYYY-MM-DD) | Mileage date |
customer_type |
false | string | Customer type ("PRO", "PART") |
zip_code |
false | string | Zip code |
siren |
false | string | SIREN number |
photo_url |
false | string | Vehicle photo URL |
price |
false | integer | Vehicle price |
vehicle |
false | object | Vehicle information |
vehicle.category |
false | string | Vehicle category |
vehicle.make |
false | string | Vehicle make |
vehicle.model |
false | string | Vehicle model |
vehicle.commercial_name |
false | string | Vehicle commercial name |
vehicle.version |
false | string | Vehicle version |
vehicle.mec_date |
false | date (YYYY-MM-DD) | First registration date |
vehicle.year |
false | string | Vehicle year |
vehicle.energy |
false | string | Energy type |
vehicle.external_color |
false | string | External color |
vehicle.repairs |
false | array | Repairs list |
vehicle.equipments_or_options |
false | array | Equipment and options list |
Réponse
La réponse est identique à celle du POST.
Service : Autoviza Detect
Autoviza-Detect allows you to monitor your vehicles for sale and know when they have been sold. Two advantages:
- Update your site daily by eliminating obsolete announcements
- Analyze sales time by vehicle type or seller type.
This service is an option of the Autoviza Announcements API, to benefit from it please contact the Autoviza® commercial team.
GET - Get the list of movements
curl "https://autoviza.fr/partner-api/detect/"
-H "Authorization: token yourCustomToken"
The above command returns a list of JSON objects structured as follows:
{
"count":16394,
"next":"https://autoviza.fr/partner-api/detect/?end_date=2024-04-07&page=4&start_date=2024-04-01",
"previous":"https://autoviza.fr/partner-api/detect/?end_date=2024-04-07&page=2&start_date=2024-04-01",
"results":[
{"reference":"TEST960918","immatriculation":"GB470XX","status":"P"},
{"reference":"TEST960100","immatriculation":"GB470YY","status":"M"},
...
]
}
You can retrieve announcement data from its unique reference.
HTTP Request
GET https://autoviza.fr/partner-api/detect/
URL Parameters
| Parameter | Description |
|---|---|
start_date |
Start date for searching moved announcements (optional, defaults to today's date) |
end_date |
End date for searching moved announcements (optional, defaults to today's date) |
page |
Pagination |
The gap between start_date and end_date cannot be greater than 7 days.
Pagination limits to 100 items displayed per page.
Response
| Parameter | format | Description |
|---|---|---|
count |
int | Total number of monitored announcements |
next |
string | URL of the next page |
previous |
string | URL of the previous page |
results |
dict | List of announcements |
results
| Parameter | format | Description |
|---|---|---|
reference |
string | Your internal announcement reference |
immatriculation |
string | Vehicle registration number |
status |
string | "P" = expired, "M" = movement |
Status P corresponds to expired, meaning the announcement is no longer tracked. The maximum tracking duration is currently set to 6 months and 1 day.
Status M corresponds to a movement, meaning a sale transaction has been detected, in which case the transaction date will be filled.
Error
{
"error": "The limitation is set at 7 days maximum between the start date and the end date"
}
In case of error, HTTP code 400 is returned with an error message
Status
| Status | Description |
|---|---|
STARTED |
Processing has just started |
PENDING |
Processing is in progress |
SUCCESS |
Processing is complete and the report is generated |
ERROR |
Processing has failed |