Skip to main content

Call Vehicle Data API

This explains the procedure for calling the Vehicle Data API with an example.

API URL

The Vehicle Data API uses an authentication URL for issuing and refreshing access tokens, and an API URL for calling both Vehicle Data APIs and Vehicle Selection and Data Sharing Consent APIs.

API URL for creating access token
https://security-api.pleos.ai
API URL for calling Vehicle Data APIs and vehicle selection & data sharing consent API
https://api.pleos.ai 

Authorization API Header

ParameterTypeDescriptionRequired
Content-Typestringapplication/jsonOptional
BrandstringVehicle brand (hyundai/kia/genesis)Required

Vehicle Data API Header

ParameterTypeDescriptionRequired
AuthorizationstringBearer accessTokenRequired
Content-Typestringapplication/jsonOptional
BrandstringVehicle brand (hyundai/kia/genesis)Required

Call Vehicle Data API

The Vehicle Data API allows you to call each API independently without a specific sequence. However, you must first acquire an access token before calling the Vehicle Data API.

  1. Call the access token issuance API.
  2. Include the access token in the API request header.
  3. Call the Vehicle Data API and check the result.
    • To check the vehicle battery status, call the https://api.pleos.ai/v1/vehicles/{vin}/batteries API.
    curl
    curl -X GET "https://api.pleos.ai/v1/vehicles/{vin}/batteries" \
    -H "Authorization: Bearer <your_access_token>" \
    -H "Content-Type: application/json" \
    -H "Brand: hyundai"

Response Message

Successful Response Format

200
{
"data": {
"ignition": {
"status": "on",
"ignitionDetails": [
{
"type": "ign1",
"status": "on"
},
{
"type": "ign3",
"status": "on"
},
{
"type": "acc",
"status": "on"
}
]
},
"sleepMode": "off",
"odometer": {
"value": 6549.2,
"unit": "km"
},
"transmission": {
"parkingPosition": false
},
"timestamp": "2025-09-01T09:10:00Z"
},
"meta": {
"code": 200,
"message": "Success",
"success": true,
"timestamp": "2025-09-01T11:00:00Z",
"requestId": "835bdbd4-1105-4a8c-b438-a1b2c3d4f5g6"
}
}

Failure Response Message

info

For an explanation of the failure response format, refer to Error Response.