GET
/
charging_sessions
/
{charging_session}
curl --request GET \
  --url https://api.chargeapi.co/v1/charging_sessions/{charging_session} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": null,
  "object": null,
  "amount_due": null,
  "amount_paid": null,
  "charging_station": null,
  "connector": null,
  "country": null,
  "created": null,
  "currency": null,
  "driver": null,
  "energy_consumed": null,
  "fleet": null,
  "payment_method": null,
  "session_ended": null,
  "session_started": null,
  "status": null,
  "updated": null,
  "vehicle": null
}

Path Parameters

charging_session
string
required

ID of the charging session to retrieve.

Query Parameters

expand
string[]

Specifies related objects to expand (e.g., expand[]=charging_station).

Body

application/json · object

Response

200
application/json

Charging session successfully retrieved.