GET
/
fleets
/
{fleet}
curl --request GET \
  --url https://api.chargeapi.co/v1/fleets/{fleet} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": null,
  "object": null,
  "address": {
    "city": null,
    "country": null,
    "line1": null,
    "line2": null,
    "postal_code": null,
    "state": null
  },
  "created": null,
  "description": null,
  "email": null,
  "metric_system": null,
  "name": null,
  "phone": null,
  "preferences": {
    "billing_cycle": null,
    "notifications": null,
    "default_currency": null,
    "default_payment_method": null,
    "report_frequency": null
  },
  "status": null,
  "timezone": null,
  "total_drivers": null,
  "total_vehicles": null,
  "total_energy_consumed_kwh": null,
  "total_sessions": null,
  "updated": null,
  "wallet_balance": null
}

Path Parameters

fleet
string
required

ID of the fleet to retrieve.

Query Parameters

expand
string[]

Specifies which related objects to expand in the response (e.g., expand[]=address).

Body

application/json · object

Response

200
application/json

Fleet successfully retrieved.