Saltar al contenido principal
Routal
API ReferenceVehicle

Retrieve driver + customer ratings and comments for a vehicle

GET
/v2/vehicles/{id}/ratings
private_key<token>

Pass your API key as the private_key query string parameter. Generate and rotate keys in Developer Settings of your Routal workspace.

Keys stay server-side. Never ship them to a browser or mobile app.

In: query

Path Parameters

id*string

Vehicle ID

Match^[0-9a-f]{24}

Query Parameters

start?string

Period start (filters on survey.created_at)

Formatdate-time
end?string

Period end (filters on survey.created_at)

Formatdate-time

Response Body

application/json

curl -X GET "https://example.com/v2/vehicles/string/ratings"
"string"