POST
/
drivers
curl --request POST \
  --url https://api.chargeapi.co/v1/drivers \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "email": "<string>",
  "phone": "<string>",
  "license_number": "<string>",
  "preferences": {
    "charging_speed": null,
    "notifications": null,
    "currency": null,
    "payment_method": null,
    "max_price_per_kwh": null,
    "preferred_cpos": null,
    "preferred_charging_stations": null
  },
  "metadata": {}
}'
{
  "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
}

Body

application/json

Response

200
application/json

Returns the newly created Driver object.