Sessions

Get session by its ID

get/sessions/{id}

Request

  • Base URL: https://api.heycharge.com/v1/b2b
  • URL: https://api.heycharge.com/v1/b2b/sessions/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

ID of session to return

Headers

b2bidstring

BackofficeAdmin only. Specifies the target B2B ID when acting on behalf of a B2B. For regular users this header is ignored — the B2B from the JWT is always used.

Response

A session model

idstring
userIdstring
chargeAmountnumber

Amount of Watt-hours

chargerIdstring

Sequential ID number of the charger in the site.

startDatestring

ISO string

endDatestring

ISO string

Changes

No recorded changes to this operation across all 1 revision of this API.