GET
/
drivers
/
{driver}
curl --request GET \
  --url https://api.chargeapi.co/v1/drivers/{driver} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": null,
  "object": null,
  "created": null,
  "email": null,
  "license_number": null,
  "name": null,
  "phone": null,
  "preferences": {
    "charging_speed": null,
    "notifications": null,
    "currency": null,
    "payment_method": null,
    "max_price_per_kwh": null,
    "preferred_cpos": null,
    "preferred_charging_stations": null
  },
  "status": null,
  "updated": null,
  "vehicles": null,
  "wallet_balance": null
}

Path Parameters

driver
string
required

ID of the driver to retrieve.

Query Parameters

expand
string[]

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

Body

application/json · object

Response

200
application/json

Returns the Driver object for a valid identifier. Raises an error otherwise..