Skip to main content
GET
A session

Authorizations

Authorization
string
header
required

An access token from accounts.plugchoice.com, for a personal API token, a person signed in through an app, or an OAuth client.

Scopes

transactions:read

Path Parameters

transaction
string<uuid>
required

The session's id

Response

The session

A charging session: one vehicle charged at one EVSE, from its start to its stop.

charger
object
required

A charger, as a session names it.

id
string<uuid>
required

The session's id.

started_at
string<date-time>
required

When it started, by the charger's clock.

status
enum<string>
required

Whether a session is still running.

Available options:
active,
finished
time_precision
enum<string>
required

How exact started_at, stopped_at and updated_at are: month below sensitive access for a session that started more than 14 days ago.

Available options:
exact,
month
updated_at
string<date-time>
required

When it, its label or its note last changed.

card
object | null

The card or token that started it; null when the charger sent none.

energy_wh
integer<int64> | null

The energy it delivered, in Wh: what Plugchoice settled, meter_stop_wh minus meter_start_wh. Null while it is active (its progress is in the charger's live state).

evse
integer<int32> | null

The number of the EVSE it charged at; null when the charger did not say.

label
string | null

The label people gave it: business, private and guest are the standard ones, which apps translate; anything else shows as written. Null without one.

location
object | null

The location its charger is at now; null when it is at no location.

meter_start_wh
integer<int64> | null

The EVSE's energy register when it started, in Wh; null until the charger sends it (an OCPP 2.x charger may start without it, and then the session starts at its first reading).

meter_stop_wh
integer<int64> | null

meter_start_wh plus the energy Plugchoice settled, in Wh; null while it is active. It is not always the register the charger reported at its stop: a session that ended without one is settled up to its last reading.

note
string | null

The note people wrote on it; null without one, and below sensitive access.

state
enum<string> | null

Where Plugchoice is in settling it; null for a session from before 26 October 2026, when Plugchoice started recording this.

Available options:
open,
stopped,
final,
incomplete
stop_reason
enum<string> | null

Why it stopped, as the charger or Plugchoice reported it; null while it is active, or when the reason is not one this API knows.

Available options:
de_authorized,
emergency_stop,
energy_limit_reached,
ev_disconnected,
ground_fault,
hard_reset,
immediate_reset,
local,
local_out_of_credit,
master_pass,
other,
overcurrent_fault,
power_loss,
power_quality,
reboot,
remote,
soc_limit_reached,
soft_reset,
stopped_by_ev,
time_limit_reached,
timeout,
unlock_command,
auto_closed
stopped_at
string<date-time> | null

When it stopped; null while it is active.