Getting Started
- Accounts
- Charging Sessions
- Charging Stations
- Drivers
- Estimations
- Fleets
- Invoices
- Payment Methods
- Reports
- Reservations
- Transactions
- Vehicles
- Vehicle Telemetries
- Webhook Endpoints
Vehicles
Create a vehicle
Creates a new Vehicle object. Vehicles represent EVs in the Charge platform and are used to track state-of-charge, telemetry, and charging sessions across stations.
POST
/
vehicles
Copy
curl --request POST \
--url https://api.chargeapi.co/v1/vehicles \
--header 'Content-Type: application/json' \
--data '{
"vin": "<string>",
"battery_capacity": 123,
"charging_standard": "CCS",
"information": {
"make": "<string>",
"model": "<string>",
"year": "<string>"
},
"registration_plate": "<string>",
"metadata": {}
}'
Copy
{
"id": null,
"object": null,
"battery_capacity": null,
"charging_standard": null,
"created": null,
"drivers": null,
"information": {
"make": "<string>",
"model": "<string>",
"year": "<string>"
},
"metadata": null,
"registration_plate": null,
"status": null,
"telemetry": null,
"updated": null,
"vin": null
}
Body
application/json
Response
200
application/json
Returns the newly created Vehicle object.
Copy
curl --request POST \
--url https://api.chargeapi.co/v1/vehicles \
--header 'Content-Type: application/json' \
--data '{
"vin": "<string>",
"battery_capacity": 123,
"charging_standard": "CCS",
"information": {
"make": "<string>",
"model": "<string>",
"year": "<string>"
},
"registration_plate": "<string>",
"metadata": {}
}'
Copy
{
"id": null,
"object": null,
"battery_capacity": null,
"charging_standard": null,
"created": null,
"drivers": null,
"information": {
"make": "<string>",
"model": "<string>",
"year": "<string>"
},
"metadata": null,
"registration_plate": null,
"status": null,
"telemetry": null,
"updated": null,
"vin": null
}
Assistant
Responses are generated using AI and may contain mistakes.