GET
/
fleets
/
{fleet}
/
drivers
curl --request GET \
  --url https://api.chargeapi.co/v1/fleets/{fleet}/drivers \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "object": "list",
  "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
    }
  ],
  "has_more": true,
  "url": "<string>"
}

Path Parameters

fleet
string
required

ID of the fleet to retrieve drivers for.

Query Parameters

limit
integer

Maximum number of drivers to return (default 10).

Required range: 1 <= x <= 100
starting_after
string

Cursor for pagination; returns drivers after this ID.

ending_before
string

Cursor for pagination; returns drivers before this ID.

Body

application/json · object

Response

200
application/json

Successful response with driver list.

The response is of type object.